Class: Battle::Effects::Status::Burn
- Defined in:
- docs/5_Battle_06_Effects_03_Status_Effects.rb
Overview
Class describing the Burn status effect
Instance Method Summary collapse
-
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula).
-
#name ⇒ Symbol
Function giving the name of the effect.
-
#on_end_turn_event(logic, scene, battlers)
Apply burn effect on end of turn.
-
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Prevent burn from being applied twice.
Instance Method Details
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula)
129 130 |
# File 'docs/5_Battle_06_Effects_03_Status_Effects.rb', line 129 def mod1_multiplier(user, target, move) end |
#name ⇒ Symbol
Function giving the name of the effect
148 149 |
# File 'docs/5_Battle_06_Effects_03_Status_Effects.rb', line 148 def name end |
#on_end_turn_event(logic, scene, battlers)
Apply burn effect on end of turn
144 145 |
# File 'docs/5_Battle_06_Effects_03_Status_Effects.rb', line 144 def on_end_turn_event(logic, scene, battlers) end |
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Prevent burn from being applied twice
138 139 |
# File 'docs/5_Battle_06_Effects_03_Status_Effects.rb', line 138 def on_status_prevention(handler, status, target, launcher, skill) end |