Guest User

Untitled

a guest
Mar 5th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <cmud>
  3. <class name="VitalGauge" copy="yes">
  4. <button type="Gauge" autosize="false" width="250" height="18" autopos="false" left="505" top="0" toolbar="2" color="#99CC00" textcolor="#99CC00" gaugelowcol="red" priority="435" copy="yes">
  5. <expr>@vitalgauge.mv</expr>
  6. <gaugemax>@vitalgauge.maxmv</gaugemax>
  7. <gaugelow>(@vitalgauge.maxmv/5)</gaugelow>
  8. </button>
  9. <trigger type="GMCP" priority="440" copy="yes">
  10. <pattern>Char</pattern>
  11. <value>vitalgauge.hp = %gmcp.char.vitals.hp
  12. vitalgauge.maxhp = %gmcp.char.maxstats.maxhp
  13. vitalgauge.mn = %gmcp.char.vitals.mana
  14. vitalgauge.maxmn = %gmcp.char.maxstats.maxmana
  15. vitalgauge.mv = %gmcp.char.vitals.moves
  16. vitalgauge.maxmv = %gmcp.char.maxstats.maxmoves</value>
  17. </trigger>
  18. <var name="myhp" copy="yes">
  19. <value>997</value>
  20. <json>997</json>
  21. </var>
  22. <var name="maxhp" copy="yes">
  23. <value>1057</value>
  24. <json>1057</json>
  25. </var>
  26. <var name="vitalgauge" type="Record" copy="yes">
  27. <value>maxmv=1187|maxmn=919|maxhp=944|mv=1187|mn=471|hp=944</value>
  28. <json>{"maxmv":1187,"maxmn":919,"maxhp":944,"mv":1187,"mn":471,"hp":944}</json>
  29. </var>
  30. <button type="Gauge" autosize="false" width="250" height="18" autopos="false" left="253" top="0" toolbar="2" color="blue" textcolor="#99CC00" gaugelowcol="red" priority="433" copy="yes">
  31. <expr>@vitalgauge.mn</expr>
  32. <gaugemax>@vitalgauge.maxmn</gaugemax>
  33. <gaugelow>(@vitalgauge.maxmn/5)</gaugelow>
  34. </button>
  35. <button type="Gauge" autosize="false" width="250" height="18" toolbar="2" color="lime" textcolor="#99CC00" gaugelowcol="red" priority="431" copy="yes">
  36. <expr>@vitalgauge.hp</expr>
  37. <gaugemax>@vitalgauge.maxhp</gaugemax>
  38. <gaugelow>(@vitalgauge.maxmn/5)</gaugelow>
  39. </button>
  40. </class>
  41. </cmud>
Add Comment
Please, Sign In to add comment