I haven't tested this at all, but could you add a behavior to all your units weapons that has a cost in hp based on the damage they do to your reflecting unit, then validate it based on a buff which is applied when the ability is cast.
I know it will end up being a lot of different behaviors for every unit, but I don't see an alternative way to do it in the data editor, unless as you suggested someone works out how to pass a variable to a effect.
0
@RileyStarcraft: Go
I haven't tested this at all, but could you add a behavior to all your units weapons that has a cost in hp based on the damage they do to your reflecting unit, then validate it based on a buff which is applied when the ability is cast.
I know it will end up being a lot of different behaviors for every unit, but I don't see an alternative way to do it in the data editor, unless as you suggested someone works out how to pass a variable to a effect.