1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Dismiss Notice
  6. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  7. 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

Blackrock Mountain v1.9.w3x
Variables
Initialization
Melee Initialization
---------------------------
Music
---------------------------
Capture Altar
---------------------------
Power Gain
Portals
---------------------------
Eggs
---------------------------
Безымянный триггер 001
Безымянная категория
Board
Board loop
Speech
---------------------------
Chat
---------------------------
Start
Not enought Altars
Heroes Kills
Capture Altar Speech
---------------------------
Win Loose
Win Loose 2
Baron Gedon
Безымянный триггер 004
Безымянный триггер 003
---------------------------
TheBlackArrow Копировать
TheBlackArrow
TheBlackArrow Loop
---------------------------
Безымянный триггер 005
Безымянный триггер 005 Копировать
---------------------------
Iceblock Копировать Копировать 2 Копирова Копировать
Healing Копировать 4 Копировать 2
Majordom
---------------------------
Безымянный триггер 005 Копировать Копировать
Безымянный триггер 005 Копировать 2
Безымянный триггер 006
---------------------------
Безымянный триггер 005 Копировать 2 Копировать
Knockback
Knockback System
---------------------------
Ice Wall
Безымянный триггер 008 Копировать
---------------------------
Безымянный триггер 004 Копировать
Resistance Aura
Spell Fire Protes
Fire Enchantment Start
Fire Enchantment Periodic
Heroes
Release Aberrations
Aberrations
---------------------------
Cauldron Purple
---------------------------
Configuration
PC Cast
PC Loop
ST Loop
Безымянный триггер 002
---------------------------
Mutation
Mutation 2
---------------------------
Burning Adrenaline
Burning Adrenaline 2
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
Alacrity group No
AlacrityRemainingTime real No
AlleTot boolean No
Altars integer Yes
Board multiboard No
FE_active integer Yes
FE_active_count integer No
FE_data_angle real Yes
FE_data_caster unit Yes
FE_data_distance real Yes
FE_data_location_caster location Yes
FE_data_missile unit Yes
FE_data_speed real Yes
FE_freeIndexes integer Yes
FE_freeIndexes_count integer No
FE_Index_count integer No
FE_TempCount integer No
FE_TempIndex integer No
KB integervar No
KB_Angle real Yes
KB_Distance real Yes
KB_Group group No
KB_Off boolean Yes
KB_Point location Yes
KB_Skip integer No
KB_Spam integer Yes
KB_Speed real Yes
KB_Target unit Yes
KB_Times integer No
LIFEBloomhashTable hashtable No
ManaBaron real Yes
NEFARION string Yes
PC_Angle real Yes
PC_Caster unit Yes
PC_ConfAttackType integer No
PC_ConfCount integer Yes
PC_ConfDamage real Yes
PC_ConfDetectRange real No
PC_ConfMainAbility abilcode No
PC_ConfMaxHitRange real No
PC_ConfMissileArc real No
PC_ConfMissileSpeed real No
PC_ConfMissileType string No
PC_ConfMissileUnit unitcode No
PC_ConfOnImpactSfx string No
PC_ConfOnImpactSfxPoint string No
PC_ConfStunAbility abilcode No
PC_ConfStunBuff buffcode No
PC_ConfStunDurationHero real Yes
PC_ConfStunDurationNormal real Yes
PC_Count integer Yes
PC_Damage real Yes
PC_DistanceCurrent real Yes
PC_DistanceMax real Yes
PC_FlyHeight real No
PC_Group group No
PC_HeightMax real Yes
PC_IndexMax integer No
PC_Level integer Yes
PC_Loop integervar No
PC_Missile unit Yes
PC_MissileSfx effect Yes
PC_Player player Yes
PC_Point location Yes
PC_Speed real Yes
PC_StunDuration real Yes
PC_Target unit Yes
PC_X real No
PC_Y real No
Power integer Yes
Radiance_Group group No
RAGNAROS string Yes
Random integer Yes
RandomizeSPEACH integer No
ST_Duration real Yes
ST_IndexMax integer No
ST_Loop integervar No
ST_Unit unit Yes
Timer timer No
Wall unit No
Default melee game initialization for all players
Melee Initialization
  Events
    Map initialization
  Conditions
  Actions
    Destructible - Pick every destructible in (Playable map area) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Destructible-type of (Picked destructible)) Equal to DTes (destructablecode)
          Then - Actions
            Trigger - Add to Eggs <gen> the event ((Picked destructible) dies)
          Else - Actions
    Player - Disable Оболочка (Адреналин) for Player 4 (Purple)
    Player - Disable Оболочка (Мутация) for Player 4 (Purple)
    Player - Disable Оболочка (Мутация) for Player 6 (Orange)
    Player - Disable Оболочка (Адреналин) for Player 6 (Orange)
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 2 (Blue) treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Player 4 (Purple) treat Player 2 (Blue) as an Ally with shared vision
    Player - Set name of Player 4 (Purple) to |c00990099Nefarian Servants|r
    Player - Set name of Player 6 (Orange) to |c00ff6600Ragnaros Servants|r
    Player - Change color of Player 4 (Purple) to Purple, Changing color of existing units
    Player - Change color of Player 6 (Orange) to Orange, Changing color of existing units
    Set VariableSet Altars[1] = 0
    Set VariableSet Altars[2] = 0
    Set VariableSet Power[1] = 0
    Set VariableSet Power[2] = 0
    Melee Game - Use melee time of day (for all players)
    Melee Game - Limit Heroes to 1 per Hero-type (for all players)
    Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
    Melee Game - Set starting resources (for all players)
    Melee Game - Remove creeps and critters from used start locations (for all players)
    Melee Game - Create starting units (for all players)
    Melee Game - Run melee AI scripts (for computer players)
    Melee Game - Enforce victory/defeat conditions (for all players)
Music
  Events
    Time - Every 130.00 seconds of game time
  Conditions
  Actions
    Sound - Play Doom <gen>
Capture Altar
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Burning Altar
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 4 (Purple)
      Then - Actions
        Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 3.00 seconds, using a Flashy ping of color (80.00%, 0.00%, 70.00%)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 6 (Orange)
      Then - Actions
        Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 3.00 seconds, using a Warning ping of color (100.00%, 60.00%, 0.00%)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Dying unit)) Equal to Player 6 (Orange)
      Then - Actions
        Set VariableSet Altars[1] = (Altars[1] - 1)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Dying unit)) Equal to Player 4 (Purple)
      Then - Actions
        Set VariableSet Altars[2] = (Altars[2] - 1)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Owner of (Killing unit)) Equal to Player 2 (Blue)
            (Owner of (Killing unit)) Equal to Player 4 (Purple)
      Then - Actions
        Set VariableSet Altars[2] = (Altars[2] + 1)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Owner of (Killing unit)) Equal to Player 1 (Red)
            (Owner of (Killing unit)) Equal to Player 6 (Orange)
      Then - Actions
        Set VariableSet Altars[1] = (Altars[1] + 1)
      Else - Actions
    Unit - Create 1.Burning Altar for (Owner of (Killing unit)) at (Position of (Dying unit)) facing 230.00 degrees
    Unit - Remove (Dying unit) from the game
    Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
    Special Effect - Destroy (Last created special effect)
Power Gain
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Power[1] Less than or equal to 99
      Then - Actions
        Set VariableSet Power[1] = (Power[1] + 1)
        Set VariableSet Power[1] = (Power[1] + (Number of units in (Units owned by Player 6 (Orange) of type Burning Altar)))
      Else - Actions
        Set VariableSet Power[1] = 0
        Unit - Create 1.Dummy CASTER for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
        Unit - Add Fire Storm to (Last created unit)
        Unit - Order (Last created unit) to Neutral Pit Lord - Rain Of Fire.(Position of (Random unit from (Random 1 units from (Units owned by Player 4 (Purple) matching ((((Matching unit) is A structure) Equal to True) and ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Not equal to Burning Altar))).))))
        Unit - Add a 8.25 second Generic expiration timer to (Last created unit)
        Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
        Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 17 and 20)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 6 (Orange).
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Power[2] Less than or equal to 99
      Then - Actions
        Set VariableSet Power[2] = (Power[2] + 1)
        Set VariableSet Power[2] = (Power[2] + (Number of units in (Units owned by Player 4 (Purple) of type Burning Altar)))
      Else - Actions
        Set VariableSet Power[2] = 0
        Unit - Create 1.Dummy CASTER for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
        Unit - Add Fire Storm to (Last created unit)
        Unit - Order (Last created unit) to Neutral Pit Lord - Rain Of Fire.(Position of (Random unit from (Random 1 units from (Units owned by Player 6 (Orange) matching ((((Matching unit) is A structure) Equal to True) and ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Not equal to Burning Altar))).))))
        Unit - Add a 8.25 second Generic expiration timer to (Last created unit)
        Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
        Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 17 and 20)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 4 (Purple).
