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 .
×
Due to an outage with an external service provider, we’re experiencing intermittent loading issues on Roll20. Please refresh if needed.
Create a free account

Wild Shape Macro using Rollable Tables

I am using the following scrip which works amazingly but one thing is that all of the Wild Shapes are NPC sheets but the core Character is not. So how do I configure the token bars to doing NPC sheets for the NPCs and then the Token bar for the Character? !token-mod {{   --set     ?{Choose Form|Giant Octopus,currentside#1 represents#@{Giant Octopus|character_id} width#[[2*70]] height#[[2*70]]       |Polar Bear,currentside#2 represents#@{Polar Bear|character_id} width#[[2*70]] height#[[2*70]]       |Dire Wolf,currentside#3 represents#@{Dire Wolf|character_id} width#[[2*70]] height#[[2*70]]       |Water Elemental,currentside#4 represents#@{Water Elemental|character_id} width#[[2*70]] height#[[2*70]]       |Fire Elemental,currentside#5 represents#@{Fire Elemental|character_id} width#[[2*70]] height#[[2*70]]       |Air Elemental,currentside#6 represents#@{Air Elemental|character_id} width#[[2*70]] height#[[2*70]]       |Earth Elemental,currentside#7 represents#@{Earth Elemental|character_id} width#[[2*70]] height#[[2*70]]       |Giant Scorpion,currentside#8 represents#@{Giant Scorpion|character_id} width#[[2*70]] height#[[2*70]]       |Goldie Rogers,currentside#9 represents#@{Goldie Rogers|character_id} width#[[70]] height#[[70]]     }     bar1_link|speed      bar2_link|npc_ac     bar3_link|hp     name|"Goldie"     showname|yes }} As you can see that my main issue is Bar2_link where for an NPC the attr is npc_ac and for a 5e Character the attr is ac, so how do I pull the correct value between an npc and a character?
1669614152

Edited 1669615202
Gauss
Forum Champion
Edit each of the Wild Shape forms so that the Wild Shape form's PC sheet's AC matches the NPC sheet's AC, then switch bar 2 to AC.