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

Player macros for 5E not working

1699191579

Edited 1699191949
I submitted a post yesterday requesting help with an adaptation of a macro I'd developed for Jim's Magic Missile coupled with Hex.  (Jim's Magic Missile is an alternative of the Magic Missile spell that requires to hit rolls.)  After fiddling with the macro several times, I did get it to work once.  However, the rest of the time it would just show my character's name after choosing the spell slot with which the spell is cast: More concerning, I noticed that my standard Jim's Magic Missile macro stopped working (yielding the same "character name only" result).  When it works, the macro should generate output like this: Does anyone have any idea what could be causing this?  Here is the macro for Jim's Magic Missile (cast at level 1) plus Hex.  The base JMM excludes the bolded text. &{template: default} {{name= Jim’s Magic Missile + Spirit Shroud (Level 1, Level 3)}} {{Missile 1= ?{Attack Type|Standard, [[1d20 + @{spell_attack_bonus}]]|Advantage, [[2d20kh1 + @{spell_attack_bonus}]]|Disadvantage, [[2d20kl1 + @{spell_attack_bonus}]]|Show Both Rolls, [[1d20 + @{spell_attack_bonus}]] / [[1d20 + @{spell_attack_bonus}]]} to hit}} {{= for [[2d4 [FORCE] + 3 [NECROTIC]  + 1d6 [NECROTIC] ]] damage (+[[3d4 [FORCE]  + 1d6 [NECROTIC] ]] if crit)}}{{Missile 2= ?{Attack Type|Standard, [[1d20 + @{spell_attack_bonus}]]|Advantage, [[2d20kh1 + @{spell_attack_bonus}]]|Disadvantage, [[2d20kl1 + @{spell_attack_bonus}]]|Show Both Rolls, [[1d20 + @{spell_attack_bonus}]] / [[1d20 + @{spell_attack_bonus}]]} to hit}} {{ = for [[2d4 [FORCE] + 3 [NECROTIC]  + 1d6 [NECROTIC] ]] damage (+[[3d4 [FORCE]  + 1D6 [NECROTIC] ]] if crit)}}{{Missile 3= ?{Attack Type|Standard, [[1d20 + @{spell_attack_bonus}]]|Advantage, [[2d20kh1 + @{spell_attack_bonus}]]|Disadvantage, [[2d20kl1 + @{spell_attack_bonus}]]|Show Both Rolls, [[1d20 + @{spell_attack_bonus}]] / [[1d20 + @{spell_attack_bonus}]]} to hit}} {{  = for [[2d4 [FORCE] + 3 [NECROTIC]  + 1D6 [NECROTIC] ]] damage (+[[3d4 [FORCE]  + 1D6 [NECROTIC] ]] if crit)}}
I figured out what was causing the problem.&nbsp; In a number (not all) of the called macros, there was an extra space following the colon in the template identifier (as above, i.e.,&nbsp; &amp;{template: default}).&nbsp; After deleting this space, everything works as expected.&nbsp; Interestingly, the spaces were not there when I created the base macros back in March (see:&nbsp; <a href="https://app.roll20.net/forum/post/11502584/jims-magic-missile-macro" rel="nofollow">https://app.roll20.net/forum/post/11502584/jims-magic-missile-macro</a>). &nbsp; Thus, I am left to question how they were inserted and why in only some of the called macros. If anyone has ideas for how to add a global modifier for Hex or Spirit Shroud (especially the latter since the damage type is selectable, and upcasting the spell does increased damage), please let me know.&nbsp;&nbsp; &nbsp; &nbsp;