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 for stealth help

1590644761

Edited 1590648027
I have an issue with a stealth macro.  I currently have (Harry is the PC): %{selected|stealth} /w GM Harry:[[ @{Harry|Passive_wisdom} ]] This works for all npc like the Bandit, BUT for ones that have a bonus to stealth like an Assassin which has +9 to stealth. Is there a way of dealing with it that if there is a number in the NPC_Stealth field it uses that instead?  Is there an OR function or something else? Edit for clarity: The Assassin has a bonus to stealth checks which is in a separate field. Thanks
1590649108

Edited 1590649195
Oosh
Sheet Author
API Scripter
Yep, you want to be using %{selected|npc_stealth}. It's that simple! If it's working it should be outputting in an npc template instead of the simple template for a player roll. Edit - I'm assuming this is the 5e sheet
Thanks Oosh...that was it!!