Class: Battle::AI::MoveHeuristicBase::Spikes
- Inherits:
-
UnstackableBankEffectBase
- Object
- MoveHeuristicBase
- UnstackableBankEffectBase
- Battle::AI::MoveHeuristicBase::Spikes
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
Class describing the heuristic of the move Spikes
Direct Known Subclasses
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 UnstackableBankEffectBase
Constructor Details
This class inherits a constructor from Battle::AI::MoveHeuristicBase::UnstackableBankEffectBase
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for unstackable effects
262 263 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 262 def compute(move, user, target, ai) end |
#effect_symbol ⇒ Symbol
Get the name of the effect
266 267 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 266 def effect_symbol end |