Whats Is The Gambit System?
It's a way to automate some simple commands for your characters based on a simple conditional system. When a certain condition you set is met your character will respond with an action based on what you define before hand. For example you can setup a gambit so that whenever an ally's HP drops below 50% you cast cure on them. Or if a monster is weak to ice you can have your mage cast an ice spell automatically
targeting them without any interaction from you the player at all!
Gambits are a very powerful and helpful tool because they allow you to focus
on other things during a battle instead of having to worry about micromanaging
every character's actions throughout the course of a battle to ensure that they
are always doing the exact thing that you want them to be doing. For the
purposes of this guide I will be using the following format when writing out a
gambit command:
condition -> action
So the left side of the -> represents the specific condition gambit and on the
right side of the -> is the action the character will take when the gambit
condition is true.
There are rules though how gambits work once you start to use multiple gambit
statements for a character. The rules are as follows:
-Gambits take priority based the slot they are assigned. The lower the slot
number the higher priority the statement is. So this means slot 1 will
always be executed before slot 2 which in turn will always execute before
slot 3.
-If a condition is met, after the action is completed the game starts looking
from the first slot down until it finds another condition that is true and
executes that action.
-A user defined command will always override any current gambit commands in
progress but after the user command is completed the game goes back to the
top of the gambit list before deciding an action for the character.
-If for some reason a gambit command can't be executed that command is not
executed until the command can be used again. An example would be if you
are set to cast a spell when a certain condition is met but you can't because
you are silenced or have no mp then the character will skip the gambit and
move on to the next in the list.
Below I will show another example gambit this time with multiple conditions and
explain how the AI will work in battle and why that is. Take a look at the
following gambit:
1. Ally: HP < 50% -> Cure
2. Self -> Protect
3. Foe: Party leader's target -> attack
Source : http://faqs.ign.com/articles/745/745582p1.html
I think this would be ideal since companion and pet AI isnt all that great in video games.
I played a Pup in XI, and it kinda sucked to rely on the awful AI at times.
What do you guys think?