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

Macro help

I could use help with 2 macros.  The first i want to multiply the ability modifier by 2. However i can't seem to get it to work correctly. **Miss** [[@{level}+@{CON-mod}]] The second and i don't know if it is possible is to either show what the roll the d20 is or to make it larger in the macro. **Attack** [[1d20+@{CHA-mod}+@{level}+@{tracker|Escalation}]]
JR S. said: I could use help with 2 macros.  The first i want to multiply the ability modifier by 2. However i can't seem to get it to work correctly. **Miss** [[@{level}+@{CON-mod}]] The second and i don't know if it is possible is to either show what the roll the d20 is or to make it larger in the macro. **Attack** [[1d20+@{CHA-mod}+@{level}+@{tracker|Escalation}]] When you call attributes form a character sheet, the character must be named or you use the @{selected|stat name} Examples: Miss** [[@{bob|level}*@{bob|CON-Mod}]]. To multiply something you need to use the * as the times function. A plus + adds.  Putting [[ ]] around a roll is an inline roll if you put your cursor point over that it will display what is rolled, however you cannot change the font size.  Some character sheets may have roll templates you can us that can style the output of the macro to look nicer.
1590302465

Edited 1590302923
Oosh
Sheet Author
API Scripter
JR S. said: I could use help with 2 macros.  The first i want to multiply the ability modifier by 2. However i can't seem to get it to work correctly. **Miss** [[@{level}+@{CON-mod}]] The second and i don't know if it is possible is to either show what the roll the d20 is or to make it larger in the macro. **Attack** [[1d20+@{CHA-mod}+@{level}+@{tracker|Escalation}]] The first bit - as Mark says above if you use selected or the character name it should work fine. The second part you can achieve with everyone's favourite new trick! The $[[0]] call: **Attack** [[ [[1d20]] +@{selected|CHA-mod}+@{selected|level} ]] with a natural roll of $[[0]]!
Thanks for the help after looking how oosh did the trick i was able to figure how what i was missing to make the other macro work Also OOsh thank you for that new trick that works well.
one more question in the macro below is it possible to replace the 3d8 with the use of @{level} so as my character levels up the d8 will automatically be multiplied by the level. so right now he is 3rd level so its 3d8. this way i don't have to go in and keep changing my damage dice every level in my macros. Thank you in advance for any help. **Damage**[[ 3d8+@{STR-mod}]]
1590391005
Oosh
Sheet Author
API Scripter
Yep, pretty simple one: just change 3d8 to @{level}d8