mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Fiz pokemon.ts
Thx jummy
This commit is contained in:
parent
a1b00c8b56
commit
cc44067c89
@ -1,4 +1,4 @@
|
|||||||
import Phaser from "phaser";
|
qqimport Phaser from "phaser";
|
||||||
import type { AnySound } from "#app/battle-scene";
|
import type { AnySound } from "#app/battle-scene";
|
||||||
import type BattleScene from "#app/battle-scene";
|
import type BattleScene from "#app/battle-scene";
|
||||||
import { globalScene } from "#app/global-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.isOfType(PokemonType.FLYING, true, true) &&
|
||||||
!this.hasAbility(AbilityId.LEVITATE) &&
|
!this.hasAbility(AbilityId.LEVITATE) &&
|
||||||
!this.getTag(BattlerTagType.FLOATING) &&
|
!this.getTag(BattlerTagType.FLOATING) &&
|
||||||
!ignoreSemiInvulnerable) ||
|
!ignoreSemiInvulnerable || !this.getTag(SemiInvulnerableTag)
|
||||||
!this.getTag(SemiInvulnerableTag)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user