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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  5. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  6. 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

City TD Solo v2.81a.w3x
Variables
Variables
Startup ------------------------------------
Core Functions
NoSoundAlert
Bounty
View
Item Leak Removers
Item Cleanup
Start up & INI
Setup Players
Setup Spawn Areas
Setup Lanes
Setup Spawn Text
Setup Hunter Areas
Setup Other
floating text
Floating text
Floating text remove RED
Floating text remove B
Floating text remove T
Floating text remove P
Floating text remove Y
Floating text remove O
Floating text remove G
Abilities & effects ----------------------------
Special Towers
Remove Doom
Samurai
Samurai 1
Samurai Master Berserk
Samurai Master Cripple
Demonic Soldier
Demonic Warrior
Priesttess
Priest
Priest Copy
Sorc
Sorc Copy
Wiz
Wiz Copy
City Guardian
Moon Archer
Queen
City King
Boss Actions
Music end
level 5 drop
level 15 drop
level 25 wolf
level 25 drop
Wolf 25 Loop
level 25 pathing
level 32 howl
level 32 howl death loop
level 32 pathing
level final howl
level final howl death loop
level final pathing
level 35 MS
Minotaur 35 Loop
level 35 drop
level 44 MS
Mammoth 44 Loop
level 45 drop
level 45 armor
Horseman 45 Loop
level 47
Juggernaut 47 Loop
Juggernaut Wait
level 51 heal
Troll Berserker 51 Loop
level 51
level 51 skele
level 51 pathing
level 51 pathing Copy
level 51 remove reincarnation
level 52 apparition
level 52 apparition loop
level 52 pathing
level 55stun
level 55 war commander drop
War Commander 55 Loop
level 55stunForgot
War Commander 55 Loop Forgot
level 55 war commanderForgot
Unit dreadlord 53 fly
dreadlord53 Loop
dreadlord53 morph
bloodmage 58 unit
bloodmage 58 fly loop
level 53 far seer drop
level 53 far seer heal
FarSeer 53 Loop
level 55 heal
level 55 drop
Blood Mage 55 Loop
final 54
death cart drop
death cart
death Cart Loop
death cart dies
centStun
centStunloop
MK drop
MK
MK loop
Kids
Kids Loop
final 56
final 56 heal
final 56 howl
final 57 dies
Events
Boss Sounds
Sounds R
Sounds B
Sounds T
Sounds P
Sounds Y
Sounds O
Sounds G
Dummy Example
Dummy War Stomp WarCommander
Dummy War Stomp Kids
Dummy War Stomp Cart
Dummy War Stomp Cent
Dummy War Stomp CotM
Commands ------------------------------------
Difficulty
EnterSpawn RED
EnterSpawn BLUE
EnterSpawn TEA
EnterSpawn PUR
EnterSpawn YEL
EnterSpawn ORG
EnterSpawn GRN
Dialog Var
RedMode
BlueMode
TealMode
PurpleMode
YellowMode
OrangeMode
GreenMode
Dialog Version
Dialog Base RED
Dialog Base BLU
Dialog Base TEA
Dialog Base PUR
Dialog Base YEL
Dialog Base ORG
Dialog Base GRN
Dialog Version RED
Dialog Version BLU
Dialog Version TEA
Dialog Version PUR
Dialog Version YEL
Dialog Version ORG
Dialog Version GRN
Air cmd
Air info text
Cam
Zoom
Cam
Boss cmd
Sell
Sell Towers
Anti Juggle
Disable Sell Red
Disable Sell Blu
Disable Sell Tea
Disable Sell Pur
Disable Sell Yel
Disable Sell Org
Disable Sell Gre
Anti Juggle
Anti Juggle2
Anti Juggle3
Anti Juggle4
Anti Juggle5
Anti Juggle6
Anti Juggle7
Anti Juggle7 Copy
Destroy
Builder Movement RED
Builder Movement BLU
Builder Movement TEA
Builder Movement PUR
Builder Movement YEL
Builder Movement ORG
Builder Movement GRE
AntiBuild RED
AntiBuild B
AntiBuild T
AntiBuild P
AntiBuild Y
AntiBuild O
AntiBuild G
Clear
Type Clear
GoldLumberTrade
Trade System
---------------------------
TradeGoldForLum
TradeLumForGold
---------------------------
Trade Set
Spawns & Units -----------------------------
Hunter area
Drops
Drops 2
Drops 3
Drops 4
Coin enter
Coin easy moves
Coin rewards
Coin enter 2
Coin 2 moves
Coin 2 rewards
Demon Gate Spawns
Add Structures Peon
Add Structures Peon X2
Add Structures Peon X3
Add Structures Grunt
Add Structures Grunt X2
Add Structures Grunt X3
Add Structures Raider
Add Structures Raider X2
Add Structures Raider X3
Add Structures Tauren
Add Structures Tauren X2
Add Structures Tauren X3
Timer
Timer Peon
Timer Grunt
Timer Raider
Timer Tauren
Hunter Bounty Peon
Hunter Bounty Grunt
Hunter Bounty Raider
Hunter Bounty Tauren
Spawn Vars
Movement
GetUnitsDestination
Movement Setup
Movement TopRight
Movement TopRightRally
Movement TopLeft
Movement TopLeftRally
Movement BottomLeft
Movement BottomLeftRally
Movement BottomRight
Movement BottomRightRally
Movement Bottom
Movement BottomRally
Levels
ItemPickup
WaveDrops
Outro
NEW SPAWN STUFF
Setup Monster Types
Spawn Timer
Monster Dies
Start Level 1
Leaks & Defeat
ItemDrop
Leak Players
Player Leave
Player Leaves
Heros
Hero Dies
Buildings
Hero Teleport
Hero Teleport RED
Hero Teleport BLU
Hero Teleport TEA
Hero Teleport PUR
Hero Teleport YEL
Hero Teleport ORG
Hero Teleport GRE
Altar Start
Altar Cancel
Soul Farm
S F upgrade to L1
S F upgrade to L2
S F upgrade to L3
S F upgrade to L4
S F upgrade to L5
S F upgrade to L6
S F upgrade to L7
S F upgrade to L8
S F upgrade to L9
S F upgrade to L10
M F soul
SoulText
Money Farm
M F upgrade to L1
M F upgrade to L2
M F upgrade to L3
M F upgrade to L4
M F upgrade to L5
M F upgrade to L6
M F upgrade to L7
M F upgrade to L8
M F upgrade to L9
M F upgrade to L10
M F gold
MoneyText L2
Leaderboards -----------------------------
Leaderboard & Round info
Variables
MultiBoard
Player Colors
Create the Multiboard
Update LivesStatus
Update Levels
Update DefeatORLeave
Tally Clock
DPS
DPSLB
DPSCalc
Admin ---------------------------------
Secrets
Quests & Message updates ------------------
Updates
Updates
Commands
Tactics
BETA Testers
Hall Of Fame
Hall Of Fame Copy
Message
Boss info text
Message 1
Message 2
Message 3
Message 4
Message 5
Message 6
Hero tip
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
AliveCreeps integer No 0
AllLives integer Yes
AllPlayers force Yes
AltarDescRegion rect Yes
Altarhome location No
AntiJuggleTriggers trigger Yes
Appirition52 group No
BlacksmithGroup group No
BloodMage55Group group No
bloodmageFly group No
Blue_Hard_Mode boolean No false
Blue_Insane_Mode boolean No false
Blue_Nightmare_Mode boolean No false
Blue_Normal_Mode boolean No false
Bluelives integer No
Center location No
centStun group No
CleanedItem item Yes
ClearRegion rect Yes
CoinGroup group No
Color_Text string Yes
DamageDone integer Yes
DamageMeterHashable hashtable No
DamageMeterLeaderboard leaderboard No
DeathCartGrp group No
Defeat boolean No
DefeatTimer timer Yes
DemonGateGroup1 group No
DemonGateGroup1X2 group No
DemonGateGroup1X3 group No
DemonGateGroup2 group No
DemonGateGroup2X2 group No
DemonGateGroup2X3 group No
DemonGateGroup3 group No
DemonGateGroup3X2 group No
DemonGateGroup3X3 group No
DemonGateGroup4 group No
DemonGateGroup4X2 group No
DemonGateGroup4X3 group No
DemonGateLoc location No
Difficulty_Dialog_ButtonBLU button Yes
Difficulty_Dialog_ButtonGRN button Yes
Difficulty_Dialog_ButtonORG button Yes
Difficulty_Dialog_ButtonPUR button Yes
Difficulty_Dialog_ButtonRED button Yes
Difficulty_Dialog_ButtonTEA button Yes
Difficulty_Dialog_ButtonYEL button Yes
Difficulty_DialogBLU dialog No
Difficulty_DialogGRN dialog No
Difficulty_DialogORG dialog No
Difficulty_DialogPUR dialog No
Difficulty_DialogRED dialog No
Difficulty_DialogTEA dialog No
Difficulty_DialogYEL dialog No
dreadlord group No
Dummy unit No
EnemyGroup group No
EnemyUnits unit No
EnterSpawnTriggers trigger Yes
FarSeer53Group group No
FirstLevelStarter boolean Yes
FirstWaveTimer timer No
Ftext texttag Yes
Game_Hours integer No
Game_Hours_String string No
Game_Minutes integer No
Game_Minutes_String string No
Game_Seconds integer No
Game_Seconds_String string No
Game_Time timer No
Gold integer Yes
GoldPlayerGroup force No
Green_Hard_Mode boolean No false
Green_Insane_Mode boolean No false
Green_Nightmare_Mode boolean No false
Green_Normal_Mode boolean No false
GreenLives integer No
GroupVar group No
Horseman45Group group No
howlfinal group No
HSpawnRegion rect Yes
HunterSpawns rect Yes
ItemCleanupFlag boolean No
ItemCleanupTimer timer No
ItemDrop integer No
ItemDrop_Loc integer No
ItemPickupQueen boolean Yes
ItemsToClean integer No
Juggernaut47Group group No
JuggleTimer timer Yes
Kids group No
level integer No
Level integer No
Level_Number integer Yes
LevelText string Yes
LevelTextNext string Yes
List integer No
Loop integer No
Lumber integer Yes
Mammoth44Group group No
Minotaur35Group group No
MKgrp group No
MoneyVAR unit Yes
monster_Count integer Yes 1
monster_IsBonus boolean Yes
monster_IsBoss boolean Yes
monster_Owner player Yes Player11
monster_Total integer Yes 20
monster_Type unitcode Yes
monster_TypeBossExtra unitcode Yes
monster_TypeSpecial unitcode Yes
MonsterHashtable hashtable No
Movement_Waypoints location Yes
movementTempLoc location No
MultiBoard multiboard No
Multiboard_levels integer No
MultiBoard_Players integer No
Multiboard_Spots integer Yes
MyTimer multiboard No
Orange_Hard_Mode boolean No false
Orange_Insane_Mode boolean No false
Orange_Nightmare_Mode boolean No false
Orange_Normal_Mode boolean No false
OrangLives integer No
playerDefeat_Status boolean Yes false
playerDiff string Yes
PlayerLanes rect Yes
PlayerLaneUnits group Yes
playerLeft string Yes
playerLeft_Status boolean Yes false
Players_Active boolean Yes false
PN integer No
Point location No
Purp_Nightmare_Mode boolean No false
Purple_Hard_Mode boolean No false
Purple_Insane_Mode boolean No false
Purple_Normal_Mode boolean No false
Purplelives integer No
Red_Hard_Mode boolean No false
Red_Insane_Mode boolean No false
Red_Nightmare_Mode boolean No false
Red_Normal_Mode boolean No false
RedLives integer No
RoundOver boolean Yes
SellTimer timer Yes
skele32 group No
SkeleGroup group No
SoulPlayerGroup force No
souls integer No
SoulVAR unit Yes
spawn_areas rect Yes
spawn_Loop integer No
spawn_Timer timer Yes
spawn_TimerMode integer Yes
SpawnArray location Yes
SpawnCounter integer Yes
Spell group No
Teal_Hard_Mode boolean No false
Teal_Insane_Mode boolean No false
Teal_Nightmare_Mode boolean No false
Teal_Normal_Mode boolean No false
TealLives integer No
Temp_Loc_1 location No
Temp_Loc_2 location No
Temp_Loc_3 location No
Temp_Unit_1 unit No
TempInteger integer No
TempPG force No
TempPoint location No
TempSound sound No
TempSoundDiff sound No
TempUnit unit No
timegold integer Yes
Timer integer No
timesoul integer Yes
TotalCreeps group Yes
TrollBerserker51Group group No
Unit unit No
UnitArray unit Yes UnitNull
UnitGroup group No
WarCommander52Group group No
WarCommanderForgot group No
WaveTimer timer Yes
WispDescRegion rect Yes
Wolf25Group group No
Yellow_Hard_Mode boolean No false
Yellow_Insane_Mode boolean No false
Yellow_Nightmare_Mode boolean No false
Yellow_Normal_Mode boolean No false
YellowLives integer No
NoSoundAlert
  Events
    Map initialization
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Player - For (Picked player), turn Help requests Off toward (Player((Player number of (Matching player))))
        Player - For (Picked player), turn Help responses Off toward (Player((Player number of (Matching player))))
