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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Demonic Rampage1.2.w3x
Variables
Spell
Demonic Rampage
unneeded
trig
trig2
trig3
trig4
trig5
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
angle
real
No
do_not_copy_me
location
No
tempeff
effect
No
temppoint1
location
No
temppoint2
location
No
Documentation:
To make the spell work properly, copy the following into your map:
*This trigger
*All variables (EXCEPT "do_not_copy_me")
*Both dummies (dummy1 and dummy2)
*Both abilities
The spell creates the poles accordingly to the level number (Level * 3)
The angle is calculated like this: (120 / Level) => For lv 1 it's 120°, 240°, 360° -> For lv 2 it's 40°, 80°, 120° (and so on...
Further, if you want to change the damage, edit the respective values in the object editor (Level 1 - 3 damage)
If you want to edit the stun, change the respective field in the object editor (Stun-duration)
Demonic Rampage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Demonic Rampage
Actions
-------- Leak prevention - now to the spell itself --------
Set Variable Set temppoint1 = (Target point of ability being cast)
-------- First, we create a dummy which stuns the creeps --------
Unit - Create 1 . dummy2 for (Owner of (Triggering unit)) at temppoint1 facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-------- Now we make him cast the stun-spell --------
Unit - Order (Last created unit) to Orc Witch Doctor - Stasis Trap . temppoint1
-------- We let the player believe the stun was created by the sfx by adding one --------
Special Effect - Create a special effect at temppoint1 using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Set Variable Set tempeff = (Last created special effect)
Custom script: call DestroyEffect(udg_tempeff)
-------- Now we create the energy-pole-dummies equal to the level number (Level * 3) --------
For each (Integer A) from 1 to ((Level of Demonic Rampage for (Triggering unit)) x 3) , do (Actions)
Loop - Actions
Set Variable Set temppoint2 = (temppoint1 offset by 700.00 towards (angle + (120.00 / (Real((Level of Demonic Rampage for (Triggering unit)))))) degrees.)
Unit - Create 5 dummy1 for (Owner of (Triggering unit)) at temppoint2 facing temppoint1
-------- Here we adjust the animation speed of the pole in order to synchronize the damage --------
Animation - Change (Last created unit) 's animation speed to 130.00 % of its original speed
Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
Game - Display to (All players) the text: |cffffff00(Notice:)|r If a unit dies (you included) it will respawn after 8 seconds.Use the fountains located in the lower right corner to renew mp/hp
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.