Fix post turn abilities running exponentially

This commit is contained in:
Flashfyre committed 2023-05-31 11:20:06 -04:00
1 parent 890d8bc531
commit 95f35fd2f7
2 files changed
+1 -1

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

+1 -1
View File
@@ -1021,7 +1021,7 @@ export class TurnEndPhase extends FieldPhase {
this.scene.applyModifiers(TurnHealModifier, pokemon.isPlayer(), pokemon);
this.executeForAll((pokemon: Pokemon) => applyPostTurnAbAttrs(PostTurnAbAttr, pokemon));
applyPostTurnAbAttrs(PostTurnAbAttr, pokemon);
this.scene.applyModifiers(TurnHeldItemTransferModifier, pokemon.isPlayer(), pokemon);