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