I'm trying to add a trigger to my custom map where units in a specific region or units that are in range of the healer get healed by the healer when their percentage life drops below 50%.
However it seems like i can't find the right triggers.
I was thinking about something like:
Event: Every 2 sec
Condition: Unit's life in region X/in range below 50%
Action: "healer" casts "healing spell" onto unit with health below 50% in region X/ in range
----
If there are more than 1 unit with 50% health i guess i'd have to say "cast healing spell onto random unit [...]"
i'm too much of a noob to know how to set this trigger up, i basically know what to do but i can't handle the details yet.
can you help me?
However it seems like i can't find the right triggers.
I was thinking about something like:
Event: Every 2 sec
Condition: Unit's life in region X/in range below 50%
Action: "healer" casts "healing spell" onto unit with health below 50% in region X/ in range
----
If there are more than 1 unit with 50% health i guess i'd have to say "cast healing spell onto random unit [...]"
i'm too much of a noob to know how to set this trigger up, i basically know what to do but i can't handle the details yet.
can you help me?