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've look around and can't seem to find a fix for this. I'm trying to make a macro for Healing Word. This is what I have so far, but when I test the macro, it doesn't add the Wisdom modifier. How do I fix that? I put in the characters name in where it says selected. I also went to healing word and made sure it had the wisdom stat selected as it's spell casting stat. &amp;{template:default} {{name=Healing Word}} {{= [x](<a href="https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif" rel="nofollow">https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif</a>) }} {{name=Healing Word}} {{Level= ?{What level would you like to cast Healing Word|1|2|3|4|5|6|7|8|9}}} {{School=Evocation}} {{Range=60ft}} {{healing=[[ [[?{What level would you like to cast Healing Word}]]d4+ @selected|spellcasting_ability}]]}}
Try this: &amp;{template:default} {{name=Healing Word}} {{= [x]( <a href="https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif" rel="nofollow">https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif</a> ) }} {{name=Healing Word}} {{Level= ?{What level would you like to cast Healing Word|1|2|3|4|5|6|7|8|9}}} {{School=Evocation}} {{Range=60ft}} {{healing=[[ [[ ?{What level would you like to cast Healing Word|1|2|3|4|5|6|7|8|9} ]]d4+ @selected|spellcasting_ability}]]}}
Still not working for me. It rolls the d4 but there is no bonus from a spellcasting stat.
1577221904
Ziechael
Forum Champion
Sheet Author
API Scripter
You are missing the opening brackets on the attribute call for the spell casting ability: &amp;{template:default} {{name=Healing Word}} {{= [x]( <a href="https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif" rel="nofollow">https://thumbs.gfycat.com/MixedBiodegradableBluetonguelizard-max-1mb.gif</a> ) }} {{name=Healing Word}} {{Level= ?{What level would you like to cast Healing Word|1|2|3|4|5|6|7|8|9}}} {{School=Evocation}} {{Range=60ft}} {{healing=[[ [[?{What level would you like to cast Healing Word}]]d4+ @ { selected|spellcasting_ability}]]}}
Weird...I have no idea what I'm doing wrong. So I used the template you provided Ziechael and when I use it and hover over the amount healed it says this: Rolling 1d4+ 4+ = (2). So now it's adding the +4 from wisdom but not adding it to the total still.
1577249403
GiGs
Pro
Sheet Author
API Scripter
I wonder why the spellcasting ability is showing up as 4+ and not 4. I cant remember - does that usually happen? Maybe the contents of that attribute are not being recognised as a number, and so are being ignored. Try both of these, and see what happens. [ [[?{What level would you like to cast Healing Word}]]d4+ [[@ { selected|spellcasting_ability}]]]] [ [[?{What level would you like to cast Healing Word}]]d4+ @ { selected|spellcasting_ability} 0]] You could also type in chat (with that token selected): /roll 1d4+ @ { selected|spellcasting_ability}&nbsp; and see what it reports.