I don't seem to see the problem as the special effects is working perfectly and the dmage is not.
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Boar Smash
-
Actions
- Set BSloc = (Position of (Casting unit))
- Set BSloc = (BSloc offset by 90.00 towards (Facing of (Casting unit)) degrees)
-
Unit Group - Pick every unit in (Units within 300.00 of BSloc matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
-
Loop - Actions
- Unit - Cause (Casting unit) to damage (Matching unit), dealing 1000.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect at BSloc using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
- Set BSsfx = (Last created special effect)
- Wait 0.50 seconds
- Special Effect - Destroy BSsfx
- Custom script: call RemoveLocation(udg_BSloc)
-
Loop - Actions