MZ Making a maximum for custom params (Visu Stella)

Is there an easy way to do this? Perhaps within the display formula?
Could you be more specific as to which VisuStella plugin and which parameter you want to define a maximum for?
Could you be more specific as to which VisuStella plugin and which parameter you want to define a maximum for?
Yes. The Core Engine allows for custom params. I have 6 custom params, 5 based of x-params, and 1 based off an s-param. For scaling/weighting/balancing purposes, The displayed value of the customs is x^2, since they are all 1.something. Does that make sense? So like having a 30 evasion % might show up as 70 evasion or something. I want the maximum that shows up to be 999.
Does this notetag not work? Since it's a hard coded integer you would just say
<xparam Max: 999>, <sparam Max: 999>

If those notetags don't work you might have to use javascript to check if the value is >999 set it to 999.
Does this notetag not work? Since it's a hard coded integer you would just say
<xparam Max: 999>, <sparam Max: 999>

If those notetags don't work you might have to use javascript to check if the value is >999 set it to 999.
That does not work for custom params. Where would I put that javascript?

Original thread: https://forums.rpgmakerweb.com/threads/making-a-maximum-for-custom-params-visu-stella.157651/