Class: Battle::Effects::Ability::LightningRod
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Lightning Rod ability effect
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(logic, target, db_symbol) ⇒ LightningRod
constructor
Create a new FlowerGift effect.
-
#on_damage_prevention(handler, hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ LightningRod
Create a new FlowerGift effect
1929 1930 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1929 def initialize(logic, target, db_symbol) end |
Instance Method Details
#on_damage_prevention(handler, hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked
1938 1939 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1938 def on_damage_prevention(handler, hp, target, launcher, skill) end |