Class: Battle::Effects::Weather::Sunny

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

Overview

Class describing the Sunny 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



291
292
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 291

def mod1_multiplier(user, target, move)
end

#on_end_turn_event(logic, scene, battlers)

Function called at the end of a turn

Parameters:



284
285
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 284

def on_end_turn_event(logic, scene, battlers)
end