"1d10 sp, 1d4 gp" called "Treasure".
When the npc dies I'd like to roll those values up and put that info somewhere. My problem is I can't seem to come up with a way to "roll" it.
Code: Select all
[reward = eval(getProperty("Treasure"))]
Is there a way to do this w/o writing a parser to pull out all the dice rolls and replace their text with the rolled values?
I am hoping I am just missing a way to make a function that exists do this.