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

Macro for D&D 2024 Character Sheet

Hello, I'm trying to recreate a simple macro I use with the D&D 2014 Character Sheet. For most things I like keeping the rolls player facing and that means instead of having static Spell DC's, the PC's roll a 1d20. I used the following macro to make that happen. &{template:simple}{{rname=Casting Roll}} {{mod=DC-8}} {{always=1}} {{r1=[[1d20 + @{selected|power_save_dc} - 8]]}} {{r2=[[1d20 + @{selected|power_save_dc} - 8]]} With the 2024 sheet, I can't seem to find where the DC is stored. Does anyone know?
Your error is in using the 2024 sheet. The values on the beacon-based sheet are not stored as attributes you can access, instead, to facilitate scripts (and macros), some values are translated to attributes.  It seems spell save DC is not one of these values. Best you can do is reconstruct the modifier as pb+ the relevant spellcasting ability modifier (which isn't accessible with a single attribute, either - you'll have to make it specific to the character), and then you'll have no way to load any modifiers from magic items to the modifier. The 2024 sheet just is not workable with macros, I'm afraid.
Thanks for the info, I'll just have my players make their own and keep them updated. They just sit around picking their noses anyways.
1735676632

Edited 1735676675
Gauss
Forum Champion
Another problem here, you are using the "simple" template which belongs to the D&D 5e 2014 by Roll20 character sheet. The D&D 5e 2024 by Roll20 character sheet does not have that template, or any templates for that matter. You can work around that, but you'd have to have both the 2014 and the 2024 character sheets in the game. 
I am using both sheets in game, so far. You are correct that the "simple" one doesn't work, but if you use "default" it works.