1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

DIII Borderlands v.1.10b.w3x
Variables
Initialisierung
Loading Triggers
DialogClicked
Setup
Music
Unit Death
General Blood SFX
Level Up
Chest open
Camera Shake
Daytime
Boss Music
Raikanishu Music
Dummy death and explosion
Exp Bonus System
Orb and Gold Drops
AI
Item Abilities
Destructible
Item Drop System
Item Drop System init
Item Drop System
Charged Bolt
xebasic
Charged Bolt
SetDifficulty
Players Default
PlayerAutoAdjust
AutoAdjust
PlayerDifficulty
Players 1
Players 2
Players 3
Players 4
Players 5
Players 6
Dungeon
Eingang
Eingang2
Ausgang
Beben
Fallende Steine1
Fallende Steine
Eingang Spider Cave
Camera
Camera
Zoom
ZoomOut
Camera On Off
Barbar Skills
Cleave
Jump
JB init
JB loop
Seismic Slam
SS init
SS loop
Charge
CB init
CB loop
Whirlwind
Whirlwind init
Whirlwind Loop
Fury System
Barbarian Mana Leak
Barbarian Fury Gain
Barbarian Rage Gain
Barbarian Rage Fix
Combo Warshout
Combo Weapon Throw
Combo Ground Stomp
Wizard Skills
Arcane Torrent
Electrocute
Spectral Blades
Mirror Image
Arcane Orb
Arcane Orb init
Arcane Orb Loop
Energy Twister
ET init
ET loop
New Time Shield & Wave Force
Time Shield New
Wave Force New
Witch Doctor Skills
Acid Cloud
Sacrifice
Mongrels
Plague of Toads
Toads
Horrify
Horrify Init
Horrify Loop
Soul Harvest
Soul Harvest
Health Reserve
Example
Bound Sentinel
Fire Bomb
FB init
FB loop
Get DOT
Deal DOT
Locust Swarm
LS init
LS loop
Monk Skills
Crippling Wave
Hundred Fists
Exploding Palm
SevenSidedStrike
Blinding Flash
Serenity
Serenity Start
Serenity
Demon Hunter Skills
Fan of Knives
FoK init
FoK loop
Elemental Arrow
MA init
MA loop
Spike Trap
Spike Trap werfen
Spike Trap
Vault
VA init
VA loop
Grenade
Vectors
Grenade vJass
Grenade Mana
Multishot
Multishoot
Inventory System
Inventory
Anti Move System
Set Items
Set Items drop
Hero Pick
Selection Camera
Hero Pick
Hero Selection
Hero Repick
Disable Repick
Revive System
Normal Revival alle
Revive Hero On command
GUI Knockback System [hell gate]
KS init
KS loop
Math Functions
Enemy AI
Viper Ausloeser
Fallen Imp fliehen
Magier Geist und Wespe fliehen
Duenenhai eingegraben
Duenenhai eingegraben2
Duenenhai eingegraben3
DuenenhaiEffekt
Duenenhai EingrabenEffekt
Great Dunes Shark Ausloesen
Lacuni Sprung 1
Lacuni Sprung 2
Lacuni Sprung 3
Lacuni Sprung 4
Lacuni Sprung 5
Raikanishu
Raikanishu Blitz
Magier schiessen
Bischibosch schiessen
ReissZahnAnsturm
Poison Nova
Jump (Lacuni)
Lacuni Jump
JB init Copy
JB loop Copy
Derwisch Wirbelwind
Wirbelwind Derwisch
Wirbelwind Derwisch Loop
Events
Main Quest
Quest Alesars Pendant
Quest Necromancers Book
Quest Necromancers Book 2
Quest Necromancers Book 3
Sichtblocker
Kaefig
Jungfrau
Falle
Canyon Rim Mines
Sundered Pass
Brennen Quest ausloesen
Brennen ausloesen
Tornado
TornadoEffekt
Lawine 1
Lawine 2
Skeleton Spawn Event
Wanderer create
Wanderer 1
Wanderer 2
Kultist ausloesen
Kultist spawn
Kultist spawn2
Kultist ausloesen2
Kultist spawn4
Kultist ausloesen3
Kultist ausloesen4
Kultist spawn5
Arcon1
Nebel
Dungeon Boss Rygnar
Rygnar Boss Intro
Rygnar Teleport
Summon Skeletons
Morlu Caster
Morlu Intro
Armaggeddon
Temp Camera
Boss Teleport
Morlu Dies
EndgegnerSpawn1
EndgegnerSpawn2
Firewall
Belial
Belial Intro
Azmodan Spawn
GegnerAbfrageLoop
Azmodan Orb Drops
Azmodan Spells Trigger
Summon Succubis
Summon Berserker
Belial Dies
FinalBeben
Blood Orb Init
Blood Orb Loop
Portal
Auto Pickup
Wizard and Witch Doctor Hunter Mana Recovery
Witchdoctor Orb Regeneration
Auto Pickup loop
Auto Pickup remove
Heal Well
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
//TESH.scrollpos=0
//TESH.alwaysfold=0
Name Type Is Array Initial Value
AcidCloudDamage real Yes
AcidCloudPoint location Yes
AllPlayers force No
Anfuehrer unit No
AO integer No
AO_Angle real Yes
AO_AoE real Yes
AO_Big boolean Yes
AO_Colision real Yes
AO_Damage real Yes
AO_Distance real Yes
AO_Effect1 effect Yes
AO_Effect2 effect Yes
AO_Group group Yes
AO_Height real Yes
AO_Hero unit Yes
AO_MaxDistance real Yes
AO_Missile unit Yes
AO_Off boolean Yes
AO_Parabola real Yes
AO_Point location Yes
AO_Scale real Yes
AO_Skip integer No
AO_Speed real Yes
AO_Times integer No
Asheara unit No
AT_AOE real Yes
AT_CasterPoint location Yes
AT_CastingPoint location Yes
AT_Damage real Yes
AT_EffectPoint location No
AutoPickupCount integer No
AutoPickupInteger integervar Yes
AutoPickupItemType itemcode Yes
AutoPickupRange rect No
AutoPickupTempLoc location No
AzmodanGroup group No
b boolean No
BallanceLevel trigger Yes
BarbarianRageDrainTimer integer Yes
BelialMirror unit Yes
blood_sfx string Yes
blood_sfx_counter integer No
BloodInteger integer No
BO integer No
BO_Angle real Yes
BO_AoE real Yes
BO_Big boolean Yes
BO_Colision real Yes
BO_Damage real Yes
BO_Distance real Yes
BO_Group group Yes
BO_Height real Yes
BO_Hero unit Yes
BO_MaxDistance real Yes
BO_Missile unit Yes
BO_Off boolean Yes
BO_Parabola real Yes
BO_Point location Yes
BO_Scale real No
BO_Skip integer No
BO_Speed real Yes
BO_Times integer No
Boss unit Yes
Boss_HP real No
BossEffekt effect Yes
BuergerGerettet integer No
CameraAngle real Yes
CameraHeroOn boolean Yes true
CB_Active boolean Yes
CB_Angle real Yes
CB_Caster unit Yes
CB_CurDistance real Yes
CB_Damage real Yes
CB_DamagedUnits group Yes
CB_Effect effect Yes
CB_Effect2 effect Yes
CB_LeakPoint location Yes
CB_LoopIndex integer Yes
CB_MaxDistance real Yes
CB_Speed real Yes
ComboInteger integer Yes
CripplingWaveAOE real Yes
CripplingWaveDamage real Yes
DaytimeBoolean boolean No
DeathCam_CurrentHero integer Yes
DeathLocations location Yes
Dialogbutton1 button Yes
DifficultyLevel integer No 1
DisableRepick boolean Yes
Dispatch_Level real No
DT_Attacktype attacktype Yes
DT_Damage real Yes
DT_DamagePerInterval real Yes
DT_DamageTypes damagetype Yes
DT_Dealers unit Yes
DT_Effects effect Yes
DT_Integers integer Yes
DT_IntervalReals real Yes
DT_ReachedDamage real Yes
DT_ReachedInterval real Yes
DT_Targets unit Yes
DTA_Attacktype attacktype No
DTA_DamageType damagetype No
DTA_DmgDealer unit No
DTA_EffectAttachmentPoint string No
DTA_Interval real No
DTA_SpecialEffect string No
DTA_Target unit No
DTA_Time real No
DTA_TotalDamageDealt real No
Dummy_Sichtbarkeit unit Yes
DummyFeuerregen unit No
DummyFinalAttack unit Yes
DummySichtnachTod unit Yes
Dungeon_Staub effect Yes
EF_Integer integervar No
EG_LoopIndex integervar Yes
ElectrocuteDamage real Yes
ElectrocuteRuneDamage real Yes
EnemiesInNear group No
ET_Active boolean Yes
ET_Angle real Yes
ET_AOE real Yes
ET_Caster unit Yes
ET_Damage real Yes
ET_Duration real Yes
ET_LeakPoint location Yes
ET_LoopIndex integer Yes
ET_MaxPullSpeed real Yes
ET_Speed real Yes
ET_TempReal real Yes
ET_Twister unit Yes
ExInteger integervar No
Exp_Bonus_On boolean Yes true
Exp_Integer integer Yes
Exploding_Palm_Boolean boolean Yes
ExplodingMongrel unit Yes
ExplodingPalmChance integer Yes
ExplodingPalmDamage real No
FallendeSteine unit Yes
FallendeSteineHoehe real No
FallendeSteineHoehe2 real No
FallendeSteineOn boolean No true
FallendeSteineZeit real No
FallenGroup group No
FallenImpGroup group No
FB integervar No
FB_Active boolean Yes
FB_Angle real Yes
FB_AOE real Yes
FB_BurnDuration real Yes
FB_BurnInterval real Yes
FB_Caster unit Yes
FB_CurDistance real Yes
FB_Damage real Yes
FB_DamageOverTime real Yes
FB_Distance real Yes
FB_Height real Yes
FB_LeakPoint location Yes
FB_LoopIndex integer Yes
FB_Missile unit Yes
FB_Speed real Yes
FB_StartZ real Yes
FFN_Int integervar No
FinalEffect effect Yes
FireWall_Left integervar No
FireWall_Right integervar No
Fist_Damage real Yes
Fist_Damage2 real Yes
FistSFX effect Yes
FistTarget unit Yes
Flame_Dps_MUI_Loop integervar Yes
FoK_Active boolean Yes
FoK_Angle real Yes
FoK_AOE real Yes
FoK_Caster unit Yes
FoK_Damage real Yes
FoK_Duration real Yes
FoK_LeakPoint location Yes
FoK_LoopIndex integer Yes
Fragezeichen effect Yes
FroschTodPunkt location No
FuriousChargeInteger integer Yes
Fury_Integer integer No
GameHandicap real No
GameVarianteDialog dialog No
GefangeneBefreit integer No
GeneralInteger integer No
GeneralLeakPoint location Yes
GhostInteger integer No
GhostTempGroup group No
GroundStompDamage real Yes
Heroes unit Yes
Heroes_History unit Yes
HeroIsRevivable boolean Yes
HeroPoint location Yes
HO_Damage real Yes
HoActive boolean Yes
HoCaster unit Yes
HoCurDuration real Yes
HoDuration real Yes
HoLeakPoint location Yes
HoLoopIndex integer Yes
HoSpirit unit Yes
HunterGroup group No
Hydra_Angle real Yes
i integer No
IDS_Item itemcode Yes
IDS_NumOfItems integer No
IDS_PercentOfDropping real Yes
Inventory_Camera camerasetup Yes
Inventory_Camera_Test timer No
Inventory_Player_Is_Viewing boolean Yes
Item_Drops integer No
JB_Active boolean Yes
JB_Angle real Yes
JB_AOE real Yes
JB_Caster unit Yes
JB_CurDuration real Yes
JB_Damage real Yes
JB_Duration real Yes
JB_Effect effect Yes
JB_JumpHeight real Yes
JB_LandEffect string Yes
JB_LeakPoint location Yes
JB_LoopIndex integer Yes
JB_Speed real Yes
JB_UseKnockback boolean Yes
JKS_CDummy unitcode No
JKS_J_AttachSfxString1 modelfile No
JKS_J_AttachSfxString2 modelfile No
Jungfrau unit No
KS_Active boolean Yes
KS_Angle real No
KS_AngleIndex real Yes
KS_AnglePont location Yes
KS_DestroyTrees boolean No
KS_DestroyTreesIndex boolean Yes
KS_KnockbackUnit unit No
KS_KnockbackUnitIndex unit Yes
KS_LeakPoint location Yes
KS_LoopIndex integervar Yes
KS_PausedDuringKnockback boolean No
KS_SfxString string No
KS_SfxString2 string No
KS_SfxStringIndex string Yes
KS_SfxStringIndex2 string Yes
KS_SfxTimer integer Yes
KS_SfxTimer2 integer Yes
KS_Speed real No
KS_SpeedIndex real Yes
KS_VectorLeakPoint location Yes
KultistEffekt effect No
Landmine unit Yes
LawineEinheit unit Yes
LawineHoehe real Yes
LawineZeit real Yes
LocationPointBeben location No
LocationPointBoss location No
LocationPointCleave location Yes
LocationPointGrab location No
LocationPointGrab2 location No
LocationPointGrab3 location No
LocationPointTod location No
LocationPointTodOrb location No
LocationPointWelt1 location No
LocationPointWelt2 location No
LocationPointWelt3 location No
LocationPointWelt4 location No
LocationPointWelt5 location No
LS_Active boolean Yes
LS_Caster unit Yes
LS_CoolDown real Yes
LS_CurTarget unit Yes
LS_JumpsLeft integer Yes
LS_LeakPoint location Yes
LS_Level integer Yes
LS_LoopIndex integer Yes
LS_MaxDuration real Yes
LS_MaxLocusts integer No
LS_TempGroup group No
LvlUpSoundOn boolean Yes
MA_Active boolean Yes
MA_Angle real Yes
MA_AOE real Yes
MA_Caster unit Yes
MA_Damage real Yes
MA_Duration real Yes
MA_LeakPoint location Yes
MA_LoopIndex integer Yes
MA_MaxPullSpeed real Yes
MA_Missile unit Yes
MA_Speed real Yes
MA_TempReal real Yes
MageDrop boolean No
ManaShieldEffect effect Yes
MongrelGroup group No
Mongrels group Yes
MonkRageDrainTimer integer Yes
MorluTeleportEffekt effect No
MS_ModelofDummy modelfile No
MusicBoolean boolean No
Nova_Loop integervar Yes
NumberOfPlayers integer No
Pendant item No
Player force No
PlayerNames string Yes
PlayerSelectsUnit boolean Yes
PlayerUnit unit Yes
PlayerViewing integer Yes
PN_Int integervar No
PulseDamage real Yes
Quest quest Yes
Random_Item_Drop integer No
RandomSoundInteger integer No
rect location No
RedHeroPoint location No
Revive boolean Yes
Revive_Check integer No
Sample_Group group No
Sample_Point location No
Sandstorm unit No
SB_LeakPoint location Yes
SB_RandomSize real No
Schild_on boolean Yes
SDSE_Dummy1 unit Yes
SDSE_Dummy2 unit Yes
SDSE_Dummy3 unit Yes
SDSE_Dummy4 unit Yes
SDSE_Dummy5 unit Yes
SDSE_Dummy6 unit Yes
SerentyDamage real Yes
SetBoniInteger integer Yes
SH_Area real No
SH_Area_Increasement real No
SH_Damage real No
SH_Damage_Increasement real No
SH_Effect string No
SH_Group group No
SH_HealthBoost real No
SH_HealthBoost_Increasement real No
SH_loc location Yes
SH_ManaBoost real No
SH_ManaBoost_Increasement real No
SH_TempReal real No
SH_TempReal2 real No
ShakeMagnitude real No
Sieben_Ebenen_Point location Yes
SiebenEbenen_Gebiet rect Yes
SiebenEbenenAbbild unit Yes
SiebenEbenenDamage real Yes
SiebenEbenenLeuchtenEffekt effect Yes
SpaltenDamage real Yes
SpaltenDummy unit Yes
SpawnInteger integer No
SpecialItem itemcode Yes
SS_Active boolean Yes
SS_Angle real Yes
SS_Caster unit Yes
SS_CurSlams integer Yes
SS_Damage real Yes
SS_LeakPoint location Yes
SS_LoopIndex integer Yes
SS_MaxSlams integer Yes
SS_Slamer unit Yes
SS_StartLocation location Yes
TargetLoc location No
TempInt integer No
TempLoc location No
TempPoint location No
TempPoint2 location No
TempPoint3 location No
TempUnitArray unit Yes
TempUnitGroup group No
TimeShieldDuration integer Yes
TimeShieldGroup group No
TimeShieldPick unit No
Tor_MUI_Loop integervar Yes
TrapDamage real Yes
TrapLeakPoint location Yes
TrapUnit unit Yes
TurnCameraOff boolean No
TW_Int integervar No
TW_loop2_int integervar No
TW_loop_int integervar No
VA_Active boolean Yes
VA_Angle real Yes
VA_Caster unit Yes
VA_CurDistance real Yes
VA_Effect effect Yes
VA_LeakPoint location Yes
VA_LoopIndex integer Yes
VA_MaxDistance real Yes
VA_Speed real Yes
Vipergruppe group No
Wanderer unit No
WaveDamage real No
Whirlwind_Integer integer Yes
WitchGroup group No
WizardGroup group No
WW_Angle real Yes
WW_Boolean boolean Yes
WW_Caster unit Yes
WW_CountInteger integer No
WW_CountIntegerArray integer No
WW_DistanceBetweenPoints real Yes
WW_Location2 location Yes
WW_Location3 location Yes
WW_Location4 location Yes
WW_Location5 location Yes
WW_Time real Yes
WW_UnitCount integer Yes
WW_UnitGroup group No
XPHandicap real No
z real No
Loading Triggers
  Events
    Map initialization
  Conditions
  Actions
    Custom script: set bj_wantDestroyGroup=true
    Unit Group - Pick every unit in (Units of type |cff800080Ghost|r) and do (Actions)
      Loop - Actions
        Animation - Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 50.00% transparency
    Custom script: set bj_wantDestroyGroup=true
    Unit Group - Pick every unit in (Units of type |cff800080Ghost|r (Necromancer)) and do (Actions)
      Loop - Actions
        Animation - Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 50.00% transparency
    Unit - Change color of |cffff0202BELIAL - Lord of Lies|r 0768 <gen> to Maroon
    Unit - Pause |cffff0202BELIAL - Lord of Lies|r 0768 <gen>
    Unit - Make |cffff0202BELIAL - Lord of Lies|r 0768 <gen> Invulnerable
    Unit - Pause |c0066ccffArcon|r 0767 <gen>
    Set VariableSet AutoPickupRange = PickupRange <gen>
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cfffb4a31Greater Health Globe|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cfffb4a31Health Globe|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cfffb4a31Health Globe|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cff008080Regeneration Orb|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cffffcc0030 Gold|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cffffcc0050 Gold|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cffffcc0070 Gold|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cffffcc00100 Gold|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cff7eaaf1Elixir of Intelligence|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |c00ff0000Elixir of Vitality|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cff80ff80Elixir of Agility |r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |c00ff8040Elixir of Strength|r
    Set VariableSet AutoPickupCount = (AutoPickupCount + 1)
    Set VariableSet AutoPickupItemType[AutoPickupCount] = |cffff0080Ritual of Revival|r
    Set VariableSet FallenGroup = (Units in Fallen_Group <gen> owned by Player 11 (Dark Green))
    Unit - Pause |cffff8000Morlu Caster|r 0047 <gen>
    Unit - Hide |cffff8000Morlu Caster|r 0047 <gen>
    Special Effect - Create a special effect attached to the origin (attachpoint) of |cffff9933Hase Fuse|r 0048 <gen> using Abilities\Spells\Human\slow\slowtarget.mdl
    Set VariableSet BossEffekt[11] = (Last created special effect)
    Unit - Set level of Ground Stomp (Jump) all Levels for |c00ff9933Raikanishu|r 0573 <gen> to 6
    Set VariableSet Boss[2] = |c00ff9933Rygnar|r 0028 <gen>
    Special Effect - Create a special effect attached to the origin (attachpoint) of Boss[2] using Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
    Set VariableSet BossEffekt[2] = (Last created special effect)
    Set VariableSet RedHeroPoint = (Center of Start1 <gen>)
    Set VariableSet NumberOfPlayers = 0
    Trigger - Turn on Camera <gen>
    Countdown Timer - Start Inventory_Camera_Test as a One-shot timer that will expire in 0.02 seconds
    Melee Game - Use melee time of day (for all players)
    Set VariableSet AllPlayers = (All players)
    Environment - Set sky to Lordaeron Summer Sky
    Set VariableSet GhostTempGroup = (Units owned by Player 11 (Dark Green) of type |cff800080Ghost|r (Necromancer))
    Unit Group - Pick every unit in GhostTempGroup and do (Actions)
      Loop - Actions
        Unit - Pause (Picked unit)
        Unit - Hide (Picked unit)
    Custom script: call DestroyGroup(udg_GhostTempGroup)
    Set VariableSet GhostInteger = 0
    Set VariableSet ShakeMagnitude = 8.00
    Set VariableSet JKS_CDummy = Caster Dummy
    Set VariableSet LvlUpSoundOn[1] = False
    Set VariableSet LvlUpSoundOn[2] = False
    Set VariableSet LvlUpSoundOn[3] = False
    Set VariableSet LvlUpSoundOn[4] = False
    Set VariableSet LvlUpSoundOn[5] = False
    Set VariableSet LvlUpSoundOn[6] = False
    For each (Integer A) from 1 to 6, do (Actions)
      Loop - Actions
        Set VariableSet PlayerNames[(Integer A)] = (Name of (Player((Integer A))))
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Player - Disable Wave of Force (Berserk) for (Picked player)
    Player - Set Player 1 (Red).Current lumber to 3
    Player - Set Player 2 (Blue).Current lumber to 3
    Player - Set Player 3 (Teal).Current lumber to 3
    Player - Set Player 4 (Purple).Current lumber to 3
    Player - Set Player 5 (Yellow).Current lumber to 3
    Player - Set Player 6 (Orange).Current lumber to 3
    Set VariableSet blood_sfx[0] = BloodEX-Special-2.mdl
    Set VariableSet blood_sfx[1] = BloodEX-NoSplat.mdl
    Set VariableSet blood_sfx[2] = BloodEX.mdl
    Set VariableSet blood_sfx[3] = SmallBloodEX-NoSplat.mdl
    Set VariableSet blood_sfx[4] = SmallBloodEX.mdl
    Unit - Hide 0440 <gen>
    Unit - Hide 0439 <gen>
    Unit - Hide 0416 <gen>
    Unit - Hide 0415 <gen>
    Unit - Pause |cffe48b05Barbarian|r 0516 <gen>
    Unit - Pause |cff0080c0Wizard|r 0515 <gen>
    Unit - Pause |cffff0080Witch Doctor|r 0517 <gen>
    Unit - Pause |cff1FBF00Monk|r 0475 <gen>
    Unit - Pause |cff8080ffDemon Hunter|r 0655 <gen>
    Custom script: set bj_wantDestroyGroup=true
    Unit Group - Pick every unit in (Units of type |cff800080Ghost|r) and do (Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 30.00% transparency)
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Camera - .Apply. gg_cam_Start1 for (Picked player) over 0 seconds
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Camera - .Apply. gg_cam_Start2 for (Picked player) over 4.00 seconds
    Cinematic - Apply a filter over 0.00 seconds using Modulated 2x blending on texture White Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (80.00%, 70.00%, 40.00%) and 90.00% transparency
    Cinematic - Turn cinematic mode On for AllPlayers
    Sound - Play Undead 2.
    Game - Display to AllPlayers the text: |cffffda06Welcome to Diablo III 2.Act|r|cffffda06Click the desired Hero|r
    Quest - Create a Optional quest titled Credits with the description Official Version 1.10 by Booody (Cion)Spells/Trigger Improvement: hell gateThis is a map recreating the new area revealed in the Monk Trailer, Borderlands, inspired by Cloudwolf.All custom models are from www.hiveworkshop.com and are copyrighted by their respective owners., using icon path ReplaceableTextures\CommandButtons\BTNEngravedSword.blp
    Quest - Create a Optional quest titled Special Thanks with the description Thanks to the following people who have helped considerably: - Cloudwolf - RedScores - The_Silent - Vexorian - Vengeancekael - Mr. Goblin - Palaslayer - Mage_Goo - hell gate - Sellenisko - Dan van Ohllus - Schecktransport - razor31, using icon path ReplaceableTextures\CommandButtons\BTNBK_Black_Book.blp
    Quest - Create a Optional quest titled Inventory System with the description Key:The top 2 slots are for handheld items, such as swords and shields.The middle 2 slots are for worn armor, including helmets and capes.The bottom 2 slots are for etc items, such as rings, necklaces, books, quest items, potions and runes.Hit Effects doesn't stock., using icon path ReplaceableTextures\CommandButtons\BTNDust.blp
    Quest - Create a Optional quest titled Rune System with the description You are able to find 5 kinds of runes in this game. (crimson, golden, indigo, obsidian, and alabaster)A rune increases the effect of a certain skill. Each rune has its own particular skills it increases.Runes take the bottom two slots(etc slots) of the invetory, therefore you may only have two runes at once.Runes do not stack for the same ability., using icon path ReplaceableTextures\CommandButtons\BTNCrimsonRune2.BLP
    Quest - Create a Optional quest titled Gold System with the description You are able to pick gold in this game. With your collected gold you can buy special items from traders and trade shrines. There are 4 trade shrines or traders on this map., using icon path ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
    Quest - Create a Optional quest titled Camera with the description You can zoom in and out, if you press up |cffffff80Arrow / Down Arrow key|r.If you want, enter |c0080ff80-cam|r to switch between locking and unlocking camera., using icon path ReplaceableTextures\CommandButtons\BTNSelectHeroOn.blp
    Quest - Create a Optional quest titled Barbarian with the description The Barbarian is the most powerful melee fighter in the world of Diablo. His melee skills are deadly, and he is a great tank.|cffe48b05Fury System:|rThe Barbarian gains 20 mana each time he attacks or casts a Fury Generator Ability. Each enemy hit creates 1 mana. This can then be used to perform various abilities in battle. Each ability used will award 1 Rage point, displayed as Food. Once he accumulates 4 Rage points, the Barbarian can execute a random combo move, resetting Rage points to 0., using icon path ReplaceableTextures\CommandButtons\BTN_Barbarian.blp
    Quest - Create a Optional quest titled Wizard with the description The Wizard is able to deal large amounts of damage with her arcane and elemental spells, however she has low armor and weak health points. Thus, she must avoid as many hits as possible.|cff0080c0Arcane Power System:|rThe Arcane Power regenerates at a faster rate than normal mana, allowing the Wizard to cast her spells without running out of mana frequently. The Arcane Power pool does not change., using icon path ReplaceableTextures\CommandButtons\BTN_Wizard.blp
    Quest - Create a Optional quest titled Witch Doctor with the description The Witch Doctor uses dark magic. He fights from a distance, while his allies or summons fight in the front.|cffff0080Mana System:|rMana regenerates over time. Mana is used for all of the Witch Doctor's abilities. Mana is also regained when the Witch Doctor uses a Health Orb., using icon path ReplaceableTextures\CommandButtons\BTN_WitchDoctor.blp
    Quest - Create a Optional quest titled Monk with the description The Monk is a holy warrior who fights with his comrade at the frontlines. He is able to deal massive damage. Although weaker then the barbarian, his agile attacks make up for it.|cff1FBF00Spirit System:|rThe skills Crippling Wave, Way of the Hundred Fists, and Exploding Palm are combo skills. They have 3 stages, which are in Food.Each stage allows each of your skills to perform bonus actions. The monk can chain the abilties in a 5 second time window. Chaining abilities generates spirit.Spirit is used for special spirit moves such as Blinding Flash, Serenity and Seven Sided Strike., using icon path ReplaceableTextures\CommandButtons\BTN_Monk.blp
    Quest - Create a Optional quest titled Demon Hunter with the description The Demon Hunter uses traps & gadgets, shadow magic and various bow abilites to defeat her enemies.|cff8080ffHatred System:|rHatred regenerates quickly, allowing the Demon Hunter to cast spells without running of out mana. The Hatred pool does not change., using icon path ReplaceableTextures\CommandButtons\BTN_Hunter.blp
    Destructible - Open Caldeum Tor 6703 <gen>
    Destructible - Open Alcarnus Tor 2136 <gen>
    Destructible - Open Alcarnus Tor 3309 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2157 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2156 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2159 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2154 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2153 <gen>
    Destructible - Kill Pathing Blocker (Ground) (Large) 2151 <gen>
    Destructible - Hide Feuer zerstörbar 2160 <gen>
    Destructible - Hide Feuer zerstörbar 2161 <gen>
    Destructible - Hide Feuer zerstörbar 2443 <gen>
    Destructible - Hide Feuer zerstörbar 2444 <gen>
    Destructible - Hide Feuer zerstörbar 2445 <gen>
    Destructible - Hide Feuer zerstörbar 2446 <gen>
    Environment - Set fog to style Linear, z-start 850.00, z-end 2750.00, density 0.50 and color (10.00%, 8.00%, 3.00%)
    Game - Set the time of day to 2.00
    Game - Turn the day/night cycle Off
    Special Effect - Create a special effect attached to the overhead (attachpoint) of |c0066ccffAsheara|r 0045 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet Fragezeichen[1] = (Last created special effect)
    Special Effect - Create a special effect attached to the overhead (attachpoint) of Villager 0498 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet Fragezeichen[2] = (Last created special effect)
    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 B000 (destructablecode)
          Then - Actions
            Trigger - Add to Destructible <gen> the event ((Picked destructible) dies)
          Else - 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 B002 (destructablecode)
          Then - Actions
            Trigger - Add to Destructible <gen> the event ((Picked destructible) dies)
          Else - 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 Destructible <gen> the event ((Picked destructible) dies)
          Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Then - Actions
        Special Effect - Create a special effect attached to the hand right (attachpoint) of |cffeeb57bDervish|r 0305 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffeeb57bDervish|r 0305 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand right (attachpoint) of |cffeeb57bDervish|r 0314 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffeeb57bDervish|r 0314 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand right (attachpoint) of |cffeeb57bDervish|r 0042 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffeeb57bDervish|r 0042 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand right (attachpoint) of |cffeeb57bDervish|r 0342 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffeeb57bDervish|r 0342 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand right (attachpoint) of |cffeeb57bDervish|r 0002 <gen> using scythe.mdx
        Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffeeb57bDervish|r 0002 <gen> using scythe.mdx
      Else - Actions
    Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffedac54Fallen (Imp)|r 0380 <gen> using TinyTorch1.mdx
    Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffedac54Fallen (Imp)|r 0202 <gen> using TinyTorch1.mdx
    Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffedac54Fallen (Imp)|r 0067 <gen> using TinyTorch1.mdx
    Special Effect - Create a special effect attached to the hand left (attachpoint) of |cffedac54Fallen (Imp)|r 0383 <gen> using TinyTorch1.mdx
    Animation - Change Tornado Stinging Winds 0413 <gen>'s vertex coloring to (100%, 67.00%, 31.00%) with 30.00% transparency
    Animation - Change Dummy Tornado Effekt 0304 <gen>'s vertex coloring to (100%, 67.00%, 31.00%) with 30.00% transparency
    Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffff8080Dark Vessel|r (Summoner))
    Unit Group - Pick every unit in TempUnitGroup and do (Actions)
      Loop - Actions
        Animation - Play (Picked unit)'s stand work gold (animationname) animation, using only Common animations
    Custom script: call DestroyGroup(udg_TempUnitGroup)
    Special Effect - Create a special effect attached to the origin (attachpoint) of |cffff8080Dark Vessel|r 0494 <gen> using Abilities\Spells\Undead\VampiricAura\VampiricAura.mdl
    Set VariableSet KultistEffekt = (Last created special effect)
    Sound - Play Diablo_3_Caldeum___Soundtrack_gemischt <gen>
    Unit - Pause Buried Dunes Shark 0120 <gen>
    Unit - Pause Buried Dunes Shark 0121 <gen>
    Unit - Pause Buried Dunes Shark 0122 <gen>
    Unit - Pause Buried Dunes Shark 0004 <gen>
    Unit - Pause Buried Dunes Shark 0414 <gen>
    Unit - Pause Buried Dunes Shark 0412 <gen>
    Unit - Add Invulnerable (Neutral) to |cff8080c0Lacuni Huntress|r 0297 <gen>
    Unit - Add Invulnerable (Neutral) to |cff8080c0Lacuni Huntress|r 0302 <gen>
    Unit - Add Invulnerable (Neutral) to |cff8080c0Lacuni Huntress|r 0303 <gen>
    Unit - Add Invulnerable (Neutral) to |cff8080c0Lacuni Huntress|r 0027 <gen>
    Unit - Add Invulnerable (Neutral) to |cff8080c0Lacuni Huntress|r 0480 <gen>
    Unit - Add Disable Attack to |cff8080c0Lacuni Huntress|r 0297 <gen>
    Unit - Add Disable Attack to |cff8080c0Lacuni Huntress|r 0302 <gen>
    Unit - Add Disable Attack to |cff8080c0Lacuni Huntress|r 0303 <gen>
    Unit - Add Disable Attack to |cff8080c0Lacuni Huntress|r 0027 <gen>
    Unit - Add Disable Attack to |cff8080c0Lacuni Huntress|r 0480 <gen>
    Unit - Set level of Seismic Slam (Raikanishu Stampede) for |c00ff9933Raikanishu|r 0573 <gen> to 2
    Wait 4.00 seconds
    Cinematic - Turn cinematic mode Off for AllPlayers
    Trigger - Turn on Selection_Camera <gen>
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Region_Sichtbarkeit <gen>
    Wait 0.50 seconds
    Dialog - Change the title of GameVarianteDialog to Choose Difficulty Level:
    Dialog - Create a dialog button for GameVarianteDialog labelled |cff82c0ffNormal|r
    Set VariableSet Dialogbutton1[1] = (Last created dialog Button)
    Dialog - Create a dialog button for GameVarianteDialog labelled |cffe8a74fNightmare|r
    Set VariableSet Dialogbutton1[2] = (Last created dialog Button)
    Dialog - Create a dialog button for GameVarianteDialog labelled |cffff8080Hell|r
    Set VariableSet Dialogbutton1[3] = (Last created dialog Button)
    Dialog - Create a dialog button for GameVarianteDialog labelled |cfff23968Inferno|r
    Set VariableSet Dialogbutton1[4] = (Last created dialog Button)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ((Player 1 (Red) controller) Equal to User) and ((Player 1 (Red) slot status) Equal to Is playing)
      Then - Actions
        Dialog - Show GameVarianteDialog for Player 1 (Red)
      Else - Actions
    Custom script: call DestroyTrigger(GetTriggeringTrigger())
