public class AdvancedAI extends TacticalAI
| Constructor and Description |
|---|
AdvancedAI(BattleParticipant participant)
Initializes the AI.
|
| Modifier and Type | Method and Description |
|---|---|
MoveChoice |
getNextMove(PixelmonWrapper pw)
Gets the move the AI will make next.
|
protected MoveChoice |
getNextMoveAttackOnly(PixelmonWrapper pw)
Gets the next move the Pokémon will make, limited to attacking.
|
protected java.util.List<MoveChoice> |
getNextOpponentMoves(PixelmonWrapper pw,
java.util.List<PixelmonWrapper> opponents)
Gets the next moves that the AI guesses the opponents will make.
|
protected boolean |
validateSwitch(PixelmonWrapper nextPokemon)
Does any additional checks to see if the switch-in is usable.
|
getBestChoices, getBestChoices, getMemory, getWeightedAttackChoices, pickBestChoice, pickBestChoice, registerMove, simulateStatusMovegetFaintedPokemonToRevive, getNextSwitch, resetSwitchSimulationgetAttackChoices, getAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChangepublic AdvancedAI(BattleParticipant participant)
participant - The participant controlled by the AI.public MoveChoice getNextMove(PixelmonWrapper pw)
BattleAIBasegetNextMove in class TacticalAIpw - The Pokémon to make a move with.protected MoveChoice getNextMoveAttackOnly(PixelmonWrapper pw)
getNextMoveAttackOnly in class AggressiveAIpw - The Pokémon choosing a move.protected java.util.List<MoveChoice> getNextOpponentMoves(PixelmonWrapper pw, java.util.List<PixelmonWrapper> opponents)
pw - The Pokémon on the participant's side that is deciding a choice.opponents - The opponents to get next moves from.protected boolean validateSwitch(PixelmonWrapper nextPokemon)
AggressiveAIvalidateSwitch in class AggressiveAInextPokemon - The Pokémon switching in.