1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Sands of Time v1.9.w3x
Variables
Inizializzazione
Ini
SFX
SFX Boss
Chat
Time
Timer Choose
Timer Press
---------------------------
Music
---------------------------
Low Info
Red Time
Blue Time
---------------------------
Timer Rewind
Time Rune
Rune Create 1
Rune Create 2
Boss
Boss Target
---------------------------
Boss Timer freeze
---------------------------
Boss Die
Boss Respawn
Corpse
Boss System
Grap
Grap 2
---------------------------
Cooldown Start 1
Cooldown 1
---------------------------
Cooldown Start 2
Cooldown 2
---------------------------
Cooldown Start 3
Cooldown 3

		
Name Type Is Array Initial Value
Board multiboard No
Boss unit Yes
Boss_Timer timer No
BossGroup group No
CooldownGroup group No
CooldownGroup_Slow group No
CooldownGroup_Stun group No
CooldownTable hashtable No
CooldownTable_Slow hashtable No
CooldownTable_Stun hashtable No
Dialog dialog No
Dialog_Button button Yes
Max_Time real No
Obelisk unit Yes
RandomizeSPEACH integer No
RemainingTimeGH real No
Roar sound Yes
Rune_1 timer No
Rune_2 timer No
SFX destructable No
Skeleton_Army group No
Specah sound No
Timer_Blue timer No
Timer_Red timer No
TimerBoard_Blue timerdialog No
TimerBoard_Red timerdialog No
UNIT unit Yes
Ini
  Events
    Map initialization
  Conditions
  Actions
    Set Roar[1] = DragonYes1 <gen>
    Set Roar[2] = DragonYes2 <gen>
    Set Roar[3] = DragonYes3 <gen>
    Set Roar[4] = DragonYesAttack3 <gen>
    Quest - Create a Required quest titled (|cffffcc00BRONZE SANCTUARY + ) with the description Mortals cannot stay in the Bronze Sanctuaryfor a long time. After the start of the battle,each player receives a timer,after expiring of which they will die., using icon path BTN348499ce9443ON.blp
    Quest - Create a Required quest titled (|cffffcc00SACRED SANDS + ) with the description When a player kills enemy creatures, he rolls backhis timer for a few seconds ago, turning off the timeof death. Also, every 4 minutes on special points ofthe map spawns Runes of Time, which roll backthe player's timer for 2 minutes ago., using icon path BTNpeski-vremeniON.blp
    Quest - Create a Required quest titled (|cffffcc00TIMELESS GUARDIAN + ) with the description In the center of the map stays the ancient guardof the Sanctuary - the Timeless One. Defeat himto gain additional experience and send him tocrush the enemy's base. While the Timeless Oneis under control, he stops the timer of he's master., using icon path BTNkvantovaya-peregruzkaON.blp
    Quest - Create a Optional quest titled (|cffffcc00HIVEWORKSHOP + ) with the description You can find latest version here - www.Hiveworkshop.comHive is a Warcraft 3 / SC2 modding and custom map community founded in 2004. Blizzard FanSite with over 80k members. If you want to know more about my maps, or if you want to start your own project, then Hive is a great opportunity to do it., using icon path BTNHiveON.blp
    Quest - Create a Optional quest titled (|cffffcc00PATREON + ) with the description If you have interesting ideas, found any bug or just want to support my projects - please contact me on Patreon: www.patreon.com/steven_maxwell, using icon path BTNpatreonON.blp
    Quest - Create a Optional quest titled (|cffffcc00CREDITS + ) with the description I'm very grateful to:• Z.Ky and he's Bloodwater Oasis map, that I use as base.• Pinachet for Bronze Dragon model• Skrab for Scavenger Dragon model• General Frank for Azure Dragon Judicator model• Eubz for Bronze Dragon Slave model• Sellenisko for Bronze Dragon Spawn model• Takakenji for Blue Dragonspawn General model• Kuhneghetz for Yellow Weredragon model• Minimage for Sand Elemental model• JetFangInferno for Naga Birth, Crushing Wave Damage, UDeathSmall and Charm Target models• Kirym for runicobject model• Dimbasik for stones models, using icon path BTNCreditsON.blp
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Player 1 (Red) controller) Equal to Computer
            (Player 2 (Blue) controller) Equal to Computer
      Then - Actions
        Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
      Else - Actions
        Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Set Max_Time = 300.00
    Melee Game - Use melee time of day (for all players)
    Melee Game - Limit Heroes to 1 per Hero-type (for all players)
    Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
    Melee Game - Set starting resources (for all players)
    Melee Game - Create starting units (for all players)
    Melee Game - Run melee AI scripts (for computer players)
    Melee Game - Enforce victory/defeat conditions (for all players)
    Hashtable - Create a hashtable
    Set CooldownTable = (Last created hashtable)
    Hashtable - Create a hashtable
    Set CooldownTable_Stun = (Last created hashtable)
    Hashtable - Create a hashtable
    Set CooldownTable_Slow = (Last created hashtable)
