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

Repeating resource help

Hi, I'm trying to have class abilities track automatically how many uses there are left. So for example for Second Wind I made an attack with @{class_resource} as ammo and that works perfectly. But the next class resource is actually on the second row on @{repeating_resource_right}. Every time I try to put it in as ammo it just mentions that it doesn't exists. So I tried @{repeating_resource_$0_right}, but that still gives the same error. Then I went to look at the attributes page of the sheet and to my surprise that attribute is indeed not on the list. Have I missed something?  Thanks in advance.
1589817894
GiGs
Pro
Sheet Author
API Scripter
The attributes page is a legacy feature, and doesnt show all the attributes that are on a character sheet. Attributes in a repeating section never show there. I cant help with the specific problem, because I dont use that sheet, but I thought I'd clarify that point.
Thanks for the answer :D I just tried to just put in the name of the resource and that worked... Just hadn't thought of that. Lol kinda feel stupid now. 
1589830370
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can take a look at this script I recently released that might make a good companion to your procedure. it recovers resources based on Long and Short Rests, Charges, and Ammo Recovery rules.
keithcurtis said: You can take a look at this script I recently released that might make a good companion to your procedure. it recovers resources based on Long and Short Rests, Charges, and Ammo Recovery rules. Wow Awesome! Will try it our tomorrow ^^