Class: Battle::Effects::Weather::Hardsun
- Defined in:
- docs/5_Battle_06_Effects_06_Weather_Effects.rb
Overview
Class describing the Hardsun weather effect
Instance Method Summary collapse
-
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula).
-
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn.
-
#on_move_prevention_target(user, target, move) ⇒ Boolean
Function called when we try to check if the target evades the move.
-
#on_weather_prevention(handler, weather_type, last_weather) ⇒ :prevent?
Function called when a weather_prevention is checked.
Instance Method Details
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula)
174 175 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 174 def mod1_multiplier(user, target, move) end |
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn
153 154 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 153 def on_end_turn_event(logic, scene, battlers) end |
#on_move_prevention_target(user, target, move) ⇒ Boolean
Function called when we try to check if the target evades the move
160 161 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 160 def on_move_prevention_target(user, target, move) end |
#on_weather_prevention(handler, weather_type, last_weather) ⇒ :prevent?
Function called when a weather_prevention is checked
167 168 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 167 def on_weather_prevention(handler, weather_type, last_weather) end |