Youll use this prompt:
"^(\d+)h, (\d+)m, (\d+)e, (\d+)w e?x?-(.*)$"
Thats assuming that the prompt truncates if the e or x goes away (you get e- instead of e - if youre missing an x).
Replace that in the same way as mentioned above.
You'll also have to change the plugin to use built-in values for the maxes.
Will the max values ever change? If they do, we'll go about this differently, well, two ways we could.
But we'll assume that theyre static for now.
Line 138 or so, youll see this:
DoGauge " HP: ", wildcards (1), wildcards (2), "darkgreen", "maroon"
DoGauge " Mana: ", wildcards (3), wildcards (4), "mediumblue", "mediumblue"
DoGauge " Move: ", wildcards (5), wildcards (6), "gold", "gold"
You need to change that to:
DoGauge " HP: ", wildcards (1), 1743, "darkgreen", "maroon"
DoGauge " Mana: ", wildcards (2), 2046, "mediumblue", "mediumblue"
DoGauge " Endurance: ", wildcards (3), 7615, "gold", "gold"
DoGauge " Will: ", wildcards (4), 8200, "gold", "gold"
Obviously, you should change the colors on those to reflect something meaningful.
The first color is what it displays when its more than 20%, the second is 20% or less (you can change that percentage a couple dozen lines above those DoGauges). |