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 .
Advertisement Create a free account Compendium in Game, Join Today

Power Card Spell Book NEW! Show Prepared spells only.

1509846243
Hey gang, Those that have ask for my spell book macros I have changed things a lot. Instead of creating macros for each spell I have change it to use (~selected|repeating_spell-4_$3_spell) to call the spells, as example. No longer need to use (!  & # 1 3 ; #Spell4-3). Also created a new spell book to only show prepared spells. This I can post in chat because there is no HTLM code. For anyone new to my macro's paste the following macro into the PC attrib macro section. Delete the spells not needed as it will cause the API to crash. Remember the spells start a 0 not 1. So if they had 8 first level spells you delete $8 down. Add what is below to the PC attribs. Sel_Prefix has @{Selected|  in the box. Prepsymbol-0 and 1 can be left blank with this spell book. You will need to fix spell 1-1 as I call a macro for this spell to execute Bless the gets them to selected 3 targets, marks them with bless symbol and adds a counter to the tracker for 10 rnds. !power {{ --emote|** @{selected|token_name} Take’s out a Holy Symbol ** --tokenid|@{selected|token_id} --titlebackground|none --titlefontshadow|none --whisper|@{selected|character_name} --corners|10 --format|atwill --name|^^Spell Book --leftsub|@{selected|character_name} --rightsub|Level @{selected|level} @{selected|class}^^ ^^ --**Spell Save DC**| [[ 8 + [[@{selected|pb}]]+ @{selected|wisdom_mod}]] ^^**Spell Attack Bonus** [[ [[@{selected|pb}]]  + @{selected|wisdom_mod} ]] --Amount of Prepared Spells:| [[@{selected|wisdom_mod} + @{Selected|Level} ]] ^^^^ ~C ** Available Spells ** ~C    **Level 1 :** [[@{selected|lvl1_slots_total}]] **Remaining** [[@{selected|lvl1_slots_expended}]]^^ **Level 2 :** [[@{selected|lvl2_slots_total}]] **Remaining** [[@{selected|lvl2_slots_expended}]]^^ **Level 3** : [[@{selected|lvl3_slots_total}]] **Remaining** [[@{selected|lvl3_slots_expended}]]^^ **Level 4** : [[@{selected|lvl4_slots_total}]] **Remaining** [[@{selected|lvl4_slots_expended}]] --Cantrips:| ^^[@{selected|repeating_spell-cantrip_$0_spellname}](~selected|repeating_spell-cantrip_$0_spell) ^^[@{selected|repeating_spell-cantrip_$1_spellname}](~selected|repeating_spell-cantrip_$1_spell) ^^[@{selected|repeating_spell-cantrip_$2_spellname}](~selected|repeating_spell-cantrip_$2_spell) ^^[@{selected|repeating_spell-cantrip_$3_spellname}](~selected|repeating_spell-cantrip_$3_spell) ^^[@{selected|repeating_spell-cantrip_$4_spellname}](~selected|repeating_spell-cantrip_$4_spell) ^^[@{selected|repeating_spell-cantrip_$5_spellname}](~selected|repeating_spell-cantrip_$5_spell) ^^[@{selected|repeating_spell-cantrip_$6_spellname}](~selected|repeating_spell-cantrip_$6_spell) ^^[@{selected|repeating_spell-cantrip_$7_spellname}](~selected|repeating_spell-cantrip_$7_spell) ^^[@{selected|repeating_spell-cantrip_$8_spellname}](~selected|repeating_spell-cantrip_$8_spell) ^^[@{selected|repeating_spell-cantrip_$9_spellname}](~selected|repeating_spell-cantrip_$9_spell) ^^[@{selected|repeating_spell-cantrip_$10_spellname}](~selected|repeating_spell-cantrip_$10_spell) --Level 1:| --?? @{selected|repeating_spell-1_$0_spellprepared} == 1 ?? !spell-1_$0| [@{selected|repeating_spell-1_$0_spellname}](~selected|repeating_spell-1_$0_spell) --?? @{selected|repeating_spell-1_$1_spellprepared} == 1 ?? !spell-1_$1| [@{selected|repeating_spell-1_$1_spellname}](!
#CounterBless) --?? @{selected|repeating_spell-1_$2_spellprepared} == 1 ?? !spell-1_$2| [@{selected|repeating_spell-1_$2_spellname}](~selected|repeating_spell-1_$2_spell) --?? @{selected|repeating_spell-1_$3_spellprepared} == 1 ?? !spell-1_$3| [@{selected|repeating_spell-1_$3_spellname}](~selected|repeating_spell-1_$3_spell) --?? @{selected|repeating_spell-1_$4_spellprepared} == 1 ?? !spell-1_$4| [@{selected|repeating_spell-1_$4_spellname}](~selected|repeating_spell-1_$4_spell) --?? @{selected|repeating_spell-1_$5_spellprepared} == 1 ?? !spell-1_$5| [@{selected|repeating_spell-1_$5_spellname}](~selected|repeating_spell-1_$5_spell) --?? @{selected|repeating_spell-1_$6_spellprepared} == 1 ?? !spell-1_$6| [@{selected|repeating_spell-1_$6_spellname}](~selected|repeating_spell-1_$6_spell) --?? @{selected|repeating_spell-1_$7_spellprepared} == 1 ?? !spell-1_$7| [@{selected|repeating_spell-1_$7_spellname}](~selected|repeating_spell-1_$7_spell) --?? @{selected|repeating_spell-1_$8_spellprepared} == 1 ?? !spell-1_$8| [@{selected|repeating_spell-1_$8_spellname}](~selected|repeating_spell-1_$8_spell) --?? @{selected|repeating_spell-1_$9_spellprepared} == 1 ?? !spell-1_$9| [@{selected|repeating_spell-1_$9_spellname}](~selected|repeating_spell-1_$9_spell) --?? @{selected|repeating_spell-1_$10_spellprepared} == 1 ?? !spell-1_$10| [@{selected|repeating_spell-1_$10_spellname}](~selected|repeating_spell-1_$10_spell) --?? @{selected|repeating_spell-1_$11_spellprepared} == 1 ?? !spell-1_$11| [@{selected|repeating_spell-1_$11_spellname}](~selected|repeating_spell-1_$11_spell) --?? @{selected|repeating_spell-1_$12_spellprepared} == 1 ?? !spell-1_$12| [@{selected|repeating_spell-1_$12_spellname}](~selected|repeating_spell-1_$12_spell) --?? @{selected|repeating_spell-1_$13_spellprepared} == 1 ?? !spell-1_$13| [@{selected|repeating_spell-1_$13_spellname}](~selected|repeating_spell-1_$13_spell) --?? @{selected|repeating_spell-1_$14_spellprepared} == 1 ?? !spell-1_$14| [@{selected|repeating_spell-1_$14_spellname}](~selected|repeating_spell-1_$14_spell) --?? @{selected|repeating_spell-1_$15_spellprepared} == 1 ?? !spell-1_$15| [@{selected|repeating_spell-1_$15_spellname}](~selected|repeating_spell-1_$15_spell) --?? @{selected|repeating_spell-1_$16_spellprepared} == 1 ?? !spell-1_$16| [@{selected|repeating_spell-1_$16_spellname}](~selected|repeating_spell-1_$16_spell) --Level2:| --?? @{selected|repeating_spell-2_$0_spellprepared} == 1 ?? !spell-2_$0| [@{selected|repeating_spell-2_$0_spellname}](~selected|repeating_spell-2_$0_spell) --?? @{selected|repeating_spell-2_$1_spellprepared} == 1 ?? !spell-2_$1| [@{selected|repeating_spell-2_$1_spellname}](~selected|repeating_spell-2_$1_spell) --?? @{selected|repeating_spell-2_$2_spellprepared} == 1 ?? !spell-2_$2| [@{selected|repeating_spell-2_$2_spellname}](~selected|repeating_spell-2_$2_spell) --?? @{selected|repeating_spell-2_$3_spellprepared} == 1 ?? !spell-2_$3| [@{selected|repeating_spell-2_$3_spellname}](~selected|repeating_spell-2_$3_spell) --?? @{selected|repeating_spell-2_$4_spellprepared} == 1 ?? !spell-2_$4| [@{selected|repeating_spell-2_$4_spellname}](~selected|repeating_spell-2_$4_spell) --?? @{selected|repeating_spell-2_$5_spellprepared} == 1 ?? !spell-2_$5| [@{selected|repeating_spell-2_$5_spellname}](~selected|repeating_spell-2_$5_spell) --?? @{selected|repeating_spell-2_$6_spellprepared} == 1 ?? !spell-2_$6| [@{selected|repeating_spell-2_$6_spellname}](~selected|repeating_spell-2_$6_spell) --?? @{selected|repeating_spell-2_$7_spellprepared} == 1 ?? !spell-2_$7| [@{selected|repeating_spell-2_$7_spellname}](~selected|repeating_spell-2_$7_spell) --?? @{selected|repeating_spell-2_$8_spellprepared} == 1 ?? !spell-2_$8| [@{selected|repeating_spell-2_$8_spellname}](~selected|repeating_spell-2_$8_spell) --?? @{selected|repeating_spell-2_$9_spellprepared} == 1 ?? !spell-2_$9| [@{selected|repeating_spell-2_$9_spellname}](~selected|repeating_spell-2_$9_spell) --?? @{selected|repeating_spell-2_$10_spellprepared} == 1 ?? !spell-2_$10| [@{selected|repeating_spell-2_$10_spellname}](~selected|repeating_spell-2_$10_spell) --?? @{selected|repeating_spell-2_$11_spellprepared} == 1 ?? !spell-2_$11| [@{selected|repeating_spell-2_$11_spellname}](~selected|repeating_spell-2_$11_spell) --?? @{selected|repeating_spell-2_$12_spellprepared} == 1 ?? !spell-2_$12| [@{selected|repeating_spell-2_$12_spellname}](~selected|repeating_spell-2_$12_spell) --?? @{selected|repeating_spell-2_$13_spellprepared} == 1 ?? !spell-2_$13| [@{selected|repeating_spell-2_$13_spellname}](~selected|repeating_spell-2_$13_spell) --?? @{selected|repeating_spell-2_$14_spellprepared} == 1 ?? !spell-2_$14| [@{selected|repeating_spell-2_$14_spellname}](~selected|repeating_spell-2_$14_spell) --?? @{selected|repeating_spell-2_$15_spellprepared} == 1 ?? !spell-2_$15| [@{selected|repeating_spell-2_$15_spellname}](~selected|repeating_spell-2_$15_spell) --?? @{selected|repeating_spell-2_$16_spellprepared} == 1 ?? !spell-2_$16| [@{selected|repeating_spell-2_$16_spellname}](~selected|repeating_spell-2_$16_spell) --?? @{selected|repeating_spell-2_$17_spellprepared} == 1 ?? !spell-2_$17| [@{selected|repeating_spell-2_$17_spellname}](~selected|repeating_spell-2_$17_spell) --?? @{selected|repeating_spell-2_$18_spellprepared} == 1 ?? !spell-2_$18| [@{selected|repeating_spell-2_$18_spellname}](~selected|repeating_spell-2_$18_spell) --?? @{selected|repeating_spell-2_$19_spellprepared} == 1 ?? !spell-2_$19| [@{selected|repeating_spell-2_$19_spellname}](~selected|repeating_spell-2_$19_spell) --?? @{selected|repeating_spell-2_$20_spellprepared} == 1 ?? !spell-2_$20| [@{selected|repeating_spell-2_$20_spellname}](~selected|repeating_spell-2_$20_spell) --?? @{selected|repeating_spell-2_$21_spellprepared} == 1 ?? !spell-2_$21| [@{selected|repeating_spell-2_$21_spellname}](~selected|repeating_spell-2_$21_spell) --?? @{selected|repeating_spell-2_$22_spellprepared} == 1 ?? !spell-2_$22| [@{selected|repeating_spell-2_$22_spellname}](~selected|repeating_spell-2_$22_spell) --?? @{selected|repeating_spell-2_$23_spellprepared} == 1 ?? !spell-2_$23| [@{selected|repeating_spell-2_$23_spellname}](~selected|repeating_spell-2_$23_spell) --?? @{selected|repeating_spell-2_$24_spellprepared} == 1 ?? !spell-2_$24| [@{selected|repeating_spell-2_$24_spellname}](~selected|repeating_spell-2_$24_spell) --?? @{selected|repeating_spell-2_$25_spellprepared} == 1 ?? !spell-2_$25| [@{selected|repeating_spell-2_$25_spellname}](~selected|repeating_spell-2_$25_spell) --Level3:| --?? @{selected|repeating_spell-3_$0_spellprepared} == 1 ?? !spell-3_$0| [@{selected|repeating_spell-3_$0_spellname}](~selected|repeating_spell-3_$0_spell) --?? @{selected|repeating_spell-3_$1_spellprepared} == 1 ?? !spell-3_$1| [@{selected|repeating_spell-3_$1_spellname}](~selected|repeating_spell-3_$1_spell) --?? @{selected|repeating_spell-3_$2_spellprepared} == 1 ?? !spell-3_$2| [@{selected|repeating_spell-3_$2_spellname}](~selected|repeating_spell-3_$2_spell) --?? @{selected|repeating_spell-3_$3_spellprepared} == 1 ?? !spell-3_$3| [@{selected|repeating_spell-3_$3_spellname}](~selected|repeating_spell-3_$3_spell) --?? @{selected|repeating_spell-3_$4_spellprepared} == 1 ?? !spell-3_$4| [@{selected|repeating_spell-3_$4_spellname}](~selected|repeating_spell-3_$4_spell) --?? @{selected|repeating_spell-3_$5_spellprepared} == 1 ?? !spell-3_$5| [@{selected|repeating_spell-3_$5_spellname}](~selected|repeating_spell-3_$5_spell) --?? @{selected|repeating_spell-3_$6_spellprepared} == 1 ?? !spell-3_$6| [@{selected|repeating_spell-3_$6_spellname}](~selected|repeating_spell-3_$6_spell) --?? @{selected|repeating_spell-3_$7_spellprepared} == 1 ?? !spell-3_$7| [@{selected|repeating_spell-3_$7_spellname}](~selected|repeating_spell-3_$7_spell) --?? @{selected|repeating_spell-3_$8_spellprepared} == 1 ?? !spell-3_$8| [@{selected|repeating_spell-3_$8_spellname}](~selected|repeating_spell-3_$8_spell) --?? @{selected|repeating_spell-3_$9_spellprepared} == 1 ?? !spell-3_$9| [@{selected|repeating_spell-3_$9_spellname}](~selected|repeating_spell-3_$9_spell) --?? @{selected|repeating_spell-3_$10_spellprepared} == 1 ?? !spell-3_$10| [@{selected|repeating_spell-3_$10_spellname}](~selected|repeating_spell-3_$10_spell) --?? @{selected|repeating_spell-3_$11_spellprepared} == 1 ?? !spell-3_$11| [@{selected|repeating_spell-3_$11_spellname}](~selected|repeating_spell-3_$11_spell) --?? @{selected|repeating_spell-3_$12_spellprepared} == 1 ?? !spell-3_$12| [@{selected|repeating_spell-3_$12_spellname}](~selected|repeating_spell-3_$12_spell) --?? @{selected|repeating_spell-3_$13_spellprepared} == 1 ?? !spell-3_$13| [@{selected|repeating_spell-3_$13_spellname}](~selected|repeating_spell-3_$13_spell) --?? @{selected|repeating_spell-3_$14_spellprepared} == 1 ?? !spell-3_$14| [@{selected|repeating_spell-3_$14_spellname}](~selected|repeating_spell-3_$14_spell) --?? @{selected|repeating_spell-3_$15_spellprepared} == 1 ?? !spell-3_$15| [@{selected|repeating_spell-3_$15_spellname}](~selected|repeating_spell-3_$15_spell) --?? @{selected|repeating_spell-3_$16_spellprepared} == 1 ?? !spell-3_$16| [@{selected|repeating_spell-3_$16_spellname}](~selected|repeating_spell-3_$16_spell) --?? @{selected|repeating_spell-3_$17_spellprepared} == 1 ?? !spell-3_$17| [@{selected|repeating_spell-3_$17_spellname}](~selected|repeating_spell-3_$17_spell) --?? @{selected|repeating_spell-3_$18_spellprepared} == 1 ?? !spell-3_$18| [@{selected|repeating_spell-3_$18_spellname}](~selected|repeating_spell-3_$18_spell) --?? @{selected|repeating_spell-3_$19_spellprepared} == 1 ?? !spell-3_$19| [@{selected|repeating_spell-3_$19_spellname}](~selected|repeating_spell-3_$19_spell) --?? @{selected|repeating_spell-3_$20_spellprepared} == 1 ?? !spell-3_$20| [@{selected|repeating_spell-3_$20_spellname}](~selected|repeating_spell-3_$20_spell) --?? @{selected|repeating_spell-3_$21_spellprepared} == 1 ?? !spell-3_$21| [@{selected|repeating_spell-3_$21_spellname}](~selected|repeating_spell-3_$21_spell) --?? @{selected|repeating_spell-3_$22_spellprepared} == 1 ?? !spell-3_$22| [@{selected|repeating_spell-3_$22_spellname}](~selected|repeating_spell-3_$22_spell) --?? @{selected|repeating_spell-3_$23_spellprepared} == 1 ?? !spell-3_$23| [@{selected|repeating_spell-3_$23_spellname}](~selected|repeating_spell-3_$23_spell) --?? @{selected|repeating_spell-3_$24_spellprepared} == 1 ?? !spell-3_$24| [@{selected|repeating_spell-3_$24_spellname}](~selected|repeating_spell-3_$24_spell) --?? @{selected|repeating_spell-3_$25_spellprepared} == 1 ?? !spell-3_$25| [@{selected|repeating_spell-3_$25_spellname}](~selected|repeating_spell-3_$25_spell) --Level4:| --?? @{selected|repeating_spell-4_$0_spellprepared} == 1 ?? !spell-4_$0| [@{selected|repeating_spell-4_$0_spellname}](~selected|repeating_spell-4_$0_spell) --?? @{selected|repeating_spell-4_$1_spellprepared} == 1 ?? !spell-4_$1| [@{selected|repeating_spell-4_$1_spellname}](~selected|repeating_spell-4_$1_spell) --?? @{selected|repeating_spell-4_$2_spellprepared} == 1 ?? !spell-4_$2| [@{selected|repeating_spell-4_$2_spellname}](~selected|repeating_spell-4_$2_spell) --?? @{selected|repeating_spell-4_$3_spellprepared} == 1 ?? !spell-4_$3| [@{selected|repeating_spell-4_$3_spellname}](~selected|repeating_spell-4_$3_spell) --?? @{selected|repeating_spell-4_$4_spellprepared} == 1 ?? !spell-4_$4| [@{selected|repeating_spell-4_$4_spellname}](~selected|repeating_spell-4_$4_spell) --?? @{selected|repeating_spell-4_$5_spellprepared} == 1 ?? !spell-4_$5| [@{selected|repeating_spell-4_$5_spellname}](~selected|repeating_spell-4_$5_spell) --?? @{selected|repeating_spell-4_$6_spellprepared} == 1 ?? !spell-4_$6| [@{selected|repeating_spell-4_$6_spellname}](~selected|repeating_spell-4_$6_spell) --?? @{selected|repeating_spell-4_$7_spellprepared} == 1 ?? !spell-4_$7| [@{selected|repeating_spell-4_$7_spellname}](~selected|repeating_spell-4_$7_spell) --?? @{selected|repeating_spell-4_$8_spellprepared} == 1 ?? !spell-4_$8| [@{selected|repeating_spell-4_$8_spellname}](~selected|repeating_spell-4_$8_spell) --?? @{selected|repeating_spell-4_$9_spellprepared} == 1 ?? !spell-4_$9| [@{selected|repeating_spell-4_$9_spellname}](~selected|repeating_spell-4_$9_spell) --?? @{selected|repeating_spell-4_$10_spellprepared} == 1 ?? !spell-4_$10| [@{selected|repeating_spell-4_$10_spellname}](~selected|repeating_spell-4_$10_spell) --?? @{selected|repeating_spell-4_$11_spellprepared} == 1 ?? !spell-4_$11| [@{selected|repeating_spell-4_$11_spellname}](~selected|repeating_spell-4_$11_spell) --?? @{selected|repeating_spell-4_$12_spellprepared} == 1 ?? !spell-4_$12| [@{selected|repeating_spell-4_$12_spellname}](~selected|repeating_spell-4_$12_spell) --?? @{selected|repeating_spell-4_$13_spellprepared} == 1 ?? !spell-4_$13| [@{selected|repeating_spell-4_$13_spellname}](~selected|repeating_spell-4_$13_spell) --?? @{selected|repeating_spell-4_$14_spellprepared} == 1 ?? !spell-4_$14| [@{selected|repeating_spell-4_$14_spellname}](~selected|repeating_spell-4_$14_spell) --?? @{selected|repeating_spell-4_$15_spellprepared} == 1 ?? !spell-4_$15| [@{selected|repeating_spell-4_$15_spellname}](~selected|repeating_spell-4_$15_spell) --?? @{selected|repeating_spell-4_$16_spellprepared} == 1 ?? !spell-4_$16| [@{selected|repeating_spell-4_$16_spellname}](~selected|repeating_spell-4_$16_spell) --?? @{selected|repeating_spell-4_$17_spellprepared} == 1 ?? !spell-4_$17| [@{selected|repeating_spell-4_$17_spellname}](~selected|repeating_spell-4_$17_spell) --?? @{selected|repeating_spell-4_$18_spellprepared} == 1 ?? !spell-4_$18| [@{selected|repeating_spell-4_$18_spellname}](~selected|repeating_spell-4_$18_spell) --?? @{selected|repeating_spell-4_$19_spellprepared} == 1 ?? !spell-4_$19| [@{selected|repeating_spell-4_$19_spellname}](~selected|repeating_spell-4_$19_spell) --?? @{selected|repeating_spell-4_$20_spellprepared} == 1 ?? !spell-4_$20| [@{selected|repeating_spell-4_$20_spellname}](~selected|repeating_spell-4_$20_spell) --?? @{selected|repeating_spell-4_$21_spellprepared} == 1 ?? !spell-4_$21| [@{selected|repeating_spell-4_$21_spellname}](~selected|repeating_spell-4_$21_spell) --?? @{selected|repeating_spell-4_$22_spellprepared} == 1 ?? !spell-4_$22| [@{selected|repeating_spell-4_$22_spellname}](~selected|repeating_spell-4_$22_spell) --?? @{selected|repeating_spell-4_$23_spellprepared} == 1 ?? !spell-4_$23| [@{selected|repeating_spell-4_$23_spellname}](~selected|repeating_spell-4_$23_spell) --?? @{selected|repeating_spell-4_$24_spellprepared} == 1 ?? !spell-4_$24| [@{selected|repeating_spell-4_$24_spellname}](~selected|repeating_spell-4_$24_spell) --?? @{selected|repeating_spell-4_$25_spellprepared} == 1 ?? !spell-4_$25| [@{selected|repeating_spell-4_$25_spellname}](~selected|repeating_spell-4_$25_spell) }} Enjoy.... Craven
1509911222
Ravenknight
KS Backer
Good stuff, thanks for sharing.
How would I use your power cards to call upon weapons? I can't find the correct repeating row for that ability.
1512158918
Theodore S. said: How would I use your power cards to call upon weapons? I can't find the correct repeating row for that ability. For NPC? !power {{ --emote|** Attacks ** --tokenid|@{selected|token_id} --titlebackground|none --titlefontshadow|none --whisper|@{selected|character_name} --corners|10 --format|atwill --name|Attacks --leftsub|@{selected|character_name} --rightsub|Level @{selected|level} @{selected|class} --Attacks:| [@{selected|repeating_npcaction_$0_name}](~selected|repeating_npcaction_$0_npc_action) [@{selected|repeating_npcaction_$1_name}](~selected|repeating_npcaction_$1_npc_action) [@{selected|repeating_npcaction_$2_name}](~selected|repeating_npcaction_$2_npc_action) [@{selected|repeating_npcaction_$3_name}](~selected|repeating_npcaction_$3_npc_action) [@{selected|repeating_npcaction_$4_name}](~selected|repeating_npcaction_$4_npc_action) [@{selected|repeating_npcaction_$5_name}](~selected|repeating_npcaction_$5_npc_action) [@{selected|repeating_npcaction_$6_name}](~selected|repeating_npcaction_$6_npc_action) }}
for PC actually
1512199121
Theodore S. said: for PC actually <a href="https://app.roll20.net/forum/post/5739281/repeatin" rel="nofollow">https://app.roll20.net/forum/post/5739281/repeatin</a>... !power {{ --emote|** Attacks ** --tokenid|@{selected|token_id} --titlebackground|none --titlefontshadow|none --whisper|@{selected|character_name} --corners|10 --format|atwill --name|Attacks --leftsub|@{selected|character_name} --rightsub|Level @{selected|level} @{selected|class} --Attacks:| [@{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) }}
1516970156

Edited 1516970227
Caos
Plus
Hi Craven, I try to use your macro but I have a blank result (see below). May you can help me ? I use PowerCard 3. TY
1517011317
Do I need some api script for this to work, as that would explain why it won't work for me :P Otherwise, it just keeps telling me "You tried to use the repeating section row at index 2 for repeating_spell-2, but there doesn't seem to be a row at that index. No attribute was found for @{selected|repeating_spell-2_$2_spellname}" Thanks in advance :)
Pascal L. said: Do I need some api script for this to work, as that would explain why it won't work for me :P Otherwise, it just keeps telling me "You tried to use the repeating section row at index 2 for repeating_spell-2, but there doesn't seem to be a row at that index. No attribute was found for @{selected|repeating_spell-2_$2_spellname}" Thanks in advance :) That means under the 2nd level spells, you do not have a spell in the 3rd slot.
1517012054

Edited 1517012132
Caos (FR) said: Hi Craven, I try to use your macro but I have a blank result (see below). May you can help me ? I use PowerCard 3. TY As you are the GM, change the line to --whisper|GM, @{selected|character_name}
1517211571
Caos
Plus
Theodore S. said: As you are the GM, change the line to --whisper|GM, @{selected|character_name} It's working now, ty !
Caos (FR) said: Theodore S. said: As you are the GM, change the line to --whisper|GM, @{selected|character_name} It's working now, ty ! Glad to hear
1517329474

Edited 1517331044
Sorry if this is a really noob question.. but how would I go about using this? I'm a pro member, but I can't seem to get this to work for an NPC. I'm trying to setup a token specific macro that will setup a spellbook that can be whispered to me in chat. I'm currently trying to get this setup for a Cult Fanatic who has 3 cantrips, 2 Lvl 1 spells and 2 lvl 2 spells.
TheShmoJoe said: Sorry if this is a really noob question.. but how would I go about using this? I'm a pro member, but I can't seem to get this to work for an NPC. I'm trying to setup a token specific macro that will setup a spellbook that can be whispered to me in chat. I'm currently trying to get this setup for a Cult Fanatic who has 3 cantrips, 2 Lvl 1 spells and 2 lvl 2 spells. You are using 5e OGL sheet?
1517353737
And do you have the Power Cards API script installed?
1517399827
Theodore S. said: Pascal L. said: Do I need some api script for this to work, as that would explain why it won't work for me :P Otherwise, it just keeps telling me "You tried to use the repeating section row at index 2 for repeating_spell-2, but there doesn't seem to be a row at that index. No attribute was found for @{selected|repeating_spell-2_$2_spellname}" Thanks in advance :) That means under the 2nd level spells, you do not have a spell in the 3rd slot. Thanks for the answer. I'm pretty sure that I have filled my spellbook, so that's pretty weird. Maybe it is that way cause I use the 5th ed (community contributed) character sheet?
Pascal L. said: Theodore S. said: Pascal L. said: Do I need some api script for this to work, as that would explain why it won't work for me :P Otherwise, it just keeps telling me "You tried to use the repeating section row at index 2 for repeating_spell-2, but there doesn't seem to be a row at that index. No attribute was found for @{selected|repeating_spell-2_$2_spellname}" Thanks in advance :) That means under the 2nd level spells, you do not have a spell in the 3rd slot. Thanks for the answer. I'm pretty sure that I have filled my spellbook, so that's pretty weird. Maybe it is that way cause I use the 5th ed (community contributed) character sheet? Ya. Power Card is supported for 5e OGL only (not sure about 5e Shaped).
1517423696
Power card support other sheets its the calls to the attrib that will be different. You have to find out what your sheet uses and how it works. @{selected|repeating_spell-2_$2_spellname} is for OGL 5E
1517478159
Thanks for the replies :) I'm gonna figure out what to put in it's place&nbsp;
Theodore S. said: TheShmoJoe said: Sorry if this is a really noob question.. but how would I go about using this? I'm a pro member, but I can't seem to get this to work for an NPC. I'm trying to setup a token specific macro that will setup a spellbook that can be whispered to me in chat. I'm currently trying to get this setup for a Cult Fanatic who has 3 cantrips, 2 Lvl 1 spells and 2 lvl 2 spells. You are using 5e OGL sheet? Sorry for the late reply, I did end up figuring something else out. Thank you for the reply!
1517515468
Found out that spellslot attribute is:&nbsp; spell_slots_l1_max and&nbsp; spell_slots_l1 (but for some reason max always gives 0, while spell_slots_l1 gives the amount of spent spell slots) In place of&nbsp; repeating_spell-cantrip_$0_spellname , it is&nbsp; repeating_spellbookcantrip_$0_spellname and so forth. But the thing is, it should work now, but absolutely nothing happens. My question about this needing a script (pro feature) also remains unanswered :P&nbsp; If I try to only use&nbsp; [@{selected|repeating_spellbookcantrip_$0_spellname}](~selected|repeating_spellbookcantrip_$0_spell) for example, it shows the correct name and with a button, but when I click on it it gives this error:&nbsp; No ability was found for %{selected|repeating_spellbookcantrip_spell} So, I'm a bit stumped as to how to solve this :/ Anyone uses the community contributed sheet and got this working? :)
1517515812
GiGs
Pro
Sheet Author
API Scripter
Pascal, this does need a script. You need to be a Pro user to take advantage of this.
1517522226
G G said: Pascal, this does need a script. You need to be a Pro user to take advantage of this. Alright, thanks ^^ was suspecting that, but as I didn't receive an answer, I went ahead and tried it anyway :P Now I hope that those attributes I found will be of any use to someone else ;)
Can't seem to get this to work for my PC's any suggestions? its not finding any of the spells
I guess I got it to work is there anyway to make it work without custom tailoring to each character?
1519851377
Anthony V. said: I guess I got it to work is there anyway to make it work without custom tailoring to each character? Not really and the info at the top would also need to be changed depending on the class of the PC. This one is for cleric.
1520524009
Update spell book with Power cards 3.6.1 you can now replace a lot of the code. Here is the new code for Cleric Spell book. !power {{ --emote|** @{selected|token_name} Uses a Holy Symbol ** --tokenid|@{selected|token_id} --titlebackground|none --titlefontshadow|none --whisper|@{selected|character_name},GM --corners|10 --format|atwill --name|^^Spell Book --leftsub|@{selected|character_name} --rightsub|Level @{selected|level} @{selected|class}^^ ^^ --**Spell Save DC**| [[ 8 + [[@{selected|pb}]]+ @{selected|wisdom_mod}]] ^^**Spell Attack Bonus** [[ [[@{selected|pb}]]&nbsp; + @{selected|wisdom_mod} ]] --Amount of Prepared Spells:| [[@{selected|wisdom_mod} + @{Selected|Level} ]] ^^^^ ~C ** Available Spells ** ~C&nbsp; &nbsp; **Level 1 :** [[@{selected|lvl1_slots_total}]] **Remaining** [[@{selected|lvl1_slots_expended}]]^^ **Level 2 :** [[@{selected|lvl2_slots_total}]] **Remaining** [[@{selected|lvl2_slots_expended}]] --spell_list|@{selected|character_id} }} This part --spell_list|@{selected|character_id} replaces all the " --?? @{selected|repeating_spell-1_$0_spellprepared} == 1 ?? !spell-1_$0| [@{selected|repeating_spell-1_$0_spellname}](~selected|repeating_spell-1_$0_spell) " or this if you not using stylus The only different you need for other classes is the prepared spells info. Here is the example of my Shaman.
I am guessing that the only way to do a query for prepared spells is to have powercards correct?&nbsp; I was hoping that I could do something like this for a druid, since they know all the spells of each level.
1520607239
Yes an API is required. The built-in macro can't do much other then show you the info and make rolls. That's why i went pro.
Craven said: Yes an API is required. The built-in macro can't do much other then show you the info and make rolls. That's why i went pro. Ok Craven, but I can't use API in a game I am a player in can I? I have to be the GM in order to enable it?
1520624165
I am not sure if API is GM only I do know that you have to have a Pro subscription. If your GM is a pro sub he can add the API for you to use. I am GM for my group and we have play together for over 15 years. I have the pro sub and have done all the macro work so not sure how the player side work as all my players are on the free account.&nbsp;
1520649279
GiGs
Pro
Sheet Author
API Scripter
The GM does need to be a Pro to enable the API in their campaigns. The player's subscription level has no impact on this, either way.
1520660223
More specifically, the game's creator (who might not be the GM) needs to have an active Pro subscription to utilize the API and other Pro features in the game.
thanks for creating this tool. Can someone help me get it to work fully?&nbsp; I can get the tool in the first post to sort of work.&nbsp; I see an update from March 8, that doesn't do anything: when i click the die icon, nothing happens.&nbsp; First it is showing prepared and unprepared spells, though with 0 for unprepared and a 1 for prepared.&nbsp; Second, it is showing to everyone, I am pretty sure.&nbsp; Does any of that token id token name character name need to be subbed out for my actual character's name? <a href="https://imgur.com/a/Ado5i" rel="nofollow">https://imgur.com/a/Ado5i</a>&nbsp; and&nbsp; <a href="https://imgur.com/a/FxKWe" rel="nofollow">https://imgur.com/a/FxKWe</a>
1523899697
The Aaron
Forum Champion
API Scripter
(Moved to API)
1523902004
Dave E said: thanks for creating this tool. Can someone help me get it to work fully?&nbsp; I can get the tool in the first post to sort of work.&nbsp; I see an update from March 8, that doesn't do anything: when i click the die icon, nothing happens.&nbsp; First it is showing prepared and unprepared spells, though with 0 for unprepared and a 1 for prepared.&nbsp; Second, it is showing to everyone, I am pretty sure.&nbsp; Does any of that token id token name character name need to be subbed out for my actual character's name? <a href="https://imgur.com/a/Ado5i" rel="nofollow">https://imgur.com/a/Ado5i</a> and&nbsp; <a href="https://imgur.com/a/FxKWe" rel="nofollow">https://imgur.com/a/FxKWe</a> It not processing right becuase it looks like you don't have a Pro account and the API Power cards.