-
Notifications
You must be signed in to change notification settings - Fork 221
Add new bindings: getJobLevel & isJobUnlocked #386
Add new bindings: getJobLevel & isJobUnlocked #386
Conversation
(cherry picked from commit 84912d8)
|
Whatever you prefer? |
I am horrible at deciding on function names. I want to say that But then it'd only be two characters different from Let's see if anyone else has very strong opinions on what it should be called! (Bindings themselves look fine.) |
how about also technically speaking, we could just check that the job has levels. its zero if not unlocked isn't it? |
The reason I ended up doing two bindings is that you can't query for the level of job NON to find out if subjob is unlocked, you have to get the corresponding bit from jobs.unlocked. It felt dirty to check if the player has a subjob of any level to fulfil that condition |
I honestly would not have thought to check eithr of these at all to find out if sub was available. Just did not cross my mind. I was like "why's his example saying subjob level when we have a binding for getting sj level?" (which is for current sj and thus not what you wanted or meant). tl;dr I didn't get it :) |
I like |
I affirm:
As spoken about in discord, I added these to more easily support the Rhapsodies-style unlocking of the subjob with Gilgamesh's key item.
Tested with: