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

Universal NPC Statblock Abilities and Spells Chat Menus for D&D 5e sheet — No API or Stylus required!

1617858489

Edited 1617858633
There is a way to generate Universal NPC Skills & Spells chat menus, without using any Stylus extensions or API scripts. These are ready to use as is and will generate a chat menu with buttons, and only display abilities and spells that exist on the character sheet (up to 10 in each category), and won't display categories or spells levels that the character doesn't have. Caveat: to use these in a macro, you have to call them from a second macro because the &{noerror} doesn't work from a single macro call directly.  The simple macros are great and easy to use, but will output all abilities or spells on a character sheet.  The advanced macros take some work to set up (copying from here to a macro mule) but allow for more customization as well as creating more dynamic chat menus that can output individual categories. This is a VERY long read ahead, but I'll break down my post into several posts: Simple universal macros without any styling      These will generate a chat menu with  large pink buttons . Simple universal macros with styling       These will generate a chat menu with  small colored buttons . Simple universal Macro setup instructions     Instructions on how to set up the macro calls in the collections tab or on NPC character sheets. Advanced universal macro part 1: Macro Mule Setup     Instructions on cutting-and-pasting lots of pre-built code into a macro mule,  which allows for customization of appearance and allows you to call each section individually. Advanced universal macro part 2: Calling the Macros     Instructions on how to set up the macro calls in the collections tab or on NPC character sheets.     Instructions on how to customize the appearance.
1617858498
Universal Macros without styling Universal macro for all NPC Actions, Traits, Reactions, and Legendary Actions, with no style modifications. /w gm &{template:npcaction} {{rname=@{selected|token_name}}} {{name=Abilities}} {{description=[-- Actions --](" style="display:none; display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$0_name} ](~@{selected|character_name}|repeating_npcaction_$0_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$1_name} ](~@{selected|character_name}|repeating_npcaction_$1_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$1_name|max};)[@{selected|repeating_npcaction_$2_name} ](~@{selected|character_name}|repeating_npcaction_$2_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$2_name|max};)[@{selected|repeating_npcaction_$3_name} ](~@{selected|character_name}|repeating_npcaction_$3_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$3_name|max};)[@{selected|repeating_npcaction_$4_name} ](~@{selected|character_name}|repeating_npcaction_$4_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$4_name|max};)[@{selected|repeating_npcaction_$5_name} ](~@{selected|character_name}|repeating_npcaction_$5_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$5_name|max};)[@{selected|repeating_npcaction_$6_name} ](~@{selected|character_name}|repeating_npcaction_$6_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$6_name|max};)[@{selected|repeating_npcaction_$7_name} ](~@{selected|character_name}|repeating_npcaction_$7_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$7_name|max};)[@{selected|repeating_npcaction_$8_name} ](~@{selected|character_name}|repeating_npcaction_$8_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$8_name|max};)[@{selected|repeating_npcaction_$9_name} ](~@{selected|character_name}|repeating_npcaction_$9_npc_action" style="display:none; display: block@{selected|repeating_npcaction_$9_name|max};)[-- Traits --](" style="display:none; display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$0_name} ](~@{selected|character_name}|repeating_npctrait_$0_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$1_name} ](~@{selected|character_name}|repeating_npctrait_$1_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$1_name|max};)[@{selected|repeating_npctrait_$2_name} ](~@{selected|character_name}|repeating_npctrait_$2_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$2_name|max};)[@{selected|repeating_npctrait_$3_name} ](~@{selected|character_name}|repeating_npctrait_$3_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$3_name|max};)[@{selected|repeating_npctrait_$4_name} ](~@{selected|character_name}|repeating_npctrait_$4_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$4_name|max};)[@{selected|repeating_npctrait_$5_name} ](~@{selected|character_name}|repeating_npctrait_$5_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$5_name|max};)[@{selected|repeating_npctrait_$6_name} ](~@{selected|character_name}|repeating_npctrait_$6_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$6_name|max};)[@{selected|repeating_npctrait_$7_name} ](~@{selected|character_name}|repeating_npctrait_$7_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$7_name|max};)[@{selected|repeating_npctrait_$8_name} ](~@{selected|character_name}|repeating_npctrait_$8_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$8_name|max};)[@{selected|repeating_npctrait_$9_name} ](~@{selected|character_name}|repeating_npctrait_$9_npc_roll_output" style="display:none; display: block@{selected|repeating_npctrait_$9_name|max};)[-- Reactions --](" style="display:none; display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$0_name} ](~@{selected|character_name}|repeating_npcreaction_$0_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$1_name} ](~@{selected|character_name}|repeating_npcreaction_$1_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$1_name|max};)[@{selected|repeating_npcreaction_$2_name} ](~@{selected|character_name}|repeating_npcreaction_$2_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$2_name|max};)[@{selected|repeating_npcreaction_$3_name} ](~@{selected|character_name}|repeating_npcreaction_$3_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$3_name|max};)[@{selected|repeating_npcreaction_$4_name} ](~@{selected|character_name}|repeating_npcreaction_$4_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$4_name|max};)[@{selected|repeating_npcreaction_$5_name} ](~@{selected|character_name}|repeating_npcreaction_$5_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$5_name|max};)[@{selected|repeating_npcreaction_$6_name} ](~@{selected|character_name}|repeating_npcreaction_$6_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$6_name|max};)[@{selected|repeating_npcreaction_$7_name} ](~@{selected|character_name}|repeating_npcreaction_$7_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$7_name|max};)[@{selected|repeating_npcreaction_$8_name} ](~@{selected|character_name}|repeating_npcreaction_$8_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$8_name|max};)[@{selected|repeating_npcreaction_$9_name} ](~@{selected|character_name}|repeating_npcreaction_$9_oll_output" style="display:none; display: block@{selected|repeating_npcreaction_$9_name|max};)[-- Legendary Actions --](" style="display:none; display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$0_name} ](~@{selected|character_name}|repeating_npcaction-l_$0_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$1_name} ](~@{selected|character_name}|repeating_npcaction-l_$1_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$1_name|max};)[@{selected|repeating_npcaction-l_$2_name} ](~@{selected|character_name}|repeating_npcaction-l_$2_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$2_name|max};)[@{selected|repeating_npcaction-l_$3_name} ](~@{selected|character_name}|repeating_npcaction-l_$3_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$3_name|max};)[@{selected|repeating_npcaction-l_$4_name} ](~@{selected|character_name}|repeating_npcaction-l_$4_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$4_name|max};)[@{selected|repeating_npcaction-l_$5_name} ](~@{selected|character_name}|repeating_npcaction-l_$5_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$5_name|max};)[@{selected|repeating_npcaction-l_$6_name} ](~@{selected|character_name}|repeating_npcaction-l_$6_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$6_name|max};)[@{selected|repeating_npcaction-l_$7_name} ](~@{selected|character_name}|repeating_npcaction-l_$7_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$7_name|max};)[@{selected|repeating_npcaction-l_$8_name} ](~@{selected|character_name}|repeating_npcaction-l_$8_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$8_name|max};)[@{selected|repeating_npcaction-l_$9_name} ](~@{selected|character_name}|repeating_npcaction-l_$9_npc_action" style="display:none; display: block@{selected|repeating_npcaction-l_$9_name|max};)}}&{noerror} Here's what the output looks like: Universal macro for all  NPC Spells , with no style modifications.  /w gm &{template:npcaction} {{rname=@{selected|character_name}}} {{description=[-- Cantrips --](" style="display:none; display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$0_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$0_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$1_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$1_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$1_spellname|max};)[@{selected|repeating_spell-cantrip_$2_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$2_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$2_spellname|max};)[@{selected|repeating_spell-cantrip_$3_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$3_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$3_spellname|max};)[@{selected|repeating_spell-cantrip_$4_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$4_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$4_spellname|max};)[@{selected|repeating_spell-cantrip_$5_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$5_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$5_spellname|max};)[@{selected|repeating_spell-cantrip_$6_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$6_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$6_spellname|max};)[@{selected|repeating_spell-cantrip_$7_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$7_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$7_spellname|max};)[@{selected|repeating_spell-cantrip_$8_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$8_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$8_spellname|max};)[@{selected|repeating_spell-cantrip_$9_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$9_spell" style="display:none; display: block@{selected|repeating_spell-cantrip_$9_spellname|max};)[-- Level 1 Spells --](" style="display:none; display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$0_spellname} ](~@{selected|character_name}|repeating_spell-1_$0_spell" style="display:none; display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$1_spellname} ](~@{selected|character_name}|repeating_spell-1_$1_spell" style="display:none; display: block@{selected|repeating_spell-1_$1_spellname|max};)[@{selected|repeating_spell-1_$2_spellname} ](~@{selected|character_name}|repeating_spell-1_$2_spell" style="display:none; display: block@{selected|repeating_spell-1_$2_spellname|max};)[@{selected|repeating_spell-1_$3_spellname} ](~@{selected|character_name}|repeating_spell-1_$3_spell" style="display:none; display: block@{selected|repeating_spell-1_$3_spellname|max};)[@{selected|repeating_spell-1_$4_spellname} ](~@{selected|character_name}|repeating_spell-1_$4_spell" style="display:none; display: block@{selected|repeating_spell-1_$4_spellname|max};)[@{selected|repeating_spell-1_$5_spellname} ](~@{selected|character_name}|repeating_spell-1_$5_spell" style="display:none; display: block@{selected|repeating_spell-1_$5_spellname|max};)[@{selected|repeating_spell-1_$6_spellname} ](~@{selected|character_name}|repeating_spell-1_$6_spell" style="display:none; display: block@{selected|repeating_spell-1_$6_spellname|max};)[@{selected|repeating_spell-1_$7_spellname} ](~@{selected|character_name}|repeating_spell-1_$7_spell" style="display:none; display: block@{selected|repeating_spell-1_$7_spellname|max};)[@{selected|repeating_spell-1_$8_spellname} ](~@{selected|character_name}|repeating_spell-1_$8_spell" style="display:none; display: block@{selected|repeating_spell-1_$8_spellname|max};)[@{selected|repeating_spell-1_$9_spellname} ](~@{selected|character_name}|repeating_spell-1_$9_spell" style="display:none; display: block@{selected|repeating_spell-1_$9_spellname|max};)[-- Level 2 Spells --](" style="display:none; display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$0_spellname} ](~@{selected|character_name}|repeating_spell-2_$0_spell" style="display:none; display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$1_spellname} ](~@{selected|character_name}|repeating_spell-2_$1_spell" style="display:none; display: block@{selected|repeating_spell-2_$1_spellname|max};)[@{selected|repeating_spell-2_$2_spellname} ](~@{selected|character_name}|repeating_spell-2_$2_spell" style="display:none; display: block@{selected|repeating_spell-2_$2_spellname|max};)[@{selected|repeating_spell-2_$3_spellname} ](~@{selected|character_name}|repeating_spell-2_$3_spell" style="display:none; display: block@{selected|repeating_spell-2_$3_spellname|max};)[@{selected|repeating_spell-2_$4_spellname} ](~@{selected|character_name}|repeating_spell-2_$4_spell" style="display:none; display: block@{selected|repeating_spell-2_$4_spellname|max};)[@{selected|repeating_spell-2_$5_spellname} ](~@{selected|character_name}|repeating_spell-2_$5_spell" style="display:none; display: block@{selected|repeating_spell-2_$5_spellname|max};)[@{selected|repeating_spell-2_$6_spellname} ](~@{selected|character_name}|repeating_spell-2_$6_spell" style="display:none; display: block@{selected|repeating_spell-2_$6_spellname|max};)[@{selected|repeating_spell-2_$7_spellname} ](~@{selected|character_name}|repeating_spell-2_$7_spell" style="display:none; display: block@{selected|repeating_spell-2_$7_spellname|max};)[@{selected|repeating_spell-2_$8_spellname} ](~@{selected|character_name}|repeating_spell-2_$8_spell" style="display:none; display: block@{selected|repeating_spell-2_$8_spellname|max};)[@{selected|repeating_spell-2_$9_spellname} ](~@{selected|character_name}|repeating_spell-2_$9_spell" style="display:none; display: block@{selected|repeating_spell-2_$9_spellname|max};)[-- Level 3 Spells --](" style="display:none; display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$0_spellname} ](~@{selected|character_name}|repeating_spell-3_$0_spell" style="display:none; display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$1_spellname} ](~@{selected|character_name}|repeating_spell-3_$1_spell" style="display:none; display: block@{selected|repeating_spell-3_$1_spellname|max};)[@{selected|repeating_spell-3_$2_spellname} ](~@{selected|character_name}|repeating_spell-3_$2_spell" style="display:none; display: block@{selected|repeating_spell-3_$2_spellname|max};)[@{selected|repeating_spell-3_$3_spellname} ](~@{selected|character_name}|repeating_spell-3_$3_spell" style="display:none; display: block@{selected|repeating_spell-3_$3_spellname|max};)[@{selected|repeating_spell-3_$4_spellname} ](~@{selected|character_name}|repeating_spell-3_$4_spell" style="display:none; display: block@{selected|repeating_spell-3_$4_spellname|max};)[@{selected|repeating_spell-3_$5_spellname} ](~@{selected|character_name}|repeating_spell-3_$5_spell" style="display:none; display: block@{selected|repeating_spell-3_$5_spellname|max};)[@{selected|repeating_spell-3_$6_spellname} ](~@{selected|character_name}|repeating_spell-3_$6_spell" style="display:none; display: block@{selected|repeating_spell-3_$6_spellname|max};)[@{selected|repeating_spell-3_$7_spellname} ](~@{selected|character_name}|repeating_spell-3_$7_spell" style="display:none; display: block@{selected|repeating_spell-3_$7_spellname|max};)[@{selected|repeating_spell-3_$8_spellname} ](~@{selected|character_name}|repeating_spell-3_$8_spell" style="display:none; display: block@{selected|repeating_spell-3_$8_spellname|max};)[@{selected|repeating_spell-3_$9_spellname} ](~@{selected|character_name}|repeating_spell-3_$9_spell" style="display:none; display: block@{selected|repeating_spell-3_$9_spellname|max};)[-- Level 4 Spells --](" style="display:none; display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$0_spellname} ](~@{selected|character_name}|repeating_spell-4_$0_spell" style="display:none; display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$1_spellname} ](~@{selected|character_name}|repeating_spell-4_$1_spell" style="display:none; display: block@{selected|repeating_spell-4_$1_spellname|max};)[@{selected|repeating_spell-4_$2_spellname} ](~@{selected|character_name}|repeating_spell-4_$2_spell" style="display:none; display: block@{selected|repeating_spell-4_$2_spellname|max};)[@{selected|repeating_spell-4_$3_spellname} ](~@{selected|character_name}|repeating_spell-4_$3_spell" style="display:none; display: block@{selected|repeating_spell-4_$3_spellname|max};)[@{selected|repeating_spell-4_$4_spellname} ](~@{selected|character_name}|repeating_spell-4_$4_spell" style="display:none; display: block@{selected|repeating_spell-4_$4_spellname|max};)[@{selected|repeating_spell-4_$5_spellname} ](~@{selected|character_name}|repeating_spell-4_$5_spell" style="display:none; display: block@{selected|repeating_spell-4_$5_spellname|max};)[@{selected|repeating_spell-4_$6_spellname} ](~@{selected|character_name}|repeating_spell-4_$6_spell" style="display:none; display: block@{selected|repeating_spell-4_$6_spellname|max};)[@{selected|repeating_spell-4_$7_spellname} ](~@{selected|character_name}|repeating_spell-4_$7_spell" style="display:none; display: block@{selected|repeating_spell-4_$7_spellname|max};)[@{selected|repeating_spell-4_$8_spellname} ](~@{selected|character_name}|repeating_spell-4_$8_spell" style="display:none; display: block@{selected|repeating_spell-4_$8_spellname|max};)[@{selected|repeating_spell-4_$9_spellname} ](~@{selected|character_name}|repeating_spell-4_$9_spell" style="display:none; display: block@{selected|repeating_spell-4_$9_spellname|max};)[-- Level 5 Spells --](" style="display:none; display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$0_spellname} ](~@{selected|character_name}|repeating_spell-5_$0_spell" style="display:none; display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$1_spellname} ](~@{selected|character_name}|repeating_spell-5_$1_spell" style="display:none; display: block@{selected|repeating_spell-5_$1_spellname|max};)[@{selected|repeating_spell-5_$2_spellname} ](~@{selected|character_name}|repeating_spell-5_$2_spell" style="display:none; display: block@{selected|repeating_spell-5_$2_spellname|max};)[@{selected|repeating_spell-5_$3_spellname} ](~@{selected|character_name}|repeating_spell-5_$3_spell" style="display:none; display: block@{selected|repeating_spell-5_$3_spellname|max};)[@{selected|repeating_spell-5_$4_spellname} ](~@{selected|character_name}|repeating_spell-5_$4_spell" style="display:none; display: block@{selected|repeating_spell-5_$4_spellname|max};)[@{selected|repeating_spell-5_$5_spellname} ](~@{selected|character_name}|repeating_spell-5_$5_spell" style="display:none; display: block@{selected|repeating_spell-5_$5_spellname|max};)[@{selected|repeating_spell-5_$6_spellname} ](~@{selected|character_name}|repeating_spell-5_$6_spell" style="display:none; display: block@{selected|repeating_spell-5_$6_spellname|max};)[@{selected|repeating_spell-5_$7_spellname} ](~@{selected|character_name}|repeating_spell-5_$7_spell" style="display:none; display: block@{selected|repeating_spell-5_$7_spellname|max};)[@{selected|repeating_spell-5_$8_spellname} ](~@{selected|character_name}|repeating_spell-5_$8_spell" style="display:none; display: block@{selected|repeating_spell-5_$8_spellname|max};)[@{selected|repeating_spell-5_$9_spellname} ](~@{selected|character_name}|repeating_spell-5_$9_spell" style="display:none; display: block@{selected|repeating_spell-5_$9_spellname|max};)[-- Level 6 Spells --](" style="display:none; display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$0_spellname} ](~@{selected|character_name}|repeating_spell-6_$0_spell" style="display:none; display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$1_spellname} ](~@{selected|character_name}|repeating_spell-6_$1_spell" style="display:none; display: block@{selected|repeating_spell-6_$1_spellname|max};)[@{selected|repeating_spell-6_$2_spellname} ](~@{selected|character_name}|repeating_spell-6_$2_spell" style="display:none; display: block@{selected|repeating_spell-6_$2_spellname|max};)[@{selected|repeating_spell-6_$3_spellname} ](~@{selected|character_name}|repeating_spell-6_$3_spell" style="display:none; display: block@{selected|repeating_spell-6_$3_spellname|max};)[@{selected|repeating_spell-6_$4_spellname} ](~@{selected|character_name}|repeating_spell-6_$4_spell" style="display:none; display: block@{selected|repeating_spell-6_$4_spellname|max};)[@{selected|repeating_spell-6_$5_spellname} ](~@{selected|character_name}|repeating_spell-6_$5_spell" style="display:none; display: block@{selected|repeating_spell-6_$5_spellname|max};)[@{selected|repeating_spell-6_$6_spellname} ](~@{selected|character_name}|repeating_spell-6_$6_spell" style="display:none; display: block@{selected|repeating_spell-6_$6_spellname|max};)[@{selected|repeating_spell-6_$7_spellname} ](~@{selected|character_name}|repeating_spell-6_$7_spell" style="display:none; display: block@{selected|repeating_spell-6_$7_spellname|max};)[@{selected|repeating_spell-6_$8_spellname} ](~@{selected|character_name}|repeating_spell-6_$8_spell" style="display:none; display: block@{selected|repeating_spell-6_$8_spellname|max};)[@{selected|repeating_spell-6_$9_spellname} ](~@{selected|character_name}|repeating_spell-6_$9_spell" style="display:none; display: block@{selected|repeating_spell-6_$9_spellname|max};)[-- Level 7 Spells --](" style="display:none; display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$0_spellname} ](~@{selected|character_name}|repeating_spell-7_$0_spell" style="display:none; display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$1_spellname} ](~@{selected|character_name}|repeating_spell-7_$1_spell" style="display:none; display: block@{selected|repeating_spell-7_$1_spellname|max};)[@{selected|repeating_spell-7_$2_spellname} ](~@{selected|character_name}|repeating_spell-7_$2_spell" style="display:none; display: block@{selected|repeating_spell-7_$2_spellname|max};)[@{selected|repeating_spell-7_$3_spellname} ](~@{selected|character_name}|repeating_spell-7_$3_spell" style="display:none; display: block@{selected|repeating_spell-7_$3_spellname|max};)[@{selected|repeating_spell-7_$4_spellname} ](~@{selected|character_name}|repeating_spell-7_$4_spell" style="display:none; display: block@{selected|repeating_spell-7_$4_spellname|max};)[@{selected|repeating_spell-7_$5_spellname} ](~@{selected|character_name}|repeating_spell-7_$5_spell" style="display:none; display: block@{selected|repeating_spell-7_$5_spellname|max};)[@{selected|repeating_spell-7_$6_spellname} ](~@{selected|character_name}|repeating_spell-7_$6_spell" style="display:none; display: block@{selected|repeating_spell-7_$6_spellname|max};)[@{selected|repeating_spell-7_$7_spellname} ](~@{selected|character_name}|repeating_spell-7_$7_spell" style="display:none; display: block@{selected|repeating_spell-7_$7_spellname|max};)[@{selected|repeating_spell-7_$8_spellname} ](~@{selected|character_name}|repeating_spell-7_$8_spell" style="display:none; display: block@{selected|repeating_spell-7_$8_spellname|max};)[@{selected|repeating_spell-7_$9_spellname} ](~@{selected|character_name}|repeating_spell-7_$9_spell" style="display:none; display: block@{selected|repeating_spell-7_$9_spellname|max};)[-- Level 8 Spells --](" style="display:none; display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$0_spellname} ](~@{selected|character_name}|repeating_spell-8_$0_spell" style="display:none; display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$1_spellname} ](~@{selected|character_name}|repeating_spell-8_$1_spell" style="display:none; display: block@{selected|repeating_spell-8_$1_spellname|max};)[@{selected|repeating_spell-8_$2_spellname} ](~@{selected|character_name}|repeating_spell-8_$2_spell" style="display:none; display: block@{selected|repeating_spell-8_$2_spellname|max};)[@{selected|repeating_spell-8_$3_spellname} ](~@{selected|character_name}|repeating_spell-8_$3_spell" style="display:none; display: block@{selected|repeating_spell-8_$3_spellname|max};)[@{selected|repeating_spell-8_$4_spellname} ](~@{selected|character_name}|repeating_spell-8_$4_spell" style="display:none; display: block@{selected|repeating_spell-8_$4_spellname|max};)[@{selected|repeating_spell-8_$5_spellname} ](~@{selected|character_name}|repeating_spell-8_$5_spell" style="display:none; display: block@{selected|repeating_spell-8_$5_spellname|max};)[@{selected|repeating_spell-8_$6_spellname} ](~@{selected|character_name}|repeating_spell-8_$6_spell" style="display:none; display: block@{selected|repeating_spell-8_$6_spellname|max};)[@{selected|repeating_spell-8_$7_spellname} ](~@{selected|character_name}|repeating_spell-8_$7_spell" style="display:none; display: block@{selected|repeating_spell-8_$7_spellname|max};)[@{selected|repeating_spell-8_$8_spellname} ](~@{selected|character_name}|repeating_spell-8_$8_spell" style="display:none; display: block@{selected|repeating_spell-8_$8_spellname|max};)[@{selected|repeating_spell-8_$9_spellname} ](~@{selected|character_name}|repeating_spell-8_$9_spell" style="display:none; display: block@{selected|repeating_spell-8_$9_spellname|max};)[-- Level 9 Spells --](" style="display:none; display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$0_spellname} ](~@{selected|character_name}|repeating_spell-9_$0_spell" style="display:none; display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$1_spellname} ](~@{selected|character_name}|repeating_spell-9_$1_spell" style="display:none; display: block@{selected|repeating_spell-9_$1_spellname|max};)[@{selected|repeating_spell-9_$2_spellname} ](~@{selected|character_name}|repeating_spell-9_$2_spell" style="display:none; display: block@{selected|repeating_spell-9_$2_spellname|max};)[@{selected|repeating_spell-9_$3_spellname} ](~@{selected|character_name}|repeating_spell-9_$3_spell" style="display:none; display: block@{selected|repeating_spell-9_$3_spellname|max};)[@{selected|repeating_spell-9_$4_spellname} ](~@{selected|character_name}|repeating_spell-9_$4_spell" style="display:none; display: block@{selected|repeating_spell-9_$4_spellname|max};)[@{selected|repeating_spell-9_$5_spellname} ](~@{selected|character_name}|repeating_spell-9_$5_spell" style="display:none; display: block@{selected|repeating_spell-9_$5_spellname|max};)[@{selected|repeating_spell-9_$6_spellname} ](~@{selected|character_name}|repeating_spell-9_$6_spell" style="display:none; display: block@{selected|repeating_spell-9_$6_spellname|max};)[@{selected|repeating_spell-9_$7_spellname} ](~@{selected|character_name}|repeating_spell-9_$7_spell" style="display:none; display: block@{selected|repeating_spell-9_$7_spellname|max};)[@{selected|repeating_spell-9_$8_spellname} ](~@{selected|character_name}|repeating_spell-9_$8_spell" style="display:none; display: block@{selected|repeating_spell-9_$8_spellname|max};)[@{selected|repeating_spell-9_$9_spellname} ](~@{selected|character_name}|repeating_spell-9_$9_spell" style="display:none; display: block@{selected|repeating_spell-9_$9_spellname|max};)}} {{name=Spellbook}} &{noerror}
1617858516
Universal macros  with styling Universal macro for all NPC Actions, Traits, Reactions, and Legendary Actions, with style modifications. /w gm &{template:npcaction} {{rname=@{selected|token_name}}} {{name=Abilities}} {{description=[-- Actions --](" style="color: #7e2d40; font-weight: bold; text-decoration: none; background: none; background-color: transparent; border: none; padding: 0px; white-space: pre; display:none; display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$0_name} ](~@{selected|character_name}|repeating_npcaction_$0_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$1_name} ](~@{selected|character_name}|repeating_npcaction_$1_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$1_name|max};)[@{selected|repeating_npcaction_$2_name} ](~@{selected|character_name}|repeating_npcaction_$2_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$2_name|max};)[@{selected|repeating_npcaction_$3_name} ](~@{selected|character_name}|repeating_npcaction_$3_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$3_name|max};)[@{selected|repeating_npcaction_$4_name} ](~@{selected|character_name}|repeating_npcaction_$4_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$4_name|max};)[@{selected|repeating_npcaction_$5_name} ](~@{selected|character_name}|repeating_npcaction_$5_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$5_name|max};)[@{selected|repeating_npcaction_$6_name} ](~@{selected|character_name}|repeating_npcaction_$6_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$6_name|max};)[@{selected|repeating_npcaction_$7_name} ](~@{selected|character_name}|repeating_npcaction_$7_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$7_name|max};)[@{selected|repeating_npcaction_$8_name} ](~@{selected|character_name}|repeating_npcaction_$8_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$8_name|max};)[@{selected|repeating_npcaction_$9_name} ](~@{selected|character_name}|repeating_npcaction_$9_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: red; text-decoration: none; display:none; display: block@{selected|repeating_npcaction_$9_name|max};)[-- Traits --](" style="color: #7e2d40; font-weight: bold; text-decoration: none; background: none; background-color: transparent; border: none; padding: 0px; white-space: pre; display:none; display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$0_name} ](~@{selected|character_name}|repeating_npctrait_$0_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$1_name} ](~@{selected|character_name}|repeating_npctrait_$1_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$1_name|max};)[@{selected|repeating_npctrait_$2_name} ](~@{selected|character_name}|repeating_npctrait_$2_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$2_name|max};)[@{selected|repeating_npctrait_$3_name} ](~@{selected|character_name}|repeating_npctrait_$3_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$3_name|max};)[@{selected|repeating_npctrait_$4_name} ](~@{selected|character_name}|repeating_npctrait_$4_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$4_name|max};)[@{selected|repeating_npctrait_$5_name} ](~@{selected|character_name}|repeating_npctrait_$5_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$5_name|max};)[@{selected|repeating_npctrait_$6_name} ](~@{selected|character_name}|repeating_npctrait_$6_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$6_name|max};)[@{selected|repeating_npctrait_$7_name} ](~@{selected|character_name}|repeating_npctrait_$7_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$7_name|max};)[@{selected|repeating_npctrait_$8_name} ](~@{selected|character_name}|repeating_npctrait_$8_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$8_name|max};)[@{selected|repeating_npctrait_$9_name} ](~@{selected|character_name}|repeating_npctrait_$9_npc_roll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: blue; text-decoration: none; display:none; display: block@{selected|repeating_npctrait_$9_name|max};)[-- Reactions --](" style="color: #7e2d40; font-weight: bold; text-decoration: none; background: none; background-color: transparent; border: none; padding: 0px; white-space: pre; display:none; display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$0_name} ](~@{selected|character_name}|repeating_npcreaction_$0_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$1_name} ](~@{selected|character_name}|repeating_npcreaction_$1_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$1_name|max};)[@{selected|repeating_npcreaction_$2_name} ](~@{selected|character_name}|repeating_npcreaction_$2_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$2_name|max};)[@{selected|repeating_npcreaction_$3_name} ](~@{selected|character_name}|repeating_npcreaction_$3_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$3_name|max};)[@{selected|repeating_npcreaction_$4_name} ](~@{selected|character_name}|repeating_npcreaction_$4_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$4_name|max};)[@{selected|repeating_npcreaction_$5_name} ](~@{selected|character_name}|repeating_npcreaction_$5_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$5_name|max};)[@{selected|repeating_npcreaction_$6_name} ](~@{selected|character_name}|repeating_npcreaction_$6_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$6_name|max};)[@{selected|repeating_npcreaction_$7_name} ](~@{selected|character_name}|repeating_npcreaction_$7_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$7_name|max};)[@{selected|repeating_npcreaction_$8_name} ](~@{selected|character_name}|repeating_npcreaction_$8_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$8_name|max};)[@{selected|repeating_npcreaction_$9_name} ](~@{selected|character_name}|repeating_npcreaction_$9_oll_output" style="background: none; background-color: transparent; border: none; padding: 0px; color: green; text-decoration: none; display:none; display: block@{selected|repeating_npcreaction_$9_name|max};)[-- Legendary Actions --](" style="color: #7e2d40; font-weight: bold; text-decoration: none; background: none; background-color: transparent; border: none; padding: 0px; white-space: pre; display:none; display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$0_name} ](~@{selected|character_name}|repeating_npcaction-l_$0_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$1_name} ](~@{selected|character_name}|repeating_npcaction-l_$1_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$1_name|max};)[@{selected|repeating_npcaction-l_$2_name} ](~@{selected|character_name}|repeating_npcaction-l_$2_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$2_name|max};)[@{selected|repeating_npcaction-l_$3_name} ](~@{selected|character_name}|repeating_npcaction-l_$3_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$3_name|max};)[@{selected|repeating_npcaction-l_$4_name} ](~@{selected|character_name}|repeating_npcaction-l_$4_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$4_name|max};)[@{selected|repeating_npcaction-l_$5_name} ](~@{selected|character_name}|repeating_npcaction-l_$5_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$5_name|max};)[@{selected|repeating_npcaction-l_$6_name} ](~@{selected|character_name}|repeating_npcaction-l_$6_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$6_name|max};)[@{selected|repeating_npcaction-l_$7_name} ](~@{selected|character_name}|repeating_npcaction-l_$7_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$7_name|max};)[@{selected|repeating_npcaction-l_$8_name} ](~@{selected|character_name}|repeating_npcaction-l_$8_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$8_name|max};)[@{selected|repeating_npcaction-l_$9_name} ](~@{selected|character_name}|repeating_npcaction-l_$9_npc_action" style="background: none; background-color: transparent; border: none; padding: 0px; color: orange; text-decoration: none; display:none; display: block@{selected|repeating_npcaction-l_$9_name|max};)}}&{noerror} Universal macro for all  NPC Spells, with style modifications /w gm &{template:npcaction} {{rname=@{selected|character_name}}} {{description=[-- Cantrips --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$0_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$1_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$1_spellname|max};)[@{selected|repeating_spell-cantrip_$2_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$2_spellname|max};)[@{selected|repeating_spell-cantrip_$3_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$3_spellname|max};)[@{selected|repeating_spell-cantrip_$4_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$4_spellname|max};)[@{selected|repeating_spell-cantrip_$5_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$5_spellname|max};)[@{selected|repeating_spell-cantrip_$6_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$6_spellname|max};)[@{selected|repeating_spell-cantrip_$7_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$7_spellname|max};)[@{selected|repeating_spell-cantrip_$8_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$8_spellname|max};)[@{selected|repeating_spell-cantrip_$9_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-cantrip_$9_spellname|max};)[-- Level 1 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$0_spellname} ](~@{selected|character_name}|repeating_spell-1_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$1_spellname} ](~@{selected|character_name}|repeating_spell-1_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$1_spellname|max};)[@{selected|repeating_spell-1_$2_spellname} ](~@{selected|character_name}|repeating_spell-1_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$2_spellname|max};)[@{selected|repeating_spell-1_$3_spellname} ](~@{selected|character_name}|repeating_spell-1_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$3_spellname|max};)[@{selected|repeating_spell-1_$4_spellname} ](~@{selected|character_name}|repeating_spell-1_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$4_spellname|max};)[@{selected|repeating_spell-1_$5_spellname} ](~@{selected|character_name}|repeating_spell-1_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$5_spellname|max};)[@{selected|repeating_spell-1_$6_spellname} ](~@{selected|character_name}|repeating_spell-1_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$6_spellname|max};)[@{selected|repeating_spell-1_$7_spellname} ](~@{selected|character_name}|repeating_spell-1_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$7_spellname|max};)[@{selected|repeating_spell-1_$8_spellname} ](~@{selected|character_name}|repeating_spell-1_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$8_spellname|max};)[@{selected|repeating_spell-1_$9_spellname} ](~@{selected|character_name}|repeating_spell-1_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-1_$9_spellname|max};)[-- Level 2 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$0_spellname} ](~@{selected|character_name}|repeating_spell-2_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$1_spellname} ](~@{selected|character_name}|repeating_spell-2_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$1_spellname|max};)[@{selected|repeating_spell-2_$2_spellname} ](~@{selected|character_name}|repeating_spell-2_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$2_spellname|max};)[@{selected|repeating_spell-2_$3_spellname} ](~@{selected|character_name}|repeating_spell-2_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$3_spellname|max};)[@{selected|repeating_spell-2_$4_spellname} ](~@{selected|character_name}|repeating_spell-2_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$4_spellname|max};)[@{selected|repeating_spell-2_$5_spellname} ](~@{selected|character_name}|repeating_spell-2_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$5_spellname|max};)[@{selected|repeating_spell-2_$6_spellname} ](~@{selected|character_name}|repeating_spell-2_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$6_spellname|max};)[@{selected|repeating_spell-2_$7_spellname} ](~@{selected|character_name}|repeating_spell-2_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$7_spellname|max};)[@{selected|repeating_spell-2_$8_spellname} ](~@{selected|character_name}|repeating_spell-2_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$8_spellname|max};)[@{selected|repeating_spell-2_$9_spellname} ](~@{selected|character_name}|repeating_spell-2_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-2_$9_spellname|max};)[-- Level 3 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$0_spellname} ](~@{selected|character_name}|repeating_spell-3_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$1_spellname} ](~@{selected|character_name}|repeating_spell-3_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$1_spellname|max};)[@{selected|repeating_spell-3_$2_spellname} ](~@{selected|character_name}|repeating_spell-3_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$2_spellname|max};)[@{selected|repeating_spell-3_$3_spellname} ](~@{selected|character_name}|repeating_spell-3_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$3_spellname|max};)[@{selected|repeating_spell-3_$4_spellname} ](~@{selected|character_name}|repeating_spell-3_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$4_spellname|max};)[@{selected|repeating_spell-3_$5_spellname} ](~@{selected|character_name}|repeating_spell-3_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$5_spellname|max};)[@{selected|repeating_spell-3_$6_spellname} ](~@{selected|character_name}|repeating_spell-3_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$6_spellname|max};)[@{selected|repeating_spell-3_$7_spellname} ](~@{selected|character_name}|repeating_spell-3_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$7_spellname|max};)[@{selected|repeating_spell-3_$8_spellname} ](~@{selected|character_name}|repeating_spell-3_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$8_spellname|max};)[@{selected|repeating_spell-3_$9_spellname} ](~@{selected|character_name}|repeating_spell-3_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-3_$9_spellname|max};)[-- Level 4 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$0_spellname} ](~@{selected|character_name}|repeating_spell-4_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$1_spellname} ](~@{selected|character_name}|repeating_spell-4_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$1_spellname|max};)[@{selected|repeating_spell-4_$2_spellname} ](~@{selected|character_name}|repeating_spell-4_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$2_spellname|max};)[@{selected|repeating_spell-4_$3_spellname} ](~@{selected|character_name}|repeating_spell-4_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$3_spellname|max};)[@{selected|repeating_spell-4_$4_spellname} ](~@{selected|character_name}|repeating_spell-4_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$4_spellname|max};)[@{selected|repeating_spell-4_$5_spellname} ](~@{selected|character_name}|repeating_spell-4_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$5_spellname|max};)[@{selected|repeating_spell-4_$6_spellname} ](~@{selected|character_name}|repeating_spell-4_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$6_spellname|max};)[@{selected|repeating_spell-4_$7_spellname} ](~@{selected|character_name}|repeating_spell-4_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$7_spellname|max};)[@{selected|repeating_spell-4_$8_spellname} ](~@{selected|character_name}|repeating_spell-4_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$8_spellname|max};)[@{selected|repeating_spell-4_$9_spellname} ](~@{selected|character_name}|repeating_spell-4_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-4_$9_spellname|max};)[-- Level 5 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$0_spellname} ](~@{selected|character_name}|repeating_spell-5_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$1_spellname} ](~@{selected|character_name}|repeating_spell-5_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$1_spellname|max};)[@{selected|repeating_spell-5_$2_spellname} ](~@{selected|character_name}|repeating_spell-5_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$2_spellname|max};)[@{selected|repeating_spell-5_$3_spellname} ](~@{selected|character_name}|repeating_spell-5_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$3_spellname|max};)[@{selected|repeating_spell-5_$4_spellname} ](~@{selected|character_name}|repeating_spell-5_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$4_spellname|max};)[@{selected|repeating_spell-5_$5_spellname} ](~@{selected|character_name}|repeating_spell-5_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$5_spellname|max};)[@{selected|repeating_spell-5_$6_spellname} ](~@{selected|character_name}|repeating_spell-5_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$6_spellname|max};)[@{selected|repeating_spell-5_$7_spellname} ](~@{selected|character_name}|repeating_spell-5_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$7_spellname|max};)[@{selected|repeating_spell-5_$8_spellname} ](~@{selected|character_name}|repeating_spell-5_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$8_spellname|max};)[@{selected|repeating_spell-5_$9_spellname} ](~@{selected|character_name}|repeating_spell-5_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-5_$9_spellname|max};)[-- Level 6 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$0_spellname} ](~@{selected|character_name}|repeating_spell-6_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$1_spellname} ](~@{selected|character_name}|repeating_spell-6_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$1_spellname|max};)[@{selected|repeating_spell-6_$2_spellname} ](~@{selected|character_name}|repeating_spell-6_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$2_spellname|max};)[@{selected|repeating_spell-6_$3_spellname} ](~@{selected|character_name}|repeating_spell-6_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$3_spellname|max};)[@{selected|repeating_spell-6_$4_spellname} ](~@{selected|character_name}|repeating_spell-6_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$4_spellname|max};)[@{selected|repeating_spell-6_$5_spellname} ](~@{selected|character_name}|repeating_spell-6_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$5_spellname|max};)[@{selected|repeating_spell-6_$6_spellname} ](~@{selected|character_name}|repeating_spell-6_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$6_spellname|max};)[@{selected|repeating_spell-6_$7_spellname} ](~@{selected|character_name}|repeating_spell-6_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$7_spellname|max};)[@{selected|repeating_spell-6_$8_spellname} ](~@{selected|character_name}|repeating_spell-6_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$8_spellname|max};)[@{selected|repeating_spell-6_$9_spellname} ](~@{selected|character_name}|repeating_spell-6_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-6_$9_spellname|max};)[-- Level 7 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$0_spellname} ](~@{selected|character_name}|repeating_spell-7_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$1_spellname} ](~@{selected|character_name}|repeating_spell-7_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$1_spellname|max};)[@{selected|repeating_spell-7_$2_spellname} ](~@{selected|character_name}|repeating_spell-7_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$2_spellname|max};)[@{selected|repeating_spell-7_$3_spellname} ](~@{selected|character_name}|repeating_spell-7_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$3_spellname|max};)[@{selected|repeating_spell-7_$4_spellname} ](~@{selected|character_name}|repeating_spell-7_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$4_spellname|max};)[@{selected|repeating_spell-7_$5_spellname} ](~@{selected|character_name}|repeating_spell-7_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$5_spellname|max};)[@{selected|repeating_spell-7_$6_spellname} ](~@{selected|character_name}|repeating_spell-7_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$6_spellname|max};)[@{selected|repeating_spell-7_$7_spellname} ](~@{selected|character_name}|repeating_spell-7_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$7_spellname|max};)[@{selected|repeating_spell-7_$8_spellname} ](~@{selected|character_name}|repeating_spell-7_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$8_spellname|max};)[@{selected|repeating_spell-7_$9_spellname} ](~@{selected|character_name}|repeating_spell-7_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-7_$9_spellname|max};)[-- Level 8 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$0_spellname} ](~@{selected|character_name}|repeating_spell-8_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$1_spellname} ](~@{selected|character_name}|repeating_spell-8_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$1_spellname|max};)[@{selected|repeating_spell-8_$2_spellname} ](~@{selected|character_name}|repeating_spell-8_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$2_spellname|max};)[@{selected|repeating_spell-8_$3_spellname} ](~@{selected|character_name}|repeating_spell-8_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$3_spellname|max};)[@{selected|repeating_spell-8_$4_spellname} ](~@{selected|character_name}|repeating_spell-8_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$4_spellname|max};)[@{selected|repeating_spell-8_$5_spellname} ](~@{selected|character_name}|repeating_spell-8_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$5_spellname|max};)[@{selected|repeating_spell-8_$6_spellname} ](~@{selected|character_name}|repeating_spell-8_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$6_spellname|max};)[@{selected|repeating_spell-8_$7_spellname} ](~@{selected|character_name}|repeating_spell-8_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$7_spellname|max};)[@{selected|repeating_spell-8_$8_spellname} ](~@{selected|character_name}|repeating_spell-8_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$8_spellname|max};)[@{selected|repeating_spell-8_$9_spellname} ](~@{selected|character_name}|repeating_spell-8_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-8_$9_spellname|max};)[-- Level 9 Spells --](" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: #7e2d40; font-weight: bold; display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$0_spellname} ](~@{selected|character_name}|repeating_spell-9_$0_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$1_spellname} ](~@{selected|character_name}|repeating_spell-9_$1_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$1_spellname|max};)[@{selected|repeating_spell-9_$2_spellname} ](~@{selected|character_name}|repeating_spell-9_$2_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$2_spellname|max};)[@{selected|repeating_spell-9_$3_spellname} ](~@{selected|character_name}|repeating_spell-9_$3_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$3_spellname|max};)[@{selected|repeating_spell-9_$4_spellname} ](~@{selected|character_name}|repeating_spell-9_$4_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$4_spellname|max};)[@{selected|repeating_spell-9_$5_spellname} ](~@{selected|character_name}|repeating_spell-9_$5_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$5_spellname|max};)[@{selected|repeating_spell-9_$6_spellname} ](~@{selected|character_name}|repeating_spell-9_$6_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$6_spellname|max};)[@{selected|repeating_spell-9_$7_spellname} ](~@{selected|character_name}|repeating_spell-9_$7_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$7_spellname|max};)[@{selected|repeating_spell-9_$8_spellname} ](~@{selected|character_name}|repeating_spell-9_$8_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$8_spellname|max};)[@{selected|repeating_spell-9_$9_spellname} ](~@{selected|character_name}|repeating_spell-9_$9_spell" style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; color: purple; display: block@{selected|repeating_spell-9_$9_spellname|max};)}} {{name=Spellbook}} &{noerror}
1617858527
Universal Macro setup instructions Choose to either set up collections macros or 'Macro Mule' macros Collections Macro setup instructions (option 1) Step 1:  Create a macro called 'AbilitiesMacro' with the entire NPC Abilities code in it (choose either with styling or without). Then create another macro called 'Abilities' with this: #AbilitiesMacro &{noerror} Step 2:  Create a macro called 'SpellsMacro' with the entire NPC Spells code in it ( choose either with styling or without) . Then create another macro called 'Spells' with this: #SpellsMacro &{noerror} Step 3:  Then set the 'Spells' macro and 'Abilities' macro as Token Actions or visible in the macro bar and you're all set. 'Macro Mule' Macro setup instructions (option 2) Another option is to create a character named 'NPC Macros'.  By putting the macro on the 'NPC Macros' character, you can easily move the macro to other games with the Character Vault, or the Transmogrifier (if you have a Pro subscription). Step 1:  Create an Ability called 'AbilitiesMacro' on the 'NPC Macros' character sheet  with the entire NPC Abilities code in it (choose either with styling or without). Then create another collection macro called 'Abilities' with this: %{NPC Macros|AbilitiesMacro} &{noerror} Step 2:  Create an Ability called 'SpellsMacro' on the 'NPC Macros' character sheet with the entire NPC Spells code in it (choose either with styling or without). Then create another collection macro called 'Spells' with this: %{NPC Macros|SpellsMacro} &{noerror} Step 3:  Then set the 'Spells' macro and 'Abilities' macro as Token Actions or visible in the macro bar and you're all set.
1617858538

Edited 1617858799
Advanced approach for customization of abilities - part 1: Macro Mule setup This is an advanced approach that will allow you to customize the appearance and call each section (Actions/Traits/Reactions/Legendarys/Spells) individually. It takes a bit of setup of cutting and pasting into a 'Macro Mule' character sheet, but then it's used universally for all NPCs. (The header '-- Actions --' can be clicked on to display only the Actions section; or the Actions section can be called individually from a macro) NPC Abilities & Spells macro setup instructions (option 3 - advanced approach) Step 1:  Create a character named NPCAbilities Step 2:  Create the following 15 abilities on NPCAbilities: Template /w gm &{template:npcaction} &{noerror} {{rname=@{selected|character_name}}} {{description= Abilities %{NPCAbilities|Template}%{NPCAbilities|ActionsList}%{NPCAbilities|TraitsList}%{NPCAbilities|ReactionsList}%{NPCAbilities|LegendarysList}}} {{name=Abilities}} &{noerror} Actions %{NPCAbilities|Template}%{NPCAbilities|ActionsList}}} {{name=Actions}} &{noerror} Traits %{NPCAbilities|Template}%{NPCAbilities|TraitsList}}} {{name=Traits}} &{noerror} Reactions %{NPCAbilities|Template}%{NPCAbilities|ReactionsList}}} {{name=Reactions}} &{noerror} Legendarys %{NPCAbilities|Template}%{NPCAbilities|LegendarysList}}} {{name=Legendary Actions}} &{noerror} LinkStyle " style="background: none; background-color: transparent; border: none; padding: 0px; text-decoration: none; display:none; AbilityLinkStyle %{NPCAbilities|LinkStyle}color: #7e2d40; font-weight: bold; ActionLinkStyle %{NPCAbilities|LinkStyle}color: red; TraitLinkStyle %{NPCAbilities|LinkStyle}color: blue; ReactionLinkStyle %{NPCAbilities|LinkStyle}color: green; LegendaryLinkStyle %{NPCAbilities|LinkStyle}color: orange; ActionsList [-- Actions --](~NPCAbilities|Actions%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$0_name} ](~@{selected|character_name}|repeating_npcaction_$0_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$0_name|max};)[@{selected|repeating_npcaction_$1_name} ](~@{selected|character_name}|repeating_npcaction_$1_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$1_name|max};)[@{selected|repeating_npcaction_$2_name} ](~@{selected|character_name}|repeating_npcaction_$2_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$2_name|max};)[@{selected|repeating_npcaction_$3_name} ](~@{selected|character_name}|repeating_npcaction_$3_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$3_name|max};)[@{selected|repeating_npcaction_$4_name} ](~@{selected|character_name}|repeating_npcaction_$4_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$4_name|max};)[@{selected|repeating_npcaction_$5_name} ](~@{selected|character_name}|repeating_npcaction_$5_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$5_name|max};)[@{selected|repeating_npcaction_$6_name} ](~@{selected|character_name}|repeating_npcaction_$6_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$6_name|max};)[@{selected|repeating_npcaction_$7_name} ](~@{selected|character_name}|repeating_npcaction_$7_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$7_name|max};)[@{selected|repeating_npcaction_$8_name} ](~@{selected|character_name}|repeating_npcaction_$8_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$8_name|max};)[@{selected|repeating_npcaction_$9_name} ](~@{selected|character_name}|repeating_npcaction_$9_npc_action%{NPCAbilities|ActionLinkStyle} display: block@{selected|repeating_npcaction_$9_name|max};) TraitsList [-- Traits --](~NPCAbilities|Traits%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$0_name} ](~@{selected|character_name}|repeating_npctrait_$0_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$0_name|max};)[@{selected|repeating_npctrait_$1_name} ](~@{selected|character_name}|repeating_npctrait_$1_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$1_name|max};)[@{selected|repeating_npctrait_$2_name} ](~@{selected|character_name}|repeating_npctrait_$2_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$2_name|max};)[@{selected|repeating_npctrait_$3_name} ](~@{selected|character_name}|repeating_npctrait_$3_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$3_name|max};)[@{selected|repeating_npctrait_$4_name} ](~@{selected|character_name}|repeating_npctrait_$4_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$4_name|max};)[@{selected|repeating_npctrait_$5_name} ](~@{selected|character_name}|repeating_npctrait_$5_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$5_name|max};)[@{selected|repeating_npctrait_$6_name} ](~@{selected|character_name}|repeating_npctrait_$6_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$6_name|max};)[@{selected|repeating_npctrait_$7_name} ](~@{selected|character_name}|repeating_npctrait_$7_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$7_name|max};)[@{selected|repeating_npctrait_$8_name} ](~@{selected|character_name}|repeating_npctrait_$8_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$8_name|max};)[@{selected|repeating_npctrait_$9_name} ](~@{selected|character_name}|repeating_npctrait_$9_npc_roll_output%{NPCAbilities|TraitLinkStyle} display: block@{selected|repeating_npctrait_$9_name|max};) ReactionsList [-- Reactions --](~NPCAbilities|Reactions%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$0_name} ](~@{selected|character_name}|repeating_npcreaction_$0_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$0_name|max};)[@{selected|repeating_npcreaction_$1_name} ](~@{selected|character_name}|repeating_npcreaction_$1_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$1_name|max};)[@{selected|repeating_npcreaction_$2_name} ](~@{selected|character_name}|repeating_npcreaction_$2_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$2_name|max};)[@{selected|repeating_npcreaction_$3_name} ](~@{selected|character_name}|repeating_npcreaction_$3_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$3_name|max};)[@{selected|repeating_npcreaction_$4_name} ](~@{selected|character_name}|repeating_npcreaction_$4_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$4_name|max};)[@{selected|repeating_npcreaction_$5_name} ](~@{selected|character_name}|repeating_npcreaction_$5_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$5_name|max};)[@{selected|repeating_npcreaction_$6_name} ](~@{selected|character_name}|repeating_npcreaction_$6_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$6_name|max};)[@{selected|repeating_npcreaction_$7_name} ](~@{selected|character_name}|repeating_npcreaction_$7_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$7_name|max};)[@{selected|repeating_npcreaction_$8_name} ](~@{selected|character_name}|repeating_npcreaction_$8_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$8_name|max};)[@{selected|repeating_npcreaction_$9_name} ](~@{selected|character_name}|repeating_npcreaction_$9_oll_output%{NPCAbilities|ReactionLinkStyle}display: block@{selected|repeating_npcreaction_$9_name|max};) LegendarysList [-- Legendary Actions --](~NPCAbilities|Legendarys%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$0_name} ](~@{selected|character_name}|repeating_npcaction-l_$0_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$0_name|max};)[@{selected|repeating_npcaction-l_$1_name} ](~@{selected|character_name}|repeating_npcaction-l_$1_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$1_name|max};)[@{selected|repeating_npcaction-l_$2_name} ](~@{selected|character_name}|repeating_npcaction-l_$2_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$2_name|max};)[@{selected|repeating_npcaction-l_$3_name} ](~@{selected|character_name}|repeating_npcaction-l_$3_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$3_name|max};)[@{selected|repeating_npcaction-l_$4_name} ](~@{selected|character_name}|repeating_npcaction-l_$4_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$4_name|max};)[@{selected|repeating_npcaction-l_$5_name} ](~@{selected|character_name}|repeating_npcaction-l_$5_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$5_name|max};)[@{selected|repeating_npcaction-l_$6_name} ](~@{selected|character_name}|repeating_npcaction-l_$6_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$6_name|max};)[@{selected|repeating_npcaction-l_$7_name} ](~@{selected|character_name}|repeating_npcaction-l_$7_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$7_name|max};)[@{selected|repeating_npcaction-l_$8_name} ](~@{selected|character_name}|repeating_npcaction-l_$8_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$8_name|max};)[@{selected|repeating_npcaction-l_$9_name} ](~@{selected|character_name}|repeating_npcaction-l_$9_npc_action%{NPCAbilities|LegendaryLinkStyle}display: block@{selected|repeating_npcaction-l_$9_name|max};) Step 3:  Create the following 24 abilities on NPCAbilities: SpellsTemplate /w gm &{template:npcaction} &{noerror} {{rname=@{selected|character_name}}} {{description=%{NPCSpellsMacros|SpellDCAtk} SpellDCAtk Save **DC [[@{selected|spell_save_dc}]]** | Attack **+[[@{selected|spell_attack_bonus}]]** Spells %{NPCAbilities|SpellsTemplate}%{NPCAbilities|CantripsList}%{NPCAbilities|Lvl1List}%{NPCAbilities|Lvl2List}%{NPCAbilities|Lvl3List}%{NPCAbilities|Lvl4List}%{NPCAbilities|Lvl5List}%{NPCAbilities|Lvl6List}%{NPCAbilities|Lvl7List}%{NPCAbilities|Lvl8List}%{NPCAbilities|Lvl9List}}} {{name=Spellbook}} &{noerror} Cantrips %{NPCAbilities|SpellsTemplate}%{NPCAbilities|CantripsList}}} {{name=Cantrips}} &{noerror} Lvl1 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl1List}}} {{name=Level 1 Spells}} &{noerror} Lvl2 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl2List}}} {{name=Level 2 Spells}} &{noerror} Lvl3 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl3List}}} {{name=Level 3 Spells}} &{noerror} Lvl4 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl4List}}} {{name=Level 4 Spells}} &{noerror} Lvl5 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl5List}}} {{name=Level 5 Spells}} &{noerror} Lvl6 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl6List}}} {{name=Level 6 Spells}} &{noerror} Lvl7 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl7List}}} {{name=Level 7 Spells}} &{noerror} Lvl8 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl8List}}} {{name=Level 8 Spells}} &{noerror} Lvl9 %{NPCAbilities|SpellsTemplate}%{NPCAbilities|Lvl9List}}} {{name=Level 9 Spells}} &{noerror} SpellLinkStyle %{NPCAbilities|LinkStyle}color: purple; CantripsList [-- Cantrips --](~NPCAbilities|Cantrips%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$0_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$0_spellname|max};)[@{selected|repeating_spell-cantrip_$1_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$1_spellname|max};)[@{selected|repeating_spell-cantrip_$2_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$2_spellname|max};)[@{selected|repeating_spell-cantrip_$3_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$3_spellname|max};)[@{selected|repeating_spell-cantrip_$4_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$4_spellname|max};)[@{selected|repeating_spell-cantrip_$5_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$5_spellname|max};)[@{selected|repeating_spell-cantrip_$6_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$6_spellname|max};)[@{selected|repeating_spell-cantrip_$7_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$7_spellname|max};)[@{selected|repeating_spell-cantrip_$8_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$8_spellname|max};)[@{selected|repeating_spell-cantrip_$9_spellname} ](~@{selected|character_name}|repeating_spell-cantrip_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-cantrip_$9_spellname|max};) Lvl1List [-- Level 1 Spells --](~NPCAbilities|Lvl1%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$0_spellname} ](~@{selected|character_name}|repeating_spell-1_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$0_spellname|max};)[@{selected|repeating_spell-1_$1_spellname} ](~@{selected|character_name}|repeating_spell-1_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$1_spellname|max};)[@{selected|repeating_spell-1_$2_spellname} ](~@{selected|character_name}|repeating_spell-1_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$2_spellname|max};)[@{selected|repeating_spell-1_$3_spellname} ](~@{selected|character_name}|repeating_spell-1_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$3_spellname|max};)[@{selected|repeating_spell-1_$4_spellname} ](~@{selected|character_name}|repeating_spell-1_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$4_spellname|max};)[@{selected|repeating_spell-1_$5_spellname} ](~@{selected|character_name}|repeating_spell-1_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$5_spellname|max};)[@{selected|repeating_spell-1_$6_spellname} ](~@{selected|character_name}|repeating_spell-1_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$6_spellname|max};)[@{selected|repeating_spell-1_$7_spellname} ](~@{selected|character_name}|repeating_spell-1_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$7_spellname|max};)[@{selected|repeating_spell-1_$8_spellname} ](~@{selected|character_name}|repeating_spell-1_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$8_spellname|max};)[@{selected|repeating_spell-1_$9_spellname} ](~@{selected|character_name}|repeating_spell-1_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-1_$9_spellname|max};) Lvl2List [-- Level 2 Spells --](~NPCAbilities|Lvl2%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$0_spellname} ](~@{selected|character_name}|repeating_spell-2_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$0_spellname|max};)[@{selected|repeating_spell-2_$1_spellname} ](~@{selected|character_name}|repeating_spell-2_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$1_spellname|max};)[@{selected|repeating_spell-2_$2_spellname} ](~@{selected|character_name}|repeating_spell-2_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$2_spellname|max};)[@{selected|repeating_spell-2_$3_spellname} ](~@{selected|character_name}|repeating_spell-2_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$3_spellname|max};)[@{selected|repeating_spell-2_$4_spellname} ](~@{selected|character_name}|repeating_spell-2_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$4_spellname|max};)[@{selected|repeating_spell-2_$5_spellname} ](~@{selected|character_name}|repeating_spell-2_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$5_spellname|max};)[@{selected|repeating_spell-2_$6_spellname} ](~@{selected|character_name}|repeating_spell-2_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$6_spellname|max};)[@{selected|repeating_spell-2_$7_spellname} ](~@{selected|character_name}|repeating_spell-2_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$7_spellname|max};)[@{selected|repeating_spell-2_$8_spellname} ](~@{selected|character_name}|repeating_spell-2_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$8_spellname|max};)[@{selected|repeating_spell-2_$9_spellname} ](~@{selected|character_name}|repeating_spell-2_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-2_$9_spellname|max};) Lvl3List [-- Level 3 Spells --](~NPCAbilities|Lvl3%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$0_spellname} ](~@{selected|character_name}|repeating_spell-3_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$0_spellname|max};)[@{selected|repeating_spell-3_$1_spellname} ](~@{selected|character_name}|repeating_spell-3_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$1_spellname|max};)[@{selected|repeating_spell-3_$2_spellname} ](~@{selected|character_name}|repeating_spell-3_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$2_spellname|max};)[@{selected|repeating_spell-3_$3_spellname} ](~@{selected|character_name}|repeating_spell-3_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$3_spellname|max};)[@{selected|repeating_spell-3_$4_spellname} ](~@{selected|character_name}|repeating_spell-3_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$4_spellname|max};)[@{selected|repeating_spell-3_$5_spellname} ](~@{selected|character_name}|repeating_spell-3_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$5_spellname|max};)[@{selected|repeating_spell-3_$6_spellname} ](~@{selected|character_name}|repeating_spell-3_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$6_spellname|max};)[@{selected|repeating_spell-3_$7_spellname} ](~@{selected|character_name}|repeating_spell-3_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$7_spellname|max};)[@{selected|repeating_spell-3_$8_spellname} ](~@{selected|character_name}|repeating_spell-3_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$8_spellname|max};)[@{selected|repeating_spell-3_$9_spellname} ](~@{selected|character_name}|repeating_spell-3_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-3_$9_spellname|max};) Lvl4List [-- Level 4 Spells --](~NPCAbilities|Lvl4%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$0_spellname} ](~@{selected|character_name}|repeating_spell-4_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$0_spellname|max};)[@{selected|repeating_spell-4_$1_spellname} ](~@{selected|character_name}|repeating_spell-4_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$1_spellname|max};)[@{selected|repeating_spell-4_$2_spellname} ](~@{selected|character_name}|repeating_spell-4_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$2_spellname|max};)[@{selected|repeating_spell-4_$3_spellname} ](~@{selected|character_name}|repeating_spell-4_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$3_spellname|max};)[@{selected|repeating_spell-4_$4_spellname} ](~@{selected|character_name}|repeating_spell-4_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$4_spellname|max};)[@{selected|repeating_spell-4_$5_spellname} ](~@{selected|character_name}|repeating_spell-4_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$5_spellname|max};)[@{selected|repeating_spell-4_$6_spellname} ](~@{selected|character_name}|repeating_spell-4_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$6_spellname|max};)[@{selected|repeating_spell-4_$7_spellname} ](~@{selected|character_name}|repeating_spell-4_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$7_spellname|max};)[@{selected|repeating_spell-4_$8_spellname} ](~@{selected|character_name}|repeating_spell-4_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$8_spellname|max};)[@{selected|repeating_spell-4_$9_spellname} ](~@{selected|character_name}|repeating_spell-4_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-4_$9_spellname|max};) Lvl5List [-- Level 5 Spells --](~NPCAbilities|Lvl5%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$0_spellname} ](~@{selected|character_name}|repeating_spell-5_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$0_spellname|max};)[@{selected|repeating_spell-5_$1_spellname} ](~@{selected|character_name}|repeating_spell-5_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$1_spellname|max};)[@{selected|repeating_spell-5_$2_spellname} ](~@{selected|character_name}|repeating_spell-5_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$2_spellname|max};)[@{selected|repeating_spell-5_$3_spellname} ](~@{selected|character_name}|repeating_spell-5_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$3_spellname|max};)[@{selected|repeating_spell-5_$4_spellname} ](~@{selected|character_name}|repeating_spell-5_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$4_spellname|max};)[@{selected|repeating_spell-5_$5_spellname} ](~@{selected|character_name}|repeating_spell-5_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$5_spellname|max};)[@{selected|repeating_spell-5_$6_spellname} ](~@{selected|character_name}|repeating_spell-5_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$6_spellname|max};)[@{selected|repeating_spell-5_$7_spellname} ](~@{selected|character_name}|repeating_spell-5_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$7_spellname|max};)[@{selected|repeating_spell-5_$8_spellname} ](~@{selected|character_name}|repeating_spell-5_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$8_spellname|max};)[@{selected|repeating_spell-5_$9_spellname} ](~@{selected|character_name}|repeating_spell-5_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-5_$9_spellname|max};) Lvl6List [-- Level 6 Spells --](~NPCAbilities|Lvl6%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$0_spellname} ](~@{selected|character_name}|repeating_spell-6_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$0_spellname|max};)[@{selected|repeating_spell-6_$1_spellname} ](~@{selected|character_name}|repeating_spell-6_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$1_spellname|max};)[@{selected|repeating_spell-6_$2_spellname} ](~@{selected|character_name}|repeating_spell-6_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$2_spellname|max};)[@{selected|repeating_spell-6_$3_spellname} ](~@{selected|character_name}|repeating_spell-6_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$3_spellname|max};)[@{selected|repeating_spell-6_$4_spellname} ](~@{selected|character_name}|repeating_spell-6_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$4_spellname|max};)[@{selected|repeating_spell-6_$5_spellname} ](~@{selected|character_name}|repeating_spell-6_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$5_spellname|max};)[@{selected|repeating_spell-6_$6_spellname} ](~@{selected|character_name}|repeating_spell-6_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$6_spellname|max};)[@{selected|repeating_spell-6_$7_spellname} ](~@{selected|character_name}|repeating_spell-6_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$7_spellname|max};)[@{selected|repeating_spell-6_$8_spellname} ](~@{selected|character_name}|repeating_spell-6_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$8_spellname|max};)[@{selected|repeating_spell-6_$9_spellname} ](~@{selected|character_name}|repeating_spell-6_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-6_$9_spellname|max};) Lvl7List [-- Level 7 Spells --](~NPCAbilities|Lvl7%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$0_spellname} ](~@{selected|character_name}|repeating_spell-7_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$0_spellname|max};)[@{selected|repeating_spell-7_$1_spellname} ](~@{selected|character_name}|repeating_spell-7_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$1_spellname|max};)[@{selected|repeating_spell-7_$2_spellname} ](~@{selected|character_name}|repeating_spell-7_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$2_spellname|max};)[@{selected|repeating_spell-7_$3_spellname} ](~@{selected|character_name}|repeating_spell-7_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$3_spellname|max};)[@{selected|repeating_spell-7_$4_spellname} ](~@{selected|character_name}|repeating_spell-7_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$4_spellname|max};)[@{selected|repeating_spell-7_$5_spellname} ](~@{selected|character_name}|repeating_spell-7_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$5_spellname|max};)[@{selected|repeating_spell-7_$6_spellname} ](~@{selected|character_name}|repeating_spell-7_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$6_spellname|max};)[@{selected|repeating_spell-7_$7_spellname} ](~@{selected|character_name}|repeating_spell-7_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$7_spellname|max};)[@{selected|repeating_spell-7_$8_spellname} ](~@{selected|character_name}|repeating_spell-7_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$8_spellname|max};)[@{selected|repeating_spell-7_$9_spellname} ](~@{selected|character_name}|repeating_spell-7_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-7_$9_spellname|max};) Lvl8List [-- Level 8 Spells --](~NPCAbilities|Lvl8%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$0_spellname} ](~@{selected|character_name}|repeating_spell-8_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$0_spellname|max};)[@{selected|repeating_spell-8_$1_spellname} ](~@{selected|character_name}|repeating_spell-8_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$1_spellname|max};)[@{selected|repeating_spell-8_$2_spellname} ](~@{selected|character_name}|repeating_spell-8_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$2_spellname|max};)[@{selected|repeating_spell-8_$3_spellname} ](~@{selected|character_name}|repeating_spell-8_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$3_spellname|max};)[@{selected|repeating_spell-8_$4_spellname} ](~@{selected|character_name}|repeating_spell-8_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$4_spellname|max};)[@{selected|repeating_spell-8_$5_spellname} ](~@{selected|character_name}|repeating_spell-8_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$5_spellname|max};)[@{selected|repeating_spell-8_$6_spellname} ](~@{selected|character_name}|repeating_spell-8_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$6_spellname|max};)[@{selected|repeating_spell-8_$7_spellname} ](~@{selected|character_name}|repeating_spell-8_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$7_spellname|max};)[@{selected|repeating_spell-8_$8_spellname} ](~@{selected|character_name}|repeating_spell-8_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$8_spellname|max};)[@{selected|repeating_spell-8_$9_spellname} ](~@{selected|character_name}|repeating_spell-8_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-8_$9_spellname|max};) Lvl9List [-- Level 9 Spells --](~NPCAbilities|Lvl9%{NPCAbilities|AbilityLinkStyle} display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$0_spellname} ](~@{selected|character_name}|repeating_spell-9_$0_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$0_spellname|max};)[@{selected|repeating_spell-9_$1_spellname} ](~@{selected|character_name}|repeating_spell-9_$1_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$1_spellname|max};)[@{selected|repeating_spell-9_$2_spellname} ](~@{selected|character_name}|repeating_spell-9_$2_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$2_spellname|max};)[@{selected|repeating_spell-9_$3_spellname} ](~@{selected|character_name}|repeating_spell-9_$3_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$3_spellname|max};)[@{selected|repeating_spell-9_$4_spellname} ](~@{selected|character_name}|repeating_spell-9_$4_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$4_spellname|max};)[@{selected|repeating_spell-9_$5_spellname} ](~@{selected|character_name}|repeating_spell-9_$5_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$5_spellname|max};)[@{selected|repeating_spell-9_$6_spellname} ](~@{selected|character_name}|repeating_spell-9_$6_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$6_spellname|max};)[@{selected|repeating_spell-9_$7_spellname} ](~@{selected|character_name}|repeating_spell-9_$7_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$7_spellname|max};)[@{selected|repeating_spell-9_$8_spellname} ](~@{selected|character_name}|repeating_spell-9_$8_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$8_spellname|max};)[@{selected|repeating_spell-9_$9_spellname} ](~@{selected|character_name}|repeating_spell-9_$9_spell%{NPCAbilities|SpellLinkStyle} display: block@{selected|repeating_spell-9_$9_spellname|max};)
1617858548

Edited 1617858877
Advanced approach for customization of abilities - part 2: Calling the macros Step 4:  Next, decide if you want to call these macros from the Collections Tab as universal Token Actions or on the Macrobar, or from NPC character sheets. There are advantages/disadvantages to each approach: Calling from the Collections Tab:  You only need to set up 5 macros, and you are done. However, they will be visible for all NPCs (as universal Token Actions) or always on the Macrobar, so it will not be obvious which traits each NPC has. You can simplify this a bit by only using a universal 'Abilities' macro. Calling from each NPC character sheet:  You will have to duplicate the Abilities/Actions/Traits/Reactions/Legendarys abilities individually to each NPC you want to use them on, and use the 'Show as Token Action' to display when the NPC token is clicked on. This has the advantage of only displaying each type of ability that is available to that specific NPC.  Here are the 5 macros for abilities: Abilities %{NPCAbilities|Abilities} &{noerror} Actions %{NPCAbilities|Actions} &{noerror} Traits %{NPCAbilities|Traits} &{noerror} Reactions %{NPCAbilities|Reactions} &{noerror} Legendarys %{NPCAbilities|Legendarys} &{noerror} Here are the 11 macros for spells: Spells %{NPCAbilities|Spells} &{noerror} Cantrips %{NPCAbilities|Cantrips} &{noerror} Lvl1 %{NPCAbilities|Lvl1} &{noerror} Lvl2 %{NPCAbilities|Lvl2} &{noerror} Lvl3 %{NPCAbilities|Lvl3} &{noerror} Lvl4 %{NPCAbilities|Lvl4} &{noerror} Lvl5 %{NPCAbilities|Lvl5} &{noerror} Lvl6 %{NPCAbilities|Lvl6} &{noerror} Lvl7 %{NPCAbilities|Lvl7} &{noerror} Lvl8 %{NPCAbilities|Lvl8} &{noerror} Lvl9 %{NPCAbilities|Lvl9} &{noerror} Customizing the appearance You can easily adjust the appearance of the output by changing the code in any of the macros that have the word 'Style' in the name . For example, if you decide that you want Actions to be black instead of red, you simply change the ActionLinkStyle to: %{NPCAbilities|LinkStyle}color: black;
1617863183
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Bravo! That's superhuman macro weaving there!