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

5E OGL NPC Action

Hey, Trying to create a attack for a death tyrant for it's eye rays. I have all the information in there under the description portion of the NPC action 1 trying to get it to add a 1d10 roll after that to randomize what eye ray it uses. I have the following as a Token Action /em @{selected|npc_name} strikes out at @{target|foe|npc_name}! %{selected|repeating_npcaction_$2_npc_action} /roll 1d10 All it outputs however is the Dice roll..... I'm sure it's something simple that I'm missing. Thanks
Players don't have npc_name. I would suggest changing the target to @{target|foe|token_name} so it will work with PCs and NPCs.  Also if you are trying to reference NPC action 1 then you would need  %{selected|repeating_npcaction_$ 1 _npc_action}
Try: /em @{selected| token _name} strikes out at @{target|foe| token _name}! %{selected|repeating_npcaction_ $0 _npc_action} /roll 1d10