Basically I need help with a certain spell:
Death Siphon Aura:
Whenever a nearby enemy unit is slain the Necromancer gains 2/2/4/4/6 bonus damage stacking 30/30/15/15/10 times. Each instance has a duration of 10 seconds. Additionally, this bonus is shared with nearby allied units.
In simpler words it's a flat damage aura that increases whenever a unit dies near the Necromancer. Can't seem to figure out exactly how to do this, though. I feel as though I might be over complicating things by using item bonus damage abilities for the damage effect.
Help will be appreciated and provided if the problem is solved, rep'd.
Trigger's I have gotten so far:
The triggering is by no means complete since I can't quite wrap my mind around getting it to work. (Such as granting the Necromancer temporary bonus damage that will share to other allied units)
Death Siphon Aura:
Whenever a nearby enemy unit is slain the Necromancer gains 2/2/4/4/6 bonus damage stacking 30/30/15/15/10 times. Each instance has a duration of 10 seconds. Additionally, this bonus is shared with nearby allied units.
In simpler words it's a flat damage aura that increases whenever a unit dies near the Necromancer. Can't seem to figure out exactly how to do this, though. I feel as though I might be over complicating things by using item bonus damage abilities for the damage effect.
Help will be appreciated and provided if the problem is solved, rep'd.
Trigger's I have gotten so far:
-
HNE Death Siphon Aura Effect
-
Events
- Time - Every 0.25 seconds of game time
- Conditions
-
Actions
- Set TempGroup = (Units in (Playable map area) matching (((Level of Death Siphon Aura (Necromancer) for (Matching unit)) Greater than 0) and (((Matching unit) is alive) Equal to True)))
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Set TempUnit = (Picked unit)
- Set TempInteger = (Custom value of TempUnit)
- Set TempPoint = (Position of (Picked unit))
-
Unit Group - Pick every unit in HNEDeathSiphonAura_Group1[TempInteger] and do (Actions)
-
Loop - Actions
- Unit - Remove [Effect] Death Siphon Aura (Level 1&2) from (Picked unit)
- Unit - Remove [Effect] Death Siphon Aura (Level 3&4) from (Picked unit)
- Unit - Remove [Effect] Death Siphon Aura (Level 5) from (Picked unit)
-
Loop - Actions
- Unit Group - Remove all units of HNEDeathSiphonAura_Group1[TempInteger] from HNEDeathSiphonAura_Group1[TempInteger]
- Set HNEDeathSiphonAura_Group1[TempInteger] = (Units within 900.00 of TempPoint matching ((((Matching unit) has buff [Custom] Death Siphon Aura ) Equal to True) and ((Matching unit) Not equal to (Picked unit))))
-
Unit Group - Pick every unit in HNEDeathSiphonAura_Group2 and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for TempUnit) Equal to 1
- (Level of Death Siphon Aura (Necromancer) for TempUnit) Equal to 2
-
Then - Actions
- Unit - Add [Effect] Death Siphon Aura (Level 1&2) to (Picked unit)
- Unit - Set level of [Effect] Death Siphon Aura (Level 1&2) for (Picked unit) to (Level of [Effect] Death Siphon Aura (Level 1&2) for TempUnit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for TempUnit) Equal to 3
- (Level of Death Siphon Aura (Necromancer) for TempUnit) Equal to 4
-
Then - Actions
- Unit - Add [Effect] Death Siphon Aura (Level 3&4) to (Picked unit)
- Unit - Set level of [Effect] Death Siphon Aura (Level 3&4) for (Picked unit) to (Level of [Effect] Death Siphon Aura (Level 3&4) for TempUnit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for TempUnit) Equal to 5
-
Then - Actions
- Unit - Add [Effect] Death Siphon Aura (Level 5) to (Picked unit)
- Unit - Set level of [Effect] Death Siphon Aura (Level 5) for (Picked unit) to (Level of [Effect] Death Siphon Aura (Level 5) for TempUnit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Loop - Actions
-
Events
-
HNE Death Siphon Aura Learned
-
Events
- Unit - A unit Learns a skill
-
Conditions
- (Learned Hero Skill) Equal to Death Siphon Aura (Necromancer)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for (Triggering unit)) Equal to 1
- (Level of Death Siphon Aura (Necromancer) for (Triggering unit)) Equal to 2
-
Then - Actions
- Unit - Add [Effect] Death Siphon Aura (Level 1&2) to (Triggering unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for (Triggering unit)) Equal to 3
- (Level of Death Siphon Aura (Necromancer) for (Triggering unit)) Equal to 4
-
Then - Actions
- Unit - Remove [Effect] Death Siphon Aura (Level 1&2) from (Triggering unit)
- Unit - Add [Effect] Death Siphon Aura (Level 3&4) to (Triggering unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Death Siphon Aura (Necromancer) for (Triggering unit)) Equal to 5
-
Then - Actions
- Unit - Remove [Effect] Death Siphon Aura (Level 3&4) from (Triggering unit)
- Unit - Add [Effect] Death Siphon Aura (Level 5) to (Triggering unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events