I am banging my head against the wall trying to figure this one out. The idea is that I have a status called "Charged", which boosts the damage of some skills, ala Persona's Power/Mind Charge.
The way it is supposed to work, for the uninitiated, is that Power Charge and Mind Charge give a 2.5 multiplier of power for physical and magical attacks respectively, then disappear when all damage is calculated for that attack.
The problem I run into is getting the charge status to go away right after a relevant skill's damage has been calculated for all targets. The formula for multiplication I have ready, but trying to remove the state via damage formula makes it so that it goes away after the first target in a group attack has been damaged, so say
100 flat power skill with charged on user, 8 enemies= enemy 1 takes 250 before arm/marm, and the rest get 100.
Does anyone know of a way to have a state removed from the user after all damage has been tallied for a single skill?
The way it is supposed to work, for the uninitiated, is that Power Charge and Mind Charge give a 2.5 multiplier of power for physical and magical attacks respectively, then disappear when all damage is calculated for that attack.
The problem I run into is getting the charge status to go away right after a relevant skill's damage has been calculated for all targets. The formula for multiplication I have ready, but trying to remove the state via damage formula makes it so that it goes away after the first target in a group attack has been damaged, so say
100 flat power skill with charged on user, 8 enemies= enemy 1 takes 250 before arm/marm, and the rest get 100.
Does anyone know of a way to have a state removed from the user after all damage has been tallied for a single skill?