React - cyritegamestudios/trust GitHub Wiki
Overview
Trust can be used to perform actions in response to trigger conditions much like the React add-on, supporting common behaviors like running to/from a monster and stunning a monster ability.
Modes
See AutoGambitMode
How it works
Reactions are powered by Gambits, an "if X, then Y" conditional statement that performs actions when trigger conditions are met. Because of this, they will only be performed when AutoGambitMode
is set to Auto
. If you are unfamiliar with Gambits, read more about them here. You can create new Reactions in the menu under Settings → Gambits → Reactions.
Priority
Reactions are evaluated in order, so make sure to put the important ones higher in the list. You can do this using the Move Up and Move Down buttons in the menu under Settings → Gambits → Custom. Like all actions, abilities from reactions are put into the same queue as other Trust behavior, so if a reaction is critical consider disabling other modes to ensure it goes off (e.g. curing, buffing, weapon skilling, etc.).
Examples
Because Reactions leverage Gambits, it can accommodate a wide variety of use cases. Below are examples of common reactions and how to set them up:
Reaction | Description | Ability Target | Ability | Conditions | Conditions Target |
---|---|---|---|---|---|
Stun Just Desserts | Enemy: Readies Ability Just Desserts → Enemy: Stun | Enemy | Stun | Readies ability Just Desserts | Enemy |
Run from Dancing Fullers | Enemy: Readies Ability Dancing Fullers → Enemy: Run Away | Enemy | Run Away | Readies ability Dancing Fullers | Enemy |
Run back after Dancing Fullers | Enemy: Finishes Ability Dancing Fullers → Enemy: Run To | Enemy | Run To | Finishes ability Dancing Fullers | Enemy |
Settings
Reactions can be created or edited in the menu under Settings → Gambits → Reactions.