From 849b02abb636e45d46bfd54bab2f516a6847f134 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Fri, 18 Sep 2020 20:27:01 +0100 Subject: [PATCH] Fixed Flame/Toxic Orb being able to replace another status condition --- Data/Scripts/012_Battle/008_BattleHandlers_Items.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Data/Scripts/012_Battle/008_BattleHandlers_Items.rb b/Data/Scripts/012_Battle/008_BattleHandlers_Items.rb index 6cba59df2..edd3ff257 100644 --- a/Data/Scripts/012_Battle/008_BattleHandlers_Items.rb +++ b/Data/Scripts/012_Battle/008_BattleHandlers_Items.rb @@ -1516,7 +1516,7 @@ BattleHandlers::EORHealingItem.add(:LEFTOVERS, BattleHandlers::EOREffectItem.add(:FLAMEORB, proc { |item,battler,battle| - next if !battler.pbCanBurn?(battler,false) + next if !battler.pbCanBurn?(nil,false) battler.pbBurn(nil,_INTL("{1} was burned by the {2}!",battler.pbThis,battler.itemName)) } ) @@ -1536,7 +1536,7 @@ BattleHandlers::EOREffectItem.add(:STICKYBARB, BattleHandlers::EOREffectItem.add(:TOXICORB, proc { |item,battler,battle| - next if !battler.pbCanPoison?(battler,false) + next if !battler.pbCanPoison?(nil,false) battler.pbPoison(nil,_INTL("{1} was badly poisoned by the {2}!", battler.pbThis,battler.itemName),true) }