Class: Battle::Effects::Ability::Electromorphosis

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

Overview

Class describing the Electromorphosis ability effect

Instance Method Summary collapse

Instance Method Details

#create_effect(target, launcher) ⇒ Effects::EffectBase

Create the effect

Parameters:

Returns:



1094
1095
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1094

def create_effect(target, launcher)
end

#on_post_damage(handler, hp, target, launcher, skill) Also known as: on_post_damage_death

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

Parameters:



1088
1089
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1088

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