Class: Battle::Move::NaturePower

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

Overview

When Nature Power is used it turns into a different move depending on the current battle terrain.

Class Method Summary collapse

Methods included from Mechanics::LocationBased

#move_blocked_by_target?

Class Method Details

.register(loc, move)

Register a move for a location

Parameters:

  • loc (Symbol) —

    location symbol

  • move (Symbol) —

    move symbol



4901
4902
# File 'docs/5_Battle_10_Move.rb', line 4901

def register(loc, move)
end

.reset

Reset the moves table



4896
4897
# File 'docs/5_Battle_10_Move.rb', line 4896

def reset
end