[Ability] Queenly Majesty/Dazzling/Armor Tail Fix (#1631)

This commit is contained in:
Aerochill 2024-05-30 21:37:47 -05:00 committed by GitHub
parent 378ce95636
commit 7a7971ec6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -501,7 +501,7 @@ export class FieldPriorityMoveImmunityAbAttr extends PreDefendAbAttr {
applyMoveAttrs(IncrementMovePriorityAttr,attacker,null,move.getMove(),attackPriority);
applyAbAttrs(IncrementMovePriorityAbAttr, attacker, null, move.getMove(), attackPriority);
if (move.getMove().moveTarget===MoveTarget.USER) {
if (move.getMove().moveTarget===MoveTarget.USER || move.getMove().moveTarget===MoveTarget.NEAR_ALLY) {
return false;
}