Class: Battle::Effects::Ability::Comatose

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

Overview

Class describing the Comatose ability effect

Constant Summary collapse

STATUS =

List of status that cannot be applied

Returns:

  • (Array<Symbol>)
%i[toxic poison burn paralysis freeze sleep]

Instance Method Summary collapse

Instance Method Details

#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



797
798
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 797

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