[Spells] Add all types to checks for max_targets_allowed rule for AEs (#4682)

- Added all TargetedAE types to IsTargetableAESpell
- Added IsTargetableAESpell to IsAnyAESpell and changed order for earlier escapes
- IsPBAESpell now checks all PBAE types
- The rule Spells, TargetedAOEMaxTargets will now check all Targeted AE types
- The rule Spells, PointBlankAOEMaxTargets will now check all remaining types that can be a PBAE and not only Nuke PBAEs
This commit is contained in:
nytmyr
2025-02-15 15:03:23 -06:00
committed by GitHub
parent 3ba113a91d
commit 9aa0f7c695
2 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -1110,7 +1110,7 @@ void EntityList::AESpell(
) {
max_targets_allowed = RuleI(Spells, TargetedAOEMaxTargets);
} else if (
IsPBAENukeSpell(spell_id) &&
IsPBAESpell(spell_id) &&
IsDetrimentalSpell &&
!is_npc
) {