SFX
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Ability being cast) Equal to Stone (Neutral Hostile)
        (Ability being cast) Equal to Cripple
  Actions
    Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Human\DivineShield\DivineShieldTarget.mdl
    Special Effect - Destroy (Last created special effect)
SFX Boss
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Cataclysm
  Actions
    Special Effect - Create a special effect attached to the origin of (Triggering unit) using war3mapImported\HolyBlast.mdx
    Special Effect - Destroy (Last created special effect)
Chat
  Events
    Time - Every 120.00 seconds of game time
  Conditions
  Actions
    Set RandomizeSPEACH = (Random integer number between 1 and 7)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        RandomizeSPEACH Equal to 1
      Then - Actions
        Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - You will turn into sand. It's only a matter of time...
        Sound - Play Nozdormu_06 <gen>
        Set Specah = (Last played sound)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RandomizeSPEACH Equal to 2
          Then - Actions
            Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - Your destiny is inevitable, I have seen it. So enjoy life, while you have time...
            Sound - Play Nozdormu_07 <gen>
            Set Specah = (Last played sound)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                RandomizeSPEACH Equal to 3
              Then - Actions
                Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - The quicksands will absorb you. You will find, that defiling my Sanctuary is not worth the price.
                Sound - Play Nozdormu_08 <gen>
                Set Specah = (Last played sound)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    RandomizeSPEACH Equal to 4
                  Then - Actions
                    Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - I saw your future, mortal. Your life will sink into the sands...
                    Sound - Play Nozdormu_09 <gen>
                    Set Specah = (Last played sound)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        RandomizeSPEACH Equal to 5
                      Then - Actions
                        Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - Ashes to ashes. A little more and sands will swallow you...
                        Sound - Play Nozdormu_10 <gen>
                        Set Specah = (Last played sound)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            RandomizeSPEACH Equal to 6
                          Then - Actions
                            Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - Your time is running out, mortal. All of this has already been destined...
                            Sound - Play Nozdormu_11 <gen>
                            Set Specah = (Last played sound)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                RandomizeSPEACH Equal to 7
                              Then - Actions
                                Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - You have little time left, mortal. A little more and you will return to the sands...
                                Sound - Play Nozdormu_12 <gen>
                                Set Specah = (Last played sound)
                              Else - Actions
    Camera - Shake the camera for Player 1 (Red) with magnitude 6.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 6.00
    Wait 4.00 seconds
    Camera - Stop swaying/shaking the camera for Player 1 (Red)
    Camera - Stop swaying/shaking the camera for Player 2 (Blue)
