- Joined
- Apr 23, 2017
- Messages
- 30
- Reaction score
- 11
- First Language
- English
- Primarily Uses
- RMMV
Hello! First post here, sorry if it's not in the right place (I searched for YEP_EquipCore, read many, many posts/topics until I decided to create this one)
I'm using YEP_EquipCore and YEP_X_EquipRequirements, along with some other non-Yanfly plugins:

No issues so far using custom parameters (QuasiParamsPlus), here's a notetag for a weapon:

Yes, it reads that _cParamPlus[0] and checks, all fine. No conflicts so far.
Now, I need to write another conditional notetag, which applies some kind of a "punishment", after the said weapon is equipped.

And this is where YEP_EquipCore comes into scene: it allows me - through Lunatic Mode - to customize this weapon effect, by checking the above condition.
So it would theoretically apply an effect of subtracting, say, 10 to 0 from 'dex'.
Again, it reads all of the above, checks and etc (I checked the console by adding the 'console.log()' thing).
But it does not write to 'user.dex'.
I'm pretty sure I'm doing something wrong here, just can't find out what...
I'd appreciate any help, hint, link, guidance.
Thanks in advance!

To make it so, that an equipment (say, a weapon, in this example):
-has a base 'str' requirement value of 25;
-'punishes' the character using it, if their 'str' value is below 35, by subtracting the difference between 35 and 'str' from current 'dex'
-has a base 'str' requirement value of 25;
-'punishes' the character using it, if their 'str' value is below 35, by subtracting the difference between 35 and 'str' from current 'dex'
I'm using YEP_EquipCore and YEP_X_EquipRequirements, along with some other non-Yanfly plugins:

No issues so far using custom parameters (QuasiParamsPlus), here's a notetag for a weapon:

Yes, it reads that _cParamPlus[0] and checks, all fine. No conflicts so far.
This solved a little question I had where I wanted the base value of a custom attribute. Instead of using "user.xyz", I used "user._cParamPlus".
So, no more "equip-this-one-to-equip-that-one" thing...
So, no more "equip-this-one-to-equip-that-one" thing...
Now, I need to write another conditional notetag, which applies some kind of a "punishment", after the said weapon is equipped.

And this is where YEP_EquipCore comes into scene: it allows me - through Lunatic Mode - to customize this weapon effect, by checking the above condition.
So it would theoretically apply an effect of subtracting, say, 10 to 0 from 'dex'.
Again, it reads all of the above, checks and etc (I checked the console by adding the 'console.log()' thing).
But it does not write to 'user.dex'.
I'm pretty sure I'm doing something wrong here, just can't find out what...
I'd appreciate any help, hint, link, guidance.
Thanks in advance!
Attachments
-
20.7 KB Views: 3
Last edited:


