Fiz pokemon.ts

Thx jummy
This commit is contained in:
Bertie690 2025-06-07 17:09:50 -04:00 committed by GitHub
parent a1b00c8b56
commit cc44067c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
import Phaser from "phaser";
qqimport Phaser from "phaser";
import type { AnySound } from "#app/battle-scene";
import type BattleScene from "#app/battle-scene";
import { globalScene } from "#app/global-scene";
@ -2323,8 +2323,8 @@ 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)
)
);
}