Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Venomous Gale(Hero Use) - Based on blizzard
Actions
Set Venom_Units[1] = (Triggering unit)
Set Venom_Points[1] = (Position of Venom_Units[1])
Set Venom_Points[2] = (Target point of ability being cast)
Unit - Create 1 Venom Moving Dummy for (Owner of Venom_Units[1]) at Venom_Points[1] facing Default building facing degrees
Set Venom_Units[2] = (Last created unit)
Trigger - Turn on Venom Move <gen>
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set Venom_Points[3] = (Position of Venom_Units[2])
Set Venom_Points[4] = (Venom_Points[3] offset by 35.00 towards (Angle from Venom_Points[3] to Venom_Points[2]) degrees)
Unit - Move Venom_Units[2] instantly to Venom_Points[4]
Unit - Turn collision for Venom_Units[2] Off
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Distance between Venom_Points[3] and Venom_Points[2]))) Less than or equal to 50
Then - Actions
Unit - Remove Venom_Units[2] from the game
Set Venom_Group = (Units within 375.00 of Venom_Points[2] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of Venom_Units[1])) Equal to True))))
Unit Group - Pick every unit in Venom_Group and do (Actions)
Loop - Actions
Set Venom_Units[3] = (Picked unit)
Unit - Create 1 Venom Dummy for (Owner of Venom_Units[1]) at Venom_Points[2] facing Default building facing degrees
Set Venom_Units[4] = (Last created unit)
Unit - Add Shadow Strike(Dummy Use) to Venom_Units[4]
Unit - Set level of Shadow Strike(Dummy Use) for Venom_Units[4] to (Level of Venomous Gale (Hero Use) for Venom_Units[1])
Unit - Order Venom_Units[4] to Night Elf Warden - Shadow Strike Venom_Units[3]
Unit - Add a 1.20 second Generic expiration timer to Venom_Units[4]
Custom script: call RemoveLocation(udg_Venom_Points[1])
Custom script: call RemoveLocation(udg_Venom_Points[2])
Custom script: call RemoveLocation(udg_Venom_Points[3])
Custom script: call RemoveLocation(udg_Venom_Points[4])
Custom script: call DestroyGroup(udg_Venom_Group)
Trigger - Turn off (This trigger)
Else - Actions
I mean, isn't 375 radius a little too big?
First of all, let me clear something for you.. This spell only poisons the units in the targeted area not everything in its way.
thanks a lot tom kaznsky !!!!@Sonic, here is a demo map that I made, for some reasons, I can't upload it until now , take a look
--