Portals
  Events
    Time - Every 300.00 seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Altars[1] Greater than Altars[2]
      Then - Actions
        Unit Group - Pick every unit in (Random 1 units from (Units owned by Player 6 (Orange) of type Burning Altar)) and do (Actions)
          Loop - Actions
            Special Effect - Create a special effect attached to the origin (attachpoint) of (Picked unit) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
            Unit - Create 1.Magma Rager for Player 6 (Orange) at ((Position of (Picked unit)) offset by 150.00 towards 225.00 degrees.) facing 225.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Create 1.Magma Rager for Player 6 (Orange) at ((Position of (Picked unit)) offset by 150.00 towards 315.00 degrees.) facing 315.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Create 1.Magma Giant for Player 6 (Orange) at ((Position of (Picked unit)) offset by 150.00 towards 270.00 degrees.) facing 270.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Cinematic - Ping minimap for (All players) at (Position of (Picked unit)) for 3.00 seconds, using a Flashy ping of color (100%, 60.00%, 0.00%)
            Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
            Quest - Display to Player Group - Player 6 (Orange) the New Unit Acquired message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 21 and 24)]))
            Wait 6.00 seconds
            Camera - Stop swaying/shaking the camera for Player 6 (Orange).
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Altars[2] Greater than Altars[1]
      Then - Actions
        Unit Group - Pick every unit in (Random 1 units from (Units owned by Player 4 (Purple) of type Burning Altar)) and do (Actions)
          Loop - Actions
            Special Effect - Create a special effect attached to the origin (attachpoint) of (Picked unit) using Abilities\Spells\NightElf\BattleRoar\RoarCaster.mdl
            Unit - Create 1.Magma Rager for Player 4 (Purple) at ((Position of (Picked unit)) offset by 150.00 towards 225.00 degrees.) facing 225.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Create 1.Magma Rager for Player 4 (Purple) at ((Position of (Picked unit)) offset by 150.00 towards 315.00 degrees.) facing 315.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Create 1.Magma Giant for Player 4 (Purple) at ((Position of (Picked unit)) offset by 150.00 towards 270.00 degrees.) facing 270.00 degrees
            Unit - Add a 180.00 second Generic expiration timer to (Last created unit)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Cinematic - Ping minimap for (All players) at (Position of (Picked unit)) for 3.00 seconds, using a Flashy ping of color (60.00%, 0.00%, 50.00%)
            Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
            Quest - Display to Player Group - Player 4 (Purple) the New Unit Acquired message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 21 and 24)]))
            Wait 6.00 seconds
            Camera - Stop swaying/shaking the camera for Player 4 (Purple).
      Else - Actions
Eggs
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 5) Equal to 2
      Then - Actions
        Unit - Create 1.Dragon Welp for Neutral Passive at (Position of (Dying destructible)) facing Default building facing degrees
        Special Effect - Create a special effect attached to the chest (attachpoint) of (Last created unit) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at (Position of (Dying destructible)) using Doodads\Cinematic\FireTrapUp\FireTrapUp.mdl
        Special Effect - Destroy (Last created special effect)
      Else - Actions
    Special Effect - Create a special effect at (Position of (Dying destructible)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying destructible)) using Abilities\Spells\Other\Volcano\VolcanoMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying destructible)) using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 0.01 seconds
    Destructible - Remove (Dying destructible)
Безымянный триггер 001
  Events
    Time - Every 2.26 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units of type Kerbstone Dealer) and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s stand work gold (animationname) animation
Board
  Events
    Time - Elapsed game time is 0.01 seconds
  Conditions
  Actions
    Quest - Create a Required quest titled |cffffcc00ALTARS with the description On a map placed 3 Altars. Each altar increases the rate of accumulation of the Power for your Master, and gives visibility in a small area., using icon path ReplaceableTextures\CommandButtons\BTNMaskOfDeath.blp
    Quest - Create a Required quest titled |cffffcc00POWER with the description Initially, each Master accumulates 1 Power every 2 seconds.When Master accumulates 100 Power, he unleashes Fire Storm on a random enemy building, causing damage in the area of effect., using icon path ReplaceableTextures\CommandButtons\BTNOrbOfFire.blp
    Quest - Create a Required quest titled |cffffcc00ELEMENTALS with the description Every 3 minutes on the side of those who have more Altar, in the world can come Elementals:Two Magma Rager - ranged being, with a small amount of health, dealing damage to all enemies around the target of attack.And one Magma Giant - a creature with a large amount of health and armor, scorching, using icon path ReplaceableTextures\CommandButtons\BTNLavaSpawn.blp
    Quest - Create a Optional quest titled (|cffffcc00HIVEWORKSHOP + ) with the description You can find latest version here - www.Hiveworkshop.comHive is a Warcraft 3 / SC2 modding and custom map community founded in 2004. Blizzard FanSite with over 80k members. If you want to know more about my maps, or if you want to start your own project, then Hive is a great opportunity to do, using icon path BTNHiveON.blp
    Quest - Create a Optional quest titled (|cffffcc00PATREON + ) with the description If you have interesting ideas, found any bug or just want to support my projects - please contact me on Patreon: www.patreon.com/steven_maxwell, using icon path BTNpatreonON.blp
    Quest - Create a Optional quest titled (|cffffcc00CREDITS + ) with the description I'm very grateful to:• Filmting and his really great map Grim Batol, that I use as base.• Sellenisko and his Dead Dwarfs.• Sin'dorei300 and his Ragnaros Minion.• HappyTauren and his Lava model., using icon path BTNCreditsON.blp
    Sound - Stop the currently playing music theme
    Wait 0.01 seconds
    Countdown Timer - Start Timer as a Repeating timer that will expire in 300.00 seconds
    Countdown Timer - Create a timer window for Timer with title Elementals will rise:
    Sound - Play Doom <gen>
    Multiboard - Create a multiboard with 3 columns and 5 rows, titled Blackrock Mountain .
    Set VariableSet Board = (Last created multiboard)
    Multiboard - Minimize Board
    Multiboard - Set the text for Board item in column 1, row 1 to
    Multiboard - Set the text for Board item in column 1, row 2 to |c00ff6600Ragnaros|n servants|r
    Multiboard - Set the text for Board item in column 1, row 4 to |c00990099Nefarian|n servants|r
    -------- --------
    Multiboard - Set the text for Board item in column 2, row 1 to |cffffcc00 Altars|r
    Multiboard - Set the text for Board item in column 2, row 2 to (|n + ((String(Altars[1])) + /3))
    Multiboard - Set the text for Board item in column 2, row 4 to (|n + ((String(Altars[1])) + /3))
    Multiboard - Set the text for Board item in column 3, row 1 to |cffffcc00 Power|r
    Multiboard - Set the text for Board item in column 3, row 2 to (|n + ((String(Power[1])) + /100))
    Multiboard - Set the text for Board item in column 3, row 4 to (|n + ((String(Power[2])) + /100))
    Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
    Multiboard - Set the width for Board item in column 0, row 0 to 5.00% of the total screen width
    Multiboard - Maximize Board
Board loop
  Events
    Time - Every 0.33 seconds of game time
  Conditions
  Actions
    Multiboard - Set the text for Board item in column 3, row 2 to (|n + ((String(Power[1])) + /100))
    Multiboard - Set the text for Board item in column 3, row 4 to (|n + ((String(Power[2])) + /100))
    Multiboard - Set the text for Board item in column 2, row 2 to (|n + ((String(Altars[1])) + /3))
    Multiboard - Set the text for Board item in column 2, row 4 to (|n + ((String(Altars[2])) + /3))
