I am making a castle defense map, thier will be many rifle man with this buff(like 30 or so)
My questions are. is this MUI
And if so, do you think it would cause major lag if so many rifleman with this buff where atttacking.
My questions are. is this MUI
And if so, do you think it would cause major lag if so many rifleman with this buff where atttacking.
Code:
ConcussionShot
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
((Attacking unit) has buff Frag Shells) Equal to True
Actions
Set SlowLoc = (Position of (Attacked unit))
Set SlowPercent = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Attacking unit) has buff Frag Shells) Equal to True
SlowPercent Less than or equal to 15
Then - Actions
Unit - Create 1 Dummy Thunderclap for (Owner of (Attacked unit)) at SlowLoc facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Order (Last created unit) to (Attacking unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Else - Actions
Do nothing
Custom script: call RemoveLocation( udg_SlowLoc)