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
#Spell Underworld Beckoning.w3x
Variables
Map
Vis
Resp
Spell
Underworld Beckoning
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
RanNum
integer
No
Vis
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Resp
Events
Unit - A unit Dies
Conditions
Actions
Wait 15.00 seconds
Unit - Create 1 . (Unit-type of (Dying unit)) for (Owner of (Triggering unit)) at (Random point in (Playable map area)) facing Default building facing degrees
Underworld Beckoning
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Underworld Beckoning) Equal to True
Actions
Set Variable Set RanNum = (Random integer number between 1 and 4)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 1
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Stun
Unit - Pause (Attacked unit)
Wait (0.25 + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 0.25)) seconds
Unit - Unpause (Attacked unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 2
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: 2nd Strike
Unit - Cause (Attacking unit) to damage (Attacked unit) , dealing ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 10.00) damage of attack type Hero and damage type Normal
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RanNum Equal to 3
Then - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Stole Health
Unit - Cause (Attacking unit) to damage (Attacked unit) , dealing ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 5.00) damage of attack type Hero and damage type Normal
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 5.00))
Else - Actions
Game - Display to (Player group((Owner of (Attacking unit)))) for 3.00 seconds the text: Healed Self
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Real((Level of Underworld Beckoning for (Attacking unit)))) x 10.00))
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.