Class: Battle::Effects::Ability::PoisonTouch

Inherits:
ApplyStatusToMoveTarget show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Poison Touch ability effect

Instance Method Summary collapse

Methods inherited from ApplyStatusToMoveTarget

#on_post_damage, #rate

Instance Method Details

#display_message(handler, _hp, target, _launcher, _move) ⇒ String?

Get the message text

Parameters:

Returns:



535
536
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 535

def display_message(handler, _hp, target, _launcher, _move)
end

#status ⇒ Symbol

Return the status to apply

Returns:

  • (Symbol)


526
527
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 526

def status
end

#status_appliable?(handler, _hp, launcher, target, skill) ⇒ Boolean

Check if conditions to apply status are valid

Parameters:

Returns:

  • (Boolean)


522
523
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 522

def status_appliable?(handler, _hp, launcher, target, skill)
end