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 .
×

Macros not evaluating in an NPC Character sheet

I've created an NPC Sheet for my drakewarden ranger Drake Companion. There, I've added new attribute, called draconic_essense , and added a token action to roll for infused strike, which references the new attribute. That one works fine. I've also set the value of the npc_immunities attribute to @{draconic_essense}. But in the character sheet, under the Damage Immunities field, it is displayed literally as  @{draconic_essense}, without being evaluated. But when I use the @{charname|npc_immunities} in the chat, for example, it displays the value of draconic_essense .  So, is there a way to show the value of another attribute as Damage Immunities?  Thanks in advance.
"But when I use the @{charname|npc_immunities} in the chat, for example, it displays the value of  draconic_essense" By this, I mean, it shows Acid, if I put Acid as the value of draconic_essense.
1689255087
Gauss
Forum Champion
Hi Tyler, which character sheet are you using? If you don't know the name of the sheet please supply a screenshot. 
Ah, sorry.  It's 'D&D 5e by Roll20'
Screenshots  Attributes tab: Character sheet:
1689267145

Edited 1689267226
Gauss
Forum Champion
5e by Roll20 NPC character sheets do not evaluate anything in most fields. There is no autocalculation of any kind for the field you are trying to use.  The reason for this is because NPCs are not built using standardized rules, so there can be no standardized calculations. Basically, every NPC is ad-hoc created.  In order to have the Damage Immunity read correctly you will need the Campaign Owner to have a Pro account, and install a Mod (API script) that can push a value to the Damage Immunities field. Or enter it manually when desired. 
Ok, thanks.