Class NoOpAI
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.BattleAIBase
com.pixelmonmod.pixelmon.battles.controller.ai.NoOpAI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a Pokémon to revive when forced to revive.Gets the move the AI will make next.Gets a Pokémon to switch to when forced to switch.Methods inherited from class com.pixelmonmod.pixelmon.battles.controller.ai.BattleAIBase
getAttackChoices, getAttackChoicesOpponentOnly, getBestAttackChoices, getBestAttackChoices, getChoices, getMoveset, getPossibleReviveIDs, getPossibleSwitchIDs, getRandomAttackChoice, getSwitchChoices, getWeightedOffensiveChoices, registerMove, registerSwitch, weightFromOpponentOptions, weightFromOpponentOptions, weightFromUserOptions, weightFromUserOptions, weightOffensiveMove, weightOffensiveMove, weightOffensiveMoves, weightRandomMove, weightSingleTypeChange, weightStatusOpponentOptions, weightTypeChange, weightTypeChange
-
Constructor Details
-
NoOpAI
Initializes the AI.- Parameters:
participant
- The participant controlled by the AI.
-
-
Method Details
-
getNextMove
Description copied from class:BattleAIBase
Gets the move the AI will make next.- Specified by:
getNextMove
in classBattleAIBase
- Parameters:
pw
- The Pokémon to make a move with.- Returns:
- The move the AI will make next.
-
getNextSwitch
Description copied from class:BattleAIBase
Gets a Pokémon to switch to when forced to switch.- Specified by:
getNextSwitch
in classBattleAIBase
- Parameters:
pw
- The Pokémon switching out.- Returns:
- The ID of the Pokémon to switch to.
-
getFaintedPokemonToRevive
Description copied from class:BattleAIBase
Gets a Pokémon to revive when forced to revive.- Specified by:
getFaintedPokemonToRevive
in classBattleAIBase
- Returns:
- The ID of the Pokémon to switch to.
-