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

Character Sheet Trait Macro Stopped Working

1603219483

Edited 1603219569
/w gm &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_desc}}} I've been using this for some time now to display traits from the character sheet of a character. $0 for the first one, $1 for the second, etc. I have the exact same macro added in the Attributes & Abilities section of many characters (mostly monsters) I'd created some time ago and they always worked fine. Now, I'm finding numerous recent characters I've added throw errors when adding this macro and hitting the button, and they definitely have traits in the same section of the character sheet. For example, I just pulled the Animated Armor character sheet from the compendium, applied it to a character and added a token. When I click "Antimagic Susceptibility" right in the character sheet, it links to chat. When I hit the button on the linked token though, I get this error: No attribute was found for @{selected|repeating_npctrait_-MK6EjjmImk42TvSF1vX_desc} I'm not sure how best to debug this, and I really don't think anything has changed in how I'm using this, though it has been at least 6 months since I last made a batch of monsters. Thanks very much in advance for any help!
The back end was changed, expand the desc to description and it should work.
Awesome, thank you Dakota. I'll give that a try when I get home later! Much appreciated.