mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Fixed Flame/Toxic Orb being able to replace another status condition
This commit is contained in:
@@ -1516,7 +1516,7 @@ BattleHandlers::EORHealingItem.add(:LEFTOVERS,
|
|||||||
|
|
||||||
BattleHandlers::EOREffectItem.add(:FLAMEORB,
|
BattleHandlers::EOREffectItem.add(:FLAMEORB,
|
||||||
proc { |item,battler,battle|
|
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))
|
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,
|
BattleHandlers::EOREffectItem.add(:TOXICORB,
|
||||||
proc { |item,battler,battle|
|
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.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