Chat
  Events
    Map initialization
  Conditions
  Actions
    Set VariableSet RAGNAROS[1] = Fight and slay in the name of the Fire Lord!
    Set VariableSet RAGNAROS[2] = Altars are ready. Capture them before Nefarions servants!
    Set VariableSet RAGNAROS[3] = Faster! Didn't give the Altars into the hands of Nefarion!
    Set VariableSet RAGNAROS[4] = Altars are ready. Come on, we need to grab them first!
    -------- --------
    Set VariableSet RAGNAROS[5] = On one miserable insect less.
    Set VariableSet RAGNAROS[6] = Perfectly. Now, destroy them all.
    Set VariableSet RAGNAROS[7] = Hmm... This mortal doesn't stand in front of you.
    Set VariableSet RAGNAROS[8] = Yes! One of his servants would be less!
    -------- --------
    Set VariableSet RAGNAROS[9] = Nefarian will not prevent me to capture this world!
    Set VariableSet RAGNAROS[10] = Excellent, servants! Another altar in my Advantage.
    Set VariableSet RAGNAROS[11] = I can feel a surge of power! I will destroy those wretched insects!
    Set VariableSet RAGNAROS[12] = Yes! The Altars will be ours!
    -------- --------
    Set VariableSet RAGNAROS[13] = You missed the Altar?! You should not disappoint Me!
    Set VariableSet RAGNAROS[14] = Nefarion and his servants captured the Altar!
    Set VariableSet RAGNAROS[15] = You have lost the Altar!
    Set VariableSet RAGNAROS[16] = No! I wanted this Altar!
    -------- --------
    Set VariableSet RAGNAROS[17] = Feel my wrath, Dragon!
    Set VariableSet RAGNAROS[18] = My anger will burn up these mortals!
    Set VariableSet RAGNAROS[19] = Nefarion will obey me!
    Set VariableSet RAGNAROS[20] = Doomfire will devour you!
    -------- --------
    Set VariableSet RAGNAROS[21] = My elementals arrived in your world. Begin the assault!
    Set VariableSet RAGNAROS[22] = I have summoned elementals to help you. Use them wisely!
    Set VariableSet RAGNAROS[23] = Elementals, rise! Let the fire to consume the World!
    Set VariableSet RAGNAROS[24] = Flames came to life, to destroy your enemies!
    -------- --------
    Set VariableSet RAGNAROS[25] = You only putting off the inevitable, Nefarion! Now, I'm the Lord of Blackrock Mountain! And this ... is only the beginning.
    -------- --------
    Set VariableSet NEFARION[1] = I am the lord of this world, and you cant take it from me.
    Set VariableSet NEFARION[2] = You'd better hurry up with Altars, servants.
    Set VariableSet NEFARION[3] = Capture these Altars, don't disappoint me.
    Set VariableSet NEFARION[4] = As I understand, you don't disturb about the Altars?
    -------- --------
    Set VariableSet NEFARION[5] = Excellent murder.
    Set VariableSet NEFARION[6] = What a pity, he died. Goodbye.
    Set VariableSet NEFARION[7] = You should not come back, hero.
    Set VariableSet NEFARION[8] = You were destined to die. This is your nature.
    -------- --------
    Set VariableSet NEFARION[9] = We will sow terror in the hearts of enemies.
    Set VariableSet NEFARION[10] = Altar captured. I am very grateful.
    Set VariableSet NEFARION[11] = Ragnaros will remember this lesson.
    Set VariableSet NEFARION[12] = Yes... Ragnaros is no longer such as he was before.
    -------- --------
    Set VariableSet NEFARION[13] = You missed the Altar ... Again.
    Set VariableSet NEFARION[14] = What a shame - Ragnaros captured one of the Altars.
    Set VariableSet NEFARION[15] = You'd better fight off the Altar, if you do not want to fry.
    Set VariableSet NEFARION[16] = Ragnaros think that it will help him?
    -------- --------
    Set VariableSet NEFARION[17] = You are not welcome here. Burn in the fire.
    Set VariableSet NEFARION[18] = You deserve it. It was necessary to choose the right side.
    Set VariableSet NEFARION[19] = I am tired of these games.
    Set VariableSet NEFARION[20] = Maybe Ragnaros isn't afraid of fire, but it can't be said about his servants.
    -------- --------
    Set VariableSet NEFARION[21] = Fire has risen against you Ragnaros. servants, pour out the wrath of elemental on enemies!
    Set VariableSet NEFARION[22] = Elementals? It's certainly not a dragons, but it is still good. Burn Ragnaros servants.
    Set VariableSet NEFARION[23] = Elementals risen from the depths. I advise you to use the moment!
    Set VariableSet NEFARION[24] = Elementals, that aren't under the control of Ragnaros? Turn enemies into ashes.
    -------- --------
    Set VariableSet NEFARION[25] = It was inevitable, Ragnaros. I hope you learned a lesson - obey or die.
默认的对所有玩家的对战游戏初始化
Start
  Events
    Map initialization
  Conditions
  Actions
    Wait 3.00 seconds
    Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
    Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
    Quest - Display to Player Group - Player 6 (Orange) the Hint message: |c00ff6600RAGNAROS:|r |c00ffcc99I am a Fire Lord, and I awake from the Molten Core!|r
    Quest - Display to Player Group - Player 4 (Purple) the Hint message: |c00990099NEFARION:|r |c00cc99ffI am the lord of this world, and you cant take it from me!|r
    Wait 6.00 seconds
    Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 1 and 4)]))
    Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 1 and 4)]))
    Wait 6.00 seconds
    Cinematic - Clear the screen of text messages for (All players).
    Camera - Stop swaying/shaking the camera for Player 6 (Orange).
    Camera - Stop swaying/shaking the camera for Player 4 (Purple).
Not enought Altars
  Events
    Time - Every (Random real number between 90.00 and 145.00) seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Altars[1] Less than 3
      Then - Actions
        Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
        Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 1 and 4)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 6 (Orange).
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Altars[2] Less than 3
      Then - Actions
        Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
        Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 1 and 4)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 4 (Purple).
      Else - Actions
Heroes Kills
  Events
    Unit - A unit Dies
  Conditions
    ((Dying unit) is A Hero) Equal to True
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 6 (Orange)
        (Owner of (Dying unit)) Equal to Player 4 (Purple)
      Then - Actions
        Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
        Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 5 and 8)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 6 (Orange).
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 4 (Purple)
        (Owner of (Dying unit)) Equal to Player 6 (Orange)
      Then - Actions
        Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
        Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 5 and 8)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 4 (Purple).
      Else - Actions
Capture Altar Speech
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Burning Altar
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Owner of (Killing unit)) Equal to Player 6 (Orange)
      Then - Actions
        Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
        Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
        Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 13 and 16)]))
        Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 9 and 12)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 6 (Orange).
        Camera - Stop swaying/shaking the camera for Player 4 (Purple).
      Else - Actions
        Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
        Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
        Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[(Random integer number between 9 and 12)]))
        Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS:|r + (|c00ffcc99 + RAGNAROS[(Random integer number between 13 and 16)]))
        Wait 6.00 seconds
        Camera - Stop swaying/shaking the camera for Player 4 (Purple).
        Camera - Stop swaying/shaking the camera for Player 6 (Orange).
Win Loose
  Events
    Player - Player 4 (Purple) leaves the game with a defeat
  Conditions
  Actions
    Camera - Shake the camera for Player 6 (Orange) with magnitude 2.00
    Quest - Display to Player Group - Player 6 (Orange) the Hint message: (|c00ff6600RAGNAROS: + (|c00ffcc99 + RAGNAROS[25]))
    Wait 6.00 seconds
    Camera - Stop swaying/shaking the camera for Player 6 (Orange).
    Trigger - Turn off Capture_Altar_Speech <gen>
    Trigger - Turn off Start <gen>
    Trigger - Turn off Not_enought_Altars <gen>
    Trigger - Turn off Heroes_Kills <gen>
Win Loose 2
  Events
    Player - Player 6 (Orange) leaves the game with a defeat
  Conditions
  Actions
    Camera - Shake the camera for Player 4 (Purple) with magnitude 2.00
    Quest - Display to Player Group - Player 4 (Purple) the Hint message: (|c00990099NEFARION:|r + (|c00cc99ff + NEFARION[25]))
    Wait 6.00 seconds
    Camera - Stop swaying/shaking the camera for Player 4 (Purple).
    Trigger - Turn off Capture_Altar_Speech <gen>
    Trigger - Turn off Start <gen>
    Trigger - Turn off Not_enought_Altars <gen>
    Trigger - Turn off Heroes_Kills <gen>
Безымянный триггер 004
  Events
    Unit - A unit Learns a skill
  Conditions
    (Learned Hero Skill) Equal to Scorching Aura
  Actions
    Unit - Add Radiance to (Triggering unit)
    Unit - Set level of Radiance for (Triggering unit) to (Level of Scorching Aura for (Triggering unit))
