Class: Battle::Effects::Ability::FlashFire
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Flash Fire ability effect
Defined Under Namespace
Modules: OnResetStates
Instance Method Summary collapse
-
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula).
-
#on_damage_prevention(handler, hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked.
-
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked.
-
#on_stat_increase_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_increase_prevention is checked.
-
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked.
-
#reset
Reset the boost when leaving battle.
Instance Method Details
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula)
1209 1210 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1209 def mod1_multiplier(user, target, move) end |
#on_damage_prevention(handler, hp, target, launcher, skill) ⇒ :prevent, ...
Function called when a damage_prevention is checked
1175 1176 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1175 def on_damage_prevention(handler, hp, target, launcher, skill) end |
#on_stat_decrease_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_decrease_prevention is checked
1184 1185 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1184 def on_stat_decrease_prevention(handler, stat, target, launcher, skill) end |
#on_stat_increase_prevention(handler, stat, target, launcher, skill) ⇒ :prevent?
Function called when a stat_increase_prevention is checked
1193 1194 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1193 def on_stat_increase_prevention(handler, stat, target, launcher, skill) end |
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked
1202 1203 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1202 def on_status_prevention(handler, status, target, launcher, skill) end |
#reset
Reset the boost when leaving battle
1212 1213 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1212 def reset end |