• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is it possible to make a "spell vamp aure"

Status
Not open for further replies.
Level 2
Joined
Jun 1, 2017
Messages
25
Is it possible to make an aura that works like vamp aura but for spells damage instead.
 
Level 2
Joined
Jun 1, 2017
Messages
25
Hmm i have tried playing around with it, and i can't seem to make it work.

  • Dark gift
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacked unit) has buff Dark God gift ) Equal to True
    • Actions
      • Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + DamageEventAmount)
 
Level 2
Joined
Jun 1, 2017
Messages
25
Hmmm something like this?

  • Dark gift
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • If (((Triggering unit) has buff Dark God gift ) Equal to True) then do (Unit - Set life of (Attacking unit) to ((Life of (Triggering unit)) + DamageEventAmount)) else do (Do nothing)
  • [trigger/]
 
Level 7
Joined
Apr 17, 2017
Messages
316
Use respective variables in dds, I never used bribe's system but it should be something like "damage source" if damage source has a buff ... and damage type is spell
Set life of the damage source, damage source + ....
 
Level 2
Joined
Jun 1, 2017
Messages
25
Made it work! Thanks

  • Untitled Trigger 001
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (DamageEventSource has buff Dark God gift ) Equal to True
    • Actions
      • Unit - Set life of DamageEventSource to (DamageEventAmount + (Life of DamageEventSource))
      • Special Effect - Create a special effect attached to the overhead of DamageEventSource using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
      • Wait 2.00 seconds
      • Special Effect - Destroy (Last created special effect)
  • [trigger/]
 
Level 7
Joined
Apr 17, 2017
Messages
316
Made it work! Thanks

  • Untitled Trigger 001
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (DamageEventSource has buff Dark God gift ) Equal to True
    • Actions
      • Unit - Set life of DamageEventSource to (DamageEventAmount + (Life of DamageEventSource))
      • Special Effect - Create a special effect attached to the overhead of DamageEventSource using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
      • Wait 2.00 seconds
      • Special Effect - Destroy (Last created special effect)
  • [trigger/]
The trigger will run even when they deal physical damage (basic attack) so you need to add another condition to check what the damage type is, also using waits in this case is a bad approach to make it mui.
 
Level 2
Joined
Jun 1, 2017
Messages
25
The trigger will run even when they deal physical damage (basic attack) so you need to add another condition to check what the damage type is, also using waits in this case is a bad approach to make it mui.

The abilitie was also meant to give physical damage lifesteal, but how do u suggest that i approach the use of specielt effects?
 
Status
Not open for further replies.
Top