Class: Battle::Effects::Ability::FlowerVeil
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Flower Veil ability effect
Instance Method Summary collapse
-
#initialize(logic, target, db_symbol) ⇒ FlowerVeil
constructor
Create a new FlowerGift effect.
-
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked.
-
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ FlowerVeil
Create a new FlowerGift effect
1292 1293 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1292 def initialize(logic, target, db_symbol) end |
Instance Method Details
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked
1301 1302 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1301 def on_stat_decrease_prevention(handler, stat, target, launcher, skill) end |
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked
1310 1311 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1310 def on_status_prevention(handler, status, target, launcher, skill) end |