Author SHA1 Message Date
Benjamin Odom 4201bc807e Revert "added battle tag check in isGrounded method (#750)"
This reverts commit d5f82611f5.
2024-05-12 06:10:45 -05:00
+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.getAbility().id !== Abilities.LEVITATE && !!this.getTag(BattlerTagType.GROUNDED);
return !this.isOfType(Type.FLYING, true) && this.getAbility().id !== Abilities.LEVITATE;
}
getAttackMoveEffectiveness(source: Pokemon, move: PokemonMove): TypeDamageMultiplier {