Skip to content

Commit

Permalink
[Bug] Fix Tidy-Up boosting stats multiple times right now (pagefaultg…
Browse files Browse the repository at this point in the history
…ames#2652)

only apply if user id equals target id. This is necessary because of the  which is necessary for clearing the arena traps
  • Loading branch information
flx-sta authored Jun 27, 2024
1 parent b9fd427 commit eb77927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb77927

Please sign in to comment.