Class: Battle::AI::MoveHeuristicBase::WeatherMove

Inherits:
MoveHeuristicBase
  • Object
show all
Defined in:
docs/5_Battle_30_AI_1_MoveHeuristic.rb

Direct Known Subclasses

WeatherMoveSeeItem

Instance Method Summary collapse

Constructor Details

#initialize ⇒ WeatherMove

Create a new heuristic for WeatherMove

Parameters:

  • ignore_effectiveness (Boolean) —

    if this heuristic ignore effectiveness (wants to compute it themself)

  • ignore_power (Boolean) —

    if this heuristic ignore power (wants to compute it themself)

  • overwrite_move_kind_flag (Boolean) —

    if the effect overwrite (to true) the can see move kind flag



628
629
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 628

def initialize
end

Instance Method Details

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

Compute the heuristic for WeatherMove

Parameters:

Returns:

  • (Float)


636
637
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 636

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