As the title says ' Is it possible data driven or do I need to create a Search Effect Apply to each Hero with a weird working Validator(I mean works if the Attacker is below 40% or the caster negates from periodic effect)
I suppose you could give the attack a Switch effect, with one case being the damage with a Validator "Unit isn't below X%HP" and another case being an Apply Behavior with a Validator "Unit is below X%HP" (alternatively you can use a set, the damage effect having no Validator while the ownership one having "Unit is below X%HP").
Change the Apply Behavior to apply a Buff which changes to "Player" field to Caster or Source.
As the title says ' Is it possible data driven or do I need to create a Search Effect Apply to each Hero with a weird working Validator(I mean works if the Attacker is below 40% or the caster negates from periodic effect)
So you want a unit to attack and gain control of the target if it is below a certain % life?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Yes
I suppose you could give the attack a Switch effect, with one case being the damage with a Validator "Unit isn't below X%HP" and another case being an Apply Behavior with a Validator "Unit is below X%HP" (alternatively you can use a set, the damage effect having no Validator while the ownership one having "Unit is below X%HP").
Change the Apply Behavior to apply a Buff which changes to "Player" field to Caster or Source.
@StealthToast: Go
With an Effect Validator thanks :)