mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 08:16:04 +00:00
[Bug] Fix Tidy-Up boosting stats multiple times right now (#2652)
only apply if user id equals target id. This is necessary because of the which is necessary for clearing the arena traps
This commit is contained in:
parent
b9fd4273c9
commit
eb77927d4b
@ -8282,7 +8282,7 @@ export function initMoves() {
|
||||
.attr(ForceSwitchOutAttr, true, false)
|
||||
.target(MoveTarget.BOTH_SIDES),
|
||||
new SelfStatusMove(Moves.TIDY_UP, Type.NORMAL, -1, 10, -1, 0, 9)
|
||||
.attr(StatChangeAttr, [ BattleStat.ATK, BattleStat.SPD ], 1, true, null, true, true)
|
||||
.attr(StatChangeAttr, [ BattleStat.ATK, BattleStat.SPD ], 1, true, ({ id }, target) => id === target.id, true, true)
|
||||
.attr(RemoveArenaTrapAttr)
|
||||
.target(MoveTarget.BOTH_SIDES),
|
||||
new StatusMove(Moves.SNOWSCAPE, Type.ICE, -1, 10, -1, 0, 9)
|
||||
|
Loading…
Reference in New Issue
Block a user