Bounty
  Events
    Map initialization
  Conditions
  Actions
    Player - Turn Gives bounty On for Player 12 (Brown)
    Player - Turn Gives bounty On for Player 13 (Maroon)
    Player - Turn Gives bounty On for Player 10 (Light Blue)
View
  Events
    Map initialization
  Conditions
  Actions
    Visibility - Disable fog of war
    Visibility - Disable black mask
Original mechanics by Trilititi, made portable for GUI users by Bribe.

Disclaimer: Don't set the life of a dead item unless you know what you are doing.
It will bug the system if you set a dead item's life to a value between 0 and 1.
Item Cleanup
  Events
    Time - Every 15.00 seconds of game time
    Time - ItemCleanupTimer expires
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ItemCleanupFlag Equal to True
      Then - Actions
        Set VariableSet ItemCleanupFlag = False
        -------- --------
        -------- Loop through all dead items and remove them --------
        -------- --------
        For each (Integer Loop) from 0 to ItemsToClean, do (Actions)
          Loop - Actions
            Item - Set life of CleanedItem[Loop] to 1.00
            Item - Remove CleanedItem[Loop]
            Set VariableSet CleanedItem[Loop] = No item
      Else - Actions
        -------- --------
        -------- Clean up all dead items on the map every 15 seconds --------
        -------- --------
        Set VariableSet ItemsToClean = -1
        Item - Pick every item in (Playable map area) and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Current life of (Picked item)) Equal to 0.00
              Then - Actions
                Set VariableSet ItemsToClean = (ItemsToClean + 1)
                Set VariableSet CleanedItem[ItemsToClean] = (Picked item)
              Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ItemsToClean Greater than or equal to 0
          Then - Actions
            -------- --------
            -------- Start a 1.50 second timer to give time for any death animations to play --------
            -------- --------
            Countdown Timer - Start ItemCleanupTimer as a One-shot timer that will expire in 1.50 seconds
            Set VariableSet ItemCleanupFlag = True
          Else - Actions
Setup Players
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Game - Set the time of day to 12
    Trigger - Turn on EnterSpawn_RED <gen>
    Trigger - Turn on EnterSpawn_BLUE <gen>
    Trigger - Turn on EnterSpawn_TEA <gen>
    Trigger - Turn on EnterSpawn_PUR <gen>
    Trigger - Turn on EnterSpawn_YEL <gen>
    Trigger - Turn on EnterSpawn_ORG <gen>
    Trigger - Turn on EnterSpawn_GRN <gen>
    Trigger - Turn on Leak_Players <gen>
    -------- --------
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked player) controller) Equal to User
          Then - Actions
            Set VariableSet Players_Active[(Player number of (Picked player))] = True
            -------- --------
            Set VariableSet TempPoint = ((Picked player) start location)
            Unit - Create 1.Tower Builder for (Picked player) at TempPoint facing Default building facing degrees
            Custom script: call RemoveLocation(udg_TempPoint)
            Player - Set (Picked player).Food cap to 3
            Player - Set (Picked player).Current gold to 80
            -------- --------
            Set VariableSet AllLives[(Player number of (Picked player))] = 40
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[7] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Remove (Picked unit) from the game)
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[5] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 5 (Yellow).) and do (Remove (Picked unit) from the game)
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[3] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Remove (Picked unit) from the game)
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[6] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Remove (Picked unit) from the game)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    Players_Active[7] Equal to False
                  Then - Actions
                    Custom script: set bj_wantDestroyGroup = true
                    Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Remove (Picked unit) from the game)
                  Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[4] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game)
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[2] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 2 (Blue).) and do (Remove (Picked unit) from the game)
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                Players_Active[1] Equal to False
              Then - Actions
                Custom script: set bj_wantDestroyGroup = true
                Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Remove (Picked unit) from the game)
              Else - Actions
Setup Spawn Areas
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet spawn_areas[1] = SpawnRED <gen>
    Set VariableSet spawn_areas[2] = SpawnBLUE <gen>
    Set VariableSet spawn_areas[3] = SpawnTEAL <gen>
    Set VariableSet spawn_areas[4] = SpawnPurp <gen>
    Set VariableSet spawn_areas[5] = SpawnYellow <gen>
    Set VariableSet spawn_areas[6] = SpawnOrange <gen>
    Set VariableSet spawn_areas[7] = SpawnGreen <gen>
Setup Lanes
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet PlayerLanes[1] = Red_Lane <gen>
    Set VariableSet PlayerLanes[2] = Blue_Lane <gen>
    Set VariableSet PlayerLanes[3] = Teal_Lane <gen>
    Set VariableSet PlayerLanes[4] = Purp_Lane <gen>
    Set VariableSet PlayerLanes[5] = YellowLane <gen>
    Set VariableSet PlayerLanes[6] = OrangeLane <gen>
    Set VariableSet PlayerLanes[7] = GreenLane <gen>
Setup Spawn Text
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet LevelText[1] = |cffffff00Level 1:|r Murloc Hunter | Un-armored |cff8080ff(Piercing bonus)|r
    Set VariableSet LevelTextNext[1] = |cffc0c0c0Next: Un-armored|r
    Set VariableSet LevelText[2] = |cffffff00Level 2:|r Crab |cffffff00|r| Un-armored|r |cff8080ff(Piercing bonus)|r
    Set VariableSet LevelTextNext[2] = |cffc0c0c0Next: Un-armored|r
    Set VariableSet LevelText[3] = |cffffcc00Level 3:|r Voodoo Priest | Un-armored|r |cff8080ff(Piercing bonus)|r
    Set VariableSet LevelTextNext[3] = |cffc0c0c0Next: Un-armored|r
    Set VariableSet LevelText[4] = |cffffcc00Level 4:|r Sand Wyrm | Un-armored|r |cff8080ff(Piercing bonus)|r
    Set VariableSet LevelTextNext[4] = |cffc0c0c0Next: Un-armored | BOSS|r
    Set VariableSet LevelText[5] = |cffffcc00Level 5:|r Temple Ghoul | Un-armored|r |cff8080ff(Piercing bonus)|r | BOSS
    Set VariableSet LevelTextNext[5] = |cffc0c0c0Next: Un-armored | Flying|r
    Set VariableSet LevelText[6] = |cffffcc00Level 6:|r Voodoo Wraith | Light Armor|r |cff8080ff(Piercing bonus)|r
    Set VariableSet LevelTextNext[6] = |cffc0c0c0Next: Light Armor | Magic Immune|r
    Set VariableSet LevelText[7] = |cffffcc00Level 7:|r Battle Alien | Light Armor |cff8080ff(Piercing & Magic bonus)|r | MAGIC IMMUNE|r
    Set VariableSet LevelTextNext[7] = |cffc0c0c0Next: Light Armor|r
    Set VariableSet LevelText[8] = |cffffcc00Level 8:|r Deathly Crawler | Light Armor|r - Big Spawn |cff8080ff(Piercing & Magic bonus)|r
    Set VariableSet LevelTextNext[8] = |cffc0c0c0Next: Light Armor|r
    Set VariableSet LevelText[9] = |cffffcc00Level 9|r: Wanderer | Light Armor|r |cff8080ff(Piercing & Magic dmg bonus)|r
    Set VariableSet LevelTextNext[9] = |cffc0c0c0Next: Medium Armor|r
    Set VariableSet LevelText[10] = |cffffcc00Level 10:|r Goblin Robot Prototype | Medium Armor |cff8080ff(Normal dmg bonus)|r
    Set VariableSet LevelTextNext[10] = |cffc0c0c0Next: Medium Armor|r
    Set VariableSet LevelText[11] = |cffffcc00Level 11:|r Tribal Battle Beast | Medium Armor|r |cff8080ff(Normal dmg bonus)|r
    Set VariableSet LevelTextNext[11] = |cffc0c0c0Next: Medium Armor|r
    Set VariableSet LevelText[12] = |cffffcc00Level 12:|r Dark Monk | Medium Armor|r |cff8080ff(Normal dmg bonus)|r
    Set VariableSet LevelTextNext[12] = |cffc0c0c0Next: Medium Armor|r
    Set VariableSet LevelText[13] = |cffffcc00Level 13:|r Night Emerger | Medium Armor|r |cff8080ff(Normal dmg bonus)|r | Big Spawn
    Set VariableSet LevelTextNext[13] = |cffc0c0c0Next: Medium Armor|r
    Set VariableSet LevelText[14] = |cffffcc00Level 14:|r Brute Ogre | Medium Armor|r|cff8080ff (Normal dmg bonus)|r | High Regen
    Set VariableSet LevelTextNext[14] = |cffc0c0c0Next: Medium Armor | BOSS|r
    Set VariableSet LevelText[15] = |cffffcc00Level 15:|r Death Minister | Medium Armor|r |cff8080ff(Normal dmg bonus)|r | BOSS LEVEL
    Set VariableSet LevelTextNext[15] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[16] = |cffffcc00Level 16:|r Helicopter | Heavy Armor|r |cff8080ff(Magic dmg bonus)|r | Flying
    Set VariableSet LevelTextNext[16] = |cffc0c0c0Next: Medium Armor | Magic Immune|r
    Set VariableSet LevelText[17] = |cffffcc00Level 17:|r Artillary Machine | Medium Armor|r |cff8080ff(Normal dmg bonus)|r | Magic Immune
    Set VariableSet LevelTextNext[17] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[18] = |cffffcc00Level 18:|r Chieftain | Heavy Armor |cff8080ff(Magic dmg bonus)|r
    Set VariableSet LevelTextNext[18] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[19] = |cffffcc00Level 19:|r Huntress | Heavy Armor|r |cff8080ff(Magic dmg bonus)|r
    Set VariableSet LevelTextNext[19] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[20] = |cffffcc00Level 20:|r Evil Spirit | Heavy Armor |cff8080ff(Magic dmg bonus)|r
    Set VariableSet LevelTextNext[20] = |cffc0c0c0Next: Fortified Armor|r
    Set VariableSet LevelText[21] = |cffffcc00Level 21:|r Pain Maiden | |cffff0000Fortified Armor|r |cff8080ff(Siege dmg bonus)|r
    Set VariableSet LevelTextNext[21] = |cffc0c0c0Next: Fortified Armor|r
    Set VariableSet LevelText[22] = |cffffcc00Level 22:|r Rock Giant | |cffff0000Fortified Armor |cff8080ff(Siege dmg bonus)|r
    Set VariableSet LevelTextNext[22] = |cffc0c0c0Next: Fortified Armor|r
    Set VariableSet LevelText[23] = |cffffcc00Level 23:|r Ocean Demon | |cffff0000Fortified Armor |cff8080ff(Siege dmg bonus)|r
    Set VariableSet LevelTextNext[23] = |cffc0c0c0Next: Fortified Armor|r
    Set VariableSet LevelText[24] = |cffffcc00Level 24:|r Spider Deamon | |cffff0000Fortified Armor|r |cff8080ff(Siege dmg bonus)|r | Big Spawn
    Set VariableSet LevelTextNext[24] = |cffc0c0c0Next: Fortified Armor | BOSS|r
    Set VariableSet LevelText[25] = |cffffcc00Level 25:|r Blood Reaver | |cffff0000Fortified Armor|r |cff8080ff(Siege dmg bonus)|r | BOSS LEVEL
    Set VariableSet LevelTextNext[25] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[26] = |cffffcc00Level 26|r: Gryphon Ryder | |cffff0000Siege Armor|r |cff8080ff(Siege dmg bonus)|r | Flying
    Set VariableSet LevelTextNext[26] = |cffc0c0c0Next: Medium Armor | Magic Immune|r
    Set VariableSet LevelText[27] = |cffffcc00Level 27:|r White Beast | Normal Armor|r |cff8080ff(Normal dmg bonus)|r | Magic Immune
    Set VariableSet LevelTextNext[27] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[28] = |cffffcc00Level 28:|r Water Elemental | Heavy Armor |cff8080ff(Magic dmg bonus)|r
    Set VariableSet LevelTextNext[28] = |cffc0c0c0Next: Heavy Armor|r
    Set VariableSet LevelText[29] = |cffffcc00Level 29:|r Armored Ravager | Heavy Armor|r |cff8080ff(Magic dmg bonus)|r
    Set VariableSet LevelTextNext[29] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[30] = |cffffcc00Level 30: BONUS COIN |cffffffff(No lives will be lost)|r
    Set VariableSet LevelTextNext[30] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[31] = |cffffcc00Level 31:|r Masked Ripper | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | High Regen!
    Set VariableSet LevelTextNext[31] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[32] = |cffffcc00Level 32:|r Undead Wizard | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | High Regen!
    Set VariableSet LevelTextNext[32] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[33] = |cffffcc00Level 33:|r Toxic Manifestation | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | High Regen!
    Set VariableSet LevelTextNext[33] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[34] = |cffffcc00Level 34|r: Shadow Reaper | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | High Regen!
    Set VariableSet LevelTextNext[34] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[35] = |cffffcc00Level 35:|r Minotaur Warrior | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | BOSS | High Regen!
    Set VariableSet LevelTextNext[35] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[36] = |cffffcc00Level 36:|r Wyvren | |cffff0000Siege Armor|r |cff8080ff(Siege damage bonus)|r | Flying
    Set VariableSet LevelTextNext[36] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[37] = |cffffcc00Level 37:|r Troll Batrider | |cffff0000Siege Armor|r |cff8080ff(Siege damage bonus)|r | Flying
    Set VariableSet LevelTextNext[37] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[38] = |cffffcc00Level 38:|r Wind Rider | |cffff0000Siege Armor|r |cff8080ff(Siege damage bonus)|r | Flying
    Set VariableSet LevelTextNext[38] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[39] = |cffffcc00Level 39:|r Spirit Wraith | |cffff0000Siege Armor|r |cff8080ff(Siege damage bonus)|r | Flying
    Set VariableSet LevelTextNext[39] = |cffc0c0c0Next: Fortified Armor | Flying|r
    Set VariableSet LevelText[40] = |cffffcc00Level 40:|r Nether Drake | |cffff0000Siege Armor|r |cff8080ff(Siege damage bonus)|r | Flying
    Set VariableSet LevelTextNext[40] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[41] = |cffffcc00Level 41:|r Centaur | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[41] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[42] = |cffffcc00Level 42:|r Infernal | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[42] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[43] = |cffffcc00Level 43:|r Ice Giant | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[43] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[44] = |cffffcc00Level 44:|cffffff00 Mammoths|r | Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[44] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[45] = |cffffcc00Level 45:|r Three Horsemen | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[45] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[46] = |cffffcc00Level 46:|R Spider | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[46] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[47] = |cffffcc00Level 47:|r Infernal Juggernaught | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[47] = |cffc0c0c0Next: Hero Armor | Flying|r
    Set VariableSet LevelText[48] = |cffffcc00Level 48:|r Harpy | |cffff0000Siege Armor|r |cff8080ff(Siege dmg bonus)|r | Flying
    Set VariableSet LevelTextNext[48] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[49] = |cffffcc00Level 49: BONUS COIN |cffffffff(no lives lost)|r
    Set VariableSet LevelTextNext[49] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[50] = |cffffcc00Level 50:|r Ocean Deamon | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[50] = |cffc0c0c0Next: Hero Armor | Magic Immune|r
    Set VariableSet LevelText[51] = |cffffcc00Level 51:|r Chaos Skeletons | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r | Magic Immune!
    Set VariableSet LevelTextNext[51] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[52] = |cffffcc00Level 52:|r Haunted Aparitions | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[52] = |cffc0c0c0Next: Hero Armor|r
    Set VariableSet LevelText[53] = |cffffcc00Level 53:|r Dreadlords | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[53] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[54] = |cffffcc00Level 54:|r Troll Beserker | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[54] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[55] = |cffffcc00Level 56:|r Tauren Chief | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[55] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[56] = |cffffcc00Level 56:|r Farseer | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[56] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[57] = |cffffcc00Level 57:|r Pitlord | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[57] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[58] = |cffffcc00Level 58:|r Bloodmage | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[58] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[59] = |cffffcc00Level 59:|r Commander Of The Marauders | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[59] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[60] = |cffffcc00Level 60:|r Leader Of The Marauders | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[60] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[61] = |cffffcc00Level 61:|r Death Revenant | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[61] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[62] = |cffffcc00Level 62:|r Death Cart | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[62] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[63] = |cffffcc00Level 63:|r Billy & Bobby | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[63] = |cffc0c0c0Next: Hero Armor | BOSS|r
    Set VariableSet LevelText[64] = |cffffcc00Level 64:|r The Forgotten | |cffffff00Hero Armor|r |cff8080ff(Hero dmg bonus)|r
    Set VariableSet LevelTextNext[64] = |cffc0c0c0Next: Hero Armor | BOSS FINAL|r
    Set VariableSet LevelText[65] = |cffffcc00Level Final! - |cffff0000Death Dragon!!|r|n|cffc0c0c0Hero damage bonus|r
    Set VariableSet LevelTextNext[65] = |cffc0c0c0Next: Victory
Setup Hunter Areas
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet HunterSpawns[1] = HunterRED <gen>
    Set VariableSet HunterSpawns[2] = HunterBlue <gen>
    Set VariableSet HunterSpawns[3] = HunterTeal <gen>
    Set VariableSet HunterSpawns[4] = HunterPurple <gen>
    Set VariableSet HunterSpawns[5] = HunterYellow <gen>
    Set VariableSet HunterSpawns[6] = HunterOrange <gen>
    Set VariableSet HunterSpawns[7] = HunterGreen <gen>
Setup Other
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet Center = (Center of (Playable map area))
    -------- --------
    Set VariableSet HSpawnRegion[1] = HspawnRED <gen>
    Set VariableSet HSpawnRegion[2] = HspawnBlue <gen>
    Set VariableSet HSpawnRegion[3] = HspawnTeal <gen>
    Set VariableSet HSpawnRegion[4] = HspawnPurple <gen>
    Set VariableSet HSpawnRegion[5] = HspawnYellow <gen>
    Set VariableSet HSpawnRegion[6] = HspawnOrange <gen>
    Set VariableSet HSpawnRegion[7] = HspawnGreen <gen>
    -------- --------
    Set VariableSet AltarDescRegion[1] = AltarDescriptionRED <gen>
    Set VariableSet AltarDescRegion[2] = AltarDescriptionBLU <gen>
    Set VariableSet AltarDescRegion[3] = AltarDescriptionTEA <gen>
    Set VariableSet AltarDescRegion[4] = AltarDescriptionPUR <gen>
    Set VariableSet AltarDescRegion[5] = AltarDescriptionYEL <gen>
    Set VariableSet AltarDescRegion[6] = AltarDescriptionORG <gen>
    Set VariableSet AltarDescRegion[7] = AltarDescriptionGRE <gen>
    -------- --------
    Set VariableSet WispDescRegion[1] = WispDescriptionRED <gen>
    Set VariableSet WispDescRegion[2] = WispDescriptionBLU <gen>
    Set VariableSet WispDescRegion[3] = WispDescriptionTEA <gen>
    Set VariableSet WispDescRegion[4] = WispDescriptionPUR <gen>
    Set VariableSet WispDescRegion[5] = WispDescriptionYEL <gen>
    Set VariableSet WispDescRegion[6] = WispDescriptionORG <gen>
    Set VariableSet WispDescRegion[7] = WispDescriptionGRE <gen>
    -------- --------
    Set VariableSet ClearRegion[1] = clearRED <gen>
    Set VariableSet ClearRegion[2] = clearB <gen>
    Set VariableSet ClearRegion[3] = clearT <gen>
    Set VariableSet ClearRegion[4] = clearP <gen>
    Set VariableSet ClearRegion[5] = clearY <gen>
    Set VariableSet ClearRegion[6] = clearO <gen>
    Set VariableSet ClearRegion[7] = clearG <gen>
    -------- --------
    Set VariableSet AntiJuggleTriggers[1] = Anti_Juggle <gen>
    Set VariableSet AntiJuggleTriggers[2] = Anti_Juggle2 <gen>
    Set VariableSet AntiJuggleTriggers[3] = Anti_Juggle3 <gen>
    Set VariableSet AntiJuggleTriggers[4] = Anti_Juggle4 <gen>
    Set VariableSet AntiJuggleTriggers[5] = Anti_Juggle5 <gen>
    Set VariableSet AntiJuggleTriggers[6] = Anti_Juggle6 <gen>
    Set VariableSet AntiJuggleTriggers[7] = Anti_Juggle7 <gen>
    -------- --------
    Set VariableSet EnterSpawnTriggers[1] = EnterSpawn_RED <gen>
    Set VariableSet EnterSpawnTriggers[2] = EnterSpawn_BLUE <gen>
    Set VariableSet EnterSpawnTriggers[3] = EnterSpawn_TEA <gen>
    Set VariableSet EnterSpawnTriggers[4] = EnterSpawn_PUR <gen>
    Set VariableSet EnterSpawnTriggers[5] = EnterSpawn_YEL <gen>
    Set VariableSet EnterSpawnTriggers[6] = EnterSpawn_ORG <gen>
    Set VariableSet EnterSpawnTriggers[7] = EnterSpawn_GRN <gen>
