Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Unit - Turn collision for JD_Unit[JD_Integers[3]] On.
Set VariableSet JD_RealTimer[JD_Integers[3]] = 0.00
-------- --------
Set VariableSet Toss_Point[1] = (Position of JD_Unit[JD_Integers[3]])
Destructible - Pick every destructible within 275.00 of Toss_Point[1] and do (Destructible - Kill (Picked destructible))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(JD_Unit[JD_Integers[3]] belongs to an enemy of (Owner of Toss_Caster[JD_Integers[3]]).) Equal to True
Then - Actions
Unit - Cause Toss_Caster[JD_Integers[3]] to damage JD_Unit[JD_Integers[3]], dealing (Toss_Damage[JD_Integers[3]] x 1.30) damage of attack type Spells and damage type Magic
Else - Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units within 275.00 of Toss_Point[1].) and do (Actions)
Loop - Actions
Set VariableSet Toss_UnitTemp = (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Toss_UnitTemp is alive) Equal to True
(Toss_UnitTemp is A structure) Equal to False
(Toss_UnitTemp belongs to an enemy of (Owner of Toss_Caster[JD_Integers[3]]).) Equal to True
Toss_UnitTemp Not equal to JD_Unit[JD_Integers[3]]
Then - Actions
Unit - Cause Toss_Caster[JD_Integers[3]] to damage Toss_UnitTemp, dealing Toss_Damage[JD_Integers[3]] damage of attack type Spells and damage type Magic
Else - Actions
Special Effect - Create a special effect at Toss_Point[1] using war3mapImported\warstompcaster.mdx
Special Effect - Destroy (Last created special effect)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.