Class: Battle::AI::MoveHeuristicBase::UnstackableBankEffectBase
- Inherits:
-
MoveHeuristicBase
- Object
- MoveHeuristicBase
- Battle::AI::MoveHeuristicBase::UnstackableBankEffectBase
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
Class describing the heuristic of moves that apply unstackable bank effects
Direct Known Subclasses
LuckyChant, Mist, Safeguard, Spikes, StealthRock, StickyWeb, Tailwind
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.
-
#initialize ⇒ UnstackableBankEffectBase
constructor
Create a new UnstackableBankEffectBase.
Constructor Details
#initialize ⇒ UnstackableBankEffectBase
Create a new UnstackableBankEffectBase
191 192 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 191 def initialize end |
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for unstackable effects
199 200 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 199 def compute(move, user, target, ai) end |
#effect_symbol ⇒ Symbol
Get the name of the effect
203 204 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 203 def effect_symbol end |