Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Official [AD&D 2E Revised] Update thread

Peter B. said: gabriel b. said: is there a macro that would change a number on the character sheet?  for example, a macro that would change the number in the field  @{selected|repeating_spells-pri1_$X_spell-memorized} also, related to this.  I wrote this macro to provide a list of spells memorized, but I do not know how to make the macro ignore spells that have a value of 0 for the memorized field.  it appears that once you add a number, then later reduce that number to zero (0) it will henceforth list that spell when it should ignore it.  ideas? here is the code /w @{selected|token_name} &{template:2Edefault}{{name=@{selected|token_name}'s Spells}} {{Level 1=[@{selected|repeating_spells-wiz1_$0_spell-name} (@{selected|repeating_spells-wiz1_$0_spell-memorized}) ](~@{selected|character_name}|repeating_spells-wiz1_$0_spell-template" style="background: none; background-color: #F0FFFF; border: none; padding: 0px; text-decoration: none; color: purple; display:none; display: block@{selected|repeating_spells-wiz1_$0_spell-memorized|max}; ) [@{selected|repeating_spells-wiz1_$1_spell-name} (@{selected|repeating_spells-wiz1_$1_spell-memorized}) ](~@{selected|character_name}|repeating_spells-wiz1_$1_spell-template" style="background: none; background-color: #F0FFFF; border: none; padding: 0px; text-decoration: none; color: purple; display:none; display: block@{selected|repeating_spells-wiz1_$1_spell-memorized|max}; ) [@{selected|repeating_spells-wiz1_$2_spell-name} (@{selected|repeating_spells-wiz1_$2_spell-memorized}) ](~@{selected|character_name}|repeating_spells-wiz1_$2_spell-template" style="background: none; background-color: #F0FFFF; border: none; padding: 0px; text-decoration: none; color: purple; display:none; display: block@{selected|repeating_spells-wiz1_$2_spell-memorized|max}; )}}&{noerror}{{color=blue}} this is the output I would like: this is the output I get Neither is impossible.  You cannot change a value on a character sheet with a macro alone. You need Mods (APIs) to do that or a built in button on the sheet.  You cannot ignore a default value. Once a value is set on a character sheet it will continue to be set. If would need a custom roll template built into the sheet to be able to ignore a certain value.  I was afraid of that.  thanks for the quick reply
I am working on a macro for turning undead. It's working fine, but I can't seem to get the subtitle or color of the header to change. When I add either into the macro it comes out as text in the chat box. Any help for how to place the commands would be appreciated! &{template:2Edefault}{{name=@{selected|token_name}} {{subtitle=@{selected|level}st Level @{selected|class}} Turns the Undead}}{{Attempt Roll = [[1D20]]}}{{Skeleton = [[10]]}}{{Zombie = [[13]]}}{{Ghoul = [[16]]}}{{Shadow = [[19]]}}{{Wight = [[20]]}}{{If Successful [[2D6]] UNDEAD ARE TURNED!}}{{***Turned Undead***: Are cast out by the power and might of MAGRYND!}}{{D ~ Undead are Destroyed!}}{{D* ~ An additional [[2d4]] undead are turned}} ~Maxwell
1711043487
Peter B.
Pro
Sheet Author
Maxwell said: I am working on a macro for turning undead. It's working fine, but I can't seem to get the subtitle or color of the header to change. When I add either into the macro it comes out as text in the chat box. Any help for how to place the commands would be appreciated! &{template:2Edefault}{{name=@{selected|token_name}} {{subtitle=@{selected|level}st Level @{selected|class}} Turns the Undead}}{{Attempt Roll = [[1D20]]}}{{Skeleton = [[10]]}}{{Zombie = [[13]]}}{{Ghoul = [[16]]}}{{Shadow = [[19]]}}{{Wight = [[20]]}}{{If Successful [[2D6]] UNDEAD ARE TURNED!}}{{***Turned Undead***: Are cast out by the power and might of MAGRYND!}}{{D ~ Undead are Destroyed!}}{{D* ~ An additional [[2d4]] undead are turned}} ~Maxwell You have unmatched closing brackets. Your  @{selected|class}} has 2 closing brackets but should only have one. Also your selection for the level is wrong. You need to define which of the 5 level fields you want to use. Here is a working version of your macro assuming a priest is doing the turning: &{template:2Edefault} {{name=@{selected|token_name} }} {{subtitle=@{selected|level-class3}st Level @{selected|class3} Turns the Undead}} {{Attempt Roll = [[1D20]]}} {{Skeleton = [[10]]}} {{Zombie = [[13]]}} {{Ghoul = [[16]]}} {{Shadow = [[19]]}} {{Wight = [[20]]}} {{If Successful [[2D6]] UNDEAD ARE TURNED!}} {{***Turned Undead***: Are cast out by the power and might of MAGRYND!}} {{D ~ Undead are Destroyed!}}{{D* ~ An additional [[2d4]] undead are turned}}
Peter, Thank you,  I'm still a novice with macros and appreciate the help. Is there a way to change the header from green to red? ~Max
1711088469
Peter B.
Pro
Sheet Author
Maxwell said: Peter, Thank you,  I'm still a novice with macros and appreciate the help. Is there a way to change the header from green to red? ~Max Yes just add  {{color=red}} To The macro
When I add that to the end of the macro the words Color  Red shows up in the dialogue box, but the header color isn't changed. Does it make a difference that the DM is using the simple version of the character sheet?
1711122420
Peter B.
Pro
Sheet Author
Maxwell said: When I add that to the end of the macro the words Color  Red shows up in the dialogue box, but the header color isn't changed. Does it make a difference that the DM is using the simple version of the character sheet? Yes! The simple (blue) and The revised (red) Are completely different sheets with different attributes.  The only similarity is that the roll templates were copied from The blue to The red sheet like 5 years ago. I have since upgraded the templates with more functionality. So if you Are using The blue sheet then this is The wrong thread to be asking questions in general. I don't know if the blue sheet is still being Developed or if it has a forum thread for questions. 
Well, at least I know now... the DM chose the simple sheet, so it is what it is. I apprecite you responding to my several questions!
You may change the color of the header of the default template on the AD2E simple (blue) sheet by adding some CSS. Below is a (dirty) example of a rolltemplate styling using CSS directly into a macro. &{template:2Edefault}{{name=[@{selected|token_name}](#" style="color: white;background: #a01616;display: block;margin: -8px -6px 0px;border-top-style: solid;border-right-style: solid;border-bottom-style: transparent;border-left-style: solid;border-color: black;border-width: 1px;border-radius: 8px;padding:8px 0px 0px;text-decoration: none)}}{{subtitle=[@{selected|class} level @{selected|level}, turns the Undead](#" style="color: white;background: #a01616;display: block;margin: -7px -5px -7px;border-top-style: transparent;border-right-style: solid;border-bottom-style: solid;border-left-style: solid;border-color: black;border-width: 0px;padding: 8px 0px 4px;text-decoration: none)}}{{[0](#" hidden)=}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[1]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD**, Skeleton ......... **10** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ........... **13** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **16** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **19** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[2]]]]](#" hidden)=**[3-](#" style="visibility:hidden)1 HD**, Skeleton .......... **7** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ........... **10** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **13** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **16** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **19** [**3- 4 HD**, ](#" style="visibility:hidden)Ghast .............. **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[3]]]]](#" hidden)=**[3-](#" style="visibility:hidden)1 HD**, Skeleton .......... **4** [**3-4 HD**, ](#" style="visibility:hidden)Zombie ............ **7** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **10** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **13** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **16** [**3- 4 HD**, ](#" style="visibility:hidden)Ghast .............. **19** **[3- ](#" style="visibility:hidden)6 HD**, Wraith ............. **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[4]]]]](#" hidden)=**[- ](#" style="visibility:hidden)1 HD**, Skeleton .......... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** [**3-4 HD**, ](#" style="visibility:hidden)Zombie ............ **4** **[3 ](#" style="visibility:hidden)2 HD**, Ghoul ............... **7** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **10** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **13** [**3- 4 HD**, ](#" style="visibility:hidden)Ghast .............. **16** **[3- ](#" style="visibility:hidden)6 HD**, Wraith ............. **19** **[3- ](#" style="visibility:hidden)7 HD**, Mummy ........... **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[5]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ......... [T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** [**3-4 HD**, ](#" style="visibility:hidden)Zombie ............ **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **4** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **7** **[3-4](#" style="visibility:hidden)5 HD**, Wight ............. **10** [**3-4 HDD**, ](#" style="visibility:hidden)Ghast ............. **13** **[3-4](#" style="visibility:hidden)6 HD**, Wraith ............ **16** **[3-4](#" style="visibility:hidden)7 HD**, Mummy .......... **19** **[3-4](#" style="visibility:hidden)8 HD**, Spectre ........... **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[6]]]]](#" hidden)=**[3-](#" style="visibility:hidden)1 HD**, Skeleton .......... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3 - HD**, ](#" style="visibility:hidden)Zombie ............ **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)2 HD**, Ghoul .............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **3-4 HD**, Shadow ........... **4** **[3-](#" style="visibility:hidden)5 HD**, Wight .............. **7** [**3- 4 HD**, ](#" style="visibility:hidden)Ghast ............. **10** **[3- ](#" style="visibility:hidden)6 HD**, Wraith ............ **13** **[3- ](#" style="visibility:hidden)7 HD**, Mummy .......... **16** **[3- ](#" style="visibility:hidden)8 HD**, Spectre ........... **19** **[3- ](#" style="visibility:hidden)9 HD**, Vampire .......... **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[7]]]]](#" hidden)=**[3-](#" style="visibility:hidden)1 HD**, Skeleton ............ **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3-4 HD**, ](#" style="visibility:hidden)Zombie ............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3 ](#" style="visibility:hidden)2 HD**, Ghoul ................ **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** [ ](#" style="visibility:hidden)**3-4 HD**, Shadow ............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3 ](#" style="visibility:hidden)5 HD**, Wight ................ **4** [**3-4 HD**,](#" style="visibility:hidden)Ghast ................ **7** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **10** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **13** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **16** **[3-](#" style="visibility:hidden)9 HD**, Vampire ........... **19** **[-](#" style="visibility:hidden)10 HD**, Ghost ............... **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[8]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ........... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3-4 HD**, ](#" style="visibility:hidden)Zombie ............ **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)2 HD**, Ghoul ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [ ](#" style="visibility:hidden)**3-4 HD**, Shadow ............ **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)5 HD**, Wight ............... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast ............... **4** **[3-](#" style="visibility:hidden)6 HD**, Wraith .............. **7** **[3- ](#" style="visibility:hidden)7 HD**, Mummy .......... **10** **[3- ](#" style="visibility:hidden)8 HD**, Spectre ........... **13** **[3- ](#" style="visibility:hidden)9 HD**, Vampire .......... **16** **[- ](#" style="visibility:hidden)10 HD**, Ghost .............. **19** **+11 HD**, Lich ................. **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[9]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ........... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3-](#" style="visibility:hidden)2 HD**, Ghoul ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [ ](#" style="visibility:hidden)**3-4 HD**, Shadow ............ **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)5 HD**, Wight ............... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast .............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **4** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **7** **[3- ](#" style="visibility:hidden)8 HD**, Spectre ........... **10** **[3- ](#" style="visibility:hidden)9 HD**, Vampire .......... **13** **[- ](#" style="visibility:hidden)10 HD**, Ghost .............. **16** **+11 HD**, Lich ................. **19** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **20**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[10]]]]](#" hidden)=**[3 - ](#" style="visibility:hidden)1 HD, Skeleton ......... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3 - 4 HD**, ](#" style="visibility:hidden)Zombie ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3 - ](#" style="visibility:hidden)2 HD**, Ghoul .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast .............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **4** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **7** **[3- ](#" style="visibility:hidden)9 HD**, Vampire .......... **10** **[- ](#" style="visibility:hidden)10 HD**, Ghost .............. **13** **+11 HD**, Lich ................. **16** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **19**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[11]]]]](#" hidden)=**[3 - ](#" style="visibility:hidden)1 HD, Skeleton ......... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3 - 4 HD**, ](#" style="visibility:hidden)Zombie ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3 - ](#" style="visibility:hidden)2 HD**, Ghoul .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3- ](#" style="visibility:hidden)5 HD**, Wight .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast .............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **4** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **7** **[3- ](#" style="visibility:hidden)9 HD**, Vampire .......... **10** **[- ](#" style="visibility:hidden)10 HD**, Ghost .............. **13** **+11 HD**, Lich ................. **16** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **19**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[12]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ......... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3-](#" style="visibility:hidden)5 HD**, Wight ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **4** **[3-](#" style="visibility:hidden)9 HD**, Vampire ........... **7** **[3-](#" style="visibility:hidden)10 HD**, Ghost .............. **10** **+11 HD**, Lich ................. **13** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **16**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[13]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ......... [D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3-](#" style="visibility:hidden)5 HD**, Wight ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** [**3-4 HD**, ](#" style="visibility:hidden)Ghast .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **4** **[3-](#" style="visibility:hidden)9 HD**, Vampire ........... **7** **[3-](#" style="visibility:hidden)10 HD**, Ghost .............. **10** **+11 HD**, Lich ................. **13** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **16**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[14]]]]](#" hidden)=**[3- ](#" style="visibility:hidden)1 HD, Skeleton ......... [D](#" style="text-decoration: dashed" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3- 4 HD**, ](#" style="visibility:hidden)Zombie ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3- ](#" style="visibility:hidden)2 HD**, Ghoul .............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [-](#" style="visibility:hidden)**3-4 HD**, Shadow ........... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** **[3- ](#" style="visibility:hidden)5 HD**, Wight ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)*** [**3-4 HD**, ](#" style="visibility:hidden)Ghast ............... **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)6 HD**, Wraith ............. **[D](#" style="text-decoration: none" class="showtip" title="**Dispel**%NEWLINE%%NEWLINE%The letter "D" (for "dispel", means the turning utterly destroys the undead.)** **[3-](#" style="visibility:hidden)7 HD**, Mummy ........... **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)8 HD**, Spectre ............ **[T](#" style="text-decoration: none" class="showtip" title="**Turned**%NEWLINE%%NEWLINE%The letter "T" (for "turned", means the attempt is automatically successful without a die roll.)** **[3-](#" style="visibility:hidden)9 HD**, Vampire ........... **4** **[-](#" style="visibility:hidden)10 HD**, Ghost ............... **7** **+11 HD**, Lich ................. **10** [**3-4 HD**, ](#" style="visibility:hidden)Special ............. **13**}}{{[2](#" hidden)=By the power and might of [@{selected|kit}](#" style="color:orange;font-weight:bold;text-decoration:none;cursor:text) **[[2d6[AFFECTED UNDEAD]]] Undead are cast out**}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[8]]*3]]](#" hidden)=*: an additional [[2d4[ADDITIONAL UNDEAD]]] creatures of this type are turned}}{{[[[{(@{selected|level}+(?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0})),0}kh1>[[9]]*4]]](#" hidden)=*Special creatures* include: unique and free-willed undead certain Greater & Lesser Powers Outer Planes [creatures](#" style="color:gray;border-bottom:dashed;border-width:1px" class="showtip" title="**ADnD 2E/2.5E:**%NEWLINE%only Outer Plane undead%NEWLINE%%NEWLINE%**Sage Advice #248 p. 22:**%NEWLINE%every Outer Plane creatures)}}{{[0](#" hidden)=[ability: ?{1/1 - Turn Undead, input any modifier to the level this ability is cast at (e.g. Paladins = -2)|+0} level(s)](#" style="color:gray;border-bottom:dashed;border-width:1px;text-decoration:none" class="showtip" title="**PHB p. 137 / DMG p. 96:**%NEWLINE%Paladins turn undead as priests who are 2 levels lower.%NEWLINE%%NEWLINE%**Dragon Magazine #236 p. 15:**%NEWLINE%Heralars are able to turn undead as if they were 2 levels higher.%NEWLINE%%NEWLINE%**Faith and Avatars p. 92:**%NEWLINE%Morninglords turn undead creatures at four levels higher than their listed level if the undead is affected by direct sunlight.) **Roll:** [[d20[ROLL]]]}} It should display such result with the simple sheet: Character level -6 level 7-8 level 9+ showing hint 1 (mouse over) showing hint 2 (mouse over) showing hint 3 (mouse over) On the simple sheet, in order to obtain the result above, the following attributes must be filled: - @{name} - @{class} - @{level} - @{kit} (for Deity name)* *If the attribute @{kit} is already used in your games, you may want to create @{deity} on your sheet. Don't forget to modify the macro in such case. Feel free to modify the macro to suits your needs.
1711146830

Edited 1711148564
vÍnce
Pro
Sheet Author
Erik H. said: You may change the color of the header of the default template on the AD2E simple (blue) sheet by adding some CSS. Below is a (dirty) example of a rolltemplate styling using CSS directly into a macro. Very nice Erik! Lol I just added a turn undead macro to the 1e revised sheet(wip) last night.  I might have to "borrow" your tool tips. ;-)
1711174183
Peter B.
Pro
Sheet Author
Wow Erik H! After 3 years I still learn something new! I had No idea you could write your own Mouse over text! This brings so many new possibilities! Thank you for sharing your knowledge! 
1711193187

Edited 1711193360
Erik, Wow, Thank you - very impressive! Way above my meager and novice attempts! ~Max
1711193548

Edited 1711194857
I run a 1e AD&D game - are there any resources for a list of templates for that character sheet? Also, for the 2e Simple Sheet - is there scripting to allow a macro to target a weapon in a list? For the 1e sheet @{selected|repeating_weapon_$0 selects the first weapon listed, and changing the "1" to another number selects the next weapon on the list.
I take no credits for any tricks used in my macro, I found them all in Keith 's thread "Roll20 Tips and Tricks (Innovative Solutions to Common Problems)" available here on these forum. Tricks used in my macro: - overwriting fields template in macros (by Oosh ) - html styles in chat (by Oosh ) - tooltips for links,  roll buttons, etc... (by RainbowEncoder ) - inserting a newline in chat (by Kyle E. ) Note : despite many attempts, I couldn't find a way to color the text inside the tooltip. But whole tooltip can become a clickable link to open a handout, a character sheet or even trigger another macro. We just have to replace the # character with a link. Example: [@{selected|kit}](#" style="...) becomes: [@{selected|kit}](http_link_here" style="...) --- I may be wrong but it appears there is no option to select a particular row in a repeating section while using a macro for the AD2E simple sheet. --- As for the AD1E sheet, I can't find any info on the wiki about how to use the roll template. By reading the sheet code on github, we can see several examples of the 2 available templates: &{template:general} {{color=@{color_option}}} {{name=@{character_name}}} {{subtag=Saving Throw}} {{Spells=[[?{Mod?|0}+1d20cs>@{savespells}cf<@{savespells}]]}} {{Mod Applied=?{Mod?|0}}} &{template:attacks} {{color=@{color_option}}} {{name=@{character_name}}} {{subtag=THACO}} {{ToHitAC-10to0=@{THAC0-10}|@{THAC0-9}|@{THAC0-8}|@{THAC0-7}|@{THAC0-6}|@{THAC0-5}|@{THAC0-4}|@{THAC0-3}|@{THAC0-2}|@{THAC0-1}|**@{THAC00}**}} {{ToHitAC1to10=**@{THAC00}**|@{THAC01}|@{THAC02}|@{THAC03}|@{THAC04}|@{THAC05}|@{THAC06}|@{THAC07}|@{THAC08}|@{THAC09}|@{THAC010} }}
Thanks Erik - I am learning as I go, so your insights are appreciated!
1711232891
vÍnce
Pro
Sheet Author
Maxwell said: I run a 1e AD&D game - are there any resources for a list of templates for that character sheet? Also, for the 2e Simple Sheet - is there scripting to allow a macro to target a weapon in a list? For the 1e sheet @{selected|repeating_weapon_$0 selects the first weapon listed, and changing the "1" to another number selects the next weapon on the list. The 1e revised sheet will be "nearly" backward compatible with the current 1e sheet.  The current sheet has a very basic roll template which is really just for chat layout.  It does take the custom color from the sheet settings but really doesn't include any logic.  I am planning on including a sheet guide for the revised update that will provide details about the new roll templates being used. Cheers p.s. Apologies to Peter and the 2e community for being off-topic. ;-)
1711361735
Peter B.
Pro
Sheet Author
Erik H. said: I take no credits for any tricks used in my macro, I found them all in Keith 's thread "Roll20 Tips and Tricks (Innovative Solutions to Common Problems)" available here on these forum. Tricks used in my macro: - overwriting fields template in macros (by Oosh ) - html styles in chat (by Oosh ) - tooltips for links,  roll buttons, etc... (by RainbowEncoder ) - inserting a newline in chat (by Kyle E. ) I really need to read through that post again. All my work updating data for the sheet has really gotten me out of the loop on interesting ways to build the sheet.
1712630587

Edited 1712630866
I don't know if I am being stupid but... When a player rolls a concealed door check (human, so it should a 1 on a d6, otherwise fail), the die roll says "6 </= 6 success!". So that means a roll that should be 1 in 6 is 6 in 6. When I use the "elf/half-elf passing within 10 feet" function it does a 1 in 3, which should also be a 1 in 6. Am I missing something? The 1 in 3 should only be for elves/half-elves who are actively searching for a concealed door, not just passing by and the human roll should be 1 in 6 when searching, not 6 in 6? And just because I am me... Is there any way to automatically sort the spells at least alphbetically? This is AWESOME btw!   
1712661960
Peter B.
Pro
Sheet Author
Ischkiara said: I don't know if I am being stupid but... When a player rolls a concealed door check (human, so it should a 1 on a d6, otherwise fail), the die roll says "6 &lt;/= 6 success!". So that means a roll that should be 1 in 6 is 6 in 6. When I use the "elf/half-elf passing within 10 feet" function it does a 1 in 3, which should also be a 1 in 6. Am I missing something? The 1 in 3 should only be for elves/half-elves who are actively searching for a concealed door, not just passing by and the human roll should be 1 in 6 when searching, not 6 in 6? And just because I am me... Is there any way to automatically sort the spells at least alphbetically? This is AWESOME btw!&nbsp; &nbsp; Hello Ischkiara You can read about the feature in the change log post here:&nbsp; <a href="https://app.roll20.net/forum/permalink/11778082/" rel="nofollow">https://app.roll20.net/forum/permalink/11778082/</a> Your confusion is mainly down to the cryptic way 2E information is presented and is inconsistent between the books In short there are two different kinds of hidden doors defined in AD&amp;D 2E: Concealed: &nbsp;These are regular doors hidden behind a curtain or under a rug Secret: &nbsp;Built to be secret, such as rotating bookcase or a sliding wall As for finding these doors there are also two different ways of noticing them: Active search: &nbsp;This is when a player says "I search for a concealed/secret door" Passive search: This is when a player just walks by an area that has a hidden door. As for rules, only elves and half elves have rules for finding these door in the PHB : Elf / Half-elf Find hidden door matrix Concealed Secret Active 3 in 6 chance 2 in 6 chance Passive 1 in 6 chance Not mentioned The other races are not mentioned and left to Sage Advice to clear up. Sage Advice #152 p. 14 (December 1989), Question: 18 Can nonelven characters find secret or concealed doors?  Yes. Generally, the chance for them to do so is one in six, only if the character is actively searching a 10' section of a surface. Sage Advice #273 p. 114 (July 2000), Question: 4 How does a character who is not an elf find a secret door?  A human or other non-elf finds a secret door on a roll of "1" on 1d6. It requisite 10 minutes per 20-foot wall section. Now the DMG &nbsp;also have rules on the topic. On page 176 the following is written: Any search for concealed doors will reveal them, and once found they can be opened normally. Notice no race is mentioned making this a 6 in 6 chance for any race to find a concealed door! Now for the implementation on the sheet Active search concealed doors: I decided to use the DMG description, that says "any search reveal the door". You can add a die roll to determine if a character decided to look behind a curtain or under a rug, or you can roleplay it out, but mechanically I think the DMG is correct. It is pretty hard to not see a regular door behind a curtain if you are looking. Passive search concealed doors (elf): &nbsp;You are correct, the PHB says elves have a 1 in 6 to passively find a concealed door and a 3 in 6 to actively find a concealed door. Since the DMG's guaranteed, 6 in 6 chance, of actively finding a concealed door for any race is way better than an elves 3 in 6 chance, I opted to move the elves 3 in 6 from active search to passive, so that it wasn't lost. This is a departure from the PHB and it could be argued that the passive should stay at 1 in 6 chance. If you prefer the 1 in 6 chance for a passive search, then you can either add a -2 modifier when rolling the button, or I can update the sheet to have a field where you can defined what the value should be. I am happy to add a field, as the current implementation is essentially a house rule to sort out the confusion of the books.