I'm still a little puzzled by this but it makes sence if other scripts get in the road. I think my issue has to do with the order that common events and damage is processed during the battle. The only reliable workaround I have is to edit the variables within the damage formula like this.
$game_variables[25]=2;$game_variables[26]=9;$game_variables[27]=10;(a.mat+10)*a.element_rate(10);so that the three variables are set anf then the damage is calculated. But then it gets a bit crowded and hard to read.
When I'm not getting frustrated I do take the time to name the variables. I should rearrange some of them again so that they are grouped together properly, but thats later.
[screenshot of old comon event] In most situations this Common Event still works, but in this instace I've added that mat dies, testing that the Common event does indeed never occur.
I only have two custom scripts:
Yanfly Engine Ace - Death Common Events v1.01
DYNAMIC FEATURES v1.00 by Shaz