Class: Battle::AI::MoveHeuristicBase::SelfEffectBase
- Inherits:
-
UnstackableEffectBase
- Object
- MoveHeuristicBase
- UnstackableEffectBase
- Battle::AI::MoveHeuristicBase::SelfEffectBase
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
Class describing the heuristic of moves that apply unstackable effects on the user This covers moves that have an effect applied on the user despite having a different target
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for unstackable effects.
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
427 428 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 427 def compute(move, user, target, ai) end |