Class: Battle::AI::MoveHeuristicBase::UnstackableEffectBase

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

Overview

Class describing the heuristic of moves that apply unstackable effects

Instance Method Summary collapse

Constructor Details

#initialize ⇒ UnstackableEffectBase

Create a new UnstackableEffectBase



281
282
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 281

def initialize
end

Instance Method Details

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

Compute the heuristic for unstackable effects

Parameters:

Returns:

  • (Float)


289
290
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 289

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

#effect_symbol ⇒ Symbol

Get the name of the effect

Returns:

  • (Symbol)


293
294
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 293

def effect_symbol
end