[DnD5e 4.3.9][V12.331] Creating an item that spends charges to deal damage
I want to create an item with 10 charges that allows you to spend those charges to deal an amount of damage equal to [number of spent charges]d10, and have those charges actually spent on the item. I have midi qol and I’ve been messing around with activity settings (I set it up as a save) but I just can’t make it work. I managed to set up rolling an amount I set up for scaling once but somehow when I try to repeat it with the same settings it also adds extra dice on top, so if I set the scaling to 3 it rolls 3d10 + 2d10 for some reason.
So ideally what I want is:
To click on the save activity
Get a prompt for the amount of charges I want to spend (e.g. 6)
Have it roll that many d10s (e.g. 6d10) and remove the 5 charges from the item
Next time I click the save activity have it show the amount of uses I have remaining (e.g. 4).
Number 4 I have figured out, but the rest… not so much.