
Heya to anyone who can potentially help me with this!
I'm looking for a method using the SetAttribute API to reset all of a characters attribute values back to their maximum. I know there is a brute force method way for doing this (by inputing every attribute to reset manually to the max value) but I was curious if anyone knows of a method to reset all of a character's attributes without manually including all of the potential attributes a character sheet might have. I'm not beyond brute forcing it for each individual character, but if there was a method to do all attributes without having to denote each one it would allow for a much easier time of reseting attributes for characters who have different attributes listed on their character sheets.
I'm only using the base roll20 character attributes rather than an actual character sheet so there's no need for specific sheet references for this.