-
Notifications
You must be signed in to change notification settings - Fork 23
Custom Registries
Raid Dens offers custom registries for other developers to add their own implementation and logic for certain features. You can register new entries by accessing the registries in CustomRaidRegistries.
Register a BattleAI supplier under a string key, which can then be set in the tier config or custom raid bosses.
Default Entries:
random: RandomBattleAI
strong: StrongBattleAI
rct: RCTBattleAI (Requires RCT API)
Register a function that takes in the list of eligible players and the raid instance, and determines which players are able to catch the raid boss, which can then be set in the common config.
Default Entries:
random: Randomly sorts players
damage: Sorts players based on damage dealt
survivor: Sorts players by who is still standing, and then random
Register a Map decoder to transform a JSON object into a Showdown Event.
For the default options, refer to Scripting.
Register a RaidFeature interface to modify the raid boss and reward depending on the specific feature/gimmick present.
You can apply different properties to the boss's aspects, the raid boss Pokemon itself and/or the the reward Pokemon the player receives.
Default Entries:
default: No changes
tera: Applies Mega Showdown's tera effect
dynamax: Applies Mega Showdown's dynamax effect and gives the reward Pokemon the max dynamax level (and gmax factor if the raid boss is also gmax)
mega: Automatically applies the mega form aspect if not defined
shadow: Applies Shadowed Heart's shadow effect and converts the reward Pokemon into a Shadow Pokemon
- Game Mechanics
- Customisation
- For Developers
- Archived