Class: Battle::AI::MoveHeuristicBase::ReflectMoves

Inherits:
Battle::AI::MoveHeuristicBase show all
Defined in:
docs/5_Battle_30_AI_1_MoveHeuristic.rb

Instance Method Summary collapse

Methods inherited from Battle::AI::MoveHeuristicBase

#ignore_effectiveness?, #ignore_power?, new, #overwrite_move_kind_flag?, register

Constructor Details

#initializeReflectMoves

Create a new Rest Heuristic



103
104
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 103

def initialize
end

Instance Method Details

#compute(move, user, target, ai) ⇒ Float

Compute the heuristic

Parameters:

Returns:

  • (Float)


111
112
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 111

def compute(move, user, target, ai)
end