I'm trying activate the stim whenever the marine attacks and has above 50% health
I've tried a few validators, but they've got all a problem.
-caster is attacking is true when the unit gets the attack order, not when it actually attacks someone
-cast is in combat is true when the unit receives a hit, attacking itself doesn't put it into combat
is there a way to put a unit into combat?
edit: work-around:
- the weapon applies a hidden 1 sec buff on the marine in addition to the dmg done
- the stim has a count behavior validator and a hp > 50 validator
amazing, it does work :)
I'm trying activate the stim whenever the marine attacks and has above 50% health
I've tried a few validators, but they've got all a problem.
-caster is attacking is true when the unit gets the attack order, not when it actually attacks someone
-cast is in combat is true when the unit receives a hit, attacking itself doesn't put it into combat
is there a way to put a unit into combat?
edit: work-around:
- the weapon applies a hidden 1 sec buff on the marine in addition to the dmg done
- the stim has a count behavior validator and a hp > 50 validator