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

[5e OGL] 5e Lay On Hands Resource Tracking?

I'm going to apologize in advance if this is posted elsewhere, but I'm having issues finding it if it is. Anywho... I'm not super  savvy in the macro-writing side of things, and I was wondering if there was a script that is/can be written to automatically use/track a certain amount of the lay on hands from the class resource area of the character sheet. Ideally, I'd like to click a button, input the amount of points that I'm using, and have it update without me needing to manually update it. If there's a workaround by throwing it in the spell book, making it ammo that I can use multiples of at a time or something, I'm open to that too. However, I'm just having no luck in going it alone with this particular endeavor, and wondering if someone has any ideas as to how this can be done. 
1477656646
Tetsuo
Forum Champion
Which sheet are you using?
That... would probably be important info that I completely spaced on. Haha We're using the 5e ogl sheet
1477663212

Edited 1477663282
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You would use the ogl companion script from the one click drop down on the API scripts page. This feature is only available in games created by a pro subscriber though. Without the script you could manually keep track of it using the class resource box on the right side of the core page (or add an additional row of resource boxes if you've already used the default 2); this is also how the script tracks it as well. The relevant wiki:&nbsp;<a href="https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#Automatic_Ammunition_Tracking" rel="nofollow">https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#Automatic_Ammunition_Tracking</a>
The only issue with the ammo tracking is that I can only effectively use 1 at a time, and I'd rather not spam to decrease "ammo" from lay on hands. Is there a way to input multiples of ammo per use that I'm missing? I know it's a trivial thing to keep track of, as I don't use it nearly as much as say an archer would with arrow. Just looking to possibly streamline a few things.
1477672630

Edited 1477672680
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You could ask your gm to install Aaron's ammo script. It's a little outdated, but does allow custom amounts. I don't know of a way to do it with the companion script (my 5e game isn't a pro game) <a href="https://app.roll20.net/forum/post/1034829/script-ammo-automated-ammunition-management-in-a-character-attribute/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/1034829/script-ammo-automated-ammunition-management-in-a-character-attribute/?pagenum=1</a>
I'll run that past him. Appreciate the help!
A lay on hand script or macro would be awesome, one that doesn't necessarily requires ammo tracking. I could get down with that.
1477681876
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Actually you could probably use chatsetattr for this instead of ammo. <a href="https://app.roll20.net/forum/post/3737514/script-chatsetattr-set-character-attributes-via-chat-messages#post-4069627" rel="nofollow">https://app.roll20.net/forum/post/3737514/script-chatsetattr-set-character-attributes-via-chat-messages#post-4069627</a>
1477683154
Kryx
Pro
Sheet Author
API Scripter
I had considered putting usage amounts in traits for the Shaped sheet and discussed it again with Lucian today. I'll likely add this functionality to the Shaped sheet within the next week or two.
1477696133

Edited 1477696356
ChatSetAttr (API script) works great for this. Here is an example of what I used recently with the OGL sheet. Used the first Class Resource Replace CharName with actual caharacter name !setattr --silent --name CharName --class_resource|[[@{CharName|class_resource} - ?{Lay on Hands: @{CharName|class_resource} HP available|0}]] &{template:atk} {{charname=CharName}} {{desc=?{Lay on Hands: @{CharName|class_resource} HP available|0} HP of Lay on Hands}} It will prompt you for HP while showing what you have left, and adjust cs. Display HP given in chat. Also used this as part of a long rest macro (resets HP to max) !setattr --silent --name CharName --class_resource|@{CharName|class_resource|max}