Hey again, I seem to have gotten stuck at damage input this time, I wanted to make spells/skills deal a user-input damage, but I can't seem to comprehend how to do that.
Basically I want to try and do something similar to DnD E5's roll sheet where I could just write down on the damage part something like "1d20+5" or "@{charisma}+1d6" and it'd give me the resulting roll in the chat.
Code so far looks like this:
<fieldset class="repeating_spells">
<input type="text" name="attr_spell_name"/>
<input class="hide-next" type="checkbox" name="attr_spell_damaging"/>
<span><input type="text" name="attr_spell_damage"/></span>
<!--<button type="roll" value="&{template:default} {{name=Item}} {{Name=@{item_name}}} {{Description=@{item_description}}}"> Show Item</button>-->
</fieldset><br><br>
I've been using the roll templates at wikia, although I can't quite comprehend how to do the custom damage for the sheet. Would appreciate it if someone could help me or point me in the right direction!
Thanks in advance.