Class: Battle::Effects::Ability::PerishBody

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

Overview

Class describing the Perish Body ability effect

Instance Method Summary collapse

Instance Method Details

#effect(target) ⇒ Effects::EffectBase

Return the effect of the ability

Parameters:

Returns:



2491
2492
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2491

def effect(target)
end

#on_post_damage(handler, hp, target, launcher, skill)

Function called after damages were applied (post_damage, when target is still alive)

Parameters:



2486
2487
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2486

def on_post_damage(handler, hp, target, launcher, skill)
end