mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
Merge branch 'pagefaultgames:main' into main
This commit is contained in:
commit
1b7e1ab763
@ -940,7 +940,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
}
|
||||
|
||||
isGrounded(): boolean {
|
||||
return !this.isOfType(Type.FLYING, true) && this.getAbility().id !== Abilities.LEVITATE;
|
||||
return !this.isOfType(Type.FLYING, true) && this.getAbility().id !== Abilities.LEVITATE && !!this.getTag(BattlerTagType.GROUNDED);
|
||||
}
|
||||
|
||||
getAttackMoveEffectiveness(source: Pokemon, move: PokemonMove): TypeDamageMultiplier {
|
||||
|
Loading…
Reference in New Issue
Block a user