So I want to add my own custom attribute to show in Yanfly's Status Menu scene. I know it's possible, I just don't know how to do so. Could someone point me in the right direction? Thx.
MV Custom Variables for YEP_StatusMenuCore?
Javascript/Plugin SupportI have a plugin for this: view/download CaeX_YEPStatusMenuExt (Google Drive). 👋
(There are probably alternatives available.)
(There are probably alternatives available.)
Thank you so much, that's exactly what I needed! I only have 1 issue now, which is how do I get Armor Penetration (Yanfly's Armor Scaling plugin) to show? (shows NaN% atm cuz I left it blank for now)
Try something like this~
Looks like there are separate calls for the other hit types, just replace
JavaScript:
this._actor.physicalArmorPenetrationRate()
physical with certain or magical as needed. 🙂I think it worked, but a completely naked character shows 100% Armor Penetration rofl.
Does a character who should actually have armor penetration actually show above 100%, or lower? I think armor pen might be calculated as 1- the number the function above gave you, so something with zero armor pen would show 100% (as in the target's armor is 100% effective?).
Yea, mathematically the damage calculations totally fine, no issues there. But yes, it just happens to be stored internally as 100% being base. As you said, the armor is 100% effective, i.e. the starting point.
Edit: Adding a "1 -" in front did the trick lol.
Original thread: https://forums.rpgmakerweb.com/threads/custom-variables-for-yep_statusmenucore.129792/