Merge pull request #128 from GLugia/bug-fixes

Fix for Drain vs Liquid Ooze
This commit is contained in:
infinitefusion
2025-02-24 10:57:00 -05:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ class PokeBattle_Battler
end
def pbRecoverHPFromDrain(amt,target,msg=nil)
if target.hasActiveAbility?(:LIQUIDOOZE)
if target.hasActiveAbility?(:LIQUIDOOZE, true)
@battle.pbShowAbilitySplash(target)
pbReduceHP(amt)
@battle.pbDisplay(_INTL("{1} sucked up the liquid ooze!",pbThis))