[Magiclysm] Fix demonic possession causing starvation penalties #77927
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Mods "[Magiclysm] Fix demonic possession causing starvation penalties"
Purpose of change
The blood mage's demonic possession grants huge size but didn't change calories, making what is supposed to be a buff mostly cause penalties from not having enough calories for your size
Describe the solution
Add a EOC that changes the calories that runs as the spell is casted. The player-visible spells triggers the EOC that changes the calories and cast the real spell.
Also use a demon version of HUGE_OK to use the temporary shapeshifting flags.
Describe alternatives you've considered
Testing
Used demonic possession without the fix on a starting character: goes from overweight to emaciated
Used demonic possession with the fix on a starting character: starts at overweight, stays at overweight
Additional context