Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rearrange spellcasting_finish #39226

Merged

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Apr 3, 2020

Summary

SUMMARY: Bugfixes "fix spells not gaining levels on cast"

Purpose of change

Fixes #39219

Describe the solution

the lgtm fixes sort of changed how this worked, it needed a reference to the player's spell and it became a copy, so modifying it didn't modify the original spell. this version of it does not require a global, though it does not use the static function.

Testing

I haven't had the time to test this yet. if you run the game with magiclysm and cast any spell that has a max level higher than 0, if you gain a level in the spell then it works.

@KorGgenT KorGgenT added <Bugfix> This is a fix for a bug (or closes open issue) Mods: Magiclysm Anything to do with the Magiclysm mod labels Apr 3, 2020
@kevingranade kevingranade merged commit 1b55c8f into CleverRaven:master Apr 3, 2020
@KorGgenT KorGgenT deleted the rearrange-spellcasting_finish branch August 13, 2020 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) Mods: Magiclysm Anything to do with the Magiclysm mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Magiclysm spell xp not incrementing from use
2 participants