Безымянный триггер 003
  Events
    Time - Every 0.50 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Tornado 1) Equal to True) and (((Matching unit) is Magic Immune) Equal to False))) and do (Actions)
      Loop - Actions
        Unit - Cause (Random unit from (Random 1 units from (Units within 900.00 of (Position of (Picked unit)) matching ((((Matching unit) is alive) Equal to True) and ((Level of Radiance for (Matching unit)) Not equal to 0)).))) to damage (Picked unit), dealing ((Max life of (Picked unit)) x (60.00 / 100.00)) damage of attack type Chaos and damage type Normal
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Tornado 2) Equal to True) and (((Matching unit) is Magic Immune) Equal to False))) and do (Actions)
      Loop - Actions
        Unit - Cause (Random unit from (Random 1 units from (Units within 900.00 of (Position of (Picked unit)) matching ((((Matching unit) is alive) Equal to True) and ((Level of Radiance for (Matching unit)) Not equal to 0)).))) to damage (Picked unit), dealing ((Max life of (Picked unit)) x 0.01) damage of attack type Chaos and damage type Normal
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Tornado 3) Equal to True) and (((Matching unit) is Magic Immune) Equal to False))) and do (Actions)
      Loop - Actions
        Unit - Cause (Random unit from (Random 1 units from (Units within 900.00 of (Position of (Picked unit)) matching ((((Matching unit) is alive) Equal to True) and ((Level of Radiance for (Matching unit)) Not equal to 0)).))) to damage (Picked unit), dealing (140.00 / 100.00) damage of attack type Chaos and damage type Normal
Инициализация стандартного режима сражения для всех игроков
TheBlackArrow Копировать
  Events
    Map initialization
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
      Loop - Actions
        Trigger - Add to TheBlackArrow_Loop <gen> the event ((Picked unit) Takes damage)
Инициализация стандартного режима сражения для всех игроков
TheBlackArrow
  Events
    Unit - A unit enters (Playable map area)
  Conditions
  Actions
    Trigger - Add to TheBlackArrow_Loop <gen> the event ((Entering unit) Takes damage)
TheBlackArrow Loop
  Events
  Conditions
    (Unit-type of (Damage source)) Equal to g
  Actions
    Trigger - Turn off (This trigger)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            ((Attacked unit) has buff Cold Arrows (Stacking)) Equal to True
            ((Attacked unit) has buff (Info)) Equal to True
            ((Attacked unit) has buff Cold Arrows (Non-stacking)) Equal to True
      Then - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Max mana of (Attacked unit)) Not equal to 0.00
          Then - Actions
            Set VariableSet ManaBaron[1] = (Mana of (Attacked unit))
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ((Attacked unit) is A Hero) Equal to True
              Then - Actions
                Unit - Set mana of (Attacked unit) to ((Mana of (Attacked unit)) - (5.00 + (5.00 x (Real((Level of Desolating Flame for (Damage source)))))))
              Else - Actions
                Unit - Set mana of (Attacked unit) to ((Mana of (Attacked unit)) - (10.00 + (10.00 x (Real((Level of Desolating Flame for (Damage source)))))))
            Set VariableSet ManaBaron[2] = (Mana of (Attacked unit))
            Unit - Set life of (Attacked unit) to ((Life of (Attacked unit)) - (ManaBaron[1] - ManaBaron[2]))
            Special Effect - Create a special effect attached to the chest (attachpoint) of (Attacked unit) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Special Effect - Create a special effect attached to the chest (attachpoint) of (Damage source) using Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
            Special Effect - Destroy (Last created special effect)
          Else - Actions
            Unit - Set mana of (Damage source) to ((Mana of (Damage source)) + 8.00)
      Else - Actions
    Trigger - Turn on (This trigger)
Безымянный триггер 005
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Ignite Mana
    (Max mana of (Target unit of ability being cast)) Not equal to 0.00
  Actions
    Special Effect - Create a special effect attached to the origin (attachpoint) of (Target unit of ability being cast) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Unit Group - Pick every unit in (Units within 300.00 of (Position of (Target unit of ability being cast)) matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True))).) and do (Actions)
      Loop - Actions
        Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Max mana of (Target unit of ability being cast)) - (Mana of (Target unit of ability being cast))) damage of attack type Spells and damage type Normal
        Special Effect - Create a special effect attached to the chest (attachpoint) of (Picked unit) using Abilities\Spells\Items\AIfb\AIfbSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect attached to the chest (attachpoint) of (Picked unit) using Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect attached to the chest (attachpoint) of (Picked unit) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
        Special Effect - Destroy (Last created special effect)
Безымянный триггер 005 Копировать
  Events
    Unit - A unit Begins channeling an ability
  Conditions
    (Ability being cast) Equal to Ignite Mana
    (Max mana of (Target unit of ability being cast)) Equal to 0.00
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Max mana of (Target unit of ability being cast)) Equal to 0.00
      Then - Actions
        Unit - Order (Triggering unit) to Hold Position.
        Unit - Order (Triggering unit) to Stop.
        Game - Force (Owner of (Triggering unit)) to press the key G.
        Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 160.00)
      Else - Actions
Iceblock Копировать Копировать 2 Копирова Копировать
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Living Bomb
  Actions
    Unit - Add Bomb to (Target unit of ability being cast)
    Hashtable - Save 6.00 as 0 of (Key (Target unit of ability being cast).) in LIFEBloomhashTable.
    Hashtable - Save Handle Of(Triggering unit) as 0 of (Key (Target unit of ability being cast).) in LIFEBloomhashTable.
    Unit Group - Add (Target unit of ability being cast) to Alacrity
    Unit - Set level of Bomb for (Target unit of ability being cast) to (Level of Living Bomb for (Triggering unit))
Healing Копировать 4 Копировать 2
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in Alacrity and do (Actions)
      Loop - Actions
        Set VariableSet AlacrityRemainingTime = (Load 0 of (Key (Picked unit).) from LIFEBloomhashTable.)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            AlacrityRemainingTime Greater than 0.00
          Then - Actions
            Hashtable - Save (AlacrityRemainingTime - 1.00) as 0 of (Key (Picked unit).) in LIFEBloomhashTable.
            Unit - Cause (Load 0 of (Key (Picked unit).) in LIFEBloomhashTable.) to damage (Picked unit), dealing (5.00 + (5.00 x (Real((Level of Bomb for (Picked unit)))))) damage of attack type Spells and damage type Normal
          Else - Actions
            Unit - Create 1.Dummy CASTER for (Owner of (Load 0 of (Key (Picked unit).) in LIFEBloomhashTable.)) at (Position of (Picked unit)) facing Default building facing degrees
            Unit - Add Fan of Knives to (Last created unit)
            Unit - Set level of Fan of Knives for (Last created unit) to (Level of Bomb for (Picked unit))
            Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives.
            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            Unit - Remove Bomb from (Picked unit)
            Unit Group - Remove (Picked unit) from Alacrity.
            Hashtable - Clear all child hashtables of child (Key (Picked unit).) in LIFEBloomhashTable.
Безымянный триггер 005 Копировать Копировать
  Events
    Unit - A unit Begins channeling an ability
  Conditions
    (Ability being cast) Equal to DIE, INSECTS!
    ((Target unit of ability being cast) is Magic Immune) Equal to True
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ((Target unit of ability being cast) is Magic Immune) Equal to True
      Then - Actions
        Unit - Order (Triggering unit) to Hold Position.
        Unit - Order (Triggering unit) to Stop.
        Game - Force (Owner of (Triggering unit)) to press the key D.
        Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 180.00)
      Else - Actions
Безымянный триггер 005 Копировать 2
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to DIE, INSECTS!
  Actions
    Sound - Play DieInsect <gen> at 100% volume, attached to (Triggering unit)
    Sound - Skip to 0.25 seconds from the start of (Last played sound)
    Unit - Create 1 Dummy Ragnaros for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 100.00 towards ((Facing of (Triggering unit)) - 180.00) degrees.) facing (Position of (Target unit of ability being cast))
    Unit - Order (Last created unit) to Human Mountain King - Storm Bolt.(Target unit of ability being cast)
    Animation - Play (Last created unit)'s spell (animationname) animation
    Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100%, 100%) with 60.00% transparency
    Unit - Change color of (Last created unit) to Orange
    Unit - Add a 1.70 second Generic expiration timer to (Last created unit)
    Wait 0.50 seconds
    Animation - Play (Last created unit)'s death (animationname) animation
Безымянный триггер 006
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Dummy Ragnaros
  Actions
    Unit - Remove (Dying unit) from the game
Безымянный триггер 005 Копировать 2 Копировать
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Ragnaros Hand
  Actions
    Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Spells\Other\Volcano\VolcanoMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Weapons\DemolisherFireMissile\DemolisherFireMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Target point of ability being cast) using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Create 1 Dummy Ragnaros Hand for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Target unit of ability being cast))
    Animation - Play (Last created unit)'s birth (animationname) animation
    Unit - Change color of (Last created unit) to Orange
    Unit - Add a 0.80 second Generic expiration timer to (Last created unit)
    Wait 0.40 seconds
    Animation - Play (Last created unit)'s death (animationname) animation
Knockback
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Ragnaros Hand
  Actions
    Set VariableSet KB_Point[0] = (Target point of ability being cast)
    Set VariableSet KB_Group = (Units within 200.00 of KB_Point[0] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an ally of (Owner of (Triggering unit)).) Equal to False) and ((((Matching unit) is A flying unit) Equal to False) and (((Matching unit) is dead) Equal to False)))).)
    Unit Group - Pick every unit in KB_Group and do (Actions)
      Loop - Actions
        Unit - Cause (Triggering unit) to damage (Picked unit), dealing (20.00 + (40.00 x (Real((Level of Ragnaros Hand for (Triggering unit)))))) damage of attack type Spells and damage type Normal
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            KB_Skip Equal to 0
          Then - Actions
            Trigger - Turn on Knockback_System <gen>
          Else - Actions
        Set VariableSet KB_Skip = (KB_Skip + 1)
        Set VariableSet KB_Times = (KB_Times + 1)
        Set VariableSet KB_Off[KB_Times] = True
        Set VariableSet KB_Target[KB_Times] = (Picked unit)
        Set VariableSet KB_Point[1] = (Position of (Picked unit))
        Set VariableSet KB_Angle[KB_Times] = (Angle from KB_Point[0] to KB_Point[1])
        Set VariableSet KB_Speed[KB_Times] = 20.00
        Set VariableSet KB_Spam[KB_Times] = 5
        Set VariableSet KB_Distance[KB_Times] = 300.00
        Custom script: call RemoveLocation(udg_KB_Point[1])
    Custom script: call RemoveLocation(udg_KB_Point[0])
    Custom script: call DestroyGroup(udg_KB_Group)
