can chatsetattrib change hte Hit Dice box on the OGL 5E sheet? I need to use a query How many hit die used. I am trying to make a short rest Macro the ask how many hit die then applies it to the target and removes the amount from the Hit Dice box. If I mouse over the box it show @{hit_dice} Can !alter and !setattr use the same query? !alter --target|@{target|token_id} --bar|1 --amount|?{How many Hit Dice? |1,1|2,2|3,3|4,4|5,5|6,6d@{selected|HitDieType}}
!setattr --name @{selected|character_name} --modb --@{hit_dice}|-{?{How many Hit Dice? |1,1|2,2|3,3|4,4|5,5|6,6} --silent
!power {{
--emote|** @{selected|token_name} Is Rested **
--tokenid|@{selected|token_id}
--format|atwill
--corners|10
--name| ** Short Rest **
--leftsub|@{selected|character_name}
--rightsub| Manages a short reset.
--Hit Points|~R **[[@{Selected|HP}]]** **Max** **[[@{selected|hp|max}]]** ~R
--Shortrest:| A short rest is a period of downtime, at least 1 hour long, during which a character does nothing more strenuous than eating, drinking, reading, and tending to wounds.
A character can spend one or more Hit Dice at the end of a short rest, up to the character’s maximum number of Hit Dice, which is equal to the character’s level. For each Hit Die spent in this way, the player rolls the die and adds the character’s Constitution modifier to it. The character regains hit points equal to the total. The player can decide to spend an additional Hit Die after each roll.
}}