[MoM] Feral telekinetics can't throw you with telekinesis if you have Inertial Barrier up and vice versa #72874
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 "[MoM] Feral telekinetics can't throw you with telekinesis if you have Inertial Barrier up and vice versa"
Purpose of change
One of the things about working on a mod is that you think "I should change [X]" and then it goes into a file in your brain and you forget about it for a while because there's so much else to work on. Specifically, the Inertial Barrier power is supposed to make you immune to telekinesis, so it should make you immune to being thrown with telekinesis. And the same for enemies whose armor comes from having an inertial barrier up (the feral mindhand and Dr. Brain).
Describe the solution
Make feral telekinetics' smash and pull attacks check whether the target has the TELEKIN_SHIELD flag and, if so, prevent it from being used. Add the TELEKIN_SHIELD to the shield belt as well. Add a new species,
TELEKIN_PUSHPULL_NULL
, designed to be added to monsters who shouldn't be able to be thrown by telekinesis, and apply it to the feral PKer, the feral mindhand, and Dr. Brain.Describe alternatives you've considered
Testing
Tried to throw Dr. Brain, could not target him. Put on a telepathic dampener and a shield belt, and then again with Inertial Barrier and Telepathic Shield. In both cases, Dr. Brain flailed away ineffectually...until the shield belt wore off and then he threw me through the wall.
Additional context
Force Shove and Far Hand need an overhaul to deal with their current problems, like being able to throw a hulk as far as a lemming, but that's another PR.