Class: Battle::Effects::Weather::Sandstorm

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

Overview

Class describing the Sandstorm weather effect

Constant Summary collapse

SANDSTORM_BLOCKING_ABILITIES =

List of abilities that blocks sandstorm damages

Returns:

  • (Array<Symbol>)
%i[magic_guard sand_veil sand_rush sand_force overcoat]
HAIL_BLOCKING_ITEMS =

List of objects that block sandstorm damages

Returns:

  • (Array<Symbol>)
%i[safety_goggles]

Instance Method Summary collapse

Instance Method Details

#on_end_turn_event(logic, scene, battlers)

Function called at the end of a turn

Parameters:



207
208
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 207

def on_end_turn_event(logic, scene, battlers)
end

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

Give the move [Spe]def mutiplier

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



214
215
# File 'docs/5_Battle_06_Effects_06_Weather_Effects.rb', line 214

def sp_def_multiplier(user, target, move)
end