
Novice to roll20 macros here, thanks for your patience. I have an ability which allows me to build up charges, which I'm storing as a repeating resource. I'd like to execute the ability with a macro that pulls the value from that resource as a variable d6 roll. However, I keep getting an error when testing the macro. I'm not sure if it's just improper syntax, and I'm having trouble understanding how to apply the resource articles to this specific problem. I initially tried to write to execute this in the damage field of a weapon, then realized it may only work as a macro. The error is the same with both methods. Here's what I've written: /roll @{Ondo|repeating_resource_-nbe5h8fltoapjdelspz_resource_left} The error reads: "You tried to use the repeating section row at index NaN for repeating_resource, but there doesn't seem to be a row at that index." I pulled the resource's ID from inspecting the HTML element. Ideally the macro would also reset the resource variable to zero. I may be able to puzzle that part out myself. But I'd greatly appreciate some help here. Thank you!