Class: Battle::Effects::Ability::LeafGuard
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Leaf Guard ability effect
Constant Summary collapse
- STATUS_LEAF_GUARD_MSG =
List of messages when leaf guard is active
{poison: 252, toxic: 252, sleep: 318, freeze: 300, paralysis: 285, burn: 270}
Instance Method Summary collapse
-
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked.
Instance Method Details
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked
1903 1904 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1903 def on_status_prevention(handler, status, target, launcher, skill) end |