MV Yanfly Equip Core - add more stats in compare window

Hello, i'm trying to replicate what you can see in the screenshot below.
Basically i'm trying to add more lines (evasion, critical, etc...)in the comparison window in the equip menu (using Yanfly Equip Core)
Tried to put my hands in the plugin but without success.
Spoiler: Screenshot
Capture d’écran 2023-09-08 à 11.10.11.png
What wasn't successful? Are those the wrong values for the parameters?
I mean I tried to modify the code directly to get this result but I suck at JavaScript.

The plugin is working fine, I’m trying to expand its use by allowing me to put secondary stats in the compare window (the same way you see in the screenshot which ISN’T my game but one I found in the internet)
I still don't understand. What is wrong in the screenshot you provided? Your modifications appear to be correct.
I still don't understand. What is wrong in the screenshot you provided? Your modifications appear to be correct.
This is not my game, this is from a game I found on the web, I’m trying to get the same result.
Oh, sorry. I dunno if you edited in some of those clarifications or if I'm stupid for going through the thread while doing work stuff and didn't read it at all.

It looks like you'd need to add lines for the parameters to Window_StatCompare.createWidths(), drawParamName(), drawCurrentParam(), drawNewParam(), and drawParamDifference()

Because these aren't just in the list of normal parameters, you need to reference them on individual lines by name - e.g. this._actor.hit, .cri, .cev
Thank you, I’ll try that later and come back to say if I succeeded.

On a side note, I’m also using Yanfly Limited Skill Use, by default some skills in my game can be used once per combat, but any character can equip accessories or whatever that augment the max use par combat of all his limited skills. Is there a way to gather this modifier data to show it somewhere ? I’d like to put it in the compare window like above and also in the status menu core.
Not trying to step on ATT's tail, but you could also try this plugin ?
It plays nicely with Yep's equip core, and you can set up all the stats/params you want in the plugin settings. It comes with things like evasion, crit evasion, etc. by default too. You can also put your own comparison stats into it too - things like elemental rates or crit damage.
Not trying to step on ATT's tail, but you could also try this plugin ?
It plays nicely with Yep's equip core, and you can set up all the stats/params you want in the plugin settings. It comes with things like evasion, crit evasion, etc. by default too. You can also put your own comparison stats into it too - things like elemental rates or crit damage.
Looks nice, I’ll check it out, thanks.
Not trying to step on ATT's tail
Hey, everyone can give different answers! 🙂

Look how plump and intact my tail is. ...perhaps overly plump... 😕
Oh, sorry. I dunno if you edited in some of those clarifications or if I'm stupid for going through the thread while doing work stuff and didn't read it at all.

It looks like you'd need to add lines for the parameters to Window_StatCompare.createWidths(), drawParamName(), drawCurrentParam(), drawNewParam(), and drawParamDifference()

Because these aren't just in the list of normal parameters, you need to reference them on individual lines by name - e.g. this._actor.hit, .cri, .cev

So i found the lines in the code you are talking, i have a approximate idea of what does each of these, but i don't know what to do from there. I understand i have to create more lines and create custom content for them since the parameter i wanna include are not "in" by default. But i'm not good enough at javascript to know what to do (in fact i really suck), can you help me ? :LZYcat:

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-equip-core-add-more-stats-in-compare-window.161016/