Timer Choose
  Events
    Time - Elapsed game time is 0.01 seconds
  Conditions
  Actions
    Sound - Stop music After fading
    Sound - Stop the currently playing music theme
    Sound - Play Sands_of_Time01 <gen>
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Player 1 (Red) controller) Equal to Computer
            (Player 2 (Blue) controller) Equal to Computer
      Then - Actions
        Game - Pause the game
        Trigger - Turn off Low_Info <gen>
        Trigger - Turn off Chat <gen>
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 1 (Red) controller) Equal to Computer
          Then - Actions
            Dialog - Change the title of Dialog to Timer Amount:
            Dialog - Create a dialog button for Dialog labelled 5 Minutes
            Set Dialog_Button[1] = (Last created dialog Button)
            Dialog - Create a dialog button for Dialog labelled 7.5 Minutes
            Set Dialog_Button[2] = (Last created dialog Button)
            Dialog - Create a dialog button for Dialog labelled 10 Minutes
            Set Dialog_Button[3] = (Last created dialog Button)
            Dialog - Show Dialog for Player 2 (Blue)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Player 2 (Blue) controller) Equal to Computer
          Then - Actions
            Dialog - Change the title of Dialog to Timer Amount:
            Dialog - Create a dialog button for Dialog labelled 5 Minutes
            Set Dialog_Button[1] = (Last created dialog Button)
            Dialog - Create a dialog button for Dialog labelled 7.5 Minutes
            Set Dialog_Button[2] = (Last created dialog Button)
            Dialog - Create a dialog button for Dialog labelled 10 Minutes
            Set Dialog_Button[3] = (Last created dialog Button)
            Dialog - Show Dialog for Player 1 (Red)
          Else - Actions
      Else - Actions
Timer Press
  Events
    Dialog - A dialog button is clicked for Dialog
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialog_Button[1]
      Then - Actions
        Set Max_Time = 300.00
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialog_Button[2]
      Then - Actions
        Set Max_Time = 450.00
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialog_Button[3]
      Then - Actions
        Set Max_Time = 600.00
      Else - Actions
    Trigger - Run Low_Info <gen> (ignoring conditions)
    Trigger - Turn on Chat <gen>
    Game - Unpause the game
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 4.00 seconds
    Set RandomizeSPEACH = (Random integer number between 1 and 2)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        RandomizeSPEACH Equal to 1
      Then - Actions
        Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - Why have you broken into my Sanctuary? But what's the difference. It's would not be for long - the sands will swallow everything...
        Sound - Play Nozdormu_01 <gen>
        Set Specah = (Last played sound)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RandomizeSPEACH Equal to 2
          Then - Actions
            Quest - Display to (All players) the Quest Requirement message: |c00ff6600Nozdormu, The Lord of Time:|r - Breaking into my Sanctuary was a grave mistake. Now you must accept your Fate...
            Sound - Play Nozdormu_03 <gen>
            Set Specah = (Last played sound)
          Else - Actions
    Camera - Shake the camera for Player 1 (Red) with magnitude 6.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 6.00
    Wait 4.00 seconds
    Camera - Stop swaying/shaking the camera for Player 1 (Red)
    Camera - Stop swaying/shaking the camera for Player 2 (Blue)
Music
  Events
    Time - Every 180.00 seconds of game time
  Conditions
  Actions
    Sound - Stop music After fading
    Sound - Play Sands_of_Time01 <gen>
Low Info
  Events
    Time - Elapsed game time is 0.50 seconds
  Conditions
  Actions
    Countdown Timer - Start Timer_Red as a One-shot timer that will expire in Max_Time seconds
    Countdown Timer - Create a timer window for Timer_Red with title ((Name of Player 1 (Red)) + :)
    Set TimerBoard_Red = (Last created timer window)
    Countdown Timer - Hide TimerBoard_Red for Player 2 (Blue)
    -------- ------------------------------------ --------
    Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in Max_Time seconds
    Countdown Timer - Create a timer window for Timer_Blue with title ((Name of Player 2 (Blue)) + :)
    Set TimerBoard_Blue = (Last created timer window)
    Countdown Timer - Hide TimerBoard_Blue for Player 1 (Red)
