Class: Battle::Effects::Ability::Normalize

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

Overview

Class describing the Normalize ability effect

Instance Method Summary collapse

Instance Method Details

#on_move_type_change(user, target, move, type) ⇒ Integer?

Function called when we try to get the definitive type of a move

Parameters:

Returns:

  • (Integer, nil) —

    new type of the move



2319
2320
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2319

def on_move_type_change(user, target, move, type)
end