Class: Battle::Effects::Ability::CuriousMedicine

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

Overview

Class describing the Curious Medicine ability effect

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ CuriousMedicine

Create a new FlowerGift effect

Parameters:



899
900
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 899

def initialize(logic, target, db_symbol)
end

Instance Method Details

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



905
906
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 905

def on_switch_event(handler, who, with)
end