Class: Battle::Effects::Ability::LiquidVoice

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

Overview

Class describing the Liquid Voice 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



1980
1981
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1980

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