• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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.
 
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)
 
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/]
 
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/]
 
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.
 
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.
Back
Top