• 🏆 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!

Life Steal that is % of current hp spell Request in GUI

Status
Not open for further replies.
Level 3
Joined
Dec 29, 2008
Messages
22
i want to request passive skill
life steal that's % of the heros current hp for example
my hero have 1500 hp and my life steal is on max lvl4 4% and i attack a unit i can steal 60 hp per attack that's all

can u make it to a hero skill

lvl1 1%
lvl2 2%
lvl3 3%
lvl4 4%

sorry for bad english thnx:thumbs_up:
 
Level 13
Joined
Dec 21, 2010
Messages
541
something like this should work.
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Unit - Set life of (Attacking unit) to ((Percentage life of (Attacking unit)) + (Real((Level of your_ability for (Attacking unit)))))%

If you make this trigger,, you will gain HP even if you press "S" when attacking.. try damage detection system.
 
Status
Not open for further replies.
Top