Red Time
  Events
    Time - Timer_Red expires
  Conditions
  Actions
    Unit - Pause all units
    Countdown Timer - Hide TimerBoard_Blue
    Countdown Timer - Hide TimerBoard_Red
    Destructible - Create a B003 (destructablecode) at (Player 1 (Red) start location) facing 270.00 with scale 10.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill (Last created destructible)
    Cinematic - Turn cinematic mode On for (All players) over 2.00 seconds
    Visibility - Disable fog of war
    Visibility - Disable black mask
    Game - Disable selection and deselection functionality (Disable selection circles)
    Game - Disable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
    Game - Disable drag-selection functionality (Disable drag-selection box)
    Cinematic - Disable user control for (All players)
    Cinematic - Disable occlusion for (All players)
    Camera - Pan camera for Player 1 (Red) to (Player 1 (Red) start location) over 2.00 seconds
    Camera - Pan camera for Player 2 (Blue) to (Player 1 (Red) start location) over 2.00 seconds
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 1 (Red) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Camera - Shake the camera for Player 1 (Red) with magnitude 4.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 4.00
    Sound - Stop Specah After fading
    Wait 2.00 seconds
    Unit - Create 1 Bronze Dragon for Neutral Passive at (Center of Secret <gen>) facing Default building facing degrees
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 2) Equal to 1
      Then - Actions
        Cinematic - Send transmission to (All players) from (Last created unit) named Nozdormu, The Lord of Time: Play Nozdormu_14 <gen> and display Your time is up, mortal. I warned you, so now meet your terrible Fate face to face.... Modify duration: Add 10.00 seconds and Don't wait
      Else - Actions
        Cinematic - Send transmission to (All players) from (Last created unit) named Nozdormu, The Lord of Time: Play Nozdormu_13 <gen> and display Time spares no one. The Sacred Sands overwhelm you, mortal.... Modify duration: Add 10.00 seconds and Don't wait
    Camera - Apply without panning gg_cam_Camera_002 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_002 for Player 2 (Blue) over 3.00 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 1 (Red) start location) facing 270.00 with scale 8.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 1 (Red) start location) facing 270.00 with scale 6.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 1 (Red) start location) facing 270.00 with scale 4.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Create a B003 (destructablecode) at (Player 1 (Red) start location) facing 270.00 with scale 2.00 and variation 0
    Destructible - Kill SFX
    Set SFX = (Last created destructible)
    Wait 0.50 seconds
    Camera - Shake the camera for Player 1 (Red) with magnitude 10.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 10.00
    Camera - Apply without panning gg_cam_Camera_003 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_003 for Player 2 (Blue) over 3.00 seconds
    Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s death animation
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked unit) is A structure) Equal to True
          Then - Actions
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
            Unit - Kill (Picked unit)
    Wait 2.00 seconds
    Camera - Shake the camera for Player 1 (Red) with magnitude 4.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 4.00
    Camera - Apply without panning gg_cam_Camera_004 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_004 for Player 2 (Blue) over 3.00 seconds
    Wait 2.00 seconds
    Camera - Apply without panning gg_cam_Camera_001 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_001 for Player 2 (Blue) over 3.00 seconds
    Wait 1.00 seconds
    Destructible - Kill (Last created destructible)
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
    Cinematic - Enable user control for (All players)
    Game - Enable selection and deselection functionality (Disable selection circles)
    Game - Enable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
    Game - Enable drag-selection functionality (Disable drag-selection box)
    Game - Defeat Player 1 (Red) with the message: Вы проиграли!
    Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
      Loop - Actions
        Unit - Kill (Picked unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked unit) is A structure) Equal to True
          Then - Actions
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
Blue Time
  Events
    Time - Timer_Blue expires
  Conditions
  Actions
    Unit - Pause all units
    Countdown Timer - Hide TimerBoard_Blue
    Countdown Timer - Hide TimerBoard_Red
    Destructible - Create a B003 (destructablecode) at (Player 2 (Blue) start location) facing 270.00 with scale 10.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill (Last created destructible)
    Cinematic - Turn cinematic mode On for (All players) over 2.00 seconds
    Visibility - Disable fog of war
    Visibility - Disable black mask
    Game - Disable selection and deselection functionality (Disable selection circles)
    Game - Disable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
    Game - Disable drag-selection functionality (Disable drag-selection box)
    Cinematic - Disable user control for (All players)
    Cinematic - Disable occlusion for (All players)
    Camera - Pan camera for Player 1 (Red) to (Player 2 (Blue) start location) over 2.00 seconds
    Camera - Pan camera for Player 2 (Blue) to (Player 2 (Blue) start location) over 2.00 seconds
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandExplosion.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Player 2 (Blue) start location) using war3mapImported\SandTrap.mdx
    Special Effect - Destroy (Last created special effect)
    Camera - Shake the camera for Player 1 (Red) with magnitude 4.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 4.00
    Sound - Stop Specah After fading
    Wait 2.00 seconds
    Unit - Create 1 Bronze Dragon for Neutral Passive at (Center of Secret <gen>) facing Default building facing degrees
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 2) Equal to 1
      Then - Actions
        Cinematic - Send transmission to (All players) from (Last created unit) named Nozdormu, The Lord of Time: Play Nozdormu_14 <gen> and display Your time is up, mortal. I warned you, so now meet your terrible Fate face to face.... Modify duration: Add 10.00 seconds and Don't wait
      Else - Actions
        Cinematic - Send transmission to (All players) from (Last created unit) named Nozdormu, The Lord of Time: Play Nozdormu_13 <gen> and display Time spares no one. The Sacred Sands overwhelm you, mortal.... Modify duration: Add 10.00 seconds and Don't wait
    Camera - Apply without panning gg_cam_Camera_002 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_002 for Player 2 (Blue) over 3.00 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 2 (Blue) start location) facing 270.00 with scale 8.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 2 (Blue) start location) facing 270.00 with scale 6.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Kill SFX
    Destructible - Create a B003 (destructablecode) at (Player 2 (Blue) start location) facing 270.00 with scale 4.00 and variation 0
    Set SFX = (Last created destructible)
    Destructible - Kill SFX
    Wait 0.50 seconds
    Destructible - Create a B003 (destructablecode) at (Player 2 (Blue) start location) facing 270.00 with scale 2.00 and variation 0
    Destructible - Kill SFX
    Set SFX = (Last created destructible)
    Wait 0.50 seconds
    Camera - Shake the camera for Player 1 (Red) with magnitude 10.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 10.00
    Camera - Apply without panning gg_cam_Camera_003 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_003 for Player 2 (Blue) over 3.00 seconds
    Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s death animation
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked unit) is A structure) Equal to True
          Then - Actions
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
            Unit - Kill (Picked unit)
    Wait 2.00 seconds
    Camera - Shake the camera for Player 1 (Red) with magnitude 4.00
    Camera - Shake the camera for Player 2 (Blue) with magnitude 4.00
    Camera - Apply without panning gg_cam_Camera_004 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_004 for Player 2 (Blue) over 3.00 seconds
    Wait 2.00 seconds
    Camera - Apply without panning gg_cam_Camera_001 for Player 1 (Red) over 3.00 seconds
    Camera - Apply without panning gg_cam_Camera_001 for Player 2 (Blue) over 3.00 seconds
    Wait 1.00 seconds
    Destructible - Kill (Last created destructible)
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Game - Victory Player 1 (Red) (Show dialogs, Show scores)
    Cinematic - Enable user control for (All players)
    Game - Enable selection and deselection functionality (Disable selection circles)
    Game - Enable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
    Game - Enable drag-selection functionality (Disable drag-selection box)
    Game - Defeat Player 2 (Blue) with the message: Вы проиграли!
    Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Actions)
      Loop - Actions
        Unit - Kill (Picked unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked unit) is A structure) Equal to True
          Then - Actions
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandWaveDamage.mdx
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\SandExplosion.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
Timer Rewind
  Events
    Unit - A unit Dies
  Conditions
    ((Dying unit) belongs to an ally of (Owner of (Killing unit))) Equal to False
    ((Dying unit) is an illusion) Equal to False
    ((Dying unit) is A structure) Equal to False
    ((Dying unit) is Summoned) Equal to False
    (Unit-type of (Dying unit)) Not equal to Timeless One
  Actions
    Special Effect - Create a special effect at (Position of (Dying unit)) using war3mapImported\SandWaveDamage.mdx
    Special Effect - Destroy (Last created special effect)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 1 (Red)
      Then - Actions
        Countdown Timer - Pause Timer_Red
        Countdown Timer - Start Timer_Red as a One-shot timer that will expire in ((Remaining time for Timer_Red) + ((Real((Supply used by (Dying unit)))) x 10.00)) seconds
        Floating Text - Create floating text that reads (|c00ff6600+ + ((String(((Supply used by (Dying unit)) x 10))) + sec.)) above (Dying unit) with Z offset 0, using font size 9.00, color (100%, 100%, 100%), and 0% transparency
        Floating Text - Hide (Last created floating text) for Player Group - Player 2 (Blue)
        Floating Text - Change (Last created floating text): Disable permanence
        Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
        Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
        Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Red) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Red as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 2 (Blue)
      Then - Actions
        Countdown Timer - Pause Timer_Blue
        Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in ((Remaining time for Timer_Blue) + ((Real((Supply used by (Dying unit)))) x 10.00)) seconds
        Floating Text - Create floating text that reads (|c00ff6600+ + ((String(((Supply used by (Dying unit)) x 10))) + sec.)) above (Dying unit) with Z offset 0, using font size 9.00, color (100%, 100%, 100%), and 0% transparency
        Floating Text - Hide (Last created floating text) for Player Group - Player 1 (Red)
        Floating Text - Change (Last created floating text): Disable permanence
        Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
        Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
        Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Blue) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
