 A new feature in Final Fantasy XII is the " gambit " system , which allows the player to program each character to perform certain commands in battle in response to specified conditions . Using gambits , the player may set reactions to different stimuli for each character . Each gambit consists of three parts : a target , an action , and a priority . The target specifies which ally or foe to act on and the condition for applying the action . For example , the target " Ally : HP < 70 % " causes the character to target any ally whose hit points have fallen below 70 % . The action is the command to be performed on the target . The priority determines which gambit to perform when multiple gambits are triggered . These heuristics guide the characters when acting autonomously , though player @-@ directed commands are always given top priority . 
