Class RaidAI
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.BattleAIBase
com.pixelmonmod.pixelmon.battles.controller.ai.AggressiveAI
com.pixelmonmod.pixelmon.battles.controller.ai.TacticalAI
com.pixelmonmod.pixelmon.battles.controller.ai.RaidAI
Uses both offensive and status moves, using the raid governor as the source of moves.
-
Constructor Summary
ConstructorDescriptionRaidAI
(RaidGovernor governor, RaidPixelmonParticipant participant) Initializes the AI. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<MoveChoice>
Gets all attack choices the AI can make during the turn.getTopNAttackChoices
(int count, PixelmonWrapper pw) protected boolean
protected List<MoveChoice>
pickTopNBestChoices
(int count, List<MoveChoice> choices, List<MoveChoice> bestChoices, BattleController bc) Methods inherited from class com.pixelmonmod.pixelmon.battles.controller.ai.TacticalAI
getBestChoices, getBestChoices, getMemory, getNextMove, getWeightedAttackChoices, pickBestChoice, pickBestChoice, registerMove, simulateStatusMove
Methods inherited from class com.pixelmonmod.pixelmon.battles.controller.ai.AggressiveAI
getFaintedPokemonToRevive, getNextMoveAttackOnly, getNextSwitch, resetSwitchSimulation, validateSwitch
Methods inherited from class com.pixelmonmod.pixelmon.battles.controller.ai.BattleAIBase
getAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChange
-
Constructor Details
-
RaidAI
Initializes the AI.- Parameters:
participant
- The participant controlled by the AI.
-
-
Method Details
-
getAttackChoices
Description copied from class:BattleAIBase
Gets all attack choices the AI can make during the turn.- Overrides:
getAttackChoices
in classBattleAIBase
- Parameters:
pw
- The Pokémon to get choices for.- Returns:
- A list of all attack choices that the AI can make during the turn.
-
getTopNAttackChoices
-
isProtect
-
pickTopNBestChoices
protected List<MoveChoice> pickTopNBestChoices(int count, List<MoveChoice> choices, List<MoveChoice> bestChoices, BattleController bc)
-