mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Fix semi invulnerbale check in hitCheck
This commit is contained in:
parent
2dc5b8a470
commit
c3283e3bd5
@ -649,7 +649,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this.checkBypassSemiInvuln(semiInvulnerableTag)) {
|
||||
if (semiInvulnerableTag && !this.checkBypassSemiInvuln(semiInvulnerableTag)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user