Class: Battle::Effects::Ability::HadronEngine

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

Overview

Class describing the Hadron Engine ability effect

Instance Method Summary collapse

Instance Method Details

#ats_modifier ⇒ Float, Integer

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

Returns:

  • (Float, Integer) —

    multiplier



1595
1596
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1595

def ats_modifier
end

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



1591
1592
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1591

def on_switch_event(handler, who, with)
end