Class: Battle::Effects::Ability::EmbodyAspect

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

Overview

Class describing the Embody Aspect ability effect

Constant Summary collapse

FORMS_DATA =

Returns the stat boosted by the ability and the corresponding text.

Returns:

  • (Array<Hash{Symbol => Integer}>)
{hearthflame_mask: {stat: :atk, text: 1734}, wellspring_mask: {stat: :dfs, text: 1742}, cornerstone_mask: {stat: :dfe, text: 1738}}

Instance Method Summary collapse

Instance Method Details

#on_switch_event(handler, who, with)

Teal (Grass) Function called when a Pokemon has actually switched with another one

Parameters:



1109
1110
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1109

def on_switch_event(handler, who, with)
end