Class: Battle::Effects::Ability::LiquidOoze

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Liquid Ooze ability effect

Instance Method Summary collapse

Instance Method Details

#on_drain_prevention(handler, hp, hp_healed, target, launcher, skill) ⇒ :prevent?

Function called before drain were applied (to potentially prevent healing)

Parameters:

Returns:

  • (:prevent, nil) —

    :prevent if the drain cannot be applied



1968
1969
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1968

def on_drain_prevention(handler, hp, hp_healed, target, launcher, skill)
end