Implemented Stomping Tantrum (#192)

* implemented Stomping Tantrum

* fixed on missed moves
This commit is contained in:
lucfd 2024-04-21 19:55:40 -04:00 committed by GitHub
parent 158eb9748b
commit 12ae21c3cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5562,7 +5562,7 @@ export function initMoves() {
.bitingMove()
.attr(RemoveScreensAttr),
new AttackMove(Moves.STOMPING_TANTRUM, Type.GROUND, MoveCategory.PHYSICAL, 75, 100, 10, -1, 0, 7)
.partial(),
.attr(MovePowerMultiplierAttr, (user, target, move) => user.getLastXMoves(2)[1]?.result == MoveResult.MISS || user.getLastXMoves(2)[1]?.result == MoveResult.FAIL ? 2 : 1),
new AttackMove(Moves.SHADOW_BONE, Type.GHOST, MoveCategory.PHYSICAL, 85, 100, 10, 20, 0, 7)
.attr(StatChangeAttr, BattleStat.DEF, -1)
.makesContact(false),