Im looking for a way to store the damage done by an attack made my an actor into a variable.
I want to use this value to call a common event which deals damage to all enemies equal to 10% of the damage done.
ie a skill that has an additional 10% AoE damage effect.
I thought this was the easiest way to do this seeing a skill can call a common event, but I cant seem to find a way to store the damage into the variable.
Ive tried putting $game_variables[1] = self.damage into Battler_3 under the def skill_effect part (right under the part it subtracts HP) but the additional AoE effect remains 0 damage no matter where I put the code.
Anyone got any other way of doing this?
I want to use this value to call a common event which deals damage to all enemies equal to 10% of the damage done.
ie a skill that has an additional 10% AoE damage effect.
I thought this was the easiest way to do this seeing a skill can call a common event, but I cant seem to find a way to store the damage into the variable.
Ive tried putting $game_variables[1] = self.damage into Battler_3 under the def skill_effect part (right under the part it subtracts HP) but the additional AoE effect remains 0 damage no matter where I put the code.
Anyone got any other way of doing this?