Class: Battle::Effects::Ability::TabletsOfRuin

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

Overview

Class describing the Tablets of Ruin ability

Direct Known Subclasses

BeadsOfRuin, VesselOfRuin

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ TabletsOfRuin

Create a new Tablets of Ruin effect

Parameters:



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

Returns:

  • (Boolean)


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

Returns:

  • (Integer)


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

Parameters:



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

Parameters:



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

Parameters:



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

Returns:

  • (Integer)


3704
3705
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3704

def text_id
end