Class: Battle::Effects::Ability::Unburden

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Unburden ability

Defined Under Namespace

Modules: OnResetStates

Instance Method Summary collapse

Instance Method Details

#on_post_item_change(handler, db_symbol, target, launcher, skill)

Function called when a post_item_change is checked

Parameters:



4016
4017
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4016

def on_post_item_change(handler, db_symbol, target, launcher, skill)
end

#reset

Reset the boost when leaving battle



4019
4020
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4019

def reset
end

#spd_modifier ⇒ Float, Integer

Give the speed modifier over given to the Pokemon with this effect

Returns:

  • (Float, Integer) —

    multiplier



4008
4009
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 4008

def spd_modifier
end