Life Drain Targets Multiple Enemies

claige

New Member
Reaction score
1
Hi, any ideas on how I could do this? I dont think using Life Drain as the base skill would work, as you cant change the number of targets. :(
 

claige

New Member
Reaction score
1
Hopefully when you click on the icon to cast the spell it will instantly start draining life from say, 8 targets within 900 range of the hero.
 

Drakens

New Member
Reaction score
7
Using a negative valued Tranquility that aims enemys and healing yourself by 20xUnits in range of yourself owned by enemy... but it wouldn't show the green thing of life steal
And i don't know if Tranquility works with negatives.
 

TheRat

New Member
Reaction score
3
tranquility wouldn't work, because you wouldn't get the necessary animation.

try creating dummy caster units with a trigger, spawned at the location of your hero, then issue order for them to cast your version of Life Drain.

You would then need a seperate action to add life to your hero using some pretty crazy math. You could make it as simple or as complicated as you want. (i prefer the former).

The only problem is: would the dummy casters be close enough to your hero to make it look like he/she is casting the spell?
 

AquaDragon

Cool Member
Reaction score
1
Try This Trigger, Though IT's Missing Some Things That Either You Will Have To Find Or Someone Can Help Out.

Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Level of Life Drain for (Triggering unit)) Equal to 1
(Ability being cast) Equal to Life Drain
Actions
Lightning - Create a Drain Life lightning effect from source (Position of (Triggering unit)) to target (Position of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Wait 0.50 seconds
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Triggering unit)), dealing 100.00 damage of attack type Chaos and damage type Unknown
Unit - Set life of (Triggering unit) to (Percentage life of (Random unit from (Random 1000000000 units from (Units within 500.00 of (Position of (Triggering unit))))))
Lightning - Destroy (Last created lightning effect)

The Missing THing Is HOW Much Life Is Going To Be Taken. Also, Another Thing Is That If You Want A Specific Number, You Would Have To Make The "Damage Area" Thing To Only Hit The Ones That Got Hit By The Lightning Effect. Which I Also Have NO Idea How To DO. Also, How To Make It Specific On How Much Life You Want Taken Is Also A Pain I Don't Know How To Do. But This Could Be A Base Trigger for A Trigger You Can MAke Yourself. Just Keep These Problems I Placed In Mind.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top