Skip to content

Commit

Permalink
Fix Toxic Orb only doing 1 damage on its first turn
Browse files Browse the repository at this point in the history
Fixes #206
  • Loading branch information
Kermalis committed Sep 12, 2019
1 parent 27c9de7 commit 858f914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PokemonBattleEngine/Battle/BattleEffects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ private void DoTurnEndedEffects()
if (pkmn.Status1 == PBEStatus1.None && !pkmn.HasType(PBEType.Poison) && !pkmn.HasType(PBEType.Steel))
{
pkmn.Status1 = PBEStatus1.BadlyPoisoned;
pkmn.Status1Counter = 1;
BroadcastItem(pkmn, pkmn, pkmn.Item, PBEItemAction.ChangedStatus);
BroadcastStatus1(pkmn, pkmn, PBEStatus1.BadlyPoisoned, PBEStatusAction.Added);
}
Expand Down

0 comments on commit 858f914

Please sign in to comment.