Update pokemon.ts

This commit is contained in:
Bertie690 2025-06-07 17:22:01 -04:00 committed by GitHub
parent a7d699bf97
commit 9c2119eaed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2323,7 +2323,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
(!this.isOfType(PokemonType.FLYING, true, true) &&
!this.hasAbility(AbilityId.LEVITATE) &&
!this.getTag(BattlerTagType.FLOATING) &&
!ignoreSemiInvulnerable || !this.getTag(SemiInvulnerableTag)
ignoreSemiInvulnerable || !this.getTag(SemiInvulnerableTag)
)
);
}