• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

"Strygwyr`s Thirst" How do this skill?

Status
Not open for further replies.
First of all, explain what the spell does becoz not everyone plays DotA... that is a requiement when asking how to do spells, becoz how can people help you if they don't know what you want?

also when asking on how to do things (as per written on the header of the T&S sub-forum): if you need help getting started with a trigger, this is not the right place — use the World Editor Help Zone.
 
Level 16
Joined
Jun 24, 2009
Messages
1,409
You have to check if a nearby enemy hero is below 44%(or what you want). Thats easy.
Something like this:
  • Set TempPoint = (Position of Unit)
  • Custom script: set bj_wantDestroyGroup = true
  • Unit Group - Pick every unit in (Units within 1000.00 of TempPoint matching ((((Matching unit) is A Hero) Equal to True)) and ((Matching unit) is alive Equal to True) and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Life of (Picked unit)) Less than or equal to ((Max life of (Picked unit)) x 0.44)
        • Then - Actions
          • Add your stuff like buffs and shit
        • Else - Actions
 
Status
Not open for further replies.
Top