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

Help creating a macro for rolling dice and adding attributes from two separate drop-down lists connected to a selected token/character

I'm trying to create a macro under Abilities that lets me select the token/character, then roll 3d6 and add an Attribute (Characteristics) from a drop-down list, followed by adding another Attribute (Skills) from a second set of Attributes from a drop-down list. The idea is to allow a character to select their token, roll the basic roll of 3d6 and add a Characteristic value and then a Skill value to get a combination of 3d6+Characteristic+Skill and the result. Is this possible, and if so, how would I go about writing such a macro? I tried and failed... Thanx!
Sure, that's simple, you just need to have a pair of queries in the roll, something like this: [[3d6+?{Characteristic|characteristic1, @{characteristic1attribute}|characteristic2, @{characteristic2attribute}|characteristic3, @{characteristic3attribute}}+?{Skill|skill1, @{skill1attribute}|skill2, @{skill2attribute}|skill3|@{skill3attribute}}]] If you save this as an ability in the character sheet, it can be used either as a token ability or from the macro bar, as the sheet fills in the character reference into the attribute calls.
Tuo said: Sure, that's simple, you just need to have a pair of queries in the roll, something like this: [[3d6+?{Characteristic|characteristic1, @{characteristic1attribute}|characteristic2, @{characteristic2attribute}|characteristic3, @{characteristic3attribute}}+?{Skill|skill1, @{skill1attribute}|skill2, @{skill2attribute}|skill3|@{skill3attribute}}]] If you save this as an ability in the character sheet, it can be used either as a token ability or from the macro bar, as the sheet fills in the character reference into the attribute calls. Thank you SO much! I thought that it should be fairly easy, but couldn’t wrap my head around how to write it.  Again, thank you! 🙏  /P