So, I want to round a number in the STAT Panel instead of it showing up in the Text Box.
mob/Stat()
stat("[src]")
stat("Job","[src.job]")
stat("Level","[src.lv]")
stat("")
stat("HP","[src.hp]/[src.mhp]")
stat("MP","[src.mp]/[src.mmp]")
stat("EXP","[src.exp]/[src.mexp]")
So, how could I get it to say 100 instead of 100.930958305903?
(I really wish it supported up to 4 arguments instead of just 2. :[ )
Wherever you put stuff in brackets [], that is an "embedded expression". You can do all sorts of math inside those brackets, as long as it produces a single piece of data as a result.
What you want, thus, is
"[round(src.hp)]/[round(src.mhp)]"
and so on for the others.