Hello guys how do i make this trigger only damage the enemy and not my allies?
Thanks in advance!
Thanks in advance!
-
Skeleton Explosion
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Explode Skeletons
-
-
Actions
-
Unit Group - Pick every unit in (Units within 9999999.00 of (Position of (Triggering unit)).) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is alive) Equal to True
-
(Unit-type of (Picked unit)) Equal to Exploding Skeleton
-
-
Then - Actions
-
Unit - Kill (Picked unit)
-
Unit - Cause (Picked unit) to damage circular area after 0.00 seconds of radius 200.00 at (Position of (Picked unit)), dealing (Real(SkeletonExplosion_DMG[(Level of Explode Skeletons for (Triggering unit))])) damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
-
-
-