Update pokemon.ts

This commit is contained in:
Benjamin Odom authored and Samuel H committed 2024-05-12 10:27:54 -04:00
1 parent ced74efc52
commit 79a87e1c65
1 file changed
+1 -1
+1 -1
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 {