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, simulateStatusMovegetFaintedPokemonToRevive, getNextMoveAttackOnly, getNextSwitch, resetSwitchSimulation, validateSwitchgetAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChangepublic RaidAI(RaidGovernor governor, RaidPixelmonParticipant participant)
participant - The participant controlled by the AI.protected java.util.List<MoveChoice> getAttackChoices(PixelmonWrapper pw)
BattleAIBasegetAttackChoices in class BattleAIBasepw - 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)