i Want to create an owl that drains the mana out from every unit in a radius, including the caster. i tought i culd make it on my own but apperantly it doesnt work...
can someone help me get this right?
Edit.
okey, i have made some changes. still not working tho.

can someone help me get this right?
-
mana owl
-

Events
-


Unit - A unit enters (Playable map area)
-
-

Conditions
-


(Unit-type of (Entering unit)) Equal to Mana Owl (Level 1)
-


(Unit-type of (Entering unit)) Equal to Mana Owl (Level 2)
-


(Unit-type of (Entering unit)) Equal to Mana Owl (Level 3)
-
-

Actions
-


Set manaowl = (Entering unit)
-


Unit Group - Add manaowl to manaowltargets
-


Trigger - Turn on Mana owl 2 <gen>
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




manaowl Equal to (Dying unit)
-
-



Then - Actions
-




Trigger - Turn off Mana owl 2 <gen>
-
-



Else - Actions
-
-
-
-
Mana owl 2
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in manaowltargets and do (Actions)
-



Loop - Actions
-




Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) - 100.00)
-




Special Effect - Create a special effect at (Center of TempLoc) using Abilities\Spells\Other\Drain\ManaDrainCaster.mdl
-




Unit - Set mana of manaowl to ((Mana of manaowl) + 100.00)
-




Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Other\Drain\ManaDrainTarget.mdl
-
-
-
-
Edit.
okey, i have made some changes. still not working tho.
Last edited:

