
Working on a very very basic character sheet. I have a Roll button for attacks that work just fine but the output shows as 1d20 + (Bunch of Math here). How can I make that math formula a simple name or number and hide the equation? Code right now: <input type="number" name="attr_Attack" min="1" step="1" value="0" /> Mod <input type="number" name="attr_AtkMod" value="(floor((@{Attack}-10)/2))" disabled="disabled" /> <button type='roll' name='roll_Attack' value='/roll 1d20 + @{AtkMod}'></button> What ends up showing up is: rolling 1d20 + (floor((12-10)/2)) (6)+(floor((12-10/2)) I want to hide the floor((##/2)) stuff. How can I do that? Something like "rolling 1d20 + Attack Mod" "(6) + 1"