[WOTC] Unstuck Suppression
Makes some events clear Suppression to fix some oddities that would happen otherwise.
Things that make the target ineligible for Suppression will now remove it, like Stasis and Mind Control.
Also if the target got concealed or moved for any reason it could cause the suppressing unit to be unable to see the target anymore and therefore would be unable to shoot and the Suppression effect would get stuck until the next turn so it will be cleared in those situations as well.
This clearing will happen with low priority so the actual shot will have a chance to trigger if it is able to.
You can configure which effect names will be cleared, and in which events that happens.
Default events include UnitMoveFinished, AffectedByStasis, MindControlled, MindControlLost and EffectEnterUnitConcealment.
Safe to add or remove at any time. Event listeners will not persist in saves.
Suppression effect names included are Suppression, AreaSuppression and LW2WotC_AreaSuppression. Should cover most of them.
As this is based on event listeners it should be compatible with everything.
Units with Shadowstep are still valid Suppression targets and the shot won’t trigger. That is vanilla behaviour and has not changed, but now the effect is removed after the unit has finished moving.
Although this will fix grappling, stealth, etc. causing Suppression to get stuck on you I recommend adding those abilities to [WOTC] Suppression For Suppression config to disallow using those under Suppression in the first place. I have done that in Assorted Fixes Config.
Improvement suggestions welcome as always.
Required items:
Click the title to search on this site.
X2WOTCCommunityHighlander v1.26.3 — Steam Workshop
Revisions:
Old revisions of this mod are available below. Click the link to download.
