Class: Battle::Effects::Ability::ThermalExchange

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

Overview

Class describing the Thermal Exchange ability

Instance Method Summary collapse

Instance Method Details

#on_post_action_event(logic, scene, battlers)

Function called at the end of an action

Parameters:



3834
3835
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3834

def on_post_action_event(logic, scene, battlers)
end

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

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

Parameters:



3819
3820
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3819

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

#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?

Function called when a status_prevention is checked

Parameters:

Returns:

  • (:prevent, nil) —

    :prevent if the status cannot be applied



3828
3829
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3828

def on_status_prevention(handler, status, target, launcher, skill)
end