MV SRD_EquipComparisonUpgrade – How to show Attack-State chance?

I couldn't find how to make the plugin show Attack-State chance.
I have weapons that have a chance to cause different states, others have higher, some lower.
I want the plugin to be able to show that on the equip screen, I know how the plugin works except how to add this specific thing.
bump
bumpx2
Ive never used the plugin and I dont know the particulars of your UI (like if it displays all attack states, or just ones the battler has a trait for), but you might want to look in the direction of the attackStates() and attackStatesRate() methods for battlers
Ive never used the plugin and I dont know the particulars of your UI (like if it displays all attack states, or just ones the battler has a trait for), but you might want to look in the direction of the attackStates() and attackStatesRate() methods for battlers
Hmm.... I'll look into it.
I wasn't sure where to find that and have put this off for later.
Thank you, I'll let you know if I figure it out.
I figured it out! Go into ur list of Plugins and go into SRD's Equip Compare Upgrade. Next, add a new custom stat in one of the already blank ones like this

-
Stat # Name: The Name of your State here
Stat # Eval: Math.floor(actor.attackStatesRate(X) * 100)
Stat # Format: val% <Pos Color: #00A010> <Neg Color: #FF3810>

-

Replace "X" with the ID number of the state you want to show up when equipping a weapon or piece of armor! Also you can change the Positive Color and Negative Color to ur liking with whatever hex code you want, the one I sent is the typical green and red tho
I figured it out! Go into ur list of Plugins and go into SRD's Equip Compare Upgrade. Next, add a new custom stat in one of the already blank ones like this

-
Stat # Name: The Name of your State here
Stat # Eval: Math.floor(actor.attackStatesRate(X) * 100)
Stat # Format: val% <Pos Color: #00A010> <Neg Color: #FF3810>

-

Replace "X" with the ID number of the state you want to show up when equipping a weapon or piece of armor! Also you can change the Positive Color and Negative Color to ur liking with whatever hex code you want, the one I sent is the typical green and red tho
Yes, late reply:
But thank you very much, I'll save this and try it.

Original thread: https://forums.rpgmakerweb.com/threads/srd_equipcomparisonupgrade-how-to-show-attack-state-chance.166416/