mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Clean up Unseen Fist contact logic
This commit is contained in:
parent
70516abb16
commit
d4824c76d6
@ -614,8 +614,7 @@ export default class Move implements Localizable {
|
||||
}
|
||||
case MoveFlags.IGNORE_PROTECT:
|
||||
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr)
|
||||
&& this.hasFlag(MoveFlags.MAKES_CONTACT)
|
||||
&& !user.hasAbilityWithAttr(IgnoreContactAbAttr)) {
|
||||
&& this.checkFlag(MoveFlags.MAKES_CONTACT, user, null)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user