Well i have been trying to make a spell called "Kablastum" and i have, it worked perfectly and did the correct amount of damage to units within 350 of the casting unit. The only problem is that it also damages allied units and the casting unit. Does anyone know how to correct this problem?
-
Events
-
Unit - A unit Starts the effect of an ability
-
Conditions
-
(Ability being cast)Equal to Kablastum
-
Actions
-
Unit Group - Pick every unit in (Units within 350.00 of (Position of(Casting unit))) and do (Actions)
-
Loop - Actions
-
Unit - Cause (Triggering unit) to damage (picked unit), dealing (50.00 x (Real((Level of Kablastum for (Triggering unit))))) damage of attack type Spells and damage type fire
-
Special Effect - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\human\FragmentationShards|FragBoomSpawn.mdl