Knockback System
  Events
    Time - Every 0.02 seconds of game time
  Conditions
  Actions
    For each (Integer KB) from 1 to KB_Times, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            KB_Off[KB] Equal to True
          Then - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                KB_Distance[KB] Less than or equal to 0.00
              Then - Actions
                Set VariableSet KB_Off[KB] = False
                -------- -------------------------------------------------- --------
                -------- Recycling --------
                -------- -------------------------------------------------- --------
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    KB Less than KB_Times
                  Then - Actions
                    Set VariableSet KB_Off[KB] = KB_Off[KB_Times]
                    Set VariableSet KB_Target[KB] = KB_Target[KB_Times]
                    Set VariableSet KB_Distance[KB] = KB_Distance[KB_Times]
                    Set VariableSet KB_Speed[KB] = KB_Speed[KB_Times]
                    Set VariableSet KB_Spam[KB] = KB_Spam[KB_Times]
                    Set VariableSet KB_Angle[KB] = KB_Angle[KB_Times]
                  Else - Actions
                Set VariableSet KB = (KB - 1)
                Set VariableSet KB_Skip = (KB_Skip - 1)
                Set VariableSet KB_Times = (KB_Times - 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    KB_Times Equal to 0
                  Then - Actions
                    Trigger - Turn off Knockback_System <gen>
                  Else - Actions
              Else - Actions
                -------- Here points set up to move knockbacked unit --------
                Set VariableSet KB_Point[2] = (Position of KB_Target[KB])
                Set VariableSet KB_Point[3] = (KB_Point[2] offset by KB_Speed[KB] towards KB_Angle[KB] degrees.)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Terrain pathing at KB_Point[3] of type Walkability is off) Equal to True
                    ((Playable map area) contains KB_Point[3]) Not equal to True
                  Then - Actions
                    Set VariableSet KB_Distance[KB] = 0.00
                  Else - Actions
                    Destructible - Pick every destructible within 100.00 of KB_Point[3] and do (Actions)
                      Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            ((Picked destructible) is alive) Equal to True
                          Then - Actions
                            Set VariableSet KB_Point[4] = (Position of (Picked destructible))
                            Unit - Create 1.Dummy CASTER for Neutral Passive at KB_Point[4] facing Default building facing degrees
                            Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                            Unit - Add Harvest (Ghouls Lumber) to (Last created unit)
                            Unit - Order (Last created unit) to Harvest.(Picked destructible)
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              If - Conditions
                                (Current order of (Last created unit)) Equal to (Order(harvest))
                              Then - Actions
                                Destructible - Kill (Picked destructible)
                              Else - Actions
                            Custom script: call RemoveLocation(udg_KB_Point[4])
                          Else - Actions
                    Custom script: call SetUnitX(udg_KB_Target[udg_KB], GetLocationX(udg_KB_Point[3]))
                    Custom script: call SetUnitY(udg_KB_Target[udg_KB], GetLocationY(udg_KB_Point[3]))
                Set VariableSet KB_Distance[KB] = (KB_Distance[KB] - KB_Speed[KB])
                Set VariableSet KB_Spam[KB] = (KB_Spam[KB] + 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    KB_Spam[KB] Greater than or equal to 5
                  Then - Actions
                    Set VariableSet KB_Spam[KB] = 0
                    Special Effect - Create a special effect at KB_Point[3] using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
                    Special Effect - Destroy (Last created special effect)
                    Special Effect - Create a special effect at KB_Point[3] using Abilities\Spells\Items\AIfb\AIfbSpecialArt.mdl
                    Special Effect - Destroy (Last created special effect)
                  Else - Actions
                Custom script: call RemoveLocation(udg_KB_Point[2])
                Custom script: call RemoveLocation(udg_KB_Point[3])
          Else - Actions
Ice Wall
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Firewall
  Actions
    Unit - Create 1 Glacial Wall for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
    Unit - Set level of Огонь стены for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Set level of Замедление Стені (Tornado) for (Last created unit) to (Level of Firewall for (Triggering unit))
    Set VariableSet Wall = (Last created unit)
    Unit - Add a (4.00 + (2.00 x (Real((Level of Firewall for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
    Unit - Create 1 Glacial Wall for (Owner of (Triggering unit)) at ((Target point of ability being cast) offset by 100.00 towards ((Facing of (Triggering unit)) - 90.00) degrees.) facing (Position of (Triggering unit))
    Unit - Set level of Огонь стены for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Set level of Замедление Стені (Tornado) for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Add a (4.00 + (2.00 x (Real((Level of Firewall for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
    Unit - Create 1 Glacial Wall for (Owner of (Triggering unit)) at ((Target point of ability being cast) offset by 100.00 towards ((Facing of (Triggering unit)) + 90.00) degrees.) facing (Position of (Triggering unit))
    Unit - Set level of Огонь стены for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Set level of Замедление Стені (Tornado) for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Add a (4.00 + (2.00 x (Real((Level of Firewall for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
    Unit - Create 1 Glacial Wall for (Owner of (Triggering unit)) at ((Target point of ability being cast) offset by 200.00 towards ((Facing of (Triggering unit)) + 90.00) degrees.) facing (Position of (Triggering unit))
    Unit - Set level of Огонь стены for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Set level of Замедление Стені (Tornado) for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Add a (4.00 + (2.00 x (Real((Level of Firewall for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
    Unit - Create 1 Glacial Wall for (Owner of (Triggering unit)) at ((Target point of ability being cast) offset by 200.00 towards ((Facing of (Triggering unit)) - 90.00) degrees.) facing (Position of (Triggering unit))
    Unit - Set level of Огонь стены for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Set level of Замедление Стені (Tornado) for (Last created unit) to (Level of Firewall for (Triggering unit))
    Unit - Add a (4.00 + (2.00 x (Real((Level of Firewall for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
Безымянный триггер 008 Копировать
  Events
    Unit - A unit enters (Playable map area)
  Conditions
    (Unit-type of (Entering unit)) Equal to Glacial Wall
  Actions
    Unit - Turn collision for (Entering unit) Off.
    Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
    Special Effect - Destroy (Last created special effect)
Безымянный триггер 004 Копировать
  Events
    Unit - A unit Learns a skill
  Conditions
    (Learned Hero Skill) Equal to Aegis of Flame
  Actions
    Unit - Add Aegis to (Triggering unit)
    Unit - Set level of Aegis for (Triggering unit) to (Level of Aegis of Flame for (Triggering unit))
Resistance Aura
  Events
    Time - Every 0.50 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 1) Equal to False) and ((Level of Aegis Resist for (Matching unit)) Not equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Remove Aegis Resist from (Picked unit)
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 2) Equal to False) and ((Level of Aegis Resist for (Matching unit)) Not equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Remove Aegis Resist from (Picked unit)
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 3) Equal to False) and ((Level of Aegis Resist for (Matching unit)) Not equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Remove Aegis Resist from (Picked unit)
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 1) Equal to True) and ((Level of Aegis Resist for (Matching unit)) Equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Add Aegis Resist to (Picked unit)
        Unit - Set level of Aegis Resist for (Picked unit) to 1
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 2) Equal to True) and ((Level of Aegis Resist for (Matching unit)) Equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Add Aegis Resist to (Picked unit)
        Unit - Set level of Aegis Resist for (Picked unit) to 2
    Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) has buff Unholy Aura 3) Equal to True) and ((Level of Aegis Resist for (Matching unit)) Equal to 0))) and do (Actions)
      Loop - Actions
        Unit - Add Aegis Resist to (Picked unit)
        Unit - Set level of Aegis Resist for (Picked unit) to 3
Fire Enchantment Start
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Fire Enchantment
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        FE_freeIndexes_count Equal to 0
      Then - Actions
        Set VariableSet FE_TempIndex = FE_Index_count
        Set VariableSet FE_Index_count = (FE_Index_count + 1)
      Else - Actions
        Set VariableSet FE_freeIndexes_count = (FE_freeIndexes_count - 1)
        Set VariableSet FE_TempIndex = FE_freeIndexes[FE_freeIndexes_count]
    Set VariableSet FE_active[FE_active_count] = FE_TempIndex
    Set VariableSet FE_active_count = (FE_active_count + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        FE_active_count Equal to 1
      Then - Actions
        Trigger - Turn on Fire_Enchantment_Periodic <gen>
      Else - Actions
    Set VariableSet FE_data_angle[FE_TempIndex] = (Facing of (Triggering unit))
    Set VariableSet FE_data_caster[FE_TempIndex] = (Triggering unit)
    Set VariableSet FE_data_location_caster[FE_TempIndex] = (Position of FE_data_caster[FE_TempIndex])
    Set VariableSet FE_data_distance[FE_TempIndex] = 25.00
    Set VariableSet FE_data_speed[FE_TempIndex] = 90.00
    For each (Integer A) from 0 to 4, do (Actions)
      Loop - Actions
        Unit - Create 1.Missile | Fire Protes for (Triggering player) at (FE_data_location_caster[FE_TempIndex] offset by FE_data_distance[((FE_TempIndex x 5) + (Integer A))] towards (FE_data_angle[FE_TempIndex] + ((Real((Integer A))) x 72.00)) degrees.) facing ((FE_data_angle[FE_TempIndex] + 90.00) + ((Real((Integer A))) x 72.00)) degrees
        Set VariableSet FE_data_missile[((FE_TempIndex x 5) + (Integer A))] = (Last created unit)
Fire Enchantment Periodic
  Events
    Time - Every (1.00 / 32.00) seconds of game time
  Conditions
  Actions
    Set VariableSet FE_TempCount = FE_active_count
    For each (Integer A) from 1 to FE_TempCount, do (Actions)
      Loop - Actions
        Set VariableSet FE_TempIndex = FE_active[(FE_TempCount - (Integer A))]
        Set VariableSet FE_data_distance[FE_TempIndex] = (Min((FE_data_distance[FE_TempIndex] + (25.00 / 32.00)), 250.00))
        Set VariableSet FE_data_speed[FE_TempIndex] = (Min((FE_data_angle[FE_TempIndex] + (90.00 / 36.00)), 180.00))
        Set VariableSet FE_data_angle[FE_TempIndex] = (FE_data_angle[FE_TempIndex] + (FE_data_speed[FE_TempIndex] / 32.00))
        Set VariableSet AlleTot = True
        For each (Integer B) from 0 to 4, do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (FE_data_caster[FE_TempIndex] has buff Tornado 2) Equal to False
              Then - Actions
                Unit - Kill FE_data_missile[((FE_TempIndex x 5) + (Integer B))]
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (FE_data_missile[((FE_TempIndex x 5) + (Integer B))] is alive) Equal to True
                  Then - Actions
                    Set VariableSet AlleTot = False
                    Set VariableSet FE_data_location_caster[FE_TempIndex] = (Position of FE_data_caster[FE_TempIndex])
                    Unit - Move FE_data_missile[((FE_TempIndex x 5) + (Integer B))] instantly to (FE_data_location_caster[FE_TempIndex] offset by FE_data_distance[FE_TempIndex] towards (FE_data_angle[FE_TempIndex] + ((Real((Integer B))) x 72.00)) degrees.)
                    Unit - Make FE_data_missile[((FE_TempIndex x 5) + (Integer B))] face ((FE_data_angle[FE_TempIndex] + 90.00) + ((Real((Integer B))) x 72.00)) over 0 seconds
                    Custom script: set bj_wantDestroyGroup = true
                    Unit Group - Pick every unit in (Units within 100.00 of (Position of FE_data_missile[((FE_TempIndex x 5) + (Integer B))]) matching ((((Matching unit) belongs to an enemy of (Owner of FE_data_caster[FE_TempIndex]).) Equal to True) and (((Matching unit) is alive) Equal to True)).) and do (Actions)
                      Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          If - Conditions
                            ((Picked unit) is Magic Immune) Equal to False
                            (FE_data_missile[((FE_TempIndex x 5) + (Integer B))] is alive) Equal to True
                            ((Picked unit) is Mechanical) Equal to False
                            ((Picked unit) is A structure) Equal to False
                          Then - Actions
                            Unit - Create 1.Missile for (Owner of FE_data_caster[FE_TempIndex]) at (Position of FE_data_missile[((FE_TempIndex x 5) + (Integer B))]) facing 0.00 degrees
                            Unit - Add Аура меткости to (Last created unit)
                            Unit - Set level of Аура меткости for (Last created unit) to (Level of Echolocation for FE_data_caster[FE_TempIndex])
                            Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                            Unit - Order (Last created unit) to Neutral - Firebolt.(Picked unit)
                            Unit - Kill FE_data_missile[((FE_TempIndex x 5) + (Integer B))]
                            Special Effect - Create a special effect attached to the chest (attachpoint) of (Picked unit) using Abilities\Weapons\SteamTank\SteamTankImpact.mdl
                            Special Effect - Destroy (Last created special effect)
                          Else - Actions
                  Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            AlleTot Equal to True
          Then - Actions
            Unit - Remove Tornado 2 buff from FE_data_caster[FE_TempIndex]
            Set VariableSet FE_freeIndexes[FE_freeIndexes_count] = FE_TempIndex
            Set VariableSet FE_freeIndexes_count = (FE_freeIndexes_count + 1)
            Set VariableSet FE_active_count = (FE_active_count - 1)
            Set VariableSet FE_active[(FE_TempCount - (Integer A))] = FE_active[FE_active_count]
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                FE_active_count Equal to 0
              Then - Actions
                Custom script: call RemoveLocation(udg_FE_data_location_caster[udg_FE_TempIndex])
                Trigger - Turn off (This trigger)
              Else - Actions
          Else - Actions
Release Aberrations
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Release Aberrations
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Level of Release Aberrations for (Triggering unit)) Equal to 1
      Then - Actions
        Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
        Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
        Unit - Create 1.Aberration (уровень 1) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards (Facing of (Triggering unit)) degrees.) facing (Facing of (Triggering unit)) degrees
        Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Add a 60 second Generic expiration timer to (Last created unit)
        Unit - Create 1.Aberration (уровень 1) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) - 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
        Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Add a 60 second Generic expiration timer to (Last created unit)
        Unit - Create 1.Aberration (уровень 1) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) + 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
        Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Add a 60 second Generic expiration timer to (Last created unit)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Level of Release Aberrations for (Triggering unit)) Equal to 2
          Then - Actions
            Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
            Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
            Unit - Create 1.Aberration (уровень 2) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards (Facing of (Triggering unit)) degrees.) facing (Facing of (Triggering unit)) degrees
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Add a 60 second Generic expiration timer to (Last created unit)
            Unit - Create 1.Aberration (уровень 2) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) - 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Add a 60 second Generic expiration timer to (Last created unit)
            Unit - Create 1.Aberration (уровень 2) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) + 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
            Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
            Special Effect - Destroy (Last created special effect)
            Unit - Add a 60 second Generic expiration timer to (Last created unit)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Level of Release Aberrations for (Triggering unit)) Equal to 3
              Then - Actions
                Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
                Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
                Unit - Create 1.Aberration (уровень 3) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards (Facing of (Triggering unit)) degrees.) facing (Facing of (Triggering unit)) degrees
                Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
                Special Effect - Destroy (Last created special effect)
                Unit - Add a 60 second Generic expiration timer to (Last created unit)
                Unit - Create 1.Aberration (уровень 3) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) - 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
                Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
                Special Effect - Destroy (Last created special effect)
                Unit - Add a 60 second Generic expiration timer to (Last created unit)
                Unit - Create 1.Aberration (уровень 3) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 125.00 towards ((Facing of (Triggering unit)) + 90.00) degrees.) facing (Facing of (Triggering unit)) degrees
                Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
                Special Effect - Destroy (Last created special effect)
                Unit - Add a 60 second Generic expiration timer to (Last created unit)
              Else - Actions
Aberrations
  Events
    Unit - A unit Dies
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Dying unit)) Equal to Aberration (уровень 1)
        (Unit-type of (Dying unit)) Equal to Aberration (уровень 2)
        (Unit-type of (Dying unit)) Equal to Aberration (уровень 3)
  Actions
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Weapons\LavaSpawnMissile\LavaSpawnBirthMissile.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl
    Special Effect - Destroy (Last created special effect)
Cauldron Purple
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units of type Cauldron (Level 1)) and do (Actions)
      Loop - Actions
        Special Effect - Create a special effect at ((Position of (Picked unit)) offset by 25.00 towards 225.00 degrees.) using war3mapImported\NetherPotionMissle.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at ((Position of (Picked unit)) offset by 25.00 towards 225.00 degrees.) using Environment\NightElfBuildingFire\ElfLargeBuildingFire1.mdl
        Special Effect - Destroy (Last created special effect)
Attack Type:
0 = normal
1 = melee
2 = pierce
3 = siege
4 = magic
5 = chaos
6 = hero
7 = unknown
Configuration
  Events
    Map initialization
  Conditions
  Actions
    -------- main ability that will run the trigger --------
    Set VariableSet PC_ConfMainAbility = Unpredictable Experiment
    -------- missile unit --------
    Set VariableSet PC_ConfMissileUnit = Missile
    -------- stun ability for missile --------
    Set VariableSet PC_ConfStunAbility = Stun
    -------- buff that will be give to the stunned unit --------
    Set VariableSet PC_ConfStunBuff = Stunned (Pause)
    -------- maximum range for missile to deals damage and stuns the target --------
    Set VariableSet PC_ConfMaxHitRange = 300.00
    -------- attack type of dealt damage. look at this trigger comment for complete list --------
    Set VariableSet PC_ConfAttackType = 4
    -------- model's path of your missile --------
    Set VariableSet PC_ConfMissileType = Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
    -------- sfx created on target on hit --------
    Set VariableSet PC_ConfOnImpactSfx = Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
    -------- attachment point on target for the impact sfx --------
    Set VariableSet PC_ConfOnImpactSfxPoint = chest
    -------- range for missile to seek new target --------
    Set VariableSet PC_ConfDetectRange = 600.00
    -------- max flying height for the missile --------
    Set VariableSet PC_ConfMissileArc = 0.30
    -------- missile speed --------
    Set VariableSet PC_ConfMissileSpeed = 20.00
    -------- damage per level --------
    Set VariableSet PC_ConfDamage[1] = 75.00
    -------- number of bounces per level --------
    Set VariableSet PC_ConfCount[1] = 10
    -------- stun duration if the target is Hero --------
    Set VariableSet PC_ConfStunDurationHero[1] = 1.00
    -------- stun duration if the target is normal unit --------
    Set VariableSet PC_ConfStunDurationNormal[1] = 2.00
PC Cast
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to PC_ConfMainAbility
  Actions
    Set VariableSet PC_IndexMax = (PC_IndexMax + 1)
    Set VariableSet PC_Caster[PC_IndexMax] = (Triggering unit)
    Set VariableSet PC_Target[PC_IndexMax] = (Target unit of ability being cast)
    Set VariableSet PC_Level[PC_IndexMax] = (Level of PC_ConfMainAbility for PC_Caster[PC_IndexMax])
    Set VariableSet PC_Point[1] = (Position of PC_Caster[PC_IndexMax])
    Set VariableSet PC_Point[2] = (Position of PC_Target[PC_IndexMax])
    Set VariableSet PC_Angle[PC_IndexMax] = (Angle from PC_Point[1] to PC_Point[2])
    Set VariableSet PC_DistanceMax[PC_IndexMax] = (Distance between PC_Point[1] and PC_Point[2])
    Set VariableSet PC_DistanceCurrent[PC_IndexMax] = 0.00
    Set VariableSet PC_Damage[PC_IndexMax] = PC_ConfDamage[PC_Level[PC_IndexMax]]
    Set VariableSet PC_HeightMax[PC_IndexMax] = (PC_DistanceMax[PC_IndexMax] x PC_ConfMissileArc)
    Set VariableSet PC_Speed[PC_IndexMax] = PC_ConfMissileSpeed
    Set VariableSet PC_Count[PC_IndexMax] = PC_ConfCount[PC_Level[PC_IndexMax]]
    Set VariableSet PC_Player[PC_IndexMax] = (Owner of PC_Caster[PC_IndexMax])
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (PC_Target[PC_IndexMax] is A Hero) Equal to True
      Then - Actions
        Set VariableSet PC_StunDuration[PC_IndexMax] = PC_ConfStunDurationHero[PC_Level[PC_IndexMax]]
      Else - Actions
        Set VariableSet PC_StunDuration[PC_IndexMax] = PC_ConfStunDurationNormal[PC_Level[PC_IndexMax]]
    Unit - Create 1 PC_ConfMissileUnit for PC_Player[PC_IndexMax] at PC_Point[1] facing PC_Point[2]
    Set VariableSet PC_Missile[PC_IndexMax] = (Last created unit)
    Unit - Add PC_ConfStunAbility to PC_Missile[PC_IndexMax]
    Special Effect - Create a special effect attached to the chest (attachpoint) of PC_Missile[PC_IndexMax] using PC_ConfMissileType
    Set VariableSet PC_MissileSfx[PC_IndexMax] = (Last created special effect)
    Custom script: if UnitAddAbility(udg_PC_Missile[udg_PC_IndexMax],'Amrf') and UnitRemoveAbility(udg_PC_Missile[udg_PC_IndexMax],'Amrf') then
    Custom script: endif
    Trigger - Turn on PC_Loop <gen>
    Custom script: call RemoveLocation(udg_PC_Point[1])
    Custom script: call RemoveLocation(udg_PC_Point[2])
PC Loop
  Events
    Time - Every 0.03 seconds of game time
  Conditions
  Actions
    For each (Integer PC_Loop) from 1 to PC_IndexMax, do (Actions)
      Loop - Actions
        Custom script: set udg_PC_X = GetUnitX(udg_PC_Missile[udg_PC_Loop]) + udg_PC_Speed[udg_PC_Loop] * Cos(udg_PC_Angle[udg_PC_Loop] * bj_DEGTORAD)
        Custom script: set udg_PC_Y = GetUnitY(udg_PC_Missile[udg_PC_Loop]) + udg_PC_Speed[udg_PC_Loop] * Sin(udg_PC_Angle[udg_PC_Loop] * bj_DEGTORAD)
        Custom script: call SetUnitX(udg_PC_Missile[udg_PC_Loop], udg_PC_X)
        Custom script: call SetUnitY(udg_PC_Missile[udg_PC_Loop], udg_PC_Y)
        Set VariableSet PC_DistanceCurrent[PC_Loop] = (PC_DistanceCurrent[PC_Loop] + PC_Speed[PC_Loop])
        Set VariableSet PC_FlyHeight = (((4.00 x PC_HeightMax[PC_Loop]) / PC_DistanceMax[PC_Loop]) x ((PC_DistanceMax[PC_Loop] - PC_DistanceCurrent[PC_Loop]) x (PC_DistanceCurrent[PC_Loop] / PC_DistanceMax[PC_Loop])))
        Animation - Change PC_Missile[PC_Loop] flying height to PC_FlyHeight at 0.00
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            PC_DistanceCurrent[PC_Loop] Greater than or equal to PC_DistanceMax[PC_Loop]
          Then - Actions
            Set VariableSet PC_Count[PC_Loop] = (PC_Count[PC_Loop] - 1)
            Set VariableSet PC_Point[3] = (Point(PC_X, PC_Y))
            Set VariableSet PC_Point[4] = (Position of PC_Target[PC_Loop])
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Distance between PC_Point[3] and PC_Point[4]) Less than or equal to PC_ConfMaxHitRange
              Then - Actions
                Special Effect - Create a special effect attached to the PC_ConfOnImpactSfxPoint of PC_Target[PC_Loop] using PC_ConfOnImpactSfx
                Special Effect - Destroy (Last created special effect)
                Unit - Remove PC_ConfStunBuff buff from PC_Target[PC_Loop]
                Unit - Order PC_Missile[PC_Loop] to Human Mountain King - Storm Bolt.PC_Target[PC_Loop]
                Custom script: call UnitDamageTargetBJ( udg_PC_Caster[udg_PC_Loop], udg_PC_Target[udg_PC_Loop], udg_PC_Damage[udg_PC_Loop], ConvertAttackType(udg_PC_ConfAttackType), DAMAGE_TYPE_NORMAL )
                Set VariableSet ST_IndexMax = (ST_IndexMax + 1)
                Set VariableSet ST_Unit[ST_IndexMax] = PC_Target[PC_Loop]
                Set VariableSet ST_Duration[ST_IndexMax] = PC_StunDuration[PC_Loop]
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ST_IndexMax Equal to 1
                  Then - Actions
                    Trigger - Turn on ST_Loop <gen>
                  Else - Actions
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                PC_Count[PC_Loop] Equal to 0
              Then - Actions
                Special Effect - Destroy PC_MissileSfx[PC_Loop]
                Unit - Add a 1.00 second Generic expiration timer to PC_Missile[PC_Loop]
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    PC_Loop Not equal to PC_IndexMax
                  Then - Actions
                    Set VariableSet PC_Angle[PC_Loop] = PC_Angle[PC_IndexMax]
                    Set VariableSet PC_Caster[PC_Loop] = PC_Caster[PC_IndexMax]
                    Set VariableSet PC_Count[PC_Loop] = PC_Count[PC_IndexMax]
                    Set VariableSet PC_Damage[PC_Loop] = PC_Damage[PC_IndexMax]
                    Set VariableSet PC_DistanceCurrent[PC_Loop] = PC_DistanceCurrent[PC_IndexMax]
                    Set VariableSet PC_DistanceMax[PC_Loop] = PC_DistanceMax[PC_IndexMax]
                    Set VariableSet PC_HeightMax[PC_Loop] = PC_HeightMax[PC_IndexMax]
                    Set VariableSet PC_Level[PC_Loop] = PC_Level[PC_IndexMax]
                    Set VariableSet PC_Missile[PC_Loop] = PC_Missile[PC_IndexMax]
                    Set VariableSet PC_MissileSfx[PC_Loop] = PC_MissileSfx[PC_IndexMax]
                    Set VariableSet PC_Player[PC_Loop] = PC_Player[PC_IndexMax]
                    Set VariableSet PC_Speed[PC_Loop] = PC_Speed[PC_IndexMax]
                    Set VariableSet PC_StunDuration[PC_Loop] = PC_StunDuration[PC_IndexMax]
                    Set VariableSet PC_Target[PC_Loop] = PC_Target[PC_IndexMax]
                  Else - Actions
                Set VariableSet PC_IndexMax = (PC_IndexMax - 1)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    PC_IndexMax Equal to 0
                  Then - Actions
                    Trigger - Turn off (This trigger)
                  Else - Actions
                    Set VariableSet PC_Loop = (PC_Loop - 1)
              Else - Actions
                Set VariableSet PC_Group = (Units within PC_ConfDetectRange of PC_Point[3] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of PC_Player[PC_Loop].) Equal to True) and (((Matching unit) Not equal to PC_Target[PC_Loop]) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) is visible to PC_Player[PC_Loop].) Equal to True)))))).)
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Number of units in PC_Group) Greater than 0
                  Then - Actions
                    Set VariableSet PC_Target[PC_Loop] = (Random unit from PC_Group)
                    Set VariableSet PC_Point[4] = (Position of PC_Target[PC_Loop])
                    Set VariableSet PC_Angle[PC_Loop] = (Angle from PC_Point[3] to PC_Point[4])
                    Set VariableSet PC_DistanceCurrent[PC_Loop] = 0.00
                    Set VariableSet PC_DistanceMax[PC_Loop] = (Distance between PC_Point[3] and PC_Point[4])
                    Set VariableSet PC_HeightMax[PC_Loop] = (PC_DistanceMax[PC_Loop] x PC_ConfMissileArc)
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        (PC_Target[PC_Loop] is A Hero) Equal to True
                      Then - Actions
                        Set VariableSet PC_StunDuration[PC_Loop] = PC_ConfStunDurationHero[PC_Level[PC_Loop]]
                      Else - Actions
                        Set VariableSet PC_StunDuration[PC_Loop] = PC_ConfStunDurationNormal[PC_Level[PC_Loop]]
                    Custom script: call RemoveLocation(udg_PC_Point[4])
                  Else - Actions
                    Special Effect - Destroy PC_MissileSfx[PC_Loop]
                    Unit - Add a 1.00 second Generic expiration timer to PC_Missile[PC_Loop]
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        PC_Loop Not equal to PC_IndexMax
                      Then - Actions
                        Set VariableSet PC_Angle[PC_Loop] = PC_Angle[PC_IndexMax]
                        Set VariableSet PC_Caster[PC_Loop] = PC_Caster[PC_IndexMax]
                        Set VariableSet PC_Count[PC_Loop] = PC_Count[PC_IndexMax]
                        Set VariableSet PC_Damage[PC_Loop] = PC_Damage[PC_IndexMax]
                        Set VariableSet PC_DistanceCurrent[PC_Loop] = PC_DistanceCurrent[PC_IndexMax]
                        Set VariableSet PC_DistanceMax[PC_Loop] = PC_DistanceMax[PC_IndexMax]
                        Set VariableSet PC_HeightMax[PC_Loop] = PC_HeightMax[PC_IndexMax]
                        Set VariableSet PC_Level[PC_Loop] = PC_Level[PC_IndexMax]
                        Set VariableSet PC_Missile[PC_Loop] = PC_Missile[PC_IndexMax]
                        Set VariableSet PC_MissileSfx[PC_Loop] = PC_MissileSfx[PC_IndexMax]
                        Set VariableSet PC_Player[PC_Loop] = PC_Player[PC_IndexMax]
                        Set VariableSet PC_Speed[PC_Loop] = PC_Speed[PC_IndexMax]
                        Set VariableSet PC_StunDuration[PC_Loop] = PC_StunDuration[PC_IndexMax]
                        Set VariableSet PC_Target[PC_Loop] = PC_Target[PC_IndexMax]
                      Else - Actions
                    Set VariableSet PC_IndexMax = (PC_IndexMax - 1)
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      If - Conditions
                        PC_IndexMax Equal to 0
                      Then - Actions
                        Trigger - Turn off (This trigger)
                      Else - Actions
                        Set VariableSet PC_Loop = (PC_Loop - 1)
                Custom script: call DestroyGroup(udg_PC_Group)
            Custom script: call RemoveLocation(udg_PC_Point[3])
            Custom script: call RemoveLocation(udg_PC_Point[4])
          Else - Actions
