I have made a spell that is supposta` hit every enemy unit within 350 of the casting unit, it works. Problem is ti hits all allies and the casting unit. Any advice on how to fix this?
- 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.00x(Real((Level of Kablastum for (Triggering unit))))) damage of attack type Splls and damage type fire
- Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl