Class: Battle::AI::MoveHeuristicBase::FocusEnergy
- Inherits:
-
UnstackableEffectBase
- Object
- MoveHeuristicBase
- UnstackableEffectBase
- Battle::AI::MoveHeuristicBase::FocusEnergy
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
Class describing the heuristic of the move Focus Energy
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for unstackable effects.
-
#effect_symbol ⇒ Symbol
Get the name of the effect.
Methods inherited from UnstackableEffectBase
Constructor Details
This class inherits a constructor from Battle::AI::MoveHeuristicBase::UnstackableEffectBase
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for unstackable effects
304 305 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 304 def compute(move, user, target, ai) end |
#effect_symbol ⇒ Symbol
Get the name of the effect
308 309 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 308 def effect_symbol end |