Class: Battle::Move::Camouflage

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

Overview

Class describing the Camouflage move Camouflage causes the user to change its type based on the current terrain.

Class Method Summary collapse

Methods included from Mechanics::LocationBased

#move_blocked_by_target?

Class Method Details

.register(loc, type)

Register a type for a specific location

Parameters:

  • loc (Symbol) —

    location symbol

  • type (Symbol) —

    type symbol



2264
2265
# File 'docs/5_Battle_10_Move.rb', line 2264

def register(loc, type)
end

.reset

Reset the type by location table



2259
2260
# File 'docs/5_Battle_10_Move.rb', line 2259

def reset
end