Class: Battle::Effects::Ability::MirrorArmor

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

Overview

Class describing the Mirror Armor ability effect

Instance Method Summary collapse

Instance Method Details

#on_stat_change(handler, stat, power, target, launcher, skill) ⇒ Integer?

Function called when a stat_change is about to be applied

Parameters:

Returns:

  • (Integer, nil) —

    if integer, it will change the power



2091
2092
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2091

def on_stat_change(handler, stat, power, target, launcher, skill)
end