Invalid expression? in Developer Help
|
|
Basically, I'm calling the item level. If it is level 1, this happens. But it says this is an invalid expression. I'm pretty sure it has something to do with that H var trying to be added to manabonus, but I'm not sure how to fix it.
if(1) var/dice = "3d6" var/H = roll(dice) {firebonus+=1;manabonus+=H;value+=rand(1,25)}
|
|