[Xedra Evolved] New Arvore spell--Verdant Imprisonment #72784
Merged
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 "[Xedra Evolved] New Arvore spell--Verdant Imprisonment"
Purpose of change
Tried to get a spell to turn people into trees to work a couple months ago and couldn't, but I was pretty sure I knew enough now that I could do it. And I was right.
Describe the solution
Add an Arvore spell, Verdant Imprisonment, learned from leveling other spells. It checks the spell level and your intelligence against the target's HP and, if you beat the threshold, the target turns into a tree. All of their gear and loot is lost in the process, becoming part of the tree. This spell does work on NPCs as well as monsters (for the spell's purpose, NPC's HP value is the sum of their limb HP divided by 3).
Describe alternatives you've considered
Testing
Don't mess with the avatar of the forest:
Rest in Pinetree, Jonathan McIntyre
The actual mana cost is large enough that you won't be able to get off more than a handful of these, and it also only works if the target is outdoors, so baring a lot of nonsense you can't one-shot the void spider or the Melded Task Force.
Additional context
Now that I have this working, I can update MoM's Oubliette so that it can teleport NPCs to some other dimension too.