• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Ensnare damaging over time?

Status
Not open for further replies.
Well the spell Airial Shackles is like ensare kinda and would do damage. My bet would be a dummy spell that does damage over time like shadow strike, then a trigger that detects when a unit casts ensnare, which creates a dummy unit and orders him to fire our dummy shadow strike. If you need a map with that trigger, I would be happy to make one.
 
  • Damaging Ensnare
  • Events
    • Unit - A unit begins casting an ability
  • Conditions -
    • Ability - Ability being cast equal to Ensnare
  • Actions
    • Unit - Cause casting unit to damage target of ability being cast, dealing 10 damage of attack type spells and damage type normal.
    • Wait - Wait 1 second
  • Unit - Cause casting unit to damage target of ability being cast, dealing 10 damage of attack type spells and damage type normal
Do this for the ensnare's time duration.
If u want to change at each level the damage do this :

  • Damaging Ensnare
  • Events
    • Unit - A unit begins casting an ability
  • Conditions -
    • Ability - Ability being cast equal to Ensnare
  • Actions
    • If/Then/Else Multiple Funcions
      • If - Level of Ensnare for casting unit equal to 1
      • Then -
        • Unit - Cause casting unit to damage target of ability being cast, dealing 10 damage of attack type spells and damage type normal.
    • Wait - Wait 1 second
  • Unit - Cause casting unit to damage target of ability being cast, dealing 10 damage of attack type spells and damage type normal
    • Else - Do nothing
And do this for each level.
 
Entangling Roots disables the attack. I think it also doesn't allow a missile.

And johan, you'd have to put RedBlade's trigger in a loop, something like

  • Set Target = (Target Unit of Ability Being Cast)
  • For Each Integer A from 1 to (duration), do actions
    • Loop - Actions
      • Unit - Cause (Triggering Unit) to damage Target, dealing ...
      • Wait 1.00 seconds
 
Um... thank you for trying to help but if he hasn't answered in three days, either his problem is solved or he has spontaneously disappeared on us.
 
Status
Not open for further replies.
Back
Top