Time Rune
  Events
    Unit - A unit Acquires an item
  Conditions
    (Item-type of (Item being manipulated)) Equal to Rune of Time
  Actions
    Special Effect - Create a special effect at (Position of (Item being manipulated)) using war3mapImported\HolyBlast.mdx
    Special Effect - Destroy (Last created special effect)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Triggering unit)) Equal to Player 1 (Red)
      Then - Actions
        Countdown Timer - Pause Timer_Red
        Countdown Timer - Start Timer_Red as a One-shot timer that will expire in ((Remaining time for Timer_Red) + 60.00) seconds
        Floating Text - Create floating text that reads (|c00ff6600+ + (60 + sec.)) above (Triggering unit) with Z offset 0, using font size 10.00, color (100%, 100%, 100%), and 0% transparency
        Floating Text - Hide (Last created floating text) for Player Group - Player 2 (Blue)
        Floating Text - Change (Last created floating text): Disable permanence
        Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
        Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
        Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Red) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Red as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Triggering unit)) Equal to Player 2 (Blue)
      Then - Actions
        Countdown Timer - Pause Timer_Blue
        Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in ((Remaining time for Timer_Blue) + 60.00) seconds
        Floating Text - Create floating text that reads (|c00ff6600+ + (60 + sec.)) above (Triggering unit) with Z offset 0, using font size 9.00, color (100%, 100%, 100%), and 0% transparency
        Floating Text - Hide (Last created floating text) for Player Group - Player 1 (Red)
        Floating Text - Change (Last created floating text): Disable permanence
        Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
        Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
        Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Blue) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Rune_1 <gen> contains (Position of (Triggering unit))) Equal to True
      Then - Actions
        Countdown Timer - Start Rune_1 as a One-shot timer that will expire in 240.00 seconds
      Else - Actions
        Countdown Timer - Start Rune_2 as a One-shot timer that will expire in 240.00 seconds
Rune Create 1
  Events
    Time - Rune_1 expires
  Conditions
  Actions
    Special Effect - Create a special effect at (Center of Center_Rune_1 <gen>) using war3mapImported\HolyBlast.mdx
    Special Effect - Destroy (Last created special effect)
    Item - Create Rune of Time at (Center of Center_Rune_1 <gen>)
Rune Create 2
  Events
    Time - Rune_2 expires
  Conditions
  Actions
    Special Effect - Create a special effect at (Center of Center_Rune_2 <gen>) using war3mapImported\HolyBlast.mdx
    Special Effect - Destroy (Last created special effect)
    Item - Create Rune of Time at (Center of Center_Rune_2 <gen>)
Boss Target
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in BossGroup and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Owner of (Picked unit)) Equal to Player 6 (Orange)
          Then - Actions
            Unit - Order (Picked unit) to Attack-Move To (Player 2 (Blue) start location)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Owner of (Picked unit)) Equal to Player 5 (Yellow)
          Then - Actions
            Unit - Order (Picked unit) to Attack-Move To (Player 1 (Red) start location)
          Else - Actions
Boss Timer freeze
  Events
    Time - Every 1.00 seconds of game time
  Conditions
    (Number of units in (Units of type Timeless One 2)) Not equal to 0
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Random unit from (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Timeless One 2)))) Equal to Player 6 (Orange)
      Then - Actions
        Countdown Timer - Pause Timer_Red
        Countdown Timer - Start Timer_Red as a One-shot timer that will expire in ((Remaining time for Timer_Red) + 1) seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Red) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Red as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Random unit from (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Timeless One 2)))) Equal to Player 5 (Yellow)
      Then - Actions
        Countdown Timer - Pause Timer_Blue
        Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in ((Remaining time for Timer_Blue) + 1) seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Remaining time for Timer_Blue) Greater than Max_Time
          Then - Actions
            Countdown Timer - Start Timer_Blue as a One-shot timer that will expire in Max_Time seconds
          Else - Actions
      Else - Actions
Boss Die
  Events
    Unit - A unit Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Timeless One
        (Unit-type of (Dying unit)) Not equal to Timeless One 2
      Then - Actions
        Cinematic - Ping minimap for (All players) at (Center of (Playable map area)) for 1 seconds, using a Warning ping of color (100.00%, 80.00%, 0.00%)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Owner of (Killing unit)) Equal to Player 1 (Red)
          Then - Actions
            Quest - Display to (All players) the Warning message: ((|cFFFF0000 + ((Name of (Owner of (Killing unit))) + |r)) + has captured |cFFFF8811Timeless One|r!)
            Unit - Create 1 Timeless One 2 for Player 6 (Orange) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degrees
            Unit Group - Add (Last created unit) to BossGroup
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Unit - Order (Last created unit) to Attack-Move To (Player 2 (Blue) start location)
            Set Boss[1] = (Last created unit)
            Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision
            Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
            Player - Make Player 6 (Orange) treat Neutral Hostile as an Neutral
            Player - Make Neutral Hostile treat Player 6 (Orange) as an Neutral
            Unit - Remove (Dying unit) from the game
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Owner of (Killing unit)) Equal to Player 2 (Blue)
          Then - Actions
            Quest - Display to (All players) the Warning message: ((|cFF0000FF + ((Name of (Owner of (Killing unit))) + |r)) + has captured |cFFFF8811Timeless One|r!)
            Unit - Create 1 Timeless One 2 for Player 5 (Yellow) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degrees
            Unit Group - Add (Last created unit) to BossGroup
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Unit - Order (Last created unit) to Attack-Move To (Player 1 (Red) start location)
            Set Boss[1] = (Last created unit)
            Player - Make Player 5 (Yellow) treat Player 2 (Blue) as an Ally with shared vision
            Player - Make Player 2 (Blue) treat Player 5 (Yellow) as an Ally with shared vision
            Player - Make Player 5 (Yellow) treat Neutral Hostile as an Neutral
            Player - Make Neutral Hostile treat Player 5 (Yellow) as an Neutral
            Unit - Remove (Dying unit) from the game
          Else - Actions
        Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
        Destructible - Pick every destructible within 500.00 of (Center of (Playable map area)) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Destructible-type of (Picked destructible)) Equal to B000 (destructablecode)
              Then - Actions
                Destructible - Resurrect (Picked destructible) with (Max life of (Picked destructible)) life and Show birth animation
              Else - Actions
      Else - Actions
    Countdown Timer - Start Boss_Timer as a One-shot timer that will expire in 180.00 seconds
Boss Respawn
  Events
    Time - Boss_Timer expires
  Conditions
  Actions
    Unit - Create 1 Timeless One for Player 4 (Purple) at (Center of (Playable map area)) facing 270.00 degrees
    Special Effect - Create a special effect at (Center of (Playable map area)) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
    Special Effect - Destroy (Last created special effect)
    Destructible - Pick every destructible within 500.00 of (Center of (Playable map area)) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Destructible-type of (Picked destructible)) Equal to B000 (destructablecode)
          Then - Actions
            Destructible - Kill (Picked destructible)
          Else - Actions
Corpse
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Timeless One 2
  Actions
    Wait 5.00 seconds
    Unit - Remove (Dying unit) from the game
Grap
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacked unit)) Equal to Timeless One
    ((Attacking unit) is Mechanical) Equal to False
    ((Attacking unit) is A structure) Equal to False
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 2) Equal to 1
      Then - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Attacked unit) is in CooldownGroup) Equal to False
          Then - Actions
            Unit - Order (Attacked unit) to Orc Tauren Chieftain - Shockwave (Position of (Attacking unit))
            Wait 1.00 seconds
            Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk
          Else - Actions
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 2) Equal to 1
          Then - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ((Attacked unit) is in CooldownGroup_Slow) Equal to False
              Then - Actions
                Unit - Order (Attacked unit) to Undead Necromancer - Cripple (Attacking unit)
                Wait 1.00 seconds
                Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk
              Else - Actions
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ((Attacked unit) is in CooldownGroup_Stun) Equal to False
              Then - Actions
                Unit - Order (Attacked unit) to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk
              Else - Actions
Grap 2
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacked unit)) Equal to Timeless One 2
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 100) Less than or equal to 20
      Then - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Attacked unit) is in CooldownGroup) Equal to False
          Then - Actions
            Unit - Order (Attacked unit) to Orc Tauren Chieftain - Shockwave (Position of (Attacking unit))
            Wait 1.00 seconds
            Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk
          Else - Actions
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 100) Less than or equal to 20
          Then - Actions
            Unit - Order (Attacked unit) to Orc Tauren Chieftain - War Stomp
            Wait 1.00 seconds
            Unit - Order (Attacked unit) to Orc Blademaster - Wind Walk
          Else - Actions
Cooldown Start 1
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Shockwave (Neutral Hostile)
  Actions
    Hashtable - Save 6.00 as 0 of (Key (Triggering unit)) in CooldownTable
    Unit Group - Add (Picked unit) to CooldownGroup
Cooldown 1
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in CooldownGroup and do (Actions)
      Loop - Actions
        Set RemainingTimeGH = (Load 0 of (Key (Picked unit)) from CooldownTable)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RemainingTimeGH Greater than 0.00
          Then - Actions
            Hashtable - Save (RemainingTimeGH - 1.00) as 0 of (Key (Picked unit)) in CooldownTable
          Else - Actions
            Unit Group - Remove (Picked unit) from CooldownGroup
            Hashtable - Clear all child hashtables of child (Key (Picked unit)) in CooldownTable
Cooldown Start 2
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Cataclysm
  Actions
    Hashtable - Save 15.00 as 1 of (Key (Triggering unit)) in CooldownTable_Stun
    Unit Group - Add (Picked unit) to CooldownGroup_Stun
Cooldown 2
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in CooldownGroup_Stun and do (Actions)
      Loop - Actions
        Set RemainingTimeGH = (Load 1 of (Key (Picked unit)) from CooldownTable_Stun)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RemainingTimeGH Greater than 0.00
          Then - Actions
            Hashtable - Save (RemainingTimeGH - 1.00) as 1 of (Key (Picked unit)) in CooldownTable_Stun
          Else - Actions
            Unit Group - Remove (Picked unit) from CooldownGroup_Stun
            Hashtable - Clear all child hashtables of child (Key (Picked unit)) in CooldownTable_Stun
Cooldown Start 3
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Cripple
  Actions
    Hashtable - Save 5.00 as 0 of (Key (Triggering unit)) in CooldownTable_Slow
    Unit Group - Add (Picked unit) to CooldownGroup_Slow
Cooldown 3
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in CooldownGroup_Slow and do (Actions)
      Loop - Actions
        Set RemainingTimeGH = (Load 0 of (Key (Picked unit)) from CooldownTable_Slow)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RemainingTimeGH Greater than 0.00
          Then - Actions
            Hashtable - Save (RemainingTimeGH - 1.00) as 0 of (Key (Picked unit)) in CooldownTable_Slow
          Else - Actions
            Unit Group - Remove (Picked unit) from CooldownGroup_Slow
            Hashtable - Clear all child hashtables of child (Key (Picked unit)) in CooldownTable_Slow