I'm trying to make the spell "aerial shackles" use triggered damage per second (like damage = intelligence x 2) instead of the damage from the object editor. Since it's a channeling spell, I want the damage only to be done every second and only if the caster is still channeling. Here's my trigger:

-
Shackles DOT
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Shackles
-
-
Actions
-
Set ShacklesTimer = 0
-
Set ShacklesUnit[1] = (Triggering unit)
-
Set ShacklesUnit[2] = (Target unit of ability being cast)
-
Trigger - Turn on Shackles Timer <gen>
-
-
-
Shackles Timer
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set ShacklesTimer = (ShacklesTimer + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(ShacklesUnit[2] has buff Shackles ) Equal to True
-
-
Then - Actions
-
Unit - Cause ShacklesUnit[1] to damage ShacklesUnit[2], dealing (1.20 x (Real((Intelligence of (Target unit of ability being cast) (Include bonuses))))) damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
Trigger - Turn off (This trigger)
-
-
-
-
Last edited: