Class: Battle::Effects::Ability::Simple

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

Overview

Class describing the Simple ability

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



3261
3262
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3261

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