Gambiter - cyritegamestudios/trust GitHub Wiki
Overview
The Gambiter role allows you to customize your Trust's behavior even further. Inspired by Final Fantasy XII's Gambit system, Gambiter lets you perform actions in response to certain conditions. Gambits are only available in Trust version 10.0.0+.
Modes
See AutoGambitMode
How it works
Gambits are a targeted "if X, then Y" conditional statement. Each Gambit on the list is evaluated in order and the first Gambit that has a met, actionable condition will be executed. There are 4 parts to a Gambit: 1) the Ability Target, 2) the Ability that should be performed by/on the target, 3) the Conditions Target and 4) the Conditions to check against the conditions target.
Ability Target
There are 3 types of targets--Self (the player), Ally (party members) and Enemy. The list of abilities that may be chosen will change depending upon which type of target is selected. For example, Paralyze can only be performed on an Enemy target while Haste can be performed on a Self or Ally target.
Ability
An Ability is a spell, job ability, pet command, or action that can be performed by/on the Ability Target. For Ally, since there are multiple potential targets, the ability will be performed on the first party member that meet's the Gambit's conditions.
Conditions Target
Conditions will be checked against the Conditions Target. For instance, if the Gambit has the condition HP % >= 50% and the Conditions Target is set to Ally, a party member's HP will be checked against the condition. Conversely, if the Conditions Target is set to Self then the player's HP will be checked instead. All conditions must evaluate to true in order for an ability to be performed.
Conditions
Conditions can check against the state of the game, for example the TP of an ally or the remaining HP of an enemy. Mix and match conditions to see what you can do! See Conditions for more information.
Example
Use Full Break when the enemy is not afflicted with Defense Down:
Settings
Gambits can be created or edited in the menu under Settings → Gambits → Custom. Default job-specific Gambits can be toggled On and Off in the menu under Settings → Gambits → Job Name but cannot be removed because they provide core functionality to the Trust.