Class: Battle::Effects::Ability::Auras

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

Overview

Class describing the Auras ability effects (Fairy Aura, Dark Aura, Aura Break)

Constant Summary collapse

AURA_MESSAGES =

List of messages shown when entering the field

{fairy_aura: 1205, dark_aura: 1201, aura_break: 1231}

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ Auras

Create a new PowerSpot effect

Parameters:



581
582
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 581

def initialize(logic, target, db_symbol)
end

Instance Method Details

#base_power_multiplier(user, target, move) ⇒ Float

Get the base power multiplier of this move

Parameters:

Returns:

  • (Float)


594
595
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 594

def base_power_multiplier(user, target, move)
end

#on_switch_event(handler, who, with)

Function called when a Pokemon has actually switched with another one

Parameters:



587
588
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 587

def on_switch_event(handler, who, with)
end