This spell keeps damaging my units, and enemy units how can i fix this? Their is another trigger, but that doesn't really do anything to affect this.
Code:
Untitled Trigger 002
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Set ShukuchiCasterPoint = (Position of ShukuchiCaster)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(ShukuchiCaster has buff Shukuchi ) Equal to False
Then - Actions
Unit - Set ShukuchiCaster movement speed to (Default movement speed of ShukuchiCaster)
Custom script: call RemoveLocation(udg_ShukuchiCasterPoint)
Custom script: call DestroyGroup(udg_ShukuchiGroup)
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(ShukuchiCaster has buff Shukuchi ) Equal to True
Then - Actions
Set ShukuchiGroup = (Units within 100.00 of ShukuchiCasterPoint matching ((((Picked unit) belongs to an enemy of (Owner of ShukuchiCaster)) Equal to True) and (((Picked unit) is A structure) Equal to False)))
Unit Group - Pick every unit in ShukuchiGroup and do (Unit - Cause ShukuchiCaster to damage (Picked unit), dealing (90.00 + ((Real((Level of Shukuchi - S for ShukuchiCaster))) + 10.00)) damage of attack type Spells and damage type Normal)
Unit Group - Pick every unit in ShukuchiGroup and do (Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\Feedback\ArcaneTowerAttack.mdl)
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing