Class: Battle::Effects::Ability::TabletsOfRuin
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Tablets of Ruin ability
Direct Known Subclasses
Instance Method Summary collapse
-
#activated? ⇒ Boolean
(also: #activated)
If Tablets of Ruin is currently activated by this pokemon.
-
#effect_class
Class of the Effect given by this ability.
-
#file_id ⇒ Integer
Get the file ID.
-
#initialize(logic, target, db_symbol) ⇒ TabletsOfRuin
constructor
Create a new Tablets of Ruin effect.
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
-
#remove_effect(handler, owner)
Function responsible for removing the effect.
-
#set_effect(handler, owner)
Function responsible for applying the effect.
-
#text_id ⇒ Integer
Get the text ID.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ TabletsOfRuin
Create a new Tablets of Ruin effect
3672 3673 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3672 def initialize(logic, target, db_symbol) end |
Instance Method Details
#activated? ⇒ Boolean Also known as: activated
If Tablets of Ruin is currently activated by this pokemon
3692 3693 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3692 def activated? end |
#effect_class
Class of the Effect given by this ability
3696 3697 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3696 def effect_class end |
#file_id ⇒ Integer
Get the file ID
3700 3701 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3700 def file_id end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
3678 3679 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3678 def on_switch_event(handler, who, with) end |
#remove_effect(handler, owner)
Function responsible for removing the effect
3688 3689 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3688 def remove_effect(handler, owner) end |
#set_effect(handler, owner)
Function responsible for applying the effect
3683 3684 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3683 def set_effect(handler, owner) end |
#text_id ⇒ Integer
Get the text ID
3704 3705 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3704 def text_id end |