Life steal from Splash damage?

Level 4
Joined
Nov 10, 2025
Messages
37
Can you make either an orb or a ability that does splash damage and each enemy it hits it steals a certain amount of health back to you?

Thank you
 
yes it can be done with both orb or a ability you just need to make trigger for it

here is a trigger for it in this i use a ability
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to War Stomp
  • Actions
    • Set VariableSet Caster = (Triggering unit)
    • Set VariableSet TempPoint = (Position of (Target unit of ability being cast))
    • Unit Group - Pick every unit in (Units within 300.00 of TempPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Casting unit)).) Equal to True) and (((Matching unit) is alive) Equal to True))).) and do (Actions)
      • Loop - Actions
        • Set VariableSet Target = (Picked unit)
        • Unit - Cause Caster to damage (Picked unit), dealing 0.00 damage of attack type Spells and damage type Normal < ---so insted of useing the abilitys own dmg you can for example make in in to doing x aromg of heros agility as dmg
        • Set VariableSet HealAmount = 50.00
        • Unit - Set life of Caster to ((Life of Caster) + HealAmount) < --- if you need % insted you make it in to that
        • Special Effect - Create a special effect attached to the overhead of Caster using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        • Special Effect - Destroy (Last created special effect)
    • Custom script: call RemoveLocation(udg_TempPoint)
 
Back
Top