DialogClicked
  Events
    Dialog - A dialog button is clicked for GameVarianteDialog
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialogbutton1[1]
      Then - Actions
        Set VariableSet DifficultyLevel = 1
        Game - Display to AllPlayers for 5.00 seconds the text: The Host has choosen the |cff82c0ffNormal Mode|r.|cffbfdfffEnemies have 100% Health Points.|r
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialogbutton1[2]
      Then - Actions
        Set VariableSet DifficultyLevel = 2
        Game - Display to AllPlayers for 5.00 seconds the text: The Host has choosen the |cffe8a74fNightmare Mode|r.|cffe2b570Enemies have 125% Health Points.|r
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialogbutton1[3]
      Then - Actions
        Set VariableSet DifficultyLevel = 3
        Game - Display to AllPlayers for 5.00 seconds the text: The Host has choosen the |cffff8080Hell Mode|r.|cffff5353Enemies have 150% Health Points and more dangerous abilities.|r
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffedac54Fallen (Imp)|r (schwächer))
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Imp) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffedac54Fallen (Imp)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Imp) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff800080Fallen (Lunatic)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Lunatic) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffd35416Fallen (Overseer)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Mongrel) to (Picked unit)
            Unit - Add Critical Strike (Overseer) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffff8040Fallen (Shaman)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Devotion Aura (Fallen Shaman) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff800080Ghost|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Life Drain (Ghost) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff8080ffLacuni Warrior|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Regeneration (Enemy) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Unit - Add Devotion Aura (Raikanishu) to |c00ff9933Rygnar|r 0028 <gen>
        Unit - Add Endurance Aura (Viper) to |cffff9933Hase Fuse|r 0048 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cffff0202BELIAL - Lord of Lies|r 0768 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cffe2ae41Great Dunes Thresher|r 0571 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cff408080Spider Queen|r 0764 <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Dialogbutton1[4]
      Then - Actions
        Set VariableSet DifficultyLevel = 4
        Game - Display to AllPlayers for 5.00 seconds the text: The Host has choosen the |cfff23968Inferno Mode|r.|cfff40b51Enemies have 175% Health Points and more dangerous abilities.|r
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffedac54Fallen (Imp)|r (schwächer))
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Imp) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffedac54Fallen (Imp)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Imp) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff800080Fallen (Lunatic)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Fallen Lunatic) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffd35416Fallen (Overseer)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Endurance Aura (Mongrel) to (Picked unit)
            Unit - Add Critical Strike (Overseer) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cffff8040Fallen (Shaman)|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Devotion Aura (Fallen Shaman) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff800080Ghost|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Life Drain (Ghost) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units owned by Player 11 (Dark Green) of type |cff8080ffLacuni Warrior|r)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Add Regeneration (Enemy) to (Picked unit)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Unit - Add Devotion Aura (Raikanishu) to |c00ff9933Rygnar|r 0028 <gen>
        Unit - Add Endurance Aura (Viper) to |cffff9933Hase Fuse|r 0048 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cffff0202BELIAL - Lord of Lies|r 0768 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cffe2ae41Great Dunes Thresher|r 0571 <gen>
        Unit - Add Endurance Aura (Mongrel) to |cff408080Spider Queen|r 0764 <gen>
      Else - Actions
    Game - Display to Player Group - Player 1 (Red) the text: |cffffda06Welcome to Diablo III 2.Act|r|cffffda06Click the desired Hero|r
    Trigger - Run BallanceLevel[TempInt] (checking conditions)
    Custom script: call DestroyTrigger(GetTriggeringTrigger())
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_Setup_Run takes nothing returns nothing
local integer i = 0
    local player p = GetEnumPlayer()
    loop
        exitwhen i > 5
        if GetPlayerSlotState(Player(i)) == PLAYER_SLOT_STATE_PLAYING then
            call SetPlayerAlliance(Player(i), p, ALLIANCE_SHARED_ADVANCED_CONTROL, true)
            call SetPlayerAlliance(p, Player(i), ALLIANCE_SHARED_ADVANCED_CONTROL, true)
        endif
        set i = i + 1
    endloop
endfunction

function Trig_Setup_Actions takes nothing returns nothing
    local force f = CreateForce()
    call ForceEnumAllies(f, Player(0), null)
    call ForForce(f, function Trig_Setup_Run)
    call DestroyForce(f)
endfunction

function InitTrig_Setup takes nothing returns nothing
    set gg_trg_Setup = CreateTrigger( )
    call TriggerAddAction( gg_trg_Setup, function Trig_Setup_Actions )
endfunction

//===========================================================================
//function InitTrig_Setup takes nothing returns nothing
//    set gg_trg_Setup = CreateTrigger(  )
//    call TriggerRegisterDialogEventBJ( gg_trg_Setup, udg_GameVarianteDialog )
//    call TriggerAddAction( gg_trg_Setup, function Trig_Setup_Actions )
//endfunction

 
Music
  Events
    Time - Every 94.63 seconds of game time
  Conditions
  Actions
    Sound - Play Diablo_3_Caldeum___Soundtrack_gemischt <gen>
Unit Death
  Events
    Unit - A unit Dies
  Conditions
    (Owner of (Dying unit)) Equal to Player 11 (Dark Green)
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffedac54Fallen (Imp)|r
            (Unit-type of (Dying unit)) Equal to |cffedac54Fallen (Imp)|r (schwächer)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Set VariableSet BloodInteger = (Random integer number between 1 and 3)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            BloodInteger Equal to 1
          Then - Actions
            Special Effect - Create a special effect at LocationPointTod using BloodEX-NoSplat.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                BloodInteger Equal to 2
              Then - Actions
                Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using SmallBloodEX-NoSplat.mdx
                Special Effect - Destroy (Last created special effect)
              Else - Actions
                Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using SmallBloodEX.mdx
                Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 6) Equal to 1
          Then - Actions
            Sound - Play Diablo_3_Fallen_Dead_lite <gen> at 75.00% volume, attached to (Dying unit)
          Else - Actions
            Sound - Play MurlocDeath <gen> at 90.00% volume, attached to (Dying unit)
        Set VariableSet Item_Drops = (Random integer number between 1 and 110)
        If (Item_Drops Equal to 1) then do (Create Clan Axe - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 2) then do (Create Old Stick - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 3) then do (Create Leather Armor - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 4) then do (Create Warstaff - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 5) then do (Create Rusty Armor - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 6) then do (Create |c003399ffWar Helmet|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 7) then do (Create Mage Staff - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 8) then do (Create |c003399ffWizard Robe|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 9) then do (Create |c003399ffMystic Orb|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 10) then do (Create Boney Chestpeice - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 11) then do (Create Shortsword - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 12) then do (Create |c003399ffMedallion of Destiny|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 13) then do (Create Simple Leather Armor - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 14) then do (Create Short Bow - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffedac54Fallen (Imp)|r (Elite)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Set VariableSet BloodInteger = (Random integer number between 1 and 3)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            BloodInteger Equal to 1
          Then - Actions
            Special Effect - Create a special effect at LocationPointTod using BloodEX-NoSplat.mdx
            Special Effect - Destroy (Last created special effect)
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                BloodInteger Equal to 2
              Then - Actions
                Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using SmallBloodEX-NoSplat.mdx
                Special Effect - Destroy (Last created special effect)
              Else - Actions
                Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using SmallBloodEX.mdx
                Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 6) Equal to 1
          Then - Actions
            Sound - Play Diablo_3_Fallen_Dead_lite <gen> at 75.00% volume, attached to (Dying unit)
          Else - Actions
            Sound - Play MurlocDeath <gen> at 90.00% volume, attached to (Dying unit)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff800080Ghost|r (Necromancer)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Set VariableSet GhostInteger = (GhostInteger + 1)
        Custom script: call RemoveLocation(udg_LocationPointTod)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            GhostInteger Equal to 12
          Then - Actions
            Special Effect - Create a special effect at (Center of Necromancer_Place <gen>) using AncientExplode.mdx
            Special Effect - Destroy (Last created special effect)
            Wait 0.20 seconds
            Item - Remove gg_item_I01W_0592
            Item - Create |c003399ffThe Necromancer's Pendant|r - [|c00ffc004Other|r] at (Center of Necromancer_Place <gen>)
            Wait 1.00 seconds
            Quest - Display to AllPlayers the Hint message: |c00ffcc33Quest Finished: The Necromancer's Book|r+ 200 Exp
            Quest - Mark Quest[6] as Completed
            Hero - Add 200 experience to Heroes[1], Show level-up graphics
            Hero - Add 200 experience to Heroes[2], Show level-up graphics
            Hero - Add 200 experience to Heroes[3], Show level-up graphics
            Hero - Add 200 experience to Heroes[4], Show level-up graphics
            Hero - Add 200 experience to Heroes[5], Show level-up graphics
            Hero - Add 200 experience to Heroes[6], Show level-up graphics
            Custom script: call DestroyTrigger(gg_trg_Quest_Necromancers_Book_3)
            Wait 2 seconds
            Game - Display to (All players) for 6.00 seconds the text: The |c003399ffNecromancer's Pendant|r has been dropped.
            Trigger - Turn off Quest_Necromancers_Book_3 <gen>
            Custom script: call DestroyGroup(udg_GhostTempGroup)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff800080Dark Demon|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Sound - Play UnbrokenDeath1 <gen> at 100% volume, attached to (Dying unit)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff8080ffSand Golem|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff800080Fallen (Lunatic)|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect attached to the chest (attachpoint) of (Triggering unit) using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-NoSplat.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BigBloodEX-NoSplat-NoGutz.mdx
        Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (DifficultyLevel Equal to 3) or (DifficultyLevel Equal to 4)
          Then - Actions
            Special Effect - Create a special effect at LocationPointTod using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
            Special Effect - Destroy (Last created special effect)
          Else - Actions
        Unit - Explode (Dying unit).
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Wait 0.40 game-time seconds
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffe28247Fallen Hound|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffd35416Fallen (Overseer)|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |c00ff9933Raikanishu|r (Boss)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Unit - Remove Raikanishu Effect from (Dying unit)
        Unit - Remove Raikanishu Effect 2 from (Dying unit)
        Item - Create |cffffcc0030 Gold|r at LocationPointTod
        Item - Create |cffffcc0070 Gold|r at LocationPointTod
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BigBloodEX-NoSplat-NoGutz.mdx
        Special Effect - Destroy (Last created special effect)
        Set VariableSet Item_Drops = (Random integer number between 1 and 20)
        If (Item_Drops Equal to 1) then do (Create |c003399ffFrozen Sword|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 2) then do (Create |c003399ffWhispering Dagger|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 3) then do (Create |c003399ffBrutal Shield|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 4) then do (Create |c003399ffFlame Sword|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 5) then do (Create |c003399ffRoyal Scepter|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 6) then do (Create |c003399ffKnight Armor|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 7) then do (Create |c0029a323Holy Ivgorod Ring|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 8) then do (Create |c0029a323Zann Esu Amulet|r - [|c00ffc004Utility|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 9) then do (Create |c0029a323Death's Voodoo Necklace|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 10) then do (Create |c0029a323Legendary Helmet of Mt. Arreat|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 11) then do (Create |c003399ffUmbaru-Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 12) then do (Create |c00ff8040Elixir of Strength|r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 13) then do (Create |cff80ff80Elixir of Agility |r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 14) then do (Create |cffffff80Alabaster|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 15) then do (Create |cff29a323Hunter's Revenge Cape |r- [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
        Trigger - Turn on Item_Drop_System <gen>
        Trigger - Turn off Raikanishu <gen>
        Trigger - Turn off Raikanishu_Blitz <gen>
        Custom script: call DestroyTrigger(gg_trg_Raikanishu)
        Custom script: call DestroyTrigger(gg_trg_Raikanishu_Blitz)
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Sound - Set music volume to 90.00%
        Wait 1.00 seconds
        Sound - Set music volume to 80.00%
        Wait 1.00 seconds
        Sound - Set music volume to 70.00%
        Wait 1.00 seconds
        Trigger - Turn off Boss_Music <gen>
        Sound - Set music volume to 100.00%
        Trigger - Run Music <gen> (ignoring conditions)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffff8040Fallen (Shaman)|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |c00ff9933Bishibosh|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BigBloodEX-NoSplat-NoGutz.mdx
        Special Effect - Destroy (Last created special effect)
        Sound - Play FelGuardDeath1 <gen> at 100% volume, attached to (Dying unit)
        Unit - Remove Bishibosh Effect from (Dying unit)
        Unit - Remove Bishibosh Effect 2 from (Dying unit)
        Unit - Remove Bishibosh mask from (Dying unit)
        Item - Create |cffffcc00100 Gold|r at LocationPointTod
        Set VariableSet Item_Drops = (Random integer number between 1 and 22)
        If (Item_Drops Equal to 1) then do (Create |c003399ffWhispering Dagger|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 2) then do (Create |c003399ffGolden Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 3) then do (Create Old Armor - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 4) then do (Create |c003399ffBone Mask|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 5) then do (Create |c003399ffSoulstone Necklace|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 6) then do (Create |c0029a323Death's Voodoo Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 7) then do (Create |c0029a323Zann Esu Scepter|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 8) then do (Create |c0029a323Zann Esu Amulet|r - [|c00ffc004Utility|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 9) then do (Create |cffea8b53Booody's Runeblade|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 12) then do (Create |cffea8b53Orb of Vision|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 10) then do (Create |cff7eaaf1Elixir of Intelligence|r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 11) then do (Create |c00ff0000Elixir of Vitality|r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 12) then do (Create |c003399ffUmbaru-Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 13) then do (Create |cff3399ffIndigo|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 14) then do (Create |cff000000Obsidian|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 15) then do (Create |cffea8b53Long Bow of Justice|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 16) then do (Create |cff3399ffRune Bracers|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Trigger - Turn off Bischibosch_schiessen <gen>
        Custom script: call DestroyTrigger(gg_trg_Bischibosch_schiessen)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cff8080c0Lacuni Huntress|r
            (Unit-type of (Dying unit)) Equal to |cff8080ffLacuni Warrior|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffe2ae41Dunes Thresher|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffe2ae41Great Dunes Thresher|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Sound - Play NetherDragonDeath1 <gen> at 100.00% volume, attached to (Dying unit)
        Trigger - Turn off DuenenhaiEffekt <gen>
        Item - Create |c00ff80ffAlesar's Pendant|r - [|c00ffc004Other|r] at LocationPointTod
        Set VariableSet Pendant = (Last created item)
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Set VariableSet LocationPointWelt1 = (Center of Alesar_Move2 <gen>)
        Special Effect - Create a special effect attached to the overhead (attachpoint) of |c0066ccffAlesar|r 0572 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
        Set VariableSet Fragezeichen[4] = (Last created special effect)
        Unit - Move |c0066ccffAlesar|r 0572 <gen> instantly to LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Set VariableSet LocationPointWelt1 = (Position of (Killing unit))
        Unit - Order |c0066ccffAlesar|r 0572 <gen> to Move To.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Wait 7.00 seconds
        Unit - Order |c0066ccffAlesar|r 0572 <gen> to Stop.
        Special Effect - Destroy Fragezeichen[4]
        Cinematic - Send transmission to AllPlayers from |c0066ccffAlesar|r 0572 <gen> named : Play No sound and display . Modify duration: Set to 6.00 seconds and Don't wait
        Game - Display to AllPlayers for 6.00 seconds the text: |c003399ffAlesar:|r There's the Pendant. Now I can stop worrying about that stupid child. Here, take this.
        Wait 2.00 seconds
        Hero - Give Pendant to |c0066ccffAlesar|r 0572 <gen>
        Wait 2.00 seconds
        Set VariableSet LocationPointWelt1 = ((Position of |c0066ccffAlesar|r 0572 <gen>) offset by 120.00 towards (Facing of |c0066ccffAlesar|r 0572 <gen>) degrees.)
        Item - Create |c003399ffMedallion of Skills|r - [|c00ffc004Other|r] at LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Wait 2.00 seconds
        Cinematic - Clear the screen of text messages for AllPlayers.
        Cinematic - Send transmission to AllPlayers from |c0066ccffAlesar|r 0572 <gen> named : Play No sound and display . Modify duration: Set to 4.50 seconds and Don't wait
        Game - Display to AllPlayers for 4.50 seconds the text: |c003399ffAlesar:|r If you want, you can also buy items from me.
        Unit - Add Select Hero to |c0066ccffAlesar|r 0572 <gen>
        Unit - Add Shop Purchase Item to |c0066ccffAlesar|r 0572 <gen>
        Unit - Add Sell Items to |c0066ccffAlesar|r 0572 <gen>
        Unit - Order |c0066ccffAlesar|r 0572 <gen> to Hold Position.
        Neutral Building - Add SpecialItem[(Random integer number between 1 and 3)] to |c0066ccffAlesar|r 0572 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add SpecialItem[(Random integer number between 4 and 5)] to |c0066ccffAlesar|r 0572 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add SpecialItem[(Random integer number between 6 and 8)] to |c0066ccffAlesar|r 0572 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add SpecialItem[(Random integer number between 9 and 11)] to |c0066ccffAlesar|r 0572 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add |cff9355d7Tome of Respec|r - [|cffffc004Consumable|r] to |c0066ccffAlesar|r 0572 <gen> with 1 in stock and a max stock of 1
        Sound - Play GoblinMerchantWhat3 <gen> at 100% volume, attached to |c0066ccffAlesar|r 0572 <gen>
        Wait 4.50 seconds
        Cinematic - Clear the screen of text messages for AllPlayers.
        Game - Display to AllPlayers for 5.50 seconds the text: |cffffcc00Hint:|r With gold, you can buy special items from traders and trade shrines.
        Wait 5.50 seconds
        Cinematic - Clear the screen of text messages for AllPlayers.
        Quest - Display to AllPlayers the Hint message: |c00ffcc33Quest Finished: Alesar's Pendant|r+ 200 Exp
        Quest - Mark Quest[5] as Completed
        Hero - Add 200 experience to Heroes[1], Show level-up graphics
        Hero - Add 200 experience to Heroes[2], Show level-up graphics
        Hero - Add 200 experience to Heroes[3], Show level-up graphics
        Hero - Add 200 experience to Heroes[4], Show level-up graphics
        Hero - Add 200 experience to Heroes[5], Show level-up graphics
        Hero - Add 200 experience to Heroes[6], Show level-up graphics
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffff8000Dark Cultist Melee|r (Nahkampf)
            (Unit-type of (Dying unit)) Equal to |cff9797ffElectrified Cultist Melee|r (Nahkampf)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special.mdx
        Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Dying unit)) Equal to |cff9797ffElectrified Cultist Melee|r (Nahkampf)
          Then - Actions
            Unit - Create 1.|cffc0c0c0Lighting|r for (Owner of (Triggering unit)) at LocationPointTod facing Default building facing degrees
            Unit - Set level of Life Degeneration Aura Blitz for (Last created unit) to DifficultyLevel
            Unit - Add a 2.50 second Disease Cloud expiration timer to (Last created unit)
          Else - Actions
        Unit - Remove (Dying unit) from the game
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 2) Equal to 1
          Then - Actions
            Sound - Play Diablo_3_Cultist_Dead_lite <gen> at 80.00% volume, attached to (Dying unit)
          Else - Actions
            Sound - Play Diablo_3_Cultist_Dead_2_lite <gen> at 80.00% volume, attached to (Dying unit)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffff8000Dark Cultist Caster|r (Feuerball)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 2) Equal to 1
          Then - Actions
            Sound - Play Diablo_3_Cultist_Dead_lite <gen> at 80.00% volume, attached to (Dying unit)
          Else - Actions
            Sound - Play Diablo_3_Cultist_Dead_2_lite <gen> at 80.00% volume, attached to (Dying unit)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffff80c0Succubi|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffeeb57bDervish|r (Wirbler)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffebaa12Sand Wasp|r
            (Unit-type of (Dying unit)) Equal to |cffffff80Death Froth|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using GreenBloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Item - Create |cffffcc00100 Gold|r at LocationPointTod
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Dying unit)) Equal to |cffffff80Death Froth|r
          Then - Actions
            Unit - Create 1.|cff008000Poison Cloud|r for (Owner of (Triggering unit)) at LocationPointTod facing Default building facing degrees
            Unit - Set level of Life Degeneration Aura for (Last created unit) to DifficultyLevel
            Unit - Add a 7.00 second Disease Cloud expiration timer to (Last created unit)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff83d5fcFrozen Mage|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using Objects\Spawnmodels\NightElf\NEDeathSmall\NEDeathSmall.mdl
        Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            MageDrop Equal to False
          Then - Actions
            Set VariableSet Item_Drops = (Random integer number between 1 and 35)
            If (Item_Drops Equal to 1) then do (Create |c003399ffSoul Chaser|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 2) then do (Create |c003399ffGolden Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 3) then do (Create |c003399ffCaldeum Helmet|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 4) then do (Create |c003399ffRoyal Scepter|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 5) then do (Create |c003399ffMystical Shoulder Armor|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 6) then do (Create |cffea8b53Old Piece of Armor|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 7) then do (Create |cffea8b53Voodoo Spellbook|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 8) then do (Create |cffea8b53Undead Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 9) then do (Create |c0029a323Death's Voodoo Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 10) then do (Create |c0029a323Death's Voodoo Necklace|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 11) then do (Create |cff7eaaf1Elixir of Intelligence|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 12) then do (Create |c00ff0000Elixir of Vitality|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 13) then do (Create |cffea8b53Orb of Vision|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 14) then do (Create |c0029a323Zann Esu Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 15) then do (Create |c0029a323Holy Ivgorod Ring|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 16) then do (Create |cff3399ffIndigo|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 17) then do (Create |cff29a323Hunter's Revenge Crossbow|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 18) then do (Create |cff3399ffTiara of Fortune|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 19) then do (Create |cff3399ffRune Bracers|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff008080Poison Mage|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using GreenBloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Sound - Play ArtilleryCorpseExplodeDeath1 <gen> at 100% volume, located at LocationPointTod with Z offset 0
        Unit - Create 1.|cff008000Poison Cloud|r for (Owner of (Triggering unit)) at LocationPointTod facing Default building facing degrees
        Unit - Set level of Life Degeneration Aura for (Last created unit) to DifficultyLevel
        Unit - Add a 7.00 second Disease Cloud expiration timer to (Last created unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            MageDrop Equal to False
          Then - Actions
            Set VariableSet Item_Drops = (Random integer number between 1 and 32)
            If (Item_Drops Equal to 1) then do (Create |c003399ffSoul Chaser|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 2) then do (Create |c003399ffGolden Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 3) then do (Create |c003399ffCaldeum Helmet|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 4) then do (Create |c003399ffRoyal Scepter|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 5) then do (Create |c003399ffMystical Shoulder Armor|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 6) then do (Create |cffea8b53Old Piece of Armor|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 7) then do (Create |cffea8b53Voodoo Spellbook|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 8) then do (Create |cffea8b53Undead Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 9) then do (Create |c0029a323Death's Voodoo Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 10) then do (Create |c0029a323Death's Voodoo Necklace|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 11) then do (Create |cff7eaaf1Elixir of Intelligence|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 12) then do (Create |c00ff0000Elixir of Vitality|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 13) then do (Create |cffea8b53Orb of Vision|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 14) then do (Create |c0029a323Zann Esu Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 15) then do (Create |c0029a323Holy Ivgorod Ring|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 16) then do (Create |cffff0000Crimson|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 17) then do (Create |cff29a323Hunter's Revenge Garment|r - [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 18) then do (Create |cff3399ffRune Bracers|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff8080c0Lightning Mage|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using Abilities\Weapons\Bolt\BoltImpact.mdl
        Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            MageDrop Equal to False
          Then - Actions
            Set VariableSet Item_Drops = (Random integer number between 1 and 30)
            If (Item_Drops Equal to 1) then do (Create |c003399ffSoul Chaser|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 2) then do (Create |c003399ffGolden Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 3) then do (Create |cffea8b53Giant Magestaff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 4) then do (Create |cffea8b53Stick of the Old|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 5) then do (Create |c003399ffMystical Shoulder Armor|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 6) then do (Create Red Scarlet Armor - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 7) then do (Create |c003399ffVoodoo Mask|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 8) then do (Create |cffea8b53Undead Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 9) then do (Create |c0029a323Zann Esu Robe|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 10) then do (Create |c0029a323Death's Umbaru Chestpeice|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 11) then do (Create |cff7eaaf1Elixir of Intelligence|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 12) then do (Create |c00ff0000Elixir of Vitality|r at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 13) then do (Create |cffea8b53Orb of Vision|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 14) then do (Create |cffffcc00Golden|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
            If (Item_Drops Equal to 15) then do (Create |cff29a323Hunter's Revenge Cape |r- [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffeeb57bBone Warrior|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Triggering unit) using Abilities\Spells\Undead\ReplenishMana\SpiritTouchTarget.mdl
        Special Effect - Destroy (Last created special effect)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 5) Equal to 1
          Then - Actions
            Sound - Play Diablo_3_Skeleton_Dead <gen> at 95.00% volume, attached to (Dying unit)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cffd9924aTomb Viper|r
            (Unit-type of (Dying unit)) Equal to |cff00ff00Plagued Tomb Viper|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Sound - Play MercenaryWhat1 <gen> at 100% volume, attached to (Dying unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Dying unit)) Equal to |cff00ff00Plagued Tomb Viper|r
          Then - Actions
            Unit - Create 1.|cff008000Poison Cloud|r for (Owner of (Triggering unit)) at LocationPointTod facing Default building facing degrees
            Unit - Set level of Life Degeneration Aura for (Last created unit) to DifficultyLevel
            Unit - Add a 7.00 second Disease Cloud expiration timer to (Last created unit)
          Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffd9924aTomb Viper|r (Elite)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Sound - Play MercenaryWhat1 <gen> at 100% volume, attached to (Dying unit)
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffff9933Hase Fuse|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BigBloodEX-NoSplat-NoGutz.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Destroy BossEffekt[11]
        Sound - Play MercenaryWhat1 <gen> at 100% volume, attached to (Dying unit)
        Trigger - Turn on Item_Drop_System <gen>
        Set VariableSet Item_Drops = (Random integer number between 1 and 20)
        If (Item_Drops Equal to 1) then do (Create |cffea8b53Voodoo Spellbook|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 2) then do (Create |c003399ffBrutal Shield|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 3) then do (Create |c003399ffSoulstone Necklace|r - [|c00ffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 4) then do (Create |cffea8b53Moon Cape|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 5) then do (Create |cffea8b53Old Piece of Armor|r - [|cffffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 6) then do (Create |cffea8b53Giant Claws of Death|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 7) then do (Create |c003399ffNatures Gift|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 9) then do (Create |c0029a323Death's Voodoo Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 10) then do (Create |c0029a323Legendary Armor of Mt. Arreat|r - [|c00ffc004Armor Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 11) then do (Create |c0029a323Holy Ivgorod Claws|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 12) then do (Create |cffea8b53Booody's Runeblade|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 13) then do (Create |cff80ff80Elixir of Agility |r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 14) then do (Create |c00ff8040Elixir of Strength|r at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 15) then do (Create |cffea8b53Orb of Vision|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 16) then do (Create |cffff0000Crimson|r|cff29a323 |r|cff9f0bf9Runestone Rank 2|r - [|cffffc004Other|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 17) then do (Create |cffea8b53Long Bow of Justice|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
        If (Item_Drops Equal to 18) then do (Create |cff29a323Hunter's Revenge Garment|r - [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
        Item - Create |cffffcc0070 Gold|r at LocationPointTod
        Item - Create |cffffcc00100 Gold|r at LocationPointTod
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Trigger - Turn off ReissZahnAnsturm <gen>
        Custom script: call DestroyTrigger(gg_trg_ReissZahnAnsturm)
        Sound - Set music volume to 90.00%
        Wait 1.00 seconds
        Sound - Set music volume to 80.00%
        Wait 1.00 seconds
        Sound - Set music volume to 70.00%
        Wait 1.00 seconds
        Trigger - Turn off Boss_Music <gen>
        Sound - Set music volume to 100.00%
        Trigger - Run Music <gen> (ignoring conditions)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff8080c0Activated Vessel|r (Nahkampf)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using ExplosionBIG.mdx
        Special Effect - Destroy (Last created special effect)
        Unit - Explode (Triggering unit).
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Wait 0.50 seconds
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Unit - Remove (Dying unit) from the game
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffff0080Minion of Lies|r
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Sound - Play NetherDragonDeath1 <gen> at 100% volume, located at LocationPointTod with Z offset 50.00
        Special Effect - Create a special effect at LocationPointTod using Abilities\Spells\Other\Doom\DoomDeath.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-NoSplat.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointTod using BloodEX-Special.mdx
        Special Effect - Destroy (Last created special effect)
        Unit - Remove (Dying unit) from the game
        Custom script: call RemoveLocation(udg_LocationPointTod)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to |cff9d9d00Cave Spider|r
            (Unit-type of (Dying unit)) Equal to |cff408080Spider Queen|r
      Then - Actions
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using GreenBloodEX.mdx
        Special Effect - Destroy (Last created special effect)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |c00ff9933Rygnar|r (Boss)
      Then - Actions
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Sound - Play UndeadBuildingDeathLarge1 <gen> at 100% volume, attached to (Dying unit)
        Special Effect - Create a special effect at LocationPointTod using AncientExplode.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Destroy BossEffekt[2]
        Item - Create |cffea8b53The Idol of Rygnar|r - [|cffffc004Hand-Slot|r] at LocationPointTod
        Item - Create |cffffcc0050 Gold|r at LocationPointTod
        Item - Create |cffffcc0070 Gold|r at LocationPointTod
        Item - Create |cffffcc00100 Gold|r at LocationPointTod
        Sound - Set music volume to 90.00%
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Trigger - Turn on Item_Drop_System <gen>
        Trigger - Turn off Rygnar_Teleport <gen>
        Custom script: call DestroyTrigger(gg_trg_Rygnar_Teleport)
        Wait 1.00 seconds
        Sound - Set music volume to 80.00%
        Wait 1.00 seconds
        Sound - Set music volume to 70.00%
        Wait 1.00 seconds
        Trigger - Turn off Boss_Music <gen>
        Sound - Set music volume to 100.00%
        Trigger - Run Music <gen> (ignoring conditions)
        Destructible - Remove Pathing Blocker (Ground) 6570 <gen>
        Destructible - Remove Pathing Blocker (Ground) 6571 <gen>
        Destructible - Remove Pathing Blocker (Ground) 6572 <gen>
        Destructible - Remove |cffeeb57bRock|r 6574 <gen>
        Game - Display to AllPlayers the text: A gate has been opened.
        Sound - Play UndeadBuildingDeathLarge1 <gen> at 100% volume, attached to |cffeeb57bTrade Shrine|r 0743 <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffff0202BELIAL - Lord of Lies|r Mirror
      Then - Actions
        Sound - Play HeroDreadLordDeath <gen> at 100% volume, attached to (Triggering unit)
        Set VariableSet LocationPointTod = (Position of (Dying unit))
        Special Effect - Create a special effect at LocationPointTod using Abilities\Spells\Other\Doom\DoomDeath.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_LocationPointTod)
        Wait 3.00 seconds
        Unit - Remove (Dying unit) from the game
      Else - Actions
    Wait 12.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ((Dying unit) is alive) Equal to False
      Then - Actions
        Unit - Remove (Dying unit) from the game
      Else - Actions
General Blood SFX
  Events
    Unit - A unit Dies
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Triggering unit)) Equal to |cffff8080Blood Berserker|r
        (Unit-type of (Triggering unit)) Equal to |cffd9924aTomb Viper|r (Elite)
        (Unit-type of (Triggering unit)) Equal to |cffd35416Fallen (Overseer)|r (Elite)
        (Unit-type of (Triggering unit)) Equal to |cffff8040Fallen (Shaman)|r (Elite)
        (Unit-type of (Triggering unit)) Equal to |cffe28247Fallen Hound|r
        (Unit-type of (Triggering unit)) Equal to |cffd35416Fallen (Overseer)|r
        (Unit-type of (Triggering unit)) Equal to |cffff8040Fallen (Shaman)|r
        (Unit-type of (Triggering unit)) Equal to |c00ff9933Bishibosh|r
        (Unit-type of (Triggering unit)) Equal to |c00ff9933Raikanishu|r (Boss)
        (Unit-type of (Triggering unit)) Equal to |cff8080c0Lacuni Huntress|r
        (Unit-type of (Triggering unit)) Equal to |cffff8000Dark Cultist Caster|r (Feuerball)
        (Unit-type of (Triggering unit)) Equal to |cffff8080Dark Vessel|r (Summoner)
        (Unit-type of (Triggering unit)) Equal to |cff8080c0Activated Vessel|r (Nahkampf)
        (Unit-type of (Triggering unit)) Equal to |cff800080Dark Demon|r
        (Unit-type of (Triggering unit)) Equal to |cff8080c0Activated Vessel|r (Nahkampf)
        (Unit-type of (Triggering unit)) Equal to |cffeeb57bDervish|r (Wirbler)
        (Unit-type of (Triggering unit)) Equal to |cffd9924aTomb Viper|r
        (Unit-type of (Triggering unit)) Equal to |cffff9933Hase Fuse|r
        (Unit-type of (Triggering unit)) Equal to |cff8080ffLacuni Warrior|r
        (Unit-type of (Triggering unit)) Equal to |cffff0202BELIAL - Lord of Lies|r
        (Unit-type of (Triggering unit)) Equal to |cffff0080Minion of Lies|r
        (Unit-type of (Triggering unit)) Equal to |cff0080c0Wizard|r
        (Unit-type of (Triggering unit)) Equal to |cffe48b05Barbarian|r
        (Unit-type of (Triggering unit)) Equal to |cffff0080Witch Doctor|r
        (Unit-type of (Triggering unit)) Equal to |cff1FBF00Monk|r
        (Unit-type of (Triggering unit)) Equal to |cff8080ffDemon Hunter|r
  Actions
    Set VariableSet blood_sfx_counter = (Random integer number between 0 and 4)
    Special Effect - Create a special effect attached to the origin (attachpoint) of (Triggering unit) using blood_sfx[blood_sfx_counter]
    Special Effect - Destroy (Last created special effect)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            blood_sfx_counter Equal to 0
            blood_sfx_counter Equal to 2
      Then - Actions
        Unit - Explode (Triggering unit).
      Else - Actions
Level Up
  Events
    Unit - A unit Gains a level
  Conditions
    (Triggering unit) Equal to Heroes[(Player number of (Owner of (Triggering unit)))]
    LvlUpSoundOn[(Player number of (Owner of (Triggering unit)))] Equal to True
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to |cffe48b05Barbarian|r
      Then - Actions
        Set VariableSet BarbarianRageDrainTimer[(Player number of (Owner of (Triggering unit)))] = 59
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to |cff1FBF00Monk|r
      Then - Actions
        Set VariableSet MonkRageDrainTimer[(Player number of (Owner of (Triggering unit)))] = 59
      Else - Actions
    Special Effect - Create a special effect attached to the origin (attachpoint) of (Triggering unit) using war3mapImported\LvLUp.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect attached to the origin (attachpoint) of (Triggering unit) using war3mapImported\LvLUp2.mdx
    Special Effect - Destroy (Last created special effect)
    Sound - Play Diablo_3_Lvl_Up_Caster_lite <gen> at 96.00% volume, attached to (Triggering unit)
Chest open
  Events
    Unit - A unit Is issued an order targeting an object
  Conditions
    (Unit-type of (Target unit of issued order)) Equal to |cfffec80eChest|r
  Actions
    Custom script: local boolean b=false
    Trigger - Turn off (This trigger)
    Set VariableSet LocationPointWelt1 = (Position of (Triggering unit))
    Set VariableSet LocationPointWelt2 = (Position of (Target unit of issued order))
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Distance between GeneralLeakPoint[0] and GeneralLeakPoint[1]) Less than or equal to 200.00
      Then - Actions
        Custom script: set b=true
        Animation - Play (Target unit of issued order)'s morph (animationname) animation
        Sound - Play Chest_2 <gen> at 80.00% volume, attached to (Target unit of issued order)
      Else - Actions
    Unit - Make (Target unit of issued order) Invulnerable
    Item - Create |c00ff3300Health Potion|r - [|cffffc004Consumable|r] at LocationPointWelt2
    Item - Create |c003399ffMana Potion|r - [|cffffc004Consumable|r] at LocationPointWelt2
    Set VariableSet Item_Drops = (Random integer number between 1 and 32)
    If (Item_Drops Equal to 1) then do (Create |c003399ffCaldeum Helmet|r - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 2) then do (Create |c003399ffFrozen Sword|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 3) then do (Create |c003399ffThunder Hammer|r - [|cffffc600Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 4) then do (Create |c003399ffSoul Chaser|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 5) then do (Create Rusty Shield - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 6) then do (Create |c003399ffAmulet of Caldeum|r - [|c00ffc004Utility|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 7) then do (Create Mage Staff - [|c00ffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 8) then do (Create |c003399ffWhispering Dagger|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 9) then do (Create |c003399ffRoyal Scepter|r - [|c00ffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 10) then do (Create |c003399ffShield of Intelligence|r - [|c00ffc600Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 11) then do (Create |c003399ffClaws of Destiny|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 12) then do (Create Leather Armor - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 13) then do (Create |c0029a323Death's Umbaru Chestpeice|r - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 14) then do (Create |c0029a323Death's Voodoo Staff|r - [|c00ffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 15) then do (Create |c0029a323Death's Voodoo Necklace|r - [|c00ffc004Other|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 16) then do (Create |c0029a323Holy Ivgorod Robe|r - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 17) then do (Create |c0029a323Holy Ivgorod Claws|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 18) then do (Create |c0029a323Holy Ivgorod Ring|r - [|c00ffc004Other|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 19) then do (Create |c0029a323Zann Esu Robe|r - [|cffffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 20) then do (Create |c0029a323Zann Esu Scepter|r - [|cffffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 21) then do (Create |c0029a323Zann Esu Amulet|r - [|c00ffc004Utility|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 22) then do (Create |c0029a323Legendary Axe of Mt. Arreat|r - [|c00ffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 23) then do (Create |c0029a323Legendary Armor of Mt. Arreat|r - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 24) then do (Create |c0029a323Legendary Helmet of Mt. Arreat|r - [|c00ffc004Armor Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 25) then do (Create |c003399ffFlame Sword|r - [|c00ffc004Hand-Slot|r] at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 26) then do (Create |c00ff8040Elixir of Strength|r at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 27) then do (Create |cff7eaaf1Elixir of Intelligence|r at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 28) then do (Create |c00ff0000Elixir of Vitality|r at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 29) then do (Create |cff80ff80Elixir of Agility |r at LocationPointWelt2) else do (Do nothing)
    If (Item_Drops Equal to 30) then do (Create |cff29a323Hunter's Revenge Crossbow|r - [|cffffc004Hand-Slot|r] at LocationPointTod) else do (Do nothing)
    If (Item_Drops Equal to 31) then do (Create |cff29a323Hunter's Revenge Garment|r - [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
    If (Item_Drops Equal to 32) then do (Create |cff29a323Hunter's Revenge Cape |r- [|cffffc004Armor-Slot|r] at LocationPointTod) else do (Do nothing)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Random integer number between 1 and 3) Equal to 1
      Then - Actions
        Item - Create |cffff0080Ritual of Revival|r at LocationPointWelt2
      Else - Actions
    Custom script: call UnitAddAbilityBJ( 'Aloc', GetOrderTargetUnit() )
    Custom script: call RemoveLocation(udg_LocationPointWelt1)
    Custom script: call RemoveLocation(udg_LocationPointWelt2)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Target unit of issued order) Equal to |cfffec80eChest|r 0482 <gen>
      Then - Actions
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn4 <gen>)
        Unit - Create 5.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing 0.00 degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Set VariableSet TempUnitGroup = (Units in LacuniSpawn4 <gen> owned by Player 11 (Dark Green))
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            Unit - Change color of (Picked unit) to Maroon
            Unit - Add Schaden-Bonus (30%) to (Picked unit)
            Unit - Order (Picked unit) to Attack-Move To.(Center of LacuniSpringen <gen>)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn1 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing Default building facing degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
        Wait 1.50 seconds
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn2 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing Default building facing degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
        Wait 1.50 seconds
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn3 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing 280.00 degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Unit - Add Schaden-Bonus (30%) to (Last created unit)
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
        Wait 1.50 seconds
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn5 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing 280.00 degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen2 <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
        Wait 1.50 seconds
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn6 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing 280.00 degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen2 <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
        Wait 1.50 seconds
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpawn7 <gen>)
        Unit - Create 1.|cff8080c0Lacuni Huntress|r for Player 11 (Dark Green) at LocationPointWelt1 facing 280.00 degrees
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Unit - Change color of (Last created unit) to Maroon
        Set VariableSet LocationPointWelt1 = (Center of LacuniSpringen2 <gen>)
        Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire.LocationPointWelt1
        Custom script: call RemoveLocation(udg_LocationPointWelt1)
        Trigger - Run BallanceLevel[TempInt] (checking conditions)
      Else - Actions
    Custom script: if b==true then
    Wait 1.34 seconds
    Animation - Play (Target unit of issued order)'s stand alternate (animationname) animation, using only Common animations
    Custom script: endif
    Wait 0.10 seconds
    Trigger - Turn on (This trigger)
Camera Shake
  Events
  Conditions
  Actions
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Camera - Shake the camera for (Picked player) with magnitude 12.00
    Wait 0.13 seconds
    Player Group - Pick every player in AllPlayers and do (Actions)
      Loop - Actions
        Camera - Stop swaying/shaking the camera for (Picked player).
Daytime
  Events
  Conditions
    DaytimeBoolean Equal to False
  Actions
    Game - Turn the day/night cycle On
    Game - Set time of day speed to 650.00% of the default speed
    Wait 20.00 seconds
    Game - Set time of day speed to 0.00% of the default speed
    Game - Turn the day/night cycle Off
    Game - Set the time of day to 16.00
    Custom script: call DestroyTrigger(GetTriggeringTrigger())
Boss Music
  Events
    Time - Every 34.00 seconds of game time
  Conditions
  Actions
    Sound - Set music volume to 100.00%
    Sound - Play D3W <gen>
Raikanishu Music
  Events
    Unit - A unit enters Boss_Musik_On <gen>
  Conditions
    ((Triggering unit) is A Hero) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off Music <gen>
    Trigger - Turn on Raikanishu <gen>
    Trigger - Turn on Raikanishu_Blitz <gen>
    Trigger - Turn off Item_Drop_System <gen>
    Sound - Set music volume to 70.00%
    Wait 1.00 seconds
    Sound - Set music volume to 60.00%
    Wait 1.00 seconds
    Sound - Set music volume to 50.00%
    Wait 1.00 seconds
    Sound - Stop music Immediately
    Trigger - Run Boss_Music <gen> (ignoring conditions)
    Custom script: call DestroyTrigger(GetTriggeringTrigger())
Dummy death and explosion
  Events
    Unit - A unit Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to TimeChargeDummy
            (Unit-type of (Triggering unit)) Equal to Dummy Dark Kultist
            (Unit-type of (Triggering unit)) Equal to Dummy Gefallener (Schamane)
            (Unit-type of (Triggering unit)) Equal to Dummy Wespe
            (Unit-type of (Triggering unit)) Equal to Dummy Eismagier
            (Unit-type of (Triggering unit)) Equal to Dummy Blitzmagier
            (Unit-type of (Triggering unit)) Equal to Dummy Poison Mage
            (Unit-type of (Triggering unit)) Equal to Dummy Geist
            (Unit-type of (Triggering unit)) Equal to Dummy Bischibosch
            (Unit-type of (Triggering unit)) Equal to Dummy Rygnar
            (Unit-type of (Triggering unit)) Equal to Dummy Skeleton Archer
            (Unit-type of (Triggering unit)) Equal to Fan of Knives Effect
            (Unit-type of (Triggering unit)) Equal to Fan of Knives Blood Effect
            (Unit-type of (Triggering unit)) Equal to Exploding Trap Whirlwind
            (Unit-type of (Triggering unit)) Equal to Dummy Blade Trap Missile Shot (Geschoss)
            (Unit-type of (Triggering unit)) Equal to Trap Slow Aura
            (Unit-type of (Triggering unit)) Equal to Demon Hunter Schattenlauf Dummy
            (Unit-type of (Triggering unit)) Equal to Dummy (Standard)
            (Unit-type of (Triggering unit)) Equal to Fan of Knives Ground Effect
            (Unit-type of (Triggering unit)) Equal to Timeshield Ground Effect
            (Unit-type of (Triggering unit)) Equal to Cleave Ground Effect
            (Unit-type of (Triggering unit)) Equal to Soul Harvest Ground Effect
            (Unit-type of (Triggering unit)) Equal to Dummy Spalten Effekt
      Then - Actions
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to Dummy Arcane Kugel Geschoss
      Then - Actions
        Wait 2.50 seconds
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to Tornado
            (Unit-type of (Triggering unit)) Equal to Molten Arrow Missile
            (Unit-type of (Triggering unit)) Equal to Flame Effect
            (Unit-type of (Triggering unit)) Equal to Exploding Trap2
            (Unit-type of (Triggering unit)) Equal to Exploding Trap1
            (Unit-type of (Triggering unit)) Equal to FistEffectDummy
            (Unit-type of (Triggering unit)) Equal to Dummy Charged Bolt Trigger
            (Unit-type of (Triggering unit)) Equal to Dummy Crippling Wave
            (Unit-type of (Triggering unit)) Equal to Dummy Crippling Wave2
            (Unit-type of (Triggering unit)) Equal to Firewall Dummy
            (Unit-type of (Triggering unit)) Equal to Dummy Acid Cloud Effect
            (Unit-type of (Triggering unit)) Equal to Dummy Acid Cloud Effect3
            (Unit-type of (Triggering unit)) Equal to Dummy Wirbelwind Effekt 2
            (Unit-type of (Triggering unit)) Equal to ArcaneExplosion Dummy1
            (Unit-type of (Triggering unit)) Equal to |cff008000Poison Cloud|r
            (Unit-type of (Triggering unit)) Equal to |cffc0c0c0Lighting|r
      Then - Actions
        Wait 2.20 seconds
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to Fire Bomb (Spell SFX)
      Then - Actions
        Wait 6.70 seconds
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy FroschplageEffekt
            (Unit-type of (Triggering unit)) Equal to Dummy FroschplageEffekt2
      Then - Actions
        Wait 2.40 seconds
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Triggering unit)) Equal to Dummy Wirbelwind Effekt 2
      Then - Actions
        Unit - Remove (Triggering unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 1 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 2 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 3 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 4 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 5 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 6 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 2 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 7 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 8 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 9 (Exploding Palm)
            (Unit-type of (Triggering unit)) Equal to Dummy 10 (Exploding Palm)
      Then - Actions
        Set VariableSet LocationPointWelt5 = (Position of (Dying unit))
        Sound - Play Diablo_3_Monk_Exploding_Palm_lite <gen> at 80.00% volume, attached to (Dying unit)
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using BigBloodEX-NoSplat-NoGutz-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Dying unit) using BloodEX-Special-2.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointWelt5 using BigBloodEX-NoSplat-NoGutz.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at LocationPointWelt5 using BloodEX.mdx
        Special Effect - Destroy (Last created special effect)
        Set VariableSet TempUnitGroup = (Units within 250.00 of LocationPointWelt5.)
        Unit - Create 1.Dummy (Nichts) for Player 7 (Green) at LocationPointWelt5 facing Default building facing degrees
        Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 1 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 80.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 2 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 110.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 3 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 140.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 4 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 170.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 5 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 200.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 6 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 230.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 7 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 260.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 8 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 290.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 9 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 320.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Unit-type of (Triggering unit)) Equal to Dummy 10 (Exploding Palm)
          Then - Actions
            Unit Group - Pick every unit in TempUnitGroup and do (Actions)
              Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    ((Picked unit) is alive) Equal to True
                    (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                  Then - Actions
                    Unit - Cause (Last created unit) to damage (Picked unit), dealing 350.00 damage of attack type Siege and damage type Normal
                  Else - Actions
          Else - Actions
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Set VariableSet TempUnitGroup = (Units within 20.00 of LocationPointWelt5.)
        Unit Group - Pick every unit in TempUnitGroup and do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Owner of (Picked unit)) Equal to Player 11 (Dark Green)
                (Life of (Picked unit)) Less than 5.00
                (Unit-type of (Picked unit)) Not equal to |c00ff9933Raikanishu|r (Boss)
                (Unit-type of (Picked unit)) Not equal to |c00ff9933Bishibosh|r
                (Unit-type of (Picked unit)) Not equal to |cffff9933Hase Fuse|r
              Then - Actions
                Unit - Remove (Picked unit) from the game
              Else - Actions
        Custom script: call RemoveLocation(udg_LocationPointWelt5)
        Custom script: call DestroyGroup(udg_TempUnitGroup)
        Wait 2.40 seconds
        Unit - Remove (Dying unit) from the game
      Else - Actions
Exp Bonus System
  Events
    Unit - A unit Dies
  Conditions
    (Owner of (Dying unit)) Equal to Player 11 (Dark Green)
    (Unit-type of (Dying unit)) Not equal to Dummy Wirbelwind Effekt 2
    (Unit-type of (Dying unit)) Not equal to |cffeeb57bDervish|r (Wirbler)
    (Unit-type of (Dying unit)) Not equal to Dummy Charged Bolt Trigger
    (Unit-type of (Dying unit)) Not equal to Universal Dummy
  Actions
    Set VariableSet Exp_Integer[(Player number of (Owner of (Killing unit)))] = (Exp_Integer[(Player number of (Owner of (Killing unit)))] + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Exp_Integer[(Player number of (Owner of (Killing unit)))] Greater than or equal to 9
        Exp_Bonus_On[(Player number of (Owner of (Killing unit)))] Equal to True
      Then - Actions
        Game - Display to (Player group((Owner of (Killing unit)))) the text: (|c00ffcc33MASSACRE|r You have killed more than 8 monsters within 4 seconds! + (|c00ffcc33 + + ((String((Exp_Integer[(Player number of (Owner of (Killing unit)))] x 8))) + XP Bonus|r)))
        Hero - Add (Exp_Integer[(Player number of (Owner of (Killing unit)))] x 8) experience to Heroes[(Player number of (Owner of (Killing unit)))], Show level-up graphics
        Set VariableSet Exp_Bonus_On[(Player number of (Owner of (Killing unit)))] = False
        Wait 1.00 seconds
        Set VariableSet Exp_Integer[(Player number of (Owner of (Killing unit)))] = 0
        Sound - Play Diablo_3_Massacre_2 <gen> at 95.00% volume, attached to (Killing unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 4) Equal to 1
            (Unit-type of Heroes[(Player number of (Owner of (Killing unit)))]) Equal to |cff8080ffDemon Hunter|r
          Then - Actions
            Sound - Play Demon_Hunter_Scream_2 <gen> at 83.00% volume, attached to (Killing unit)
          Else - Actions
      Else - Actions
    Wait 4.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Exp_Integer[(Player number of (Owner of (Killing unit)))] Greater than or equal to 1
      Then - Actions
        Set VariableSet Exp_Integer[(Player number of (Owner of (Killing unit)))] = (Exp_Integer[(Player number of (Owner of (Killing unit)))] - 1)
      Else - Actions
    Set VariableSet Exp_Bonus_On[(Player number of (Owner of (Killing unit)))] = True
Orb and Gold Drops
  Events
    Unit - A unit Dies
  Conditions
    (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
  Actions
    -------- ----------Crawler Drops-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cffedac54Fallen (Imp)|r
            (Unit-type of (Triggering unit)) Equal to |cffedac54Fallen (Imp)|r (schwächer)
            (Unit-type of (Triggering unit)) Equal to |cff8080c0Lacuni Huntress|r
            (Unit-type of (Triggering unit)) Equal to |cffeeb57bBone Warrior|r
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 15)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 2) then do (Create |cffffcc0030 Gold|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 3) then do (Create |cffffcc0050 Gold|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Crawler Drops 2-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cffedac54Fallen (Imp)|r (Elite)
            (Unit-type of (Triggering unit)) Equal to |cffcf4747Bone Warrior Elite|r
            (Unit-type of (Triggering unit)) Equal to |cffca3535Bone Archer|r (Elite)
            (Unit-type of (Triggering unit)) Equal to |cffff0080Minion of Lies|r
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 15)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Health Orbs-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cffd35416Fallen (Overseer)|r
            (Unit-type of (Triggering unit)) Equal to |cff800080Fallen (Lunatic)|r
            (Unit-type of (Triggering unit)) Equal to |cffff8040Fallen (Shaman)|r
            (Unit-type of (Triggering unit)) Equal to |cffe2ae41Dunes Thresher|r
            (Unit-type of (Triggering unit)) Equal to |cffd9924aTomb Viper|r
            (Unit-type of (Triggering unit)) Equal to |cff00ff00Plagued Tomb Viper|r
            (Unit-type of (Triggering unit)) Equal to |cffebaa12Sand Wasp|r
            (Unit-type of (Triggering unit)) Equal to |c00ff9933Bishibosh|r
            (Unit-type of (Triggering unit)) Equal to |cff800080Ghost|r (Necromancer)
            (Unit-type of (Triggering unit)) Equal to |cff800080Ghost|r
            (Unit-type of (Triggering unit)) Equal to |cff9d9d00Cave Spider|r
            (Unit-type of (Triggering unit)) Equal to |cff8080ffLacuni Warrior|r
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 8)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 2) then do (Create |cffffcc0070 Gold|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 3) then do (Create |cffffcc0050 Gold|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Greater Health Orbs 1-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cff8080c0Lightning Mage|r
            (Unit-type of (Triggering unit)) Equal to |cff83d5fcFrozen Mage|r
            (Unit-type of (Triggering unit)) Equal to |cff008080Poison Mage|r
            (Unit-type of (Triggering unit)) Equal to |cffeeb57bDervish|r (Wirbler)
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 6)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Greater Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Greater Health Orbs 2-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cffff8000Dark Cultist Melee|r (Nahkampf)
            (Unit-type of (Triggering unit)) Equal to |cffff8000Dark Cultist Caster|r (Feuerball)
            (Unit-type of (Triggering unit)) Equal to |cff9797ffElectrified Cultist Melee|r (Nahkampf)
            (Unit-type of (Triggering unit)) Equal to |cff800080Dark Demon|r
            (Unit-type of (Triggering unit)) Equal to |cff408080Spider Queen|r
            (Unit-type of (Triggering unit)) Equal to |cffffff80Death Froth|r
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 10)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 2) then do (Create |cffffcc0070 Gold|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 3) then do (Create |cffffcc00100 Gold|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Greater Health Orbs 3-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |cffd35416Fallen (Overseer)|r (Elite)
            (Unit-type of (Triggering unit)) Equal to |cffff8040Fallen (Shaman)|r (Elite)
            (Unit-type of (Triggering unit)) Equal to |cffff8080Blood Berserker|r
            (Unit-type of (Triggering unit)) Equal to |cffff80c0Succubi|r
            (Unit-type of (Triggering unit)) Equal to |cffd9924aTomb Viper|r (Elite)
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 10)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
    -------- ----------Greater Health Orbs Bosses-------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Triggering unit)) Equal to |c00ff9933Raikanishu|r (Boss)
            (Unit-type of (Triggering unit)) Equal to |cffff9933Hase Fuse|r
            (Unit-type of (Triggering unit)) Equal to |cffff8000Morlu Caster|r
      Then - Actions
        Set VariableSet LocationPointTodOrb = (Position of (Dying unit))
        Set VariableSet Random_Item_Drop = (Random integer number between 1 and 2)
        If (Random_Item_Drop Equal to 1) then do (Create |cfffb4a31Greater Health Globe|r at LocationPointTodOrb) else do (Do nothing)
        If (Random_Item_Drop Equal to 2) then do (Create |cffffcc00100 Gold|r at LocationPointTodOrb) else do (Do nothing)
        Custom script: call RemoveLocation(udg_LocationPointTodOrb)
      Else - Actions
AI
  Events
    Time - Every 2.50 seconds of game time
  Conditions
    ((Player 1 (Red) controller) Equal to User) and ((Player 1 (Red) slot status) Equal to Is playing)
  Actions
    Set VariableSet HeroPoint[1] = ((Position of Heroes[1]) offset by 170.00 towards (Random angle) degrees.)
    Set VariableSet HeroPoint[2] = ((Position of Heroes[2]) offset by 170.00 towards (Random angle) degrees.)
    Set VariableSet HeroPoint[3] = ((Position of Heroes[3]) offset by 170.00 towards (Random angle) degrees.)
    Set VariableSet HeroPoint[4] = ((Position of Heroes[4]) offset by 170.00 towards (Random angle) degrees.)
    Set VariableSet HeroPoint[5] = ((Position of Heroes[5]) offset by 170.00 towards (Random angle) degrees.)
    Set VariableSet HeroPoint[6] = ((Position of Heroes[6]) offset by 170.00 towards (Random angle) degrees.)
    Region - Center Anfuehrer_Gebiet <gen> on RedHeroPoint
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Then - Actions
        Unit Group - Pick every unit in Mongrels[1] and do (Order (Picked unit) to Attack-Move To.HeroPoint[1])
        Unit Group - Pick every unit in Mongrels[2] and do (Order (Picked unit) to Attack-Move To.HeroPoint[2])
        Unit Group - Pick every unit in Mongrels[3] and do (Order (Picked unit) to Attack-Move To.HeroPoint[3])
        Unit Group - Pick every unit in Mongrels[4] and do (Order (Picked unit) to Attack-Move To.HeroPoint[4])
        Unit Group - Pick every unit in Mongrels[5] and do (Order (Picked unit) to Attack-Move To.HeroPoint[5])
        Unit Group - Pick every unit in Mongrels[6] and do (Order (Picked unit) to Attack-Move To.HeroPoint[6])
      Else - Actions
    Custom script: call RemoveLocation(udg_HeroPoint[1])
    Custom script: call RemoveLocation(udg_HeroPoint[2])
    Custom script: call RemoveLocation(udg_HeroPoint[3])
    Custom script: call RemoveLocation(udg_HeroPoint[4])
    Custom script: call RemoveLocation(udg_HeroPoint[5])
    Custom script: call RemoveLocation(udg_HeroPoint[6])
Item Abilities
  Events
    Unit - A unit Is attacked
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ((Triggering unit) has an item of type |cff9355d7Magic Orb of Force|r - [|cffffc004Hand-Slot|r]) Equal to True
        (Random integer number between 1 and 100) Less than or equal to 5
      Then - Actions
        Special Effect - Create a special effect attached to the origin (attachpoint) of (Triggering unit) using IceNova.mdx
        Special Effect - Destroy (Last created special effect)
        Set VariableSet PulseDamage[(Player number of (Owner of (Triggering unit)))] = 75.00
        Set VariableSet Sample_Point = (Position of (Triggering unit))
        Set VariableSet Sample_Group = (Units within 310.00 of Sample_Point matching ((((Matching unit) is An Ancient) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True)))).)
        Unit Group - Pick every unit in Sample_Group and do (Actions)
          Loop - Actions
            Unit - Cause (Triggering unit) to damage (Picked unit), dealing PulseDamage[(Player number of (Owner of (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
                ((Picked unit) is An Ancient) Equal to False
              Then - Actions
                Set VariableSet KS_AnglePont[0] = (Position of (Triggering unit))
                Set VariableSet KS_KnockbackUnit = (Picked unit)
                Set VariableSet KS_AnglePont[1] = (Position of KS_KnockbackUnit)
                Set VariableSet KS_Speed = 6.00
                Set VariableSet KS_Angle = (Angle from KS_AnglePont[0] to KS_AnglePont[1])
                Set VariableSet KS_PausedDuringKnockback = False
                Set VariableSet KS_SfxString = Abilities\Spells\Human\FlakCannons\FlakTarget.mdl
                Set VariableSet KS_SfxString2 = Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
                Set VariableSet KS_DestroyTrees = False
                Trigger - Run KS_init <gen> (checking conditions)
                Custom script: call RemoveLocation(udg_KS_AnglePont[0])
                Custom script: call RemoveLocation(udg_KS_AnglePont[1])
              Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ((Picked unit) is alive) Equal to True
              Then - Actions
                Floating Text - Create floating text that reads (|c000080c0 + ((String((Integer(PulseDamage[(Player number of (Owner of (Triggering unit)))])))) + |r)) above (Picked unit) with Z offset 0, using font size 7.00, color (100%, 100%, 100%), and 0% transparency
                Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
                Floating Text - Change (Last created floating text): Disable permanence
                Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
                Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
                Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
                Floating Text - Show (Last created floating text) for AllPlayers
              Else - Actions
        Trigger - Run Camera_Shake <gen> (ignoring conditions)
        Custom script: call RemoveLocation (udg_Sample_Point)
        Custom script: call DestroyGroup (udg_Sample_Group)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        ((Triggering unit) has an item of type |cff9355d7Wizard Robe of Explosive Blast |r- [|cffffc004Armor-Slot|r]) Equal to True
      Then - Actions
        Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 2.00)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Random integer number between 1 and 100) Less than or equal to 5
          Then - Actions
            Special Effect - Create a special effect attached to the origin (attachpoint) of (Attacking unit) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
            Special Effect - Destroy (Last created special effect)
            Set VariableSet PulseDamage[(Player number of (Owner of (Triggering unit)))] = (Real((Intelligence of (Triggering unit) (Include bonuses))))
            Set VariableSet Sample_Point = (Position of (Attacking unit))
            Set VariableSet Sample_Group = (Units within 200.00 of Sample_Point matching ((((Matching unit) is An Ancient) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True)))).)