[XE] Boann will use her magic against those who attack her. #79420
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 "[XE] Boann will use her magic against those who attack her."
Purpose of change
Boann got some new unique magical gear and a way to dispose of talkative slayers.
However, hitting her without talking to her first will make her not use any Fae magic to defend herself.
This PR gives her a magical mean of defense.
Describe the solution
Boann receives a new passive mutation that retaliates against players and non-players striking at her.
Player: As per the FAE_EMNITY dialogue. Teleport the player far away and spawns the wild hunt around herself.
Non-player: The attacker is killed by a banish spell (It's not like the player was likely to ever see them again due to the teleport range)
Both: Boann heals herself fully and removes any mundane debuff and health problem she has.
Only the player hitting her spawns the hunt, due to how lethal and uncontrolled they are.
Nothing happens if she is killed in a single hit, as she needs to be alive to strike back. It also prevents trying to cast stuff on a self that isn't anymore.
Describe alternatives you've considered
Making attacking her gives FAE_EMNITY, but that isn't for those who merely kill a noble. It's for those who devour so much stolen Fae essence they are becoming Fae themselves.
Testing
Spawned shoggoths near Boann: the shoggoths vanished as they hit her and she healed every time.
Attacked Boann: got teleported hundreds of overmap tiles away, came back to see Boann fully healed and protected by the wild hunt .
One-shotted Boann with the Exodii naval rifle: she died and nothing else happened.
Additional context
5-point anchors and other stuff using the DIMENSIONAL_ANCHOR flag can't block the teleport, but I don't know if Fae magic can bypass that or if it's just an oversight.