Is there anything i should do to clean this trigger up and make it smoother?
If you need to know what its supposed to do the name of the ability should give it away. You take damage over a set amount of time then if you don't die, you return the damage and then some more.
Trigger:
- Untitled Trigger 001
- Events
- Unit - A unit Begins channeling an ability
- Conditions
- (Ability being cast) Equal to Bide
- Actions
- Set BideHealthStart = (Life of (Triggering unit))
- Unit - Set (Triggering unit) movement speed to 0.00
- Unit - Order (Triggering unit) to Special - Channel
- Wait 10.00 seconds
- Set BideHealthEnd = (Life of (Triggering unit))
- Unit - Order (Triggering unit) to Neutral Pit Lord - Howl Of Terror
- Special Effect - Create a special effect attached to the feet of (Triggering unit) using Units\NightElf\Wisp\WispExplode.mdl
- Unit Group - Pick every unit in (Units within 700.00 of (Position of (Triggering unit)) matching (((Picked unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
- Loop - Actions
- Special Effect - Create a special effect attached to the body of (Picked unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((BideHealthStart - BideHealthEnd) x 5.00) damage of attack type Chaos and damage type Normal
- Loop - Actions
- Unit - Set (Triggering unit) movement speed to (Default movement speed of (Triggering unit))
- Events
If you need to know what its supposed to do the name of the ability should give it away. You take damage over a set amount of time then if you don't die, you return the damage and then some more.