Essentially, I want to increase a variable based on the amount of mana that a specific character uses. So if their mana bar goes down by 10, I want the variable to go up by 10.
I know you can adjust the damage formula in order to do this, but I don't want this to happen every single time a character uses a spell. While I can just make different versions of each spell, some for the class I want this to happen with and some for the others, that seems like a huge pain.
I figure a common event can be written to make this work, with an conditional statement that makes it only apply to the single class, but I cannot seem to figure out how to set it up so that this works right.
I know you can adjust the damage formula in order to do this, but I don't want this to happen every single time a character uses a spell. While I can just make different versions of each spell, some for the class I want this to happen with and some for the others, that seems like a huge pain.
I figure a common event can be written to make this work, with an conditional statement that makes it only apply to the single class, but I cannot seem to figure out how to set it up so that this works right.