mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
Signed-off-by: Matilde Simões <matilde.simoes@tecnico.ulisboa.pt> Co-authored-by: Fuad Ali <fuad.ali@tecnico.ulisboa.pt>
109 lines
2.8 KiB
TypeScript
109 lines
2.8 KiB
TypeScript
/**
|
|
* An enum for all the challenge types. The parameter entries on these describe the
|
|
* parameters to use when calling the applyChallenges function.
|
|
*/
|
|
export enum ChallengeType {
|
|
/**
|
|
* Challenges which modify what starters you can choose
|
|
* @see {@link Challenge.applyStarterChoice}
|
|
*/
|
|
STARTER_CHOICE,
|
|
/**
|
|
* Challenges which modify how many starter points you have
|
|
* @see {@link Challenge.applyStarterPoints}
|
|
*/
|
|
STARTER_POINTS,
|
|
/**
|
|
* Challenges which modify how many starter points you have
|
|
* @see {@link Challenge.applyStarterPointCost}
|
|
*/
|
|
STARTER_COST,
|
|
/**
|
|
* Challenges which modify your starters in some way
|
|
* @see {@link Challenge.applyStarterModify}
|
|
*/
|
|
STARTER_MODIFY,
|
|
/**
|
|
* Challenges which limit which pokemon you can have in battle.
|
|
* @see {@link Challenge.applyPokemonInBattle}
|
|
*/
|
|
POKEMON_IN_BATTLE,
|
|
/**
|
|
* Adds or modifies the fixed battles in a run
|
|
* @see {@link Challenge.applyFixedBattle}
|
|
*/
|
|
FIXED_BATTLES,
|
|
/**
|
|
* Modifies the effectiveness of Type matchups in battle
|
|
* @see {@linkcode Challenge.applyTypeEffectiveness}
|
|
*/
|
|
TYPE_EFFECTIVENESS,
|
|
/**
|
|
* Modifies what level the AI pokemon are. UNIMPLEMENTED.
|
|
*/
|
|
AI_LEVEL,
|
|
/**
|
|
* Modifies how many move slots the AI has. UNIMPLEMENTED.
|
|
*/
|
|
AI_MOVE_SLOTS,
|
|
/**
|
|
* Modifies if a pokemon has its passive. UNIMPLEMENTED.
|
|
*/
|
|
PASSIVE_ACCESS,
|
|
/**
|
|
* Modifies the game mode settings in some way. UNIMPLEMENTED.
|
|
*/
|
|
GAME_MODE_MODIFY,
|
|
/**
|
|
* Modifies what level AI pokemon can access a move. UNIMPLEMENTED.
|
|
*/
|
|
MOVE_ACCESS,
|
|
/**
|
|
* Modifies what weight AI pokemon have when generating movesets. UNIMPLEMENTED.
|
|
*/
|
|
MOVE_WEIGHT,
|
|
/**
|
|
* Modifies what the pokemon stats for Flip Stat Mode.
|
|
*/
|
|
FLIP_STAT,
|
|
/**
|
|
* Challenge that modifies if the player should auto heal every 10th wave
|
|
*/
|
|
NO_HEAL_PHASE,
|
|
/**
|
|
* Modifies if the shop item is blacklisted
|
|
* @see {@linkcode Challenge.applyShopItemBlacklist}
|
|
*/
|
|
SHOP_ITEM_BLACKLIST,
|
|
/**
|
|
* Modifies if the random item is blacklisted
|
|
* @see {@linkcode Challenge.applyRandomItemBlacklist}
|
|
*/
|
|
RANDOM_ITEM_BLACKLIST,
|
|
/**
|
|
* Modifies if the move is blacklisted
|
|
* @see {@linkcode Challenge.applyMoveBlacklist}
|
|
*/
|
|
MOVE_BLACKLIST,
|
|
/**
|
|
* Modifies if pokemon are allowed to be revived from fainting
|
|
* @see {@linkcode Challenge.applyRevivePrevention}
|
|
*/
|
|
PREVENT_REVIVE,
|
|
/**
|
|
* Modifies if pokemon are allowed to be revived from fainting
|
|
* @see {@linkcode Challenge.applyDeletePokemon}
|
|
*/
|
|
DELETE_POKEMON,
|
|
/**
|
|
* Challenge that modifies if the player should catch pokemon on waves other than the first
|
|
* @see {@linkcode Challenge.applyAddPokemonToParty}
|
|
*/
|
|
ADD_POKEMON_TO_PARTY,
|
|
/**
|
|
* Modifies if pokemon are allowed to fuse
|
|
* @see {@linkcode Challenge.applyShouldFuse}
|
|
*/
|
|
SHOULD_FUSE,
|
|
}
|