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

Does 5e OGL sometimes not reference macros to stat cards?

1483968946

Edited 1483968956
I've been using the following macro to do NPC attacks: /desc @{selected|token_name} makes an attack! %{selected|repeating_attack_$0_attack} It works on 75% of my tokens, and I understand that it references the first listed attack. Sometimes, however, it seems to not work, even if the first attack in the line is formatted perfectly fine, such as below: For this token and several others, which I made in the exact same style as the ones that do work, I get the following error: You tried to use the repeating section row at index 0 for repeating_attack, but there doesn't seem to be a row at that index. No attribute was found for @{Troll|repeating_attack_$0_rollbase} Why do I get these for some characters/tokens? Sometimes remaking the character works, but I'm just trying to figure out if I'm crazy or this is a common problem. I hate setting up a character then having it not work, then having to do it all over again with the exact same steps and having it work.
1483970395

Edited 1483970472
For npc character sheets like the one you posted above, the attack is %{selected|repeating_npcaction_$0_npc_action} instead of repeating_attack which is used in the character attack section. See here for the list of repeating sections listed on the  5e OGL wiki page You can also checkout  this for some other useful token macros for NPCs