Class: Contest::AI::EffectTagHeuristicBase::PlayLastNextTurn

Inherits:
EffectTagHeuristicBase
  • Object
show all
Defined in:
docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb

Overview

Heuristic for the effect tag :play_last_next_turn This heuristic is affected by the amount of other moves whose efficiency depend on the order of the round the user has in its moveset

Direct Known Subclasses

AdvancedPlayLastNextTurn

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, _move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


60
61
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 60

def compute(user, ai, _move)
end