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

D&D5e Sheet - Trouble getting the maximum spell slots for a macro

Hey dudes! The D&D5e sheet is awesome, and I have created several macros for my players using it. I need to access the maximum number of spells slots for each of the 9 levels for a macro. According to the Wiki, the way I would be able to do it (for level 1, for instance) is using spell_slots_l1_max The problem is: while spell_slots_l1 returns the current spent spells, spell_slots_l1_max always returns 0. I'm accessing it the same way I access all char variables, using either @{selected|spell_slots_l1_max} or @{spell_slots_l1_max} (depending upon where I'm using it. Could you please help me?
1427929781
Kryx
Pro
Sheet Author
API Scripter
I'm on mobile but I believe it should be @{spell_slots_l1|max}
1427988857

Edited 1427988871
I miss an upvote feature... you, sir, are awesome. Thanks!