mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Fix for Drain vs Liquid Ooze
When a draining move KOs a Pokemon with Liquid Ooze, the ability would not activate. This fixes that.
This commit is contained in:
@@ -30,7 +30,7 @@ class PokeBattle_Battler
|
|||||||
end
|
end
|
||||||
|
|
||||||
def pbRecoverHPFromDrain(amt,target,msg=nil)
|
def pbRecoverHPFromDrain(amt,target,msg=nil)
|
||||||
if target.hasActiveAbility?(:LIQUIDOOZE)
|
if target.hasActiveAbility?(:LIQUIDOOZE, true)
|
||||||
@battle.pbShowAbilitySplash(target)
|
@battle.pbShowAbilitySplash(target)
|
||||||
pbReduceHP(amt)
|
pbReduceHP(amt)
|
||||||
@battle.pbDisplay(_INTL("{1} sucked up the liquid ooze!",pbThis))
|
@battle.pbDisplay(_INTL("{1} sucked up the liquid ooze!",pbThis))
|
||||||
|
|||||||
Reference in New Issue
Block a user