Class: Battle::Effects::Ability::EffectSpore

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

Overview

Class describing the Effect Spore ability effect

Constant Summary collapse

CAN_BE_METHODS =

Returns:

  • (Hash{Symbol => Symbol})
{poison: :can_be_poisoned?, sleep: :can_be_asleep?, paralysis: :can_be_paralyzed?}

Instance Method Summary collapse

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:



1076
1077
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1076

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