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 3 parts to a Gambit: 1) the Ability Target, 2) the Ability that should be performed by/on the target and 3) the Conditions to check.

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

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

Cast Aspir II when the MP <= 40% and targeting a Locus Ghost Crab**:

image

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.

Jobs

Explore the code