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

[5e OGL] Looking for repeating spell macro for PC NOT NPC.

1492036649

Edited 1492046843
looking for a working spell macro for repeating spells for PC. Here is what I was working from for NPC. @{wtype} &{template:default}{{name=@{selected|character_name} Spellcasting }}{{Spell Save DC @{selected|npc_spelldc}= @{selected|npc_spellattackmod} to hit with spell attacks }}{{Cantrips =[@{repeating_spell-npc_$0_spellname}](~selected|repeating_spell-npc_$0_spell) [@{repeating_spell-npc_$1_spellname}](~selected|repeating_spell-npc_$1_spell) [@{repeating_spell-npc_$2_spellname}](~selected|repeating_spell-npc_$2_spell) [@{repeating_spell-npc_$3_spellname}](~selected|repeating_spell-npc_$3_spell) [@{repeating_spell-npc_$4_spellname}](~selected|repeating_spell-npc_$4_spell) }}{{1st level (4 slots) =[@{repeating_spell-npc_$5_spellname}](~selected|repeating_spell-npc_$5_spell) [@{repeating_spell-npc_$6_spellname}](~selected|repeating_spell-npc_$6_spell) [@{repeating_spell-npc_$7_spellname}](~selected|repeating_spell-npc_$7_spell) [@{repeating_spell-npc_$8_spellname}](~selected|repeating_spell-npc_$8_spell) }}{{2nd level (3 slots) =[@{repeating_spell-npc_$9_spellname}](~selected|repeating_spell-npc_$9_spell) [@{repeating_spell-npc_$10_spellname}](~selected|repeating_spell-npc_$10_spell) }}{{3rd level (2 slots) =[@{repeating_spell-npc_$11_spellname}](~selected|repeating_spell-npc_$11_spell) }}  but when i input for PC @{wtype} &{template:default}{{name=@{selected|character_name} Spellcasting }}{{Cantrips=[@{repeating_spell-cantrip_$0_spellname}](~selected|repeating_spell-cantrip_$0_spell)}} it doesn't work. 5e OGL the %{selected|repeating_spell-cantrip_$0_spell} will not work in the macro.
You must always specify which sheet you are using. Macros are mostly dependent on the sheet since their creators cant seem to use the same attribute names. The OGL and Shaped sheets each have simplified repeating macros. The OGl commands are all listed on the OGL sheet wiki. This is the spell section for PC's: Spellbook Cantrip %{selected|repeating_spell-cantrip_$0_spell} Spellbook Level 1 %{selected|repeating_spell-1_$0_spell} Spellbook Level 2 %{selected|repeating_spell-2_$0_spell} Spellbook Level 3 %{selected|repeating_spell-3_$0_spell} Spellbook Level 4 %{selected|repeating_spell-4_$0_spell} Spellbook Level 5 %{selected|repeating_spell-5_$0_spell} Spellbook Level 6 %{selected|repeating_spell-6_$0_spell} Spellbook Level 7 %{selected|repeating_spell-7_$0_spell} Spellbook Level 8 %{selected|repeating_spell-8_$0_spell} Spellbook Level 9 %{selected|repeating_spell-9_$0_spell}
Just use that one line. Delete everything else in your macro.