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

Damage to equipment [PF] API

I'm trying to do a single point of damage to equipment on the Pathfinder character sheet. I need it to happen every time I run the script/macro (macro if it's possible). Where should I go to figure out how to accomplish this? I have never used API before so my apologies and thank you for any help.
1560396301
vÍnce
Pro
Sheet Author
You could use the ChatSetAttr script(available as a one-click/script library) to modify a "known" item's hp. example; !modattr --sel --repeating_item_-kzld8kv5ngixvl9hyzw_item-hp|-1 Not sure if this would work for your use case since you would need to create a macro that includes each item's rowID that you would like to modify.
Nice, I think that will work. Creating a macro for each wouldn't be a problem. Thank you.