So, I want to put the value of a selection (a modifier to a dice roll) and the text of that selection into an emote. For example I have a combat modifiers selection (dropdown) of three options. <div class="sheet-item sheet-smaller">
<select name="attr_ranged-attack-range">
<option value="0" selected>Short</option>
<option value="-20">Long</option>
<option value="-30" title="Requires a Half Action of Aiming">Extreme</option>
</select>
</div>
The value here would be used to modify an attribute prior to rolling. The text (text node for HTML/XML/SGML nerds) would be used in the emote, i.e., selecting Long would present: /me fires his "selected-weapon" at "Long" range\n\n/roll d100<@{ballistics}-@{ranged-attack-range} Thoughts? Examples would be very helpful. And requiring that an Aim attribute be checked when selecting Extreme Range (in the above example) would also be a good example to see. I've seen the use of hidden fields that perform some sort of prerequisite checking (due how the character sheet is saved by a player), but I can't find documentation on using these. Examples would be helpful here as well.