Class: Battle::Effects::Ability::SupremeOverlord

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

Overview

Class describing the Supreme Overlord ability

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ SupremeOverlord

Create a new SupremeOverlord effect

Parameters:



3539
3540
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3539

def initialize(logic, target, db_symbol)
end

Instance Method Details

#base_power_multiplier(user, target, move) ⇒ Float, Integer

Give the move base power mutiplier

Parameters:

Returns:

  • (Float, Integer) —

    multiplier



3552
3553
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3552

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:



3545
3546
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3545

def on_switch_event(handler, who, with)
end