Class: Battle::Effects::FieldTerrain::Electric
- Defined in:
- docs/5_Battle_06_Effects_07_Field_Terrain_Effects.rb
Overview
Class describing the Electric field terrain 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_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked.
Instance Method Details
#mod1_multiplier(user, target, move) ⇒ Float, Integer
Give the move mod1 mutiplier (before the +2 in the formula)
72 73 |
# File 'docs/5_Battle_06_Effects_07_Field_Terrain_Effects.rb', line 72 def mod1_multiplier(user, target, move) end |
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn
56 57 |
# File 'docs/5_Battle_06_Effects_07_Field_Terrain_Effects.rb', line 56 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
79 80 |
# File 'docs/5_Battle_06_Effects_07_Field_Terrain_Effects.rb', line 79 def on_move_prevention_target(user, target, move) end |
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Function called when a status_prevention is checked
65 66 |
# File 'docs/5_Battle_06_Effects_07_Field_Terrain_Effects.rb', line 65 def on_status_prevention(handler, status, target, launcher, skill) end |