ST Loop
  Events
    Time - Every 0.03 seconds of game time
  Conditions
  Actions
    For each (Integer ST_Loop) from 1 to ST_IndexMax, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ST_Duration[ST_Loop] Greater than 0.00
          Then - Actions
            Set VariableSet ST_Duration[ST_Loop] = (ST_Duration[ST_Loop] - 0.03)
          Else - Actions
            Unit - Remove PC_ConfStunBuff buff from ST_Unit[ST_Loop]
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ST_Loop Not equal to ST_IndexMax
              Then - Actions
                Set VariableSet ST_Duration[ST_Loop] = ST_Duration[ST_IndexMax]
                Set VariableSet ST_Unit[ST_Loop] = ST_Unit[ST_IndexMax]
              Else - Actions
            Set VariableSet ST_IndexMax = (ST_IndexMax - 1)
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ST_IndexMax Equal to 0
              Then - Actions
                Trigger - Turn off (This trigger)
              Else - Actions
                Set VariableSet ST_Loop = (ST_Loop - 1)
Безымянный триггер 002
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Missile
  Actions
    Unit - Remove Fire 1 (+1) from (Dying unit)
Mutation
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Mutation
  Actions
    Wait 0.25 seconds
    Unit - Create 1.Dummy CASTER for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
    Unit - Add Mutation Buff to (Last created unit)
    Unit - Set level of Mutation Buff for (Last created unit) to (Level of Mutation for (Triggering unit))
    Unit - Order (Last created unit) to Orc Shaman - Bloodlust.(Target unit of ability being cast)
    Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Mutation 2
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Mutation
  Actions
    Unit - Pause the expiration timer for (Target unit of ability being cast).
    Unit - Add Оболочка (Мутация) to (Target unit of ability being cast)
    Unit - Set level of Оболочка (Мутация) for (Target unit of ability being cast) to (Level of Mutation for (Triggering unit))
    Unit - Add a (20.00 + (10.00 x (Real((Level of Mutation for (Triggering unit)))))) second Generic expiration timer to (Target unit of ability being cast)
Burning Adrenaline
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Burning Adrenaline
  Actions
    Unit - Add Оболочка (Адреналин) to (Triggering unit)
Burning Adrenaline 2
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Trueshot Aura) Equal to True)) and do (Actions)
      Loop - Actions
        Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - ((Max life of (Picked unit)) x 0.02))