Hey there, I have a issue setting something up. I have my combat system setup that you start every encounter with 0 mana. Basic skills generate mana and abilites spend it. Maximum Mana is capped at 150. The regen part all works perfectly fine. Now I would like to add Diminishing Return to my mana generation. something like ( (max_mana - current_mana) / x) * variable What I want to achieve is if Actor A has over X amount of mana generated the next basic skill will generate less mana and if Actor A drops below X amount of mana generation is back to base value. I figured i could do this via damage formula but i think thats a bust. So i thought I would do it via common event. But i cant seem to get it working. Anyone have a Idea?