
Hello, SO I am running a home brew and one of my players has created an arcane warrior of sorts that uses Arcane Points for his attacks. I have the macro working to add or subtract points depending on which skill he uses, the problem I am having is the macro exceeding the max value of the resource, arcane points in this instance. How would I go about stopping it from adding 1 to the value if its already at the max allowed? !setattr --charid @{Dekkar|character_id} --mod --Arcane points|-1 {Arcane points}