Set Gambit Slot Max

Signature

void setgambit_slotmax(int partyMemberId, int amount); //id:0x0504

Description

Increases the gambit slot count of a party member by the provided amount.

Changes

Since the gambit slot count is already properly handled by this mod when reseting jobs, gambits, and so on, this target call no longer serves a purpose. To prevent the game from altering a party member's gambit slot count in a specific game event, it has been made inaccessible.

Removing the function from the event itself would also work, but create compatibility issues with other mods that may modify it for other purposes. Therefore removing the function completely seemed like a better choice.

Example

Increase Vaan's Gambit Slot Count By 1

regI0 = 0; //vaan identifier
regI1 = 1; //increased amount
setgambit_slotmax(regI0, regI1);

Notes

The maximum gambit slot count that can be set is 12.

Last updated