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
Tomv8s spell.w3x
Variables
Initialization
Melee Initialization
mml
spawn
magic
Death call
death call
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
caster
unit
No
dummy1
unit
Yes
dummy2
unit
No
light
lightning
Yes
point
location
Yes
star
location
Yes
Default melee game initialization for all players
Melee Initialization
Events
Unit - A unit Dies
Conditions
((Unit-type of (Dying unit)) is A Hero) Equal to True
Actions
Hero - Instantly revive (Dying unit) at (Center of (Entire map)) , Hide revival graphics
mml
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Game - Display to (All players) for 888888896.00 seconds the text: this spell is by tomv8
spawn
Events
Player - Player 1 (Red) types a chat message containing spawn (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 10 . Dire Wolf for Player 12 (Brown) at (Random point in (Entire map)) facing Default building facing degrees
magic
Events
Player - Player 1 (Red) types a chat message containing magic (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units in (Entire map) owned by Player 1 (Red)) and do (Set mana of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units in (Entire map) owned by Player 1 (Red)) and do (Reset ability cooldowns for (Picked unit).)
death call
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to death call
Actions
Set Variable Set caster = (Casting unit)
Set Variable Set point[1] = (Position of caster)
Set Variable Set star[1] = (point[1] offset by 700.00 towards 90.00 degrees.)
Set Variable Set star[2] = (point[1] offset by 700.00 towards 162.00 degrees.)
Set Variable Set star[3] = (point[1] offset by 700.00 towards 234.00 degrees.)
Set Variable Set star[4] = (point[1] offset by 700.00 towards 306.00 degrees.)
Set Variable Set star[5] = (point[1] offset by 700.00 towards 18.00 degrees.)
Lightning - Create a Spirit Link lightning effect from source star[1] to target star[3]
Set Variable Set light[1] = (Last created lightning effect)
Lightning - Create a Spirit Link lightning effect from source star[5] to target star[3]
Set Variable Set light[2] = (Last created lightning effect)
Lightning - Create a Spirit Link lightning effect from source star[5] to target star[2]
Set Variable Set light[3] = (Last created lightning effect)
Lightning - Create a Spirit Link lightning effect from source star[2] to target star[4]
Set Variable Set light[4] = (Last created lightning effect)
Lightning - Create a Spirit Link lightning effect from source star[4] to target star[1]
Set Variable Set light[5] = (Last created lightning effect)
Unit - Create 1 . dummy1 for Player 1 (Red) at star[1] facing Default building facing degrees
Set Variable Set dummy1[1] = (Last created unit)
Unit - Create 1 . dummy1 for Player 1 (Red) at star[2] facing Default building facing degrees
Set Variable Set dummy1[2] = (Last created unit)
Unit - Create 1 . dummy1 for Player 1 (Red) at star[3] facing Default building facing degrees
Set Variable Set dummy1[3] = (Last created unit)
Unit - Create 1 . dummy1 for Player 1 (Red) at star[4] facing Default building facing degrees
Set Variable Set dummy1[4] = (Last created unit)
Unit - Create 1 . dummy1 for Player 1 (Red) at star[5] facing Default building facing degrees
Set Variable Set dummy1[5] = (Last created unit)
Unit Group - Pick every unit in (Units within 700.00 of point[1].) and do (Pause (Picked unit))
Wait 5.00 seconds
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of caster using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
Wait 0.80 seconds
Unit - Remove dummy1[1] from the game
Wait 0.80 seconds
Unit - Remove dummy1[2] from the game
Wait 0.80 seconds
Unit - Remove dummy1[3] from the game
Wait 0.80 seconds
Unit - Remove dummy1[4] from the game
Wait 0.80 seconds
Unit - Remove dummy1[5] from the game
Wait 5.57 seconds
Unit - Create 1 . dummy2 for Player 1 (Red) at point[1] facing Default building facing degrees
Set Variable Set dummy2 = (Last created unit)
Wait 2.00 seconds
Unit - Kill dummy2
Unit Group - Pick every unit in (Units within 700.00 of point[1] matching (((Matching unit) is A Hero) Equal to False).) and do (Kill (Picked unit))
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.