Greetings forum dwellers, me and my party have recently been hit by a custom curse, that we are currently unable to remove, it's effect is basically "the max you can have in any ability score is 26". I've tried to make it work as a buff toggle, to make it easy to regulate for us lazy people with variable ability scores, be it due to polymorph or enlarge person or barbarian rage or whatnot. I've come up with the following syntax: +min(0,26-@{strength}) to strength +min(0,26-@{dexterity}) to dexterity +min(0,26-@{constitution}) to constitution +min(0,26-@{intelligence}) to intelligence +min(0,26-@{wisdom}) to wisdom +min(0,26-@{charisma}) to charisma this properly apply the cap and seems to work nicely, but there is a little snag: whenever we toggle on or off any other buff, even ones that don't interact with the ability scores at all, their values are reset back as if this one wasn't toggled on anyone got any idea how I can solve this? might it be an order of operation problem? I tried to drag the "buff" to first and last place in the stack, I tried renaming it, none of these seems to work, anyone got any idea? I'm honestly surprise I'm not hitting some recursive problems, what with "using charisma to modify charisma" I guess the order by which buffs are applied is by an hidden timestamp parameter?