From 054b4bc3e808e335dcee3ef25826a62772d7a9cf Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Wed, 8 Dec 2021 20:07:52 +0000 Subject: [PATCH] =?UTF-8?q?Corrosion=20now=20allows=20a=20Steel/Poison=20P?= =?UTF-8?q?ok=C3=A9mon=20to=20poison=20itself=20with=20Toxic=20Orb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../006_Other battle code/009_Battle_ItemEffects.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Data/Scripts/011_Battle/006_Other battle code/009_Battle_ItemEffects.rb b/Data/Scripts/011_Battle/006_Other battle code/009_Battle_ItemEffects.rb index c6a2de80b..ef5732f63 100644 --- a/Data/Scripts/011_Battle/006_Other battle code/009_Battle_ItemEffects.rb +++ b/Data/Scripts/011_Battle/006_Other battle code/009_Battle_ItemEffects.rb @@ -1872,7 +1872,7 @@ Battle::ItemEffects::EndOfRoundHealing.add(:LEFTOVERS, Battle::ItemEffects::EndOfRoundEffect.add(:FLAMEORB, proc { |item,battler,battle| - next if !battler.pbCanBurn?(nil,false) + next if !battler.pbCanBurn?(battler, false) battler.pbBurn(nil,_INTL("{1} was burned by the {2}!",battler.pbThis,battler.itemName)) } ) @@ -1890,7 +1890,7 @@ Battle::ItemEffects::EndOfRoundEffect.add(:STICKYBARB, Battle::ItemEffects::EndOfRoundEffect.add(:TOXICORB, proc { |item,battler,battle| - next if !battler.pbCanPoison?(nil,false) + next if !battler.pbCanPoison?(battler, false) battler.pbPoison(nil,_INTL("{1} was badly poisoned by the {2}!", battler.pbThis,battler.itemName),true) }