Class: Battle::AI::MoveHeuristicBase::CuringMove

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

#initializeCuringMove

Create a new Rest Heuristic



89
90
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 89

def initialize
end

Instance Method Details

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

Compute the heuristic

Parameters:

Returns:

  • (Float)


97
98
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 97

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