Class: Battle::Effects::Ability::Disguise
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Disguise ability effect
Instance Method Summary collapse
-
#on_damage_prevention(handler, _hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked.
-
#on_post_damage_death(handler, hp, target, launcher, skill)
Function called after damages were applied and when target died (post_damage_death).
Instance Method Details
#on_damage_prevention(handler, _hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked
1013 1014 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1013 def on_damage_prevention(handler, _hp, target, launcher, skill) end |
#on_post_damage_death(handler, hp, target, launcher, skill)
Function called after damages were applied and when target died (post_damage_death)
1021 1022 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1021 def on_post_damage_death(handler, hp, target, launcher, skill) end |