Use
: (damage =
root, var(5) + 20)
Provided that var(5) is being added/set by the main non-MUGEN-Helper Player only.....
After your MUGEN Helper hits its MUGEN Enemies, use ParentVarAdd/ParentVarSet to change var(5) for its main non-MUGEN-Helper Player.
MUGEN note: if your attacking MUGEN Helper is called by another MUGEN Helper which is called by the main non-MUGEN-Helper Player, then ParentVarAdd/ParentVarSet may not work for that. You have to make extra MUGEN code in all "nested" MUGEN Helpers and their root owner (aka the main non-MUGEN-Helper Player) to get all those MUGEN Variables work in harmony..........
............ONLY IF MUGEN Engine had something like RootVarAdd/RootVarSet in the first place....
.......why the heck not yet, Elecbyte!!!!!!!!!!!!