public class RaidAI extends TacticalAI
Constructor and Description |
---|
RaidAI(RaidGovernor governor,
RaidPixelmonParticipant participant)
Initializes the AI.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MoveChoice> |
getAttackChoices(PixelmonWrapper pw)
Gets all attack choices the AI can make during the turn.
|
java.util.List<MoveChoice> |
getTopNAttackChoices(int count,
PixelmonWrapper pw) |
protected boolean |
isProtect(Attack attack) |
protected java.util.List<MoveChoice> |
pickTopNBestChoices(int count,
java.util.List<MoveChoice> choices,
java.util.List<MoveChoice> bestChoices) |
getBestChoices, getBestChoices, getMemory, getNextMove, getWeightedAttackChoices, pickBestChoice, pickBestChoice, registerMove, simulateStatusMove
getFaintedPokemonToRevive, getNextMoveAttackOnly, getNextSwitch, resetSwitchSimulation, validateSwitch
getAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChange
public RaidAI(RaidGovernor governor, RaidPixelmonParticipant participant)
participant
- The participant controlled by the AI.protected java.util.List<MoveChoice> getAttackChoices(PixelmonWrapper pw)
BattleAIBase
getAttackChoices
in class BattleAIBase
pw
- The Pokémon to get choices for.public java.util.List<MoveChoice> getTopNAttackChoices(int count, PixelmonWrapper pw)
protected boolean isProtect(Attack attack)
protected java.util.List<MoveChoice> pickTopNBestChoices(int count, java.util.List<MoveChoice> choices, java.util.List<MoveChoice> bestChoices)