• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Spell Lifesteal

Status
Not open for further replies.
Level 5
Joined
Jun 5, 2015
Messages
177
Help Please, how do I create Spell Lifesteal?
Example there is a Lich that cast Frost Nova for 300 damage, how to make 25% of the spell damage converted to health for the Lich?
Please post triggers In GUI. Thank You.
 
If you don't want to trigger the damage from your Frostnova by yourself.
We need a DDS (Damage detection System) for example this one:
GUI Damage Engine v3.6.0.1

to the Triggers:
  • Frostnova cast
    • Events
      • Unit - A unit starts the effect of a spell
    • Conditions
      • (Ability being cast) Equal Frost-Nova
    • Aktionen
      • Einheitengruppe - Add (Triggering unit) to FrostNovaUser
  • Frostnova cast end
    • Events
      • Unit - A unit stopps casting
    • Conditions
      • (Ability being cast) Equal Frost-Nova
    • Actions
      • Einheitengruppe - Remove (Triggering unit) from FrostNovaUser
  • Frost Nova dmg
    • Events
      • Game - DamageEvent becomes Gleich 1.00
    • Conditions
      • IsDamageSpell Equal True
      • (DamageEventSource is in FrostNovaUser) Equal True
    • Actions
      • Unit - Set life of DamageEventSource to ((Leben of DamageEventSource) + (DamageEventAmount x 0.25))
 
Status
Not open for further replies.
Top