Hi, I'm trying to "replicate" skill system from Trails through Daybreak using equipment and this seemed to be a method where I thought I could manage to do it to a degree. Basically, you equip gems that provide character with elemental points which unlock passives for the character, provided the character has the required number of points accumulated.
I'm trying to reference custom parameters defined in Visustella's Core Engine in <JS Skill Visible> and <JS Skill Enable> notetags. I have several custom parameters, e.g. Power (shortened to "pwr" and having ID of 2). Using neither user.pwr nor user.customParam(2) does not yield the expected results. I don't know if trying to reference the stat in a wrong way (I don't think so) or if VS plugin is not equipped for such a possibility (I think that's unlikely but who knows).
However I can confirm that standard RMMZ parameters (ATK, MDF, LUK, etc.) work.
In case anyone want to see exact code I'm using:
I'm trying to reference custom parameters defined in Visustella's Core Engine in <JS Skill Visible> and <JS Skill Enable> notetags. I have several custom parameters, e.g. Power (shortened to "pwr" and having ID of 2). Using neither user.pwr nor user.customParam(2) does not yield the expected results. I don't know if trying to reference the stat in a wrong way (I don't think so) or if VS plugin is not equipped for such a possibility (I think that's unlikely but who knows).
However I can confirm that standard RMMZ parameters (ATK, MDF, LUK, etc.) work.
In case anyone want to see exact code I'm using:
JavaScript:
<JS Skill Visible>
visible = user.pwr >= 1;
</JS Skill Visible>
<JS Skill Enable>
enabled = user.pwr >= 2;
</JS Skill Enable>