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

DotA sacred warrior - burning spear

Status
Not open for further replies.
Level 5
Joined
May 12, 2008
Messages
77
Hi,
I just tried to remake Huskars burning spear.
For all guys who don't know sacred warrior: burning spear is an auto-cast ability which improves your weapons (like searing arrows). Instead of dealing additional dmg the target receives damage over time. Most important: the dot stacks!
And this is my current problem. Is there any blizzard-made ability I can use or how can one trigger this?
 
It is quite simple actually; base it off poison arrows, like @Spyda man suggested, with stacking type set to Kill. Then, the triggering part:
  • One
    • Events
      • Unit - A unit Is issued an order with no target
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Custom script: if GetTriggerEventId() == EVENT_PLAYER_UNIT_SPELL_EFFECT then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Bash
        • Then - Actions
          • Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 15.00)
        • Else - Actions
      • Custom script: elseif GetTriggerEventId() == EVENT_PLAYER_UNIT_ISSUED_ORDER then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(poisonarrows))
          • ((Triggering unit) is in BurnersGroup) Equal to False
        • Then - Actions
          • Unit Group - Add (Triggering unit) to BurnersGroup
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Issued order) Equal to (Order(unpoisonarrows))
              • ((Triggering unit) is in BurnersGroup) Equal to False
            • Then - Actions
              • Unit Group - Remove (Triggering unit) from BurnersGroup
            • Else - Actions
      • Custom script: endif
  • Two
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) is in BurnersGroup) Equal to True
    • Actions
      • Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) - 15.00)
 
Level 5
Joined
May 31, 2009
Messages
122
If you want it to be an autocast style spell, you can base it off of frost arrows, and use a trigger to deal damage over time. Base it off of frost arrows, and give it a dummy buff, and use this thing:

  • Event
    • Time - Every 0.5 seconds of game time
  • Conditions
  • Actions
    • Unit Group - Pick Every Unit in (Units in (Playable Map Area) matching (((Matching Unit) has buff (dummy frost arrows buff)) equaly to (true)) and do (Actions)
    • Loop - Actions
      • Unit - Cause (Whoever has the spell unit) to damage (picked unit), dealing (x) damage of attack type (spell?) and damage type (magic?)
 
Status
Not open for further replies.
Top