mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Corrosion now allows a Steel/Poison Pokémon to poison itself with Toxic Orb
This commit is contained in:
@@ -1872,7 +1872,7 @@ Battle::ItemEffects::EndOfRoundHealing.add(:LEFTOVERS,
|
|||||||
|
|
||||||
Battle::ItemEffects::EndOfRoundEffect.add(:FLAMEORB,
|
Battle::ItemEffects::EndOfRoundEffect.add(:FLAMEORB,
|
||||||
proc { |item,battler,battle|
|
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))
|
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,
|
Battle::ItemEffects::EndOfRoundEffect.add(:TOXICORB,
|
||||||
proc { |item,battler,battle|
|
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.pbPoison(nil,_INTL("{1} was badly poisoned by the {2}!",
|
||||||
battler.pbThis,battler.itemName),true)
|
battler.pbThis,battler.itemName),true)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user