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

Monster Powercard

Greetings all. I'm trying to find a powercard for monster tokens. I have managed to find one for characters that works really well (thx to original author), but when I try to use that on a monster token it throws errors. Character script used: !power {{ --name|@{selected|character_name} --format|badguys --emote| --tokenid|@{selected|token_id} --npc_attribute_summary|@{selected|character_id} --AC:|@{selected|ac} --Speed:|@{selected|speed} --**Spell Save DC**| [[@{selected|spell_save_dc}]] ^^**Spell Attack Bonus** [[@{selected|spell_attack_bonus} ]] --spell_slots|@{selected|character_id} --spell_list|@{selected|character_id} -- ~~~ --!Actions|**Available Actions:**^^ [@{selected|repeating_attack_$0_atkname}](~selected|repeating_attack_$0_attack)^^ [@{selected|repeating_attack_$1_atkname}](~selected|repeating_attack_$1_attack)^^ [@{selected|repeating_attack_$2_atkname}](~selected|repeating_attack_$2_attack)^^ [@{selected|repeating_attack_$3_atkname}](~selected|repeating_attack_$3_attack)^^ [@{selected|repeating_attack_$4_atkname}](~selected|repeating_attack_$4_attack)^^ [@{selected|repeating_attack_$5_atkname}](~selected|repeating_attack_$5_attack)^^ }} Errors thrown: 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 @{selected|repeating_attack_$0_atkname} and so forth for each attack... I'm guessing its because the char sheets are set up differently and its looking for fields that aren't there. Can someone point to a script that works in same fashion as the char script. Trying to get my head around scripts and macros... so much to learn....thx in advance
Further to last, how do you look at the sheet coding to find things like attr tags etc?
1523973641
The Aaron
Pro
API Scripter
Sheet code can be seen in the  Roll20 Character Sheet Github Repo .
thx Aaron