Class: Battle::Effects::Ability::InnardsOut

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

Overview

Defines the Innards Out ability

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ InnardsOut

Create a new ability effect

Parameters:



1786
1787
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1786

def initialize(logic, target, db_symbol)
end

Instance Method Details

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

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

Parameters:



1794
1795
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1794

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

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

Function called after damages were applied and when target died (post_damage_death)

Parameters:



1802
1803
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1802

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