Reset Jobs

Signature

void resetJobs(int partyMemberId); //id:0x05D6

Description

  • Clear all non-default license nodes of the current jobs and refund the amount of license points spent.

  • Unequip all gear.

  • If the party member has summoned an Esper, dismiss it.

  • Reset permanent augments.

  • Set default gambits and minimum gambit slot count.

  • Clear temporary arguments and mist bars.

  • Clear both jobs of a party member.

Changes

  • Will now clear and refund all non-default license nodes, instead of only those of a party member's current jobs.

  • Will now also work if the party member has no job assigned.

  • Will now also work for all party members (e.g. reks, guests and espers).

  • Fixed an issue where reseting Vaan's and Penelo's job would always give them a free gambit slot, even if they didn't require it to reach the max gambit slot count via license nodes.

Example

Reset Vaan's Jobs

regI0 = 0; //vaan identifier
resetJobs(regI0);

Notes

If the available license nodes of a job were changed during the current play-through (e.g. from a mod), reseting the job of a party member will now result in the old license nodes actually being cleared.

If the default license nodes were changed after starting a new game (e.g. from a mod), reseting the job of a party member that doesn't have one yet, will now result in the default license nodes actually being unlocked.

Last updated