Hello everyone! I've been working on a custom character sheet and I've seemed to have run into an issue with my html, maybe someone can point out what I'm not seeing or understanding here. I essentially have my players Max HP be "(Constitution*2)+(Level*2)", but it's not outputting anything other than a blank square at all times. I've successfully done something similar with critical and dodge chances but I can't seem to locate the problem.
Script part in question:
Level: <input name="attr_level" type="number" value="0"> <br><br> Max Health: <input name="attr_maxhp" type="number" value="(@{level}*2)+(@{constitution}*2)" disabled=true style="width:70px"> Constitution: <input name="attr_constitution" type="number" value="0"><button type="roll" value='/roll 1d20 + @{constitution}'></button>
And for comparison, the dodge/crit equations:
Critical Chance: <input name="attr_crit" type="number" value="(round(@{dexterity}*2))+@{excrit}" disabled=true><br><br> Dodge: <input name="attr_dodge" type="number" value="(round(@{dexterity}*1.75))+@{exdodge}" disabled=true><button type="roll" value='/roll 1d100 + @{dodge}'></button><br><br>