Class: Battle::Effects::Weather::StrongWinds
- Defined in:
- docs/5_Battle_06_Effects_06_Weather_Effects.rb
Overview
Class describing the StrongWinds weather effect
Instance Method Summary collapse
-
#initialize(logic, db_symbol) ⇒ StrongWinds
constructor
Create a new effect.
-
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn.
-
#on_post_accuracy_check(logic, scene, targets, launcher, skill)
Function called before the accuracy check of a move is done.
-
#on_single_type_multiplier_overwrite(target, target_type, type, move) ⇒ Float?
Function that computes an overwrite of the type multiplier.
-
#on_weather_prevention(handler, weather_type, last_weather) ⇒ :prevent?
Function called when a weather_prevention is checked.
Constructor Details
#initialize(logic, db_symbol) ⇒ StrongWinds
Create a new effect
245 246 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 245 def initialize(logic, db_symbol) end |
Instance Method Details
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn
251 252 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 251 def on_end_turn_event(logic, scene, battlers) end |
#on_post_accuracy_check(logic, scene, targets, launcher, skill)
Function called before the accuracy check of a move is done
266 267 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 266 def on_post_accuracy_check(logic, scene, targets, launcher, skill) end |
#on_single_type_multiplier_overwrite(target, target_type, type, move) ⇒ Float?
Function that computes an overwrite of the type multiplier
274 275 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 274 def on_single_type_multiplier_overwrite(target, target_type, type, move) end |
#on_weather_prevention(handler, weather_type, last_weather) ⇒ :prevent?
Function called when a weather_prevention is checked
258 259 |
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 258 def on_weather_prevention(handler, weather_type, last_weather) end |