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 .
×
May your rolls be chill this holiday season!
Create a free account

Using @Select token to pick weapon and the and ROLL damage

I’m trying to write a macro for that will let me click on an Attacker-token and a Defender-token and will find and the roll the attackers damage for weapon 1 ( or whatever) and roll it. i Can get it to find the damage for Weapon1 - but it only displays the damage (say 1d8+2) but it does not roll the d8 for me (I can’t just put a [[1D8+2]] into the macro - as I want to be able to use it on any token and they may have different damages.  The line I have is   {{ Damage = @{target|attacker|wep1Damage}  }}    It goes to the attackers sheet, finds the damage for weapon 1 - but it only displays “1d8+2” instead of rolling it  (so close) what do I have to change to make it roll.? ie - make it roll the damage it finds not just display the dice
1764271512
vÍnce
Pro
Sheet Author
What happens if you wrap your attribute call in an inline roll? {{ Damage = [[ @{target|attacker|wep1Damage} ]]  }}  
Doh !     Of course ……… thanks