Respectful Targeting
A selection of tweaks to the targeting system, making it respect some conditions that are exposed but overlooked by the base game.
– Makes the targeting functions (in autoplay and in secondary targets of mass attacks) properly obey restrictions on targetable Speed Dice (CheckBlockDice).
– In turn, makes the aforementioned restrictions obey statuses that remove untargetability (NonTargetableRemoved).
– Makes characters be properly recognized as untargetable if all their Speed Dice are untargetable (past rolling Speed Dice in a Scene), or if they are removed from the field (IsExtinction).
– Fixes autoplay breaking as soon as one of player characters fails to find a target.
– Fixes player characters only autotargeting the first Speed Die of enemies with a "last Speed Die is untargetable" passive.
– Fixes autoplay (both on player and enemy sides) ignoring IsOnlyAllyUnit and IsValidTarget of selected Combat Pages.
– Fixes previously redirected pages ignoring redirection restrictions when trying to find other valid redirectors to fall back on.
– Fixes IsTargetableUnit behaving incorrectly for enemy units with IsOnlyAllyUnit.
Revisions:
Old revisions of this mod are available below. Click the link to download.