Update pokemon.ts

This commit is contained in:
Benjamin Odom 2024-05-12 07:12:19 -05:00 committed by Samuel H
parent ced74efc52
commit 79a87e1c65
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
}
isGrounded(): boolean {
return !this.isOfType(Type.FLYING, true) && this.hasAbility(Abilities.LEVITATE);
return !this.isOfType(Type.FLYING, true) && !this.hasAbility(Abilities.LEVITATE);
}
getAttackMoveEffectiveness(source: Pokemon, move: PokemonMove): TypeDamageMultiplier {