Floating text
  Events
    Time - Elapsed game time is 2.00 seconds
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Players_Active[(Player number of (Picked player))] Equal to True
          Then - Actions
            Set VariableSet TempPoint = (Center of HSpawnRegion[(Player number of (Picked player))])
            Floating Text - Create floating text that reads |cffffff00Click gate to start |ntraining first spawn unit|r at TempPoint with Z offset 0, using font size 15.00, color (100%, 100%, 100%), and 0% transparency
            Set VariableSet Ftext[(Player number of (Picked player))] = (Last created floating text)
            Custom script: call RemoveLocation(udg_TempPoint)
            -------- --------
            Set VariableSet TempPoint = (Center of AltarDescRegion[(Player number of (Picked player))])
            Floating Text - Create floating text that reads |cffffff00Soul & Money Farm|r at TempPoint with Z offset 0, using font size 10.00, color (100%, 100%, 100%), and 0% transparency
            Custom script: call RemoveLocation(udg_TempPoint)
            Floating Text - Change the lifespan of (Last created floating text) to 220.00 seconds
            -------- --------
            Set VariableSet TempPoint = (Center of WispDescRegion[(Player number of (Picked player))])
            Floating Text - Create floating text that reads |cffffff00Tower Upgrades|r at TempPoint with Z offset 0, using font size 10.00, color (100%, 100%, 100%), and 0% transparency
            Custom script: call RemoveLocation(udg_TempPoint)
            Floating Text - Change the lifespan of (Last created floating text) to 220.00 seconds
            -------- --------
            Set VariableSet TempPoint = (Center of ClearRegion[(Player number of (Picked player))])
            Floating Text - Create floating text that reads Type -clear to reset your hunter area. at TempPoint with Z offset 0, using font size 10.00, color (100%, 100%, 100%), and 0% transparency
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
Floating text remove RED
  Events
    Unit - A unit enters HunterRED <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 1
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove B
  Events
    Unit - A unit enters HunterBlue <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 2
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove T
  Events
    Unit - A unit enters HunterTeal <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 3
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove P
  Events
    Unit - A unit enters HunterPurple <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 4
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove Y
  Events
    Unit - A unit enters HunterYellow <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 5
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove O
  Events
    Unit - A unit enters HunterOrange <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 6
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Floating text remove G
  Events
    Unit - A unit enters HunterGreen <gen>
  Conditions
    (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
  Actions
    Set VariableSet TempInteger = 7
    Floating Text - Change Ftext[TempInteger]: Disable permanence
    Floating Text - Change the fading age of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Change the lifespan of Ftext[TempInteger] to 5.00 seconds
    Floating Text - Destroy Ftext[TempInteger]
    Trigger - Turn off (This trigger)
Remove Doom
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Number of units in PlayerLaneUnits[(Player number of (Triggering player))]) Equal to 0
    And - All (Conditions) are true
      Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to Doom Guard (Summoned 2)
            (Unit-type of (Triggering unit)) Equal to Doom Guard (Summoned)
  Actions
    Unit - Remove (Triggering unit) from the game
Samurai
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Samurai
  Actions
    Unit - Order (Attacking unit) to Orc Troll Berserker - Berserk.
Samurai 1
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Samurai
  Actions
    Unit - Order (Attacking unit) to Undead Necromancer - Cripple.(Attacked unit)
Samurai Master Berserk
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Samurai Master
  Actions
    Unit - Order (Attacking unit) to Orc Troll Berserker - Berserk.
Samurai Master Cripple
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Samurai Master
  Actions
    Unit - Order (Attacking unit) to Undead Necromancer - Cripple.(Attacked unit)
Demonic Soldier
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Demonic Soldier
  Actions
    Unit - Order (Attacking unit) to Night Elf Druid Of The Talon - Faerie Fire.(Attacked unit)
Demonic Warrior
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Demonic Warrior
  Actions
    Unit - Order (Attacking unit) to Night Elf Druid Of The Talon - Faerie Fire.(Attacked unit)
Priesttess
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Priestess
  Actions
    Unit - Order (Attacking unit) to Orc Shaman - Lightning Shield.(Attacked unit)
Priest
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Priest
  Actions
    Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning.(Attacked unit)
Priest Copy
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Priest
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Then - Actions
        Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning.(Attacked unit)
      Else - Actions
        Unit Group - Pick every unit in Spell and do (Actions)
          Loop - Actions
            Set VariableSet TempPoint = (Position of (Picked unit))
            Set VariableSet EnemyGroup = (Units within 1000.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of (Picked unit)).) Equal to True).)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Number of units in EnemyGroup) Greater than 0
              Then - Actions
                Set VariableSet EnemyUnits = (Random unit from EnemyGroup)
                Unit - Order (Picked unit) to Orc Far Seer - Chain Lightning.EnemyUnits
              Else - Actions
                Custom script: call RemoveLocation(udg_TempPoint)
                Custom script: call DestroyGroup(udg_EnemyGroup)
        Custom script: call DestroyGroup(udg_Spell)
Sorc
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Sorceress
  Actions
    Unit - Order (Attacking unit) to Neutral Sea Witch - Forked Lightning.(Attacked unit)
Sorc Copy
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Sorceress
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Then - Actions
        Unit - Order (Attacking unit) to Neutral Sea Witch - Forked Lightning.(Attacked unit)
      Else - Actions
        Set VariableSet Spell = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Sorceress))
        Unit Group - Pick every unit in Spell and do (Actions)
          Loop - Actions
            Set VariableSet TempPoint = (Position of (Picked unit))
            Set VariableSet EnemyGroup = (Units within 1000.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of (Picked unit)).) Equal to True).)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Number of units in EnemyGroup) Greater than 0
              Then - Actions
                Set VariableSet EnemyUnits = (Random unit from EnemyGroup)
                Unit - Order (Picked unit) to Neutral Sea Witch - Forked Lightning.EnemyUnits
              Else - Actions
                Custom script: call RemoveLocation(udg_TempPoint)
                Custom script: call DestroyGroup(udg_EnemyGroup)
        Custom script: call DestroyGroup(udg_Spell)
Wiz
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Wizard
    (Unit-type of (Attacked unit)) Not equal to War Commander lvl 55
    (Unit-type of (Attacked unit)) Not equal to Death Cart lvl 62
    (Unit-type of (Attacked unit)) Not equal to Commander of the Marauders lvl 59
    (Unit-type of (Attacked unit)) Not equal to Leader of the Marauders lvl 60
    (Unit-type of (Attacked unit)) Not equal to Bobby lvl 63
  Actions
    Unit - Order (Attacking unit) to Neutral Pit Lord - Howl Of Terror.
    Unit - Order (Attacking unit) to Neutral Pit Lord - Doom.(Attacked unit)
Wiz Copy
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Wizard
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Then - Actions
        Unit - Order (Attacking unit) to Neutral Pit Lord - Howl Of Terror.
        Unit - Order (Attacking unit) to Neutral Pit Lord - Doom.(Attacked unit)
        Unit - Order (Picked unit) to Undead Lich - Frost Nova.(Attacked unit)
      Else - Actions
        Set VariableSet Spell = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Wizard))
        Unit Group - Pick every unit in Spell and do (Actions)
          Loop - Actions
            Set VariableSet TempPoint = (Position of (Picked unit))
            Set VariableSet EnemyGroup = (Units within 1000.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of (Picked unit)).) Equal to True).)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Number of units in EnemyGroup) Greater than 0
              Then - Actions
                Set VariableSet EnemyUnits = (Random unit from EnemyGroup)
                Unit - Order (Picked unit) to Neutral Pit Lord - Howl Of Terror.
                Unit - Order (Picked unit) to Undead Lich - Frost Nova.EnemyUnits
                Unit - Order (Picked unit) to Neutral Pit Lord - Doom.EnemyUnits
              Else - Actions
                Custom script: call RemoveLocation(udg_TempPoint)
                Custom script: call DestroyGroup(udg_EnemyGroup)
        Custom script: call DestroyGroup(udg_Spell)
City Guardian
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to City Guardian
  Actions
    Unit - Order (Attacking unit) to Orc Tauren Chieftain - War Stomp.
Moon Archer
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Moon Archer
  Actions
    Unit - Order (Attacking unit) to Night Elf Priestess Of The Moon - Starfall.
Queen
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Ice Queen
  Actions
    Unit - Order (Attacking unit) to Undead Lich - Frost Nova.(Attacked unit)
City King
  Events
    Unit - A unit Finishes an upgrade
  Conditions
    (Unit-type of (Triggering unit)) Equal to The City's King
  Actions
    Unit - Order (Triggering unit) to Neutral - Activate Poison Arrows.
Music end
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    Or - Any (Conditions) are true
      Conditions
        Troll Beserker lvl 54 Equal to (Unit-type of (Triggering unit))
        War Commander lvl 55 Equal to (Unit-type of (Triggering unit))
        Far Seer lvl 56 Equal to (Unit-type of (Triggering unit))
        Pit Lord lvl 57 Equal to (Unit-type of (Triggering unit))
        Leader of the Marauders lvl 60 Equal to (Unit-type of (Triggering unit))
  Actions
    Sound - Play Doom.
    Sound - Set music volume to 70.00%
    Sound - Destroy (Last played sound)
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Camera - Shake the camera for (Picked player) with magnitude 3
    Wait 10.00 seconds
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        Camera - Stop swaying/shaking the camera for (Picked player).
level 5 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Temple Ghoul lvl 5
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Temple Ghoul's Bracelet |cffc0c0c0(tower item)|r at TempPoint
    Unit - Order (Triggering unit) to drop (Last created item) at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
level 15 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Death Minister lvl 15
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Death Ministers Staff |cffc0c0c0(tower item)|r at TempPoint
    Unit - Order (Triggering unit) to drop (Last created item) at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
level 25 wolf
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Blood Reaver lvl 25
  Actions
    Unit Group - Add (Triggering unit) to Wolf25Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Wolf_25_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Wolf_25_Loop <gen>
      Else - Actions
level 25 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Blood Reaver lvl 25
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Blood Reaver's Sword |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Orc\OrcLargeDeathExplode\OrcLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
Wolf 25 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Wolf25Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 34000.00
          Then - Actions
            Sound - Play Wolf1 <gen> at 50.00% volume, attached to (Picked unit)
            Sound - Destroy (Last played sound)
            Unit - Order (Picked unit) to Orc Far Seer - Feral Spirit.
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Unit - Order (Summoned unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Unit Group - Remove (Picked unit) from Wolf25Group.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Wolf25Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 25 pathing
  Events
    Unit - A unit Is issued an order with no target
  Conditions
    (Issued order) Equal to (Order(spiritwolf))
  Actions
    Wait 0.50 seconds
    AI - Ignore (Triggering unit)'s guard position
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level 32 howl
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Undead Wizard lvl 32 special
  Actions
    Unit Group - Add (Triggering unit) to skele32
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (level_32_howl_death_loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on level_32_howl_death_loop <gen>
      Else - Actions
level 32 howl death loop
  Events
    Unit - A unit Is attacked
  Conditions
  Actions
    Unit Group - Pick every unit in skele32 and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 10000.00
          Then - Actions
            Unit Group - Order skele32 to Neutral Pit Lord - Howl Of Terror
            Unit Group - Remove (Picked unit) from skele32.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in skele32) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 32 pathing
  Events
    Unit - A unit Is issued an order with no target
  Conditions
    (Issued order) Equal to (Order(howlofterror))
  Actions
    Wait 0.50 seconds
    AI - Ignore (Triggering unit)'s guard position
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level final howl
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Leader of the Marauders lvl 60
  Actions
    Unit Group - Add (Triggering unit) to howlfinal
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (level_final_howl_death_loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on level_final_howl_death_loop <gen>
      Else - Actions
level final howl death loop
  Events
    Time - Every 60.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in howlfinal and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 350000.00
          Then - Actions
            Unit Group - Order howlfinal to Neutral Pit Lord - Howl Of Terror
            Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Other\HowlOfTerror\HowlCaster.mdl
            Unit Group - Remove (Picked unit) from howlfinal.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in howlfinal) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level final pathing
  Events
    Unit - A unit Is issued an order with no target
  Conditions
    (Issued order) Equal to (Order(howlofterror))
  Actions
    Wait 0.50 seconds
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level 35 MS
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Minotaur Warrior lvl 35
  Actions
    Unit Group - Add (Triggering unit) to Minotaur35Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Minotaur_35_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Minotaur_35_Loop <gen>
      Else - Actions
Minotaur 35 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Minotaur35Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 70000.00
            (Life of (Picked unit)) Greater than 50000.00
          Then - Actions
            Sound - Play StampedeCaster1 <gen> at 70.00% volume, attached to (Picked unit)
            Sound - Destroy (Last played sound)
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Orc\Shockwave\ShockwaveMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 350.00
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 50000.00
                (Life of (Picked unit)) Greater than 30000.00
              Then - Actions
                Sound - Play StampedeCaster1 <gen> at 70.00% volume, attached to (Picked unit)
                Sound - Destroy (Last played sound)
                Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Orc\Shockwave\ShockwaveMissile.mdl
                Special Effect - Destroy (Last created special effect)
                Unit - Set (Picked unit) movement speed to 450.00
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Life of (Picked unit)) Less than or equal to 30000.00
                  Then - Actions
                    Sound - Play StampedeCaster1 <gen> at 70.00% volume, attached to (Picked unit)
                    Sound - Destroy (Last played sound)
                    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Orc\Shockwave\ShockwaveMissile.mdl
                    Special Effect - Destroy (Last created special effect)
                    Unit - Set (Picked unit) movement speed to 522.00
                    Unit Group - Remove (Picked unit) from Minotaur35Group.
                  Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Minotaur35Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 35 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Minotaur Warrior lvl 35
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Minotaur's Claws |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
level 44 MS
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Mammoth lvl 44
  Actions
    Unit Group - Add (Triggering unit) to Mammoth44Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Mammoth_44_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Mammoth_44_Loop <gen>
      Else - Actions
Mammoth 44 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Mammoth44Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 25000.00
            (Life of (Picked unit)) Greater than 14000.00
          Then - Actions
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Orc\Shockwave\ShockwaveMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 520.00
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 14000.00
              Then - Actions
                Unit - Set (Picked unit) movement speed to 350.00
                Unit Group - Remove (Picked unit) from Mammoth44Group.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Mammoth44Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 45 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Horseman lvl 45
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Knight's Blade |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
level 45 armor
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Horseman lvl 45
  Actions
    Unit Group - Add (Triggering unit) to Horseman45Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Horseman_45_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Horseman_45_Loop <gen>
      Else - Actions
Horseman 45 Loop
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Horseman45Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 75000.00
            (Life of (Picked unit)) Greater than 25000.00
          Then - Actions
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Human\ControlMagic\ControlMagicTarget.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Set Unit: (Picked unit)'s Real Field: Defense ('udfc') to Value: 250.00
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 25000.00
              Then - Actions
                Unit - Set Unit: (Picked unit)'s Real Field: Defense ('udfc') to Value: 70.00
                Unit Group - Remove (Picked unit) from Horseman45Group.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Horseman45Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 47
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Infernal Juggernaught lvl 47
  Actions
    Unit Group - Add (Triggering unit) to Juggernaut47Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Juggernaut_47_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Juggernaut_47_Loop <gen>
      Else - Actions
Juggernaut 47 Loop
  Events
    Time - Every 3.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Juggernaut47Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 30000.00
          Then - Actions
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Set Unit: (Picked unit)'s Real Field: Hit Points Regeneration Rate ('uhpr') to Value: 1600.00
            Unit Group - Remove (Picked unit) from Juggernaut47Group.
            Trigger - Run Juggernaut_Wait <gen> (ignoring conditions)
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Juggernaut47Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
Juggernaut Wait
  Events
  Conditions
  Actions
    Custom script: local unit udg_TempUnit = GetEnumUnit()
    Wait 20.00 seconds
    Unit - Set Unit: TempUnit's Real Field: Hit Points Regeneration Rate ('uhpr') to Value: 650.00
    Custom script: set udg_TempUnit = null
level 51 heal
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Troll Beserker lvl 54
  Actions
    Trigger - Turn on Events <gen>
    -------- --------
    Unit Group - Add (Triggering unit) to TrollBerserker51Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Troll_Berserker_51_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Troll_Berserker_51_Loop <gen>
      Else - Actions
Troll Berserker 51 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in TrollBerserker51Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 200000.00
            (Life of (Picked unit)) Greater than 140000.00
          Then - Actions
            Sound - Play BigBadVoodooSpellBirth1 <gen> at 60.00% volume, attached to (Picked unit)
            Sound - Destroy (Last played sound)
            Unit - Set Unit: (Picked unit)'s Real Field: Hit Points Regeneration Rate ('uhpr') to Value: 2500.00
            Unit - Add Big Bad Voodoo Art (Troll Berserker) to (Picked unit)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 140000.00
              Then - Actions
                Unit - Set Unit: (Picked unit)'s Real Field: Hit Points Regeneration Rate ('uhpr') to Value: 1000.00
                Unit - Remove Big Bad Voodoo Art (Troll Berserker) from (Picked unit)
                Unit Group - Remove (Picked unit) from TrollBerserker51Group.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in TrollBerserker51Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 51
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Troll Beserker lvl 54
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create |cff8080ffRuned Gauntlets|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
level 51 skele
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Murloc Hunter
  Actions
    Unit Group - Add (Triggering unit) to SkeleGroup
    Unit Group - Pick every unit in SkeleGroup and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Or - Any (Conditions) are true
              Conditions
                (Ability being cast) Equal to Reincarnation (normal)
                (Ability being cast) Equal to Reincarnation (hero)
          Then - Actions
            Wait 0.50 seconds
            Set VariableSet TempUnit = (Triggering unit)
            Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
          Else - Actions
level 51 pathing
  Events
    Unit - A unit Finishes casting an ability
  Conditions
    (Ability being cast) Equal to Reincarnation (normal)
  Actions
    Wait 0.50 seconds
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level 51 pathing Copy
  Events
    Unit - A unit Finishes reviving
  Conditions
    (Unit-type of (Triggering unit)) Equal to Murloc Hunter
  Actions
    Wait 0.50 seconds
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level 51 remove reincarnation
  Events
    Unit - A unit enters ItemRemove <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Level of Reincarnation (normal) for (Triggering unit)) Greater than 0
        (Level of Reincarnation (hero) for (Triggering unit)) Greater than 0
  Actions
    Unit - Remove Reincarnation (hero) from (Triggering unit)
    Unit - Remove Reincarnation (normal) from (Triggering unit)
level 52 apparition
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Haunted Apparitions lvl 52
  Actions
    Unit Group - Add (Triggering unit) to Appirition52
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (level_52_apparition_loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on level_52_apparition_loop <gen>
      Else - Actions
level 52 apparition loop
  Events
    Unit - A unit Is attacked
  Conditions
    (Unit-type of (Attacked unit)) Equal to Haunted Apparitions lvl 52
  Actions
    Unit Group - Pick every unit in Appirition52 and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 25000.00
            (Life of (Picked unit)) Greater than 20000.00
          Then - Actions
            Unit - Order (Picked unit) to Human Blood Mage - Banish.(Attacked unit)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 20000.00
              Then - Actions
                Unit Group - Remove (Picked unit) from Appirition52.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Appirition52) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 52 pathing
  Events
    Unit - A unit Is issued an order with no target
  Conditions
    (Issued order) Equal to (Order(banish))
  Actions
    Wait 0.50 seconds
    AI - Ignore (Triggering unit)'s guard position
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
level 55stun
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to War Commander lvl 55
  Actions
    Unit Group - Add (Triggering unit) to WarCommander52Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (War_Commander_55_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on War_Commander_55_Loop <gen>
      Else - Actions
level 55 war commander drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to War Commander lvl 55
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Commander's Hammer |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Dying unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
War Commander 55 Loop
  Events
    Time - Every 3.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in WarCommander52Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 320000.00
            (Life of (Picked unit)) Greater than 270000.00
          Then - Actions
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Set Scale of (Last created special effect) to 3.00
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 400.00
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 270000.00
                (Life of (Picked unit)) Greater than 150000.00
              Then - Actions
                Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                Set VariableSet TempPoint = (Position of (Picked unit))
                Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                Custom script: call RemoveLocation(udg_TempPoint)
                Special Effect - Set Scale of (Last created special effect) to 3.00
                Special Effect - Destroy (Last created special effect)
                Unit - Set (Picked unit) movement speed to 450.00
                Set VariableSet TempPoint = (Center of EndPoint <gen>)
                Unit - Order (Picked unit) to Move To.TempPoint
                Custom script: call RemoveLocation(udg_TempPoint)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Life of (Picked unit)) Less than or equal to 150000.00
                  Then - Actions
                    Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                    Set VariableSet TempPoint = (Position of (Picked unit))
                    Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Special Effect - Set Scale of (Last created special effect) to 3.00
                    Special Effect - Destroy (Last created special effect)
                    Unit - Set (Picked unit) movement speed to 500.00
                    Set VariableSet TempPoint = (Center of EndPoint <gen>)
                    Unit - Order (Picked unit) to Move To.TempPoint
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Unit Group - Remove (Picked unit) from WarCommander52Group.
                  Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in WarCommander52Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 55stunForgot
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Forgotten War Commander lvl 64
  Actions
    Unit Group - Add (Triggering unit) to WarCommanderForgot
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (War_Commander_55_Loop_Forgot <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on War_Commander_55_Loop_Forgot <gen>
      Else - Actions
War Commander 55 Loop Forgot
  Events
    Time - Every 3.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in WarCommanderForgot and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 320000.00
            (Life of (Picked unit)) Greater than 270000.00
          Then - Actions
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Set Scale of (Last created special effect) to 3.00
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 400.00
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 270000.00
                (Life of (Picked unit)) Greater than 150000.00
              Then - Actions
                Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                Set VariableSet TempPoint = (Position of (Picked unit))
                Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                Custom script: call RemoveLocation(udg_TempPoint)
                Special Effect - Set Scale of (Last created special effect) to 3.00
                Special Effect - Destroy (Last created special effect)
                Unit - Set (Picked unit) movement speed to 450.00
                Set VariableSet TempPoint = (Center of EndPoint <gen>)
                Unit - Order (Picked unit) to Move To.TempPoint
                Custom script: call RemoveLocation(udg_TempPoint)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Life of (Picked unit)) Less than or equal to 150000.00
                  Then - Actions
                    Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                    Set VariableSet TempPoint = (Position of (Picked unit))
                    Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Special Effect - Set Scale of (Last created special effect) to 3.00
                    Special Effect - Destroy (Last created special effect)
                    Unit - Set (Picked unit) movement speed to 500.00
                    Set VariableSet TempPoint = (Center of EndPoint <gen>)
                    Unit - Order (Picked unit) to Move To.TempPoint
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Unit Group - Remove (Picked unit) from WarCommanderForgot.
                  Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in WarCommanderForgot) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 55 war commanderForgot
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Forgotten War Commander lvl 64
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create Commander's Hammer |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Dying unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
Unit dreadlord 53 fly
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Dreadlords lvl 53
  Actions
    Unit Group - Add (Triggering unit) to dreadlord
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (dreadlord53_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on dreadlord53_Loop <gen>
      Else - Actions
dreadlord53 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in dreadlord and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 17000.00
            (Unit-type of (Picked unit)) Not equal to Dreadlords lvl 53 flying
          Then - Actions
            Unit - Order (Picked unit) to Night Elf Druid Of The Talon - Storm Crow Form.
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Unit-type of (Picked unit)) Equal to Dreadlords lvl 53 flying
              Then - Actions
                Special Effect - Create a special effect attached to the origin (attachpoint) of (Picked unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilMissile.mdl
                Special Effect - Set Scale of (Last created special effect) to 1.30
                Unit Group - Remove (Picked unit) from dreadlord.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in dreadlord) Equal to 0
      Then - Actions
        Special Effect - Destroy (Last created special effect)
        Trigger - Turn off (This trigger)
      Else - Actions
dreadlord53 morph
  Events
    Unit - A unit Is issued an order with no target
  Conditions
    (Issued order) Equal to (Order(ravenform))
  Actions
    Wait 0.50 seconds
    AI - Ignore (Triggering unit)'s guard position
    Set VariableSet TempUnit = (Triggering unit)
    Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
bloodmage 58 unit
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Blood Mage lvl 58
  Actions
    Unit Group - Add (Triggering unit) to bloodmageFly
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (bloodmage_58_fly_loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on bloodmage_58_fly_loop <gen>
      Else - Actions
bloodmage 58 fly loop
  Events
    Time - Every 0.50 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in bloodmageFly and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 50000.00
            (Unit-type of (Picked unit)) Not equal to Blood Mage lvl 58 flying
          Then - Actions
            Unit - Order (Picked unit) to Night Elf Druid Of The Talon - Storm Crow Form.
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Unit-type of (Picked unit)) Equal to Blood Mage lvl 58 flying
              Then - Actions
                Set VariableSet TempUnit = (Picked unit)
                Trigger - Run GetUnitsDestination <gen> (ignoring conditions)
                Unit Group - Remove (Picked unit) from bloodmageFly.
              Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in bloodmageFly) Equal to 0
      Then - Actions
        Special Effect - Destroy (Last created special effect)
        Trigger - Turn off (This trigger)
      Else - Actions
level 53 far seer drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Far Seer lvl 56
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create |cffff0000Gut Removers|r |cffc0c0c0(tower item)|r at TempPoint
    Item - Create |cffff0000Gut Removers|r |cffc0c0c0(tower item)|r at TempPoint
    Item - Create |cffff0000Gut Removers|r |cffc0c0c0(tower item)|r at TempPoint
    Custom script: call RemoveLocation(udg_TempPoint)
level 53 far seer heal
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Triggering unit)) Equal to Far Seer lvl 56
        (Unit-type of (Triggering unit)) Equal to Forgotten Far Seer lvl 64
  Actions
    Unit Group - Add (Triggering unit) to FarSeer53Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (FarSeer_53_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on FarSeer_53_Loop <gen>
      Else - Actions
FarSeer 53 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in FarSeer53Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 20000.00
          Then - Actions
            Unit - Order (Picked unit) to Human Paladin - Holy Light.(Picked unit)
            Unit - Set Unit: (Picked unit)'s Real Field: Hit Points ('uhpc') to Value: 350000.00
            Unit - Set (Picked unit) movement speed to 500.00
            Sound - Play ThrallWarcry1 <gen> at 100% volume, attached to (Picked unit)
            Sound - Destroy (Last played sound)
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
            Special Effect - Destroy (Last created special effect)
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Unit Group - Remove (Picked unit) from FarSeer53Group.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in FarSeer53Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
level 55 heal
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Blood Mage lvl 58
  Actions
    Unit Group - Add (Triggering unit) to BloodMage55Group
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Blood_Mage_55_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Blood_Mage_55_Loop <gen>
      Else - Actions
level 55 drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Blood Mage lvl 58
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create |cffffcc00Soul of Faust at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
Blood Mage 55 Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in BloodMage55Group and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 150000.00
          Then - Actions
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
            Unit - Set Unit: (Picked unit)'s Real Field: Hit Points ('uhpc') to Value: 400000.00
            Animation - Change (Picked unit)'s size to (300.00%, 300.00%, 300.00%) of its original size
            Sound - Play KaelWhat1 <gen> at 70.00% volume, attached to (Picked unit)
            Sound - Destroy (Last played sound)
            Special Effect - Create a special effect attached to the overhead (attachpoint) of (Picked unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
            Special Effect - Destroy (Last created special effect)
            Unit Group - Remove (Picked unit) from BloodMage55Group.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in BloodMage55Group) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
final 54
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Pit Lord lvl 57
  Actions
    Wait 20.00 game-time seconds
    Sound - Play SargerasLaugh <gen>
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
    Wait 10.00 game-time seconds
    Sound - Play SargerasLaugh <gen>
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
    Wait 10.00 game-time seconds
    Sound - Play SargerasLaugh <gen>
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
    Wait 10.00 game-time seconds
    Sound - Play SargerasLaugh <gen>
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
    Wait 10.00 game-time seconds
    Sound - Play SargerasLaugh <gen>
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
    Sound - Play SargerasLaugh <gen>
    Sound - Destroy (Last played sound)
    Sound - Set volume of (Last played sound) to 50.00%
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Make (Triggering unit) Invulnerable
    Wait 10.00 game-time seconds
    Unit - Make (Triggering unit) Vulnerable
death cart drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Death Cart lvl 62
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create |cffffcc00Soul of Faust at TempPoint
    Item - Create |cffff0000Death Cart's Gun|r |cffc0c0c0(tower item)|r at TempPoint
    Item - Create |cffff0000Death Cart's Gun|r |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
death cart
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Death Cart lvl 62
  Actions
    Unit Group - Add (Triggering unit) to DeathCartGrp
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (death_Cart_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on death_Cart_Loop <gen>
      Else - Actions
death Cart Loop
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in DeathCartGrp and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 470000.00
            (Life of (Picked unit)) Greater than 370000.00
          Then - Actions
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Set Scale of (Last created special effect) to 3.00
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 400.00
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Life of (Picked unit)) Less than or equal to 270000.00
                (Life of (Picked unit)) Greater than 150000.00
              Then - Actions
                Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                Set VariableSet TempPoint = (Position of (Picked unit))
                Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                Custom script: call RemoveLocation(udg_TempPoint)
                Special Effect - Set Scale of (Last created special effect) to 3.00
                Special Effect - Destroy (Last created special effect)
                Unit - Set (Picked unit) movement speed to 450.00
                Set VariableSet TempPoint = (Center of EndPoint <gen>)
                Unit - Order (Picked unit) to Move To.TempPoint
                Custom script: call RemoveLocation(udg_TempPoint)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Life of (Picked unit)) Less than or equal to 150000.00
                    (Life of (Picked unit)) Greater than 70000.00
                  Then - Actions
                    Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
                    Set VariableSet TempPoint = (Position of (Picked unit))
                    Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Special Effect - Set Scale of (Last created special effect) to 3.00
                    Special Effect - Destroy (Last created special effect)
                    Unit - Set (Picked unit) movement speed to 522.00
                    Set VariableSet TempPoint = (Center of EndPoint <gen>)
                    Unit - Order (Picked unit) to Move To.TempPoint
                    Custom script: call RemoveLocation(udg_TempPoint)
                    Unit Group - Remove (Picked unit) from DeathCartGrp.
                  Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in DeathCartGrp) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
death cart dies
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Death Cart lvl 62
  Actions
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
centStun
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Centaur Drudge lvl 41
  Actions
    Unit Group - Add (Triggering unit) to centStun
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (centStunloop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on centStunloop <gen>
      Else - Actions
centStunloop
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in centStun and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 15000.00
            (Life of (Picked unit)) Greater than 12000.00
          Then - Actions
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Destroy (Last created special effect)
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Unit Group - Remove (Picked unit) from centStun.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in centStun) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
MK drop
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Commander of the Marauders lvl 59
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Set VariableSet TempPoint = (Position of (Triggering unit))
    Item - Create |cffffcc00Soul of Faust at TempPoint
    Item - Create Commander's Hammer |cffc0c0c0(tower item)|r at TempPoint
    Item - Create Commander's Hammer |cffc0c0c0(tower item)|r at TempPoint
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Custom script: call RemoveLocation(udg_TempPoint)
MK
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Commander of the Marauders lvl 59
  Actions
    Unit Group - Add (Triggering unit) to MKgrp
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (MK_loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on MK_loop <gen>
      Else - Actions
MK loop
  Events
    Time - Every 12.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in MKgrp and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 400000.00
            (Life of (Picked unit)) Greater than 200000.00
          Then - Actions
            Sound - Play HeroMountainKingYes1 <gen>
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Set Scale of (Last created special effect) to 3.00
            Special Effect - Destroy (Last created special effect)
            Unit - Set (Picked unit) movement speed to 400.00
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Unit Group - Remove (Picked unit) from MKgrp.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in MKgrp) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
Kids
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Bobby lvl 63
  Actions
    Unit Group - Add (Triggering unit) to Kids
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Kids_Loop <gen> is on) Equal to False
      Then - Actions
        Trigger - Turn on Kids_Loop <gen>
      Else - Actions
Kids Loop
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Kids and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Life of (Picked unit)) Less than or equal to 50000.00
          Then - Actions
            Sound - Play VillagerCWhat3 <gen>
            Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp.
            Set VariableSet TempPoint = (Position of (Picked unit))
            Special Effect - Create a special effect at TempPoint using units\critters\EasterChicken\EasterChicken.mdl
            Custom script: call RemoveLocation(udg_TempPoint)
            Special Effect - Destroy (Last created special effect)
            Set VariableSet TempPoint = (Center of EndPoint <gen>)
            Unit - Order (Picked unit) to Move To.TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Unit Group - Remove (Picked unit) from Kids.
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of units in Kids) Equal to 0
      Then - Actions
        Trigger - Turn off (This trigger)
      Else - Actions
final 56
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Commander of the Marauders lvl 59
  Actions
    Wait 85.00 game-time seconds
    Sound - Play HeroMountainKingWarcry1 <gen>
    Unit - Order (Triggering unit) to Human Mountain King - Activate Avatar.
    Set VariableSet TempPoint = (Center of EndPoint <gen>)
    Unit - Order (Triggering unit) to Move To.TempPoint
    Custom script: call RemoveLocation(udg_TempPoint)
final 56 heal
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Leader of the Marauders lvl 60
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Wait 25.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Abilities\Spells\NightElf\Rejuvenation\RejuvenationTarget.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Set Unit: (Triggering unit)'s Real Field: Hit Points Regeneration Rate ('uhpr') to Value: 5000.00
    Unit - Set Unit: (Triggering unit)'s Real Field: Defense ('udfc') to Value: 800.00
final 56 howl
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Triggering unit)) Equal to Leader of the Marauders lvl 60
    (ItemRemove <gen> contains (Triggering unit)) Equal to False
  Actions
    Wait 120.00 game-time seconds
    Unit - Order (Triggering unit) to Neutral Pit Lord - Howl Of Terror.
    Wait 120.00 game-time seconds
    Unit - Order (Triggering unit) to Neutral Pit Lord - Howl Of Terror.
    Wait 120.00 game-time seconds
    Unit - Order (Triggering unit) to Neutral Pit Lord - Howl Of Terror.
final 57 dies
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Leader of the Marauders lvl 60
  Actions
    Sound - Play DoomGuardDeath1 <gen>
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 2.00 game-time seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
Events
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Player Group - Pick every player in (All players) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Level_Number[(Player number of (Picked player))] Greater than or equal to 51
          Then - Actions
            Set VariableSet TempPoint = (Center of spawn_areas[(Player number of (Picked player))])
            Special Effect - Create a special effect at TempPoint using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
            Special Effect - Set Scale of (Last created special effect) to 7.00
            Special Effect - Destroy (Last created special effect)
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
Sounds R
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Owner of (Triggering unit)) Equal to Player 12 (Brown)
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to Temple Ghoul lvl 5
      Then - Actions
        Sound - Play KodoBeastPuke1 <gen> at 50.00% volume, attached to (Triggering unit)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Death Minister lvl 15
          Then - Actions
            Sound - Play GromYesAttack1 <gen> at 50.00% volume, attached to (Triggering unit)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Unit-type of (Triggering unit)) Equal to Blood Reaver lvl 25
              Then - Actions
                Sound - Play WarlordYesAttack2 <gen> at 50.00% volume, attached to (Triggering unit)
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Unit-type of (Triggering unit)) Equal to Minotaur Warrior lvl 35
                  Then - Actions
                    Sound - Play WhiteTaurenPissed1 <gen> at 50.00% volume, attached to (Triggering unit)
                  Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (Unit-type of (Triggering unit)) Equal to Horseman lvl 45
                      Then - Actions
                        Sound - Play KnightPissed2 <gen> at 50.00% volume, attached to (Triggering unit)
                      Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            (Unit-type of (Triggering unit)) Equal to Troll Beserker lvl 54
                          Then - Actions
                            Sound - Play WitchDoctorYes1 <gen> at 50.00% volume, attached to (Triggering unit)
                          Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Unit-type of (Triggering unit)) Equal to War Commander lvl 55
                              Then - Actions
                                Sound - Play ShamanYesAttack4 <gen> at 50.00% volume, attached to (Triggering unit)
                              Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  If - Conditions
                                    (Unit-type of (Triggering unit)) Equal to Far Seer lvl 56
                                  Then - Actions
                                    Sound - Play ThrallWarcry1 <gen> at 50.00% volume, attached to (Triggering unit)
                                  Else - Actions
                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      If - Conditions
                                        (Unit-type of (Triggering unit)) Equal to Pit Lord lvl 57
                                      Then - Actions
                                        Sound - Play PitLordYesAttack1 <gen> at 50.00% volume, attached to (Triggering unit)
                                      Else - Actions