Heyo,
I created a trigger that puts all attacking units to sleep if their HP is equal or greater than 50%. My trigger works just fine, however I would like to know how can I change it to Aura skill. I will post trigger here. Would be grateful if you also help me out with possible leaks.
I created a trigger that puts all attacking units to sleep if their HP is equal or greater than 50%. My trigger works just fine, however I would like to know how can I change it to Aura skill. I will post trigger here. Would be grateful if you also help me out with possible leaks.
-
Infinite Sleep
-
Events
-
Unit - A unit is Attacked
-
-
Conditions
-
(Level of Infinite Sleep for (Attacked unit)) greater than 0
-
(Percentage life of (Attacking unit)) greater or equal 50.00
-
-
Actions
-
Unit - Create 1 Dummy for (Owner of (Attacked unit)) at (Position of (Attacking unit)) facing standard building orientation degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Add Sleep (Infinite Sleep) to (Last created unit)
-
Unit - Order (Last created unit) to Dreadlord (undead) - Sleep (Attacking unit)
-
-