I'm playing a Savage Worlds system game, and depending on your skill level, you roll a certain dice type. So if you have one point in the skill, you roll a d4, 2 and you roll a d6, etc.
I'm trying to add a formula to the character sheet so that when you tap the skill, it rolls the appropriate dice type. Either I'm going about it the wrong way, or my syntax is wrong, but I can't get it to work. I'm trying to do it with if - then statements, but if I put
Code: Select all
if @SKILL["level'] = 1 then 1d+4 \/ 1d+6 end if @SKILL["level"] = 2 then 1d+6 \/ 1d+6 end
Is there a better way to go about this? Perhaps I'm not defining or storing the skill level correctly. Any help would be much appreciated.