
Sorry for the newbie question, but I'm bumping into some issues setting up specific resource values to return to their max during short rests. I'm running a 5e campaign in which each player has an magical item that provide specific abilities that recharge when they take a short rest. I have been using the ChatSetAttr and ShortRest script with my macro with the following commands:
!setattr --silent --sel --repeating_resource_$0_left_name|1
/w @{selected|character_name} You have taken a short rest and recovered Attributes and Abilities that you can with a short rest.
The first portion for the short rest works fine, but the resource I point the second line to does reset to 1. Any suggestions or ideas would be very much appreciated!