mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 22:02:18 +02:00
Check if Sky drop target is 200kg or more, fail if so
This commit is contained in:
parent
4d0985fc6f
commit
8e385b3acf
@ -1667,6 +1667,11 @@ export class SkyDropChargeAttr extends ChargeAttr {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
getCondition(): MoveConditionFunc{
|
||||||
|
return (user, target, move) => target.getWeight() < 200;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user