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!
The Stun is easy to do, just open up object editor, create a new spell based on storm bolt, remove its effects, make it deal no damage, make it stun for 0 Seconds (0 seconds stuns the unit forever if it has that buff) then make it a unit ability. Also make the missile speed value to a very high value so the stun can be instant. Basically you just set the real value and run a timer to end the duration by removing the infinite buff. This is what you should do: Note: To make it MUI i suggest you use player arrays or custom values for it.
AUnitUsesSpell
Events
Conditions
Actions
-------- this is what you need to do for the stun --------
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at PositionOfCaster facing Default building facing degrees
Unit - Add Storm Bolt to (Last created unit)
Set Target = (Target unit of ability being cast)
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Target
Set StunDuration = ((Real((Agility of (Triggering unit) (Include bonuses)))) x 0.01)
Countdown Timer - Start Timer as a One-shot timer that will expire in StunDuration seconds
Timer Ends
StunDurationExpires
Events
Time - Timer expires
Conditions
Actions
-------- Remove the buff so it wont stun anymore --------
Unit - Remove Stunned (Pause) buff from Target
I didnt post removing the memory leaks because i think it would ruin the whole concentration ^^
lol sorry i didnt answer fast but it was because i was offline ;D
Its a real variable ^^, integers only take full numbers and we need numbers with decimals ^^, Btw how do we get Rep ? cus i think its from good resources only but i dont know
Hmm, i want only know how to make the second variable"Set StunDuration = ((Real((Agility of (Triggering unit) (Include bonuses)))) x 0.01)
"
I dont know waht kind of Varibles it is ((
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.