¿ªÔÆÌåÓý

Calc Error


 

So I am trying to create an if statement with a calc inside. It keeps kicking an error.

***ERROR on line 12 of table 'Age of Ambition Background' - : 'Input string was not in a correct format.'. ***

This is the line from the table:

_{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(10 x 15))}|}

Originally it said this:

_{if~%pRaceNum% = 3 ? |DieHolder={Dice~1d10}||pAge={Calc~(120+(%DieHolder% x 15))}|}

They both give the same error. So what am I missing?

Join [email protected] to automatically receive all group messages.