Hello there,
I use YEP Class Core change and Moogle_X's Passive Skill system (among other, but I think only those two are important for my problem), and I want to make it so that the passive skills learnt are only usable if the actor has access to the Passive skill type.
To give more details, my game has multiple classes, including one called "Adventurer" (id 1), that, at first, has no skills and limited utility. The class only has access to one skill type, called "Knowledge" (id 23). However, whenever the actor reaches max level in another class (let's say black mage for the example), the actors learns a new "Knowledge" type skill (here, "Knowledge of Black Magics"), that give access to every spell of the type to the user. However, in the current case, as soon as the actor has learnt the Knowledge passive, he can use it with every classes, despite "Knowledge" being only available to adventurers.
I tried to put a custom requierement in the skill note tag :
with no success whatsoever.
I hope I've been clear enough, and I thank in advance whoever might help me.
I use YEP Class Core change and Moogle_X's Passive Skill system (among other, but I think only those two are important for my problem), and I want to make it so that the passive skills learnt are only usable if the actor has access to the Passive skill type.
To give more details, my game has multiple classes, including one called "Adventurer" (id 1), that, at first, has no skills and limited utility. The class only has access to one skill type, called "Knowledge" (id 23). However, whenever the actor reaches max level in another class (let's say black mage for the example), the actors learns a new "Knowledge" type skill (here, "Knowledge of Black Magics"), that give access to every spell of the type to the user. However, in the current case, as soon as the actor has learnt the Knowledge passive, he can use it with every classes, despite "Knowledge" being only available to adventurers.
I tried to put a custom requierement in the skill note tag :
Code:
<Custom Requirement>
if (user._classId == 1) {
value = true;
} else {
value = false;
}
</Custom Requirement>
I hope I've been clear enough, and I thank in advance whoever might help me.