Class: Battle::Effects::Weather::Rain

Inherits:
Weather
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_06_Weather_Effects.rb

Overview

Class describing the Rain weather effect

Instance Method Summary collapse

Instance Method Details

#mod1_multiplier(user, target, move) ⇒ Float, Integer

Give the move mod1 mutiplier (before the +2 in the formula)

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



191
192
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 191

def mod1_multiplier(user, target, move)
end

#on_end_turn_event(logic, scene, battlers)

Function called at the end of a turn

Parameters:



184
185
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 184

def on_end_turn_event(logic, scene, battlers)
end