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 would like to create a macro to change the description of the Unarmed Attack of a monk every time it is rolled. ANy ideas on how to do this? such as: Haymaker, Sucker punch, Kidney Punch ect...
1618684552

Edited 1618684588
Andreas J.
Forum Champion
Sheet Author
Translator
Instead of actually edition the name, it might be possible to include a roll table   in the description, which would then be rolled each time called, to show new name each time. Something like this: desc = Bob does a [[1t[punchtable] ]]. Anyway, with API, it is possible to do what you as for, but I don't have a straightforward example of how you might implement it.
If you do use a Rollable table as Andreas suggests, you should be able to put the table roll call as the name of the unarmed strike or in the description field itself to have it automatically included with regular rolls.  
Jarren K. said: If you do use a Rollable table as Andreas suggests, you should be able to put the table roll call as the name of the unarmed strike or in the description field itself to have it automatically included with regular rolls.   So in the Table section create the description and use the  [ [ Table ]] in the description area of the attack?
Topher said: So in the Table section create the description and use the  [ [ Table ]] in the description area of the attack? Yep! To use Andreas' example, you would create a table titled 'punchtable' that has a variety of unarmed attack names/descriptions - each item name is a different name/description. Then on the monk character sheet on the unarmed attack, modify the description of the attack to include [[ 1t[punchtable] ]].  
Thanks