Class: Battle::Effects::Ability::GulpMissile

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

Overview

Class describing the Gulp Missile ability effect

Constant Summary collapse

FORM_ARROKUDA =

Constant describing the Arrokuda form

Returns:

  • (Symbol)
:arrokuda
FORM_PIKACHU =

Constant describing the Pikachu form

Returns:

  • (Symbol)
:pikachu
BASE_FORM =

Constant describing the base form

Returns:

  • (Symbol)
:base
TRIGGER_SKILLS =

List of moves triggering the ability

Returns:

  • (Array<Symbol>)
%i[surf waterfall]

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:



1550
1551
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1550

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