I seem to have a problem with this, no damage is dealt upon losing mana.
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Actions
-
Set xmana = (Mana of ken)
-
Set xloc = (Position of ken)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Mana of ken) Less than xmana
-
-
Then - Actions
-
Set xtarget = (Units within 400.00 of xloc matching (((Matching unit) belongs to an enemy of (Owner of ken)) Equal to True))
-
Unit Group - Pick every unit in xtarget and do (Actions)
-
Loop - Actions
-
Unit - Cause ken to damage (Picked unit), dealing (xmana x ((Real((Level of Violent Mana for ken))) x 0.25)) damage of attack type Spells and damage type Normal
-
-
-
-
Else - Actions
-
-