Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

ChatSetAttr, Shadowdark, dropdown element

1755925686

Edited 1756059499
ChatSetATTR - SHADOWDARK sheet - Attribute Selector I am attempting to put togther clickable buttons that will just add things to the character sheet. I figured out the "Talents, Notes" section, but I am having trouble with the repeating attacks section, namely finding the right thing to put in for the dropdown menu for ability scores. Named STR, DEX, etc. Referencing @{strength_mod}, @{dexterity_mod}, etc. There is alos a "-" which I assume is just a flat roll.  This Part of the Character Sheet <select name="attr_atkattr_base"> <option value="@{strength_mod}" selected="selected">STR</option> <option value="@{dexterity_mod}">DEX</option> <option value="@{constitution_mod}">CON</option> <option value="@{intelligence_mod}">INT</option> <option value="@{wisdom_mod}">WIS</option> <option value="@{charisma_mod}">CHA</option> <option value="0">-</option> </select> This part of my ChatSetAttr spread --repeating_attack_-CREATE_atkattr_base|??? !setattr {{ --sel --mute --repeating_attack_-CREATE_atkname|This is ALSO A Spell --repeating_attack_-CREATE_atkattr_base|DEX     \\This one: STR, DEX, CON, INT, WIS, CHA, - --repeating_attack_-CREATE_atkmod|1 --repeating_attack_-CREATE_duration|Instant --repeating_attack_-CREATE_castdc|12 --repeating_attack_-CREATE_atkrange|Close --repeating_attack_-CREATE_atkmagic| 2 --repeating_attack_-CREATE_atkcritrange|20 --repeating_attack_-CREATE_dmg1flag|checked --repeating_attack_-CREATE_dmgbase|1d6 --repeating_attack_-CREATE_dmgmod|2 --repeating_attack_-CREATE_dmgcustcrit|3d6 --repeating_attack_-CREATE_atk_desc|Sometimes this spell does things. --repeating_attack_-CREATE_options-flag|checked }} I don't know what to put here, or if there is even anything I can do. 
In lieu of something else functional, I am going to set the base to 0 which makes it - and doesn't include the modifier, and add the modifier to the bonus.  !setattr {{ --sel --mute --repeating_attack_-CREATE _ atk name |This is also A Cantrippin Spell --repeating_attack_-CREATE_atkattr_base|0 --repeating_attack_-CREATE _ atk mod | @{selected|wisdom_mod} +0 --repeating_attack_-CREATE _ options-flag|checked }}