Class: Battle::Move::MudSport

Inherits:
Move
  • Object
show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Move that lower the power of electric/fire moves

Constant Summary collapse

EFFECT_KLASS =

List of effect depending on db_symbol of the move

Returns:

{}
EFFECT_MESSAGE =

List of message used to declare the effect

Returns:

  • (Hash{ Symbol => Integer })
{}

Class Method Summary collapse

Class Method Details

.register_effect(db_symbol, klass, message_id)

Register an effect to a "MudSport" like move

Parameters:

  • db_symbol (Symbol) —

    Symbol of the move

  • klass (Class<Battle::Effects::EffectBase>)
  • message_id (Integer) —

    ID of the message to show in file 18 when effect is applied



4813
4814
# File 'docs/5_Battle_10_Move.rb', line 4813

def register_effect(db_symbol, klass, message_id)
end