mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
fixed grounded check
This commit is contained in:
parent
189b20737d
commit
310ad59def
@ -2249,7 +2249,7 @@ export class WeatherBallTypeAttr extends VariableMoveTypeAttr {
|
||||
|
||||
export class TerrainPulseTypeAttr extends VariableMoveTypeAttr {
|
||||
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
|
||||
if(user.isGrounded)
|
||||
if(!user.isGrounded)
|
||||
return false;
|
||||
|
||||
const currentTerrain = user.scene.arena.getTerrainType();
|
||||
|
Loading…
Reference in New Issue
Block a user