ok the gambit system,, its like this
you have a list of *gambits*
up to like 15 or something depending on how many of the lisences you buy.
the top one always takes priority.
so if you have
-----*gambit 1* -heal all party members w/ Hp<70%-----
-----*gambit 2* - attack party leaders target,-------
your character will attack the target until one of the party memebers falls below 70% health
at that time the higher Gambit will assert itself, and the character will heal whichever character fell below 70% and it will continue healing until every character is above the 70% mark. then it will go back to attacking the party target