Maybe im blind but i dont understand why this trigger kills any unit it comes in contact with.
AND YES I KNOW this can be done through loops but this is an old trigger i did when i didnt know loops existed, so please just ignore that.
- Soul Devour
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Soul Drain
-
Actions
- Set SoulDrainCasterRed = (Casting unit)
- Set SoulDrainVictimRed = (Target unit of ability being cast)
- Sound - Play SpellStealTarget <gen> at 100.00% volume, attached to SoulDrainVictimRed
- Special Effect - Create a special effect attached to the chest of SoulDrainVictimRed using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (10.00 + (Real((Intelligence of SoulDrainCasterRed (Include bonuses))))) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (5.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.50))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
- Wait 1.00 seconds
- Unit - Cause SoulDrainCasterRed to damage SoulDrainVictimRed, dealing (4.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.30)) damage of attack type Spells and damage type Normal
- Unit - Set life of SoulDrainCasterRed to (1.00 + ((Life of (Triggering unit)) + (2.00 + ((Real((Intelligence of SoulDrainCasterRed (Include bonuses)))) x 0.15))))
AND YES I KNOW this can be done through loops but this is an old trigger i did when i didnt know loops existed, so please just ignore that.