Class: Battle::Effects::Item::Drives

Inherits:
Item
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_05_Item_Effects.rb

Overview

Class describing Drive item effects

Direct Known Subclasses

BurnDrive, ChillDrive, ShockDrive

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



63
64
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 63

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