1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

World Of The Frozen Throne v1.02b.w3x
Variables
triggers
init
killbuzz
-----Secret Heros-----
Hero 1
Hero 2
Hero 3
Hero 4
Hero 5
sage
Blademaster
Thrall
Illidan
Sage Remove Red
Sage Remove Blue
Sage Remove Teal
Sage Remove Purple
Sage Remove Yellow
Sage Remove Orange
Sage Remove Green
Sage Remove Pink
Sage Remove Light Blue
Sage Remove Dark Green
-----Extra Hero Glitch Fix------
Hero Glitch Init
Hero Glitch Repick Red
Hero Glitch Repick Blue
Hero Glitch Repick Teal
Hero Glitch Repick Purple
Hero Glitch Repick Yellow
Hero Glitch Repick Orange
Hero Glitch Repick Green
Hero Glitch Repick Pink
Hero Glitch Repick Light Blue
Hero Glitch Repick Dark Green
----Name Change----
Name Change Red
Name Change Blue
Name Change Teal
Name Change Purple
Name Change Yellow
Name Change Orange
Name Change Green
Name Change Pink
Name Change Light Blue
Name Change Dark Green
----Music----
Music Init
Battle Music
No Music
Random Music
----Lightning----
Lightning 01
Lightning 02
Lightning 03
Lightning 04
----Warlord Start----
Resources
----Game Types----
Game Init
Fullgame
GroundGame
Remove Air
----Quest Log----
Thanks
Updates
Hints n Tips Allys
Hints n Tips gameplay
----Boss Fights----
Boss Init
Ragnaros In Dungeon
Alvelgoth In Dungeon
Illithid In Dungeon
Carnifex In Dungeon
Caller in darknes In Dungeon
Tridrak In Dungeon
Kazeoni In Dungeon
Arakashi In Dungeon
----Ragnaros----
Ragnaros Open Gate
Ragnaros
Ragnaros Part 2
Ragnaros Part 3
Ragnaros Final
----Carnifex----
Carnifex Spell 1
Carnifex Spell 2
Run Spell 1
Run Spell 2
Carnifex Animiation
Carnifex Final
----Tridrak----
Tridrak Spell
Tridrak Spell Rerun
Tridrak Final
----Kazeoni----
Kazeoni Spell
Kazeoni Spell Rerun
Kazeoni Final
----Alvelgoth----
Alvelgoth Spell
Void Spell
Void Spell Part 2
Void Spell Part 2 Stop
Void Spell Damage only
Summoner Anim
Alvelgoth Spell Stop Defeated Init
Alvelgoth Spell Stop Defeated
Alvelgoth Spell Stop Finished
Remove Summoner
Reset Summoner
Alvelgoth Final
----Caller In The Darkness----
Init
Carnifex Summon
Illithid Summon
Alvelgoth Summon
Tridrak Summon
Ragnaros Summon
Arakashi Summon
Kazeoni Summon
Summon Finish
Summon Reset
Summon Failed
Cast Animation
Caller Final
----Illithid----
Illithid
Illithid Final
----Arakashi----
Arakashi Final
// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/

Name Type Is Array Initial Value
Bosses unit Yes
button01 button No
button02 button No
button03 button No
button04 button No
button05 button No
button06 button No
button07 button No
button08 button No
button09 button No
button10 button No
button100 button No
button101 button No
button102 button No
button103 button No
button104 button No
button105 button No
button106 button No
button107 button No
button108 button No
button109 button No
button11 button No
button110 button No
button111 button No
button112 button No
button113 button No
button114 button No
button115 button No
button116 button No
button117 button No
button118 button No
button119 button No
button12 button No
button120 button No
button121 button No
button122 button No
button123 button No
button124 button No
button125 button No
button126 button No
button127 button No
button128 button No
button129 button No
button13 button No
button130 button No
button131 button No
button132 button No
button133 button No
button134 button No
button135 button No
button136 button No
button137 button No
button138 button No
button139 button No
button14 button No
button140 button No
button141 button No
button142 button No
button143 button No
button144 button No
button145 button No
button146 button No
button147 button No
button148 button No
button149 button No
button15 button No
button150 button No
button16 button No
button17 button No
button18 button No
button19 button No
button20 button No
button21 button No
button22 button No
button23 button No
button24 button No
button25 button No
button26 button No
button27 button No
button28 button No
button29 button No
button30 button No
button31 button No
button32 button No
button33 button No
button34 button No
button35 button No
button36 button No
button37 button No
button38 button No
button39 button No
button40 button No
button41 button No
button42 button No
button43 button No
button44 button No
button45 button No
button46 button No
button47 button No
button48 button No
button49 button No
button50 button No
button51 button No
button52 button No
button53 button No
button54 button No
button55 button No
button56 button No
button57 button No
button58 button No
button59 button No
button60 button No
button61 button No
button62 button No
button63 button No
button64 button No
button65 button No
button66 button No
button67 button No
button68 button No
button69 button No
button70 button No
button71 button No
button72 button No
button73 button No
button74 button No
button75 button No
button76 button No
button77 button No
button78 button No
button79 button No
button80 button No
button81 button No
button82 button No
button83 button No
button84 button No
button85 button No
button86 button No
button87 button No
button88 button No
button89 button No
button90 button No
button91 button No
button92 button No
button93 button No
button94 button No
button95 button No
button96 button No
button97 button No
button98 button No
button99 button No
Caller_Vis fogmodifier No
DeathAndDecay unit Yes
destructable01 destructable No
destructable02 destructable No
destructable03 destructable No
destructable04 destructable No
destructable05 destructable No
destructable06 destructable No
destructable07 destructable No
destructable08 destructable No
destructable09 destructable No
destructable10 destructable No
destructable11 destructable No
destructable12 destructable No
destructable13 destructable No
destructable14 destructable No
destructable15 destructable No
destructable16 destructable No
destructable17 destructable No
destructable18 destructable No
destructable19 destructable No
destructable20 destructable No
destructable21 destructable No
destructable22 destructable No
destructable23 destructable No
destructable24 destructable No
destructable25 destructable No
destructable26 destructable No
destructable27 destructable No
destructable28 destructable No
destructable29 destructable No
destructable30 destructable No
destructable31 destructable No
destructable32 destructable No
destructable33 destructable No
destructable34 destructable No
destructable35 destructable No
destructable36 destructable No
dialog01 dialog No
dialog02 dialog No
dialog03 dialog No
dialog04 dialog No
dialog05 dialog No
dialog06 dialog No
dialog07 dialog No
dialog08 dialog No
dialog09 dialog No
dialog10 dialog No
dialog11 dialog No
dialog12 dialog No
dialog13 dialog No
dialog14 dialog No
dialog15 dialog No
dialog16 dialog No
dialog17 dialog No
dialog18 dialog No
dialog19 dialog No
dialog20 dialog No
dialog21 dialog No
dialog22 dialog No
dialog23 dialog No
dialog24 dialog No
dialog25 dialog No
dialog26 dialog No
dialog27 dialog No
dialog28 dialog No
dialog29 dialog No
dialog30 dialog No
effect01 effect No
effect02 effect No
effect03 effect No
effect04 effect No
effect05 effect No
effect06 effect No
effect07 effect No
effect08 effect No
effect09 effect No
effect10 effect No
effect11 effect No
effect12 effect No
effect13 effect No
effect14 effect No
effect15 effect No
effect16 effect No
effect17 effect No
effect18 effect No
effect19 effect No
effect20 effect No
effect21 effect No
effect22 effect No
effect23 effect No
effect24 effect No
effect25 effect No
effect26 effect No
effect27 effect No
effect28 effect No
effect29 effect No
effect30 effect No
effect31 effect No
fogmodifier01 fogmodifier No
GameTypes dialog No
group01 group No
handle01 handle No
Hero_Points integer Yes
Illithid_Vis fogmodifier No
Impale unit Yes
integer01 integer No
integer02 integer No
integer03 integer No
integer04 integer No
integer05 integer No
integer06 integer No
integer07 integer No
integer08 integer No
integer09 integer No
integer10 integer No
integer11 integer No
integers01 integer Yes
integers02 integer Yes
integers03 integer Yes
Killed_Heros integer No
leaderboard01 leaderboard No
leaderboard02 leaderboard No
leaderboard03 leaderboard No
Music_List sound Yes
Player_Heros unit Yes
quest01 quest No
quest02 quest No
quest03 quest No
quest04 quest No
quest05 quest No
quest06 quest No
quest07 quest No
quest08 quest No
quest09 quest No
quest10 quest No
quest11 quest No
quest12 quest No
quest13 quest No
quest14 quest No
quest15 quest No
quest16 quest No
quest17 quest No
quest18 quest No
quest19 quest No
quest20 quest No
quest21 quest No
quest22 quest No
rect01 rect No
rect02 rect No
rect03 rect No
rect04 rect No
rect05 rect No
rect06 rect No
rect07 rect No
rect08 rect No
rect09 rect No
rect10 rect No
rect100 rect No
rect101 rect No
rect102 rect No
rect103 rect No
rect104 rect No
rect105 rect No
rect106 rect No
rect107 rect No
rect108 rect No
rect109 rect No
rect11 rect No
rect110 rect No
rect111 rect No
rect112 rect No
rect113 rect No
rect114 rect No
rect115 rect No
rect116 rect No
rect117 rect No
rect118 rect No
rect119 rect No
rect12 rect No
rect120 rect No
rect121 rect No
rect122 rect No
rect123 rect No
rect124 rect No
rect125 rect No
rect126 rect No
rect127 rect No
rect128 rect No
rect129 rect No
rect13 rect No
rect130 rect No
rect131 rect No
rect132 rect No
rect133 rect No
rect134 rect No
rect135 rect No
rect136 rect No
rect137 rect No
rect138 rect No
rect139 rect No
rect14 rect No
rect140 rect No
rect141 rect No
rect142 rect No
rect143 rect No
rect144 rect No
rect145 rect No
rect146 rect No
rect147 rect No
rect148 rect No
rect149 rect No
rect15 rect No
rect150 rect No
rect151 rect No
rect152 rect No
rect153 rect No
rect154 rect No
rect155 rect No
rect156 rect No
rect157 rect No
rect158 rect No
rect159 rect No
rect16 rect No
rect160 rect No
rect161 rect No
rect162 rect No
rect163 rect No
rect164 rect No
rect165 rect No
rect166 rect No
rect167 rect No
rect168 rect No
rect169 rect No
rect17 rect No
rect170 rect No
rect171 rect No
rect172 rect No
rect173 rect No
rect174 rect No
rect175 rect No
rect176 rect No
rect177 rect No
rect178 rect No
rect18 rect No
rect19 rect No
rect20 rect No
rect21 rect No
rect22 rect No
rect23 rect No
rect24 rect No
rect25 rect No
rect26 rect No
rect27 rect No
rect28 rect No
rect29 rect No
rect30 rect No
rect31 rect No
rect32 rect No
rect33 rect No
rect34 rect No
rect35 rect No
rect36 rect No
rect37 rect No
rect38 rect No
rect39 rect No
rect40 rect No
rect41 rect No
rect42 rect No
rect43 rect No
rect44 rect No
rect45 rect No
rect46 rect No
rect47 rect No
rect48 rect No
rect49 rect No
rect50 rect No
rect51 rect No
rect52 rect No
rect53 rect No
rect54 rect No
rect55 rect No
rect56 rect No
rect57 rect No
rect58 rect No
rect59 rect No
rect60 rect No
rect61 rect No
rect62 rect No
rect63 rect No
rect64 rect No
rect65 rect No
rect66 rect No
rect67 rect No
rect68 rect No
rect69 rect No
rect70 rect No
rect71 rect No
rect72 rect No
rect73 rect No
rect74 rect No
rect75 rect No
rect76 rect No
rect77 rect No
rect78 rect No
rect79 rect No
rect80 rect No
rect81 rect No
rect82 rect No
rect83 rect No
rect84 rect No
rect85 rect No
rect86 rect No
rect87 rect No
rect88 rect No
rect89 rect No
rect90 rect No
rect91 rect No
rect92 rect No
rect93 rect No
rect94 rect No
rect95 rect No
rect96 rect No
rect97 rect No
rect98 rect No
rect99 rect No
ReignofChaos unit Yes
sound01 sound No
sound02 sound No
sound03 sound No
sound04 sound No
sound05 sound No
sound06 sound No
sound07 sound No
sound08 sound No
sound09 sound No
sound10 sound No
sound11 sound No
sound12 sound No
sound13 sound No
sound14 sound No
sound15 sound No
sound16 sound No
sound17 sound No
sound18 sound No
sound19 sound No
sound20 sound No
sound21 sound No
sound22 sound No
sound23 sound No
sound24 sound No
sound25 sound No
sound26 sound No
sound27 sound No
sound28 sound No
sound29 sound No
sound30 sound No
sound31 sound No
sound32 sound No
sound33 sound No
sound34 sound No
sound35 sound No
sound36 sound No
sound37 sound No
sound38 sound No
sound39 sound No
sound40 sound No
sound41 sound No
sound42 sound No
sound43 sound No
sound44 sound No
sound45 sound No
sound46 sound No
sound47 sound No
sound48 sound No
sound49 sound No
sound50 sound No
sound51 sound No
sound52 sound No
sound53 sound No
sound54 sound No
sound55 sound No
sound56 sound No
sound57 sound No
sound58 sound No
sound59 sound No
sound60 sound No
sound61 sound No
sound62 sound No
sound63 sound No
sound64 sound No
sound65 sound No
sound66 sound No
sound67 sound No
sound68 sound No
sound69 sound No
sound70 sound No
sound71 sound No
sound72 sound No
sound73 sound No
sound74 sound No
sound75 sound No
sound76 sound No
sound77 sound No
sound78 sound No
sound79 sound No
sound80 sound No
sound81 sound No
sound82 sound No
sound83 sound No
sound84 sound No
sound85 sound No
sound86 sound No
sound87 sound No
sound88 sound No
Spell_Shield unit No
Staff item Yes
SucksUnit boolean Yes
Summoned_heros unit Yes
Summoner unit Yes
SummonerIsDead real No
timer01 timer No
timer02 timer No
trigger01 trigger No
trigger02 trigger No
trigger03 trigger No
trigger04 trigger No
trigger05 trigger No
trigger06 trigger No
trigger07 trigger No
trigger08 trigger No
trigger09 trigger No
trigger10 trigger No
trigger100 trigger No
trigger101 trigger No
trigger102 trigger No
trigger103 trigger No
trigger104 trigger No
trigger105 trigger No
trigger106 trigger No
trigger107 trigger No
trigger108 trigger No
trigger109 trigger No
trigger11 trigger No
trigger110 trigger No
trigger111 trigger No
trigger112 trigger No
trigger113 trigger No
trigger114 trigger No
trigger115 trigger No
trigger116 trigger No
trigger117 trigger No
trigger118 trigger No
trigger119 trigger No
trigger12 trigger No
trigger120 trigger No
trigger121 trigger No
trigger122 trigger No
trigger123 trigger No
trigger124 trigger No
trigger125 trigger No
trigger126 trigger No
trigger127 trigger No
trigger128 trigger No
trigger129 trigger No
trigger13 trigger No
trigger130 trigger No
trigger131 trigger No
trigger132 trigger No
trigger133 trigger No
trigger134 trigger No
trigger135 trigger No
trigger136 trigger No
trigger137 trigger No
trigger138 trigger No
trigger139 trigger No
trigger14 trigger No
trigger140 trigger No
trigger141 trigger No
trigger142 trigger No
trigger143 trigger No
trigger144 trigger No
trigger145 trigger No
trigger146 trigger No
trigger147 trigger No
trigger148 trigger No
trigger149 trigger No
trigger15 trigger No
trigger150 trigger No
trigger151 trigger No
trigger152 trigger No
trigger153 trigger No
trigger154 trigger No
trigger155 trigger No
trigger156 trigger No
trigger157 trigger No
trigger158 trigger No
trigger159 trigger No
trigger16 trigger No
trigger160 trigger No
trigger161 trigger No
trigger162 trigger No
trigger163 trigger No
trigger164 trigger No
trigger165 trigger No
trigger166 trigger No
trigger167 trigger No
trigger168 trigger No
trigger169 trigger No
trigger17 trigger No
trigger170 trigger No
trigger171 trigger No
trigger172 trigger No
trigger173 trigger No
trigger174 trigger No
trigger175 trigger No
trigger176 trigger No
trigger177 trigger No
trigger178 trigger No
trigger179 trigger No
trigger18 trigger No
trigger180 trigger No
trigger181 trigger No
trigger182 trigger No
trigger183 trigger No
trigger184 trigger No
trigger185 trigger No
trigger186 trigger No
trigger187 trigger No
trigger188 trigger No
trigger189 trigger No
trigger19 trigger No
trigger190 trigger No
trigger191 trigger No
trigger192 trigger No
trigger193 trigger No
trigger194 trigger No
trigger195 trigger No
trigger196 trigger No
trigger197 trigger No
trigger198 trigger No
trigger199 trigger No
trigger20 trigger No
trigger200 trigger No
trigger201 trigger No
trigger202 trigger No
trigger203 trigger No
trigger204 trigger No
trigger205 trigger No
trigger206 trigger No
trigger207 trigger No
trigger208 trigger No
trigger209 trigger No
trigger21 trigger No
trigger210 trigger No
trigger211 trigger No
trigger212 trigger No
trigger213 trigger No
trigger214 trigger No
trigger215 trigger No
trigger216 trigger No
trigger217 trigger No
trigger218 trigger No
trigger219 trigger No
trigger22 trigger No
trigger220 trigger No
trigger221 trigger No
trigger222 trigger No
trigger223 trigger No
trigger224 trigger No
trigger225 trigger No
trigger226 trigger No
trigger227 trigger No
trigger228 trigger No
trigger229 trigger No
trigger23 trigger No
trigger230 trigger No
trigger231 trigger No
trigger232 trigger No
trigger233 trigger No
trigger234 trigger No
trigger235 trigger No
trigger236 trigger No
trigger237 trigger No
trigger238 trigger No
trigger239 trigger No
trigger24 trigger No
trigger240 trigger No
trigger241 trigger No
trigger242 trigger No
trigger243 trigger No
trigger244 trigger No
trigger245 trigger No
trigger246 trigger No
trigger247 trigger No
trigger248 trigger No
trigger249 trigger No
trigger25 trigger No
trigger250 trigger No
trigger251 trigger No
trigger252 trigger No
trigger253 trigger No
trigger254 trigger No
trigger255 trigger No
trigger256 trigger No
trigger257 trigger No
trigger258 trigger No
trigger259 trigger No
trigger26 trigger No
trigger260 trigger No
trigger261 trigger No
trigger262 trigger No
trigger263 trigger No
trigger264 trigger No
trigger265 trigger No
trigger266 trigger No
trigger267 trigger No
trigger268 trigger No
trigger269 trigger No
trigger27 trigger No
trigger270 trigger No
trigger271 trigger No
trigger272 trigger No
trigger273 trigger No
trigger274 trigger No
trigger275 trigger No
trigger276 trigger No
trigger277 trigger No
trigger278 trigger No
trigger279 trigger No
trigger28 trigger No
trigger280 trigger No
trigger281 trigger No
trigger282 trigger No
trigger283 trigger No
trigger284 trigger No
trigger285 trigger No
trigger286 trigger No
trigger287 trigger No
trigger288 trigger No
trigger289 trigger No
trigger29 trigger No
trigger290 trigger No
trigger291 trigger No
trigger292 trigger No
trigger293 trigger No
trigger294 trigger No
trigger295 trigger No
trigger296 trigger No
trigger297 trigger No
trigger298 trigger No
trigger299 trigger No
trigger30 trigger No
trigger300 trigger No
trigger301 trigger No
trigger302 trigger No
trigger303 trigger No
trigger304 trigger No
trigger305 trigger No
trigger306 trigger No
trigger307 trigger No
trigger308 trigger No
trigger309 trigger No
trigger31 trigger No
trigger310 trigger No
trigger311 trigger No
trigger312 trigger No
trigger313 trigger No
trigger314 trigger No
trigger315 trigger No
trigger316 trigger No
trigger317 trigger No
trigger318 trigger No
trigger319 trigger No
trigger32 trigger No
trigger320 trigger No
trigger321 trigger No
trigger322 trigger No
trigger323 trigger No
trigger324 trigger No
trigger325 trigger No
trigger326 trigger No
trigger327 trigger No
trigger328 trigger No
trigger329 trigger No
trigger33 trigger No
trigger330 trigger No
trigger331 trigger No
trigger332 trigger No
trigger333 trigger No
trigger334 trigger No
trigger335 trigger No
trigger336 trigger No
trigger337 trigger No
trigger338 trigger No
trigger339 trigger No
trigger34 trigger No
trigger340 trigger No
trigger341 trigger No
trigger342 trigger No
trigger343 trigger No
trigger344 trigger No
trigger345 trigger No
trigger346 trigger No
trigger347 trigger No
trigger348 trigger No
trigger349 trigger No
trigger35 trigger No
trigger350 trigger No
trigger351 trigger No
trigger352 trigger No
trigger353 trigger No
trigger354 trigger No
trigger355 trigger No
trigger356 trigger No
trigger357 trigger No
trigger358 trigger No
trigger359 trigger No
trigger36 trigger No
trigger360 trigger No
trigger361 trigger No
trigger362 trigger No
trigger363 trigger No
trigger364 trigger No
trigger365 trigger No
trigger366 trigger No
trigger367 trigger No
trigger368 trigger No
trigger369 trigger No
trigger37 trigger No
trigger370 trigger No
trigger371 trigger No
trigger372 trigger No
trigger373 trigger No
trigger374 trigger No
trigger375 trigger No
trigger376 trigger No
trigger377 trigger No
trigger378 trigger No
trigger379 trigger No
trigger38 trigger No
trigger380 trigger No
trigger381 trigger No
trigger382 trigger No
trigger383 trigger No
trigger384 trigger No
trigger385 trigger No
trigger386 trigger No
trigger387 trigger No
trigger388 trigger No
trigger389 trigger No
trigger39 trigger No
trigger390 trigger No
trigger391 trigger No
trigger392 trigger No
trigger393 trigger No
trigger394 trigger No
trigger395 trigger No
trigger396 trigger No
trigger397 trigger No
trigger398 trigger No
trigger399 trigger No
trigger40 trigger No
trigger400 trigger No
trigger401 trigger No
trigger402 trigger No
trigger403 trigger No
trigger404 trigger No
trigger405 trigger No
trigger406 trigger No
trigger407 trigger No
trigger408 trigger No
trigger409 trigger No
trigger41 trigger No
trigger410 trigger No
trigger411 trigger No
trigger412 trigger No
trigger413 trigger No
trigger414 trigger No
trigger415 trigger No
trigger416 trigger No
trigger417 trigger No
trigger418 trigger No
trigger419 trigger No
trigger42 trigger No
trigger420 trigger No
trigger421 trigger No
trigger422 trigger No
trigger423 trigger No
trigger424 trigger No
trigger425 trigger No
trigger426 trigger No
trigger427 trigger No
trigger428 trigger No
trigger429 trigger No
trigger43 trigger No
trigger430 trigger No
trigger431 trigger No
trigger432 trigger No
trigger433 trigger No
trigger434 trigger No
trigger435 trigger No
trigger436 trigger No
trigger437 trigger No
trigger438 trigger No
trigger439 trigger No
trigger44 trigger No
trigger440 trigger No
trigger441 trigger No
trigger442 trigger No
trigger443 trigger No
trigger444 trigger No
trigger445 trigger No
trigger446 trigger No
trigger447 trigger No
trigger448 trigger No
trigger449 trigger No
trigger45 trigger No
trigger450 trigger No
trigger451 trigger No
trigger452 trigger No
trigger453 trigger No
trigger454 trigger No
trigger455 trigger No
trigger456 trigger No
trigger457 trigger No
trigger458 trigger No
trigger459 trigger No
trigger46 trigger No
trigger460 trigger No
trigger461 trigger No
trigger462 trigger No
trigger463 trigger No
trigger464 trigger No
trigger465 trigger No
trigger466 trigger No
trigger467 trigger No
trigger468 trigger No
trigger469 trigger No
trigger47 trigger No
trigger470 trigger No
trigger471 trigger No
trigger472 trigger No
trigger473 trigger No
trigger474 trigger No
trigger475 trigger No
trigger476 trigger No
trigger477 trigger No
trigger478 trigger No
trigger479 trigger No
trigger48 trigger No
trigger480 trigger No
trigger481 trigger No
trigger482 trigger No
trigger483 trigger No
trigger484 trigger No
trigger485 trigger No
trigger486 trigger No
trigger487 trigger No
trigger488 trigger No
trigger489 trigger No
trigger49 trigger No
trigger490 trigger No
trigger491 trigger No
trigger492 trigger No
trigger493 trigger No
trigger494 trigger No
trigger495 trigger No
trigger496 trigger No
trigger497 trigger No
trigger498 trigger No
trigger499 trigger No
trigger50 trigger No
trigger500 trigger No
trigger501 trigger No
trigger502 trigger No
trigger503 trigger No
trigger504 trigger No
trigger505 trigger No
trigger506 trigger No
trigger507 trigger No
trigger508 trigger No
trigger509 trigger No
trigger51 trigger No
trigger510 trigger No
trigger511 trigger No
trigger512 trigger No
trigger513 trigger No
trigger514 trigger No
trigger515 trigger No
trigger516 trigger No
trigger517 trigger No
trigger518 trigger No
trigger519 trigger No
trigger52 trigger No
trigger520 trigger No
trigger521 trigger No
trigger522 trigger No
trigger523 trigger No
trigger524 trigger No
trigger525 trigger No
trigger526 trigger No
trigger527 trigger No
trigger528 trigger No
trigger529 trigger No
trigger53 trigger No
trigger530 trigger No
trigger531 trigger No
trigger532 trigger No
trigger533 trigger No
trigger534 trigger No
trigger535 trigger No
trigger536 trigger No
trigger537 trigger No
trigger538 trigger No
trigger539 trigger No
trigger54 trigger No
trigger540 trigger No
trigger541 trigger No
trigger542 trigger No
trigger543 trigger No
trigger544 trigger No
trigger545 trigger No
trigger546 trigger No
trigger547 trigger No
trigger548 trigger No
trigger549 trigger No
trigger55 trigger No
trigger550 trigger No
trigger551 trigger No
trigger552 trigger No
trigger553 trigger No
trigger554 trigger No
trigger555 trigger No
trigger556 trigger No
trigger557 trigger No
trigger558 trigger No
trigger559 trigger No
trigger56 trigger No
trigger560 trigger No
trigger561 trigger No
trigger562 trigger No
trigger563 trigger No
trigger564 trigger No
trigger565 trigger No
trigger566 trigger No
trigger567 trigger No
trigger568 trigger No
trigger569 trigger No
trigger57 trigger No
trigger570 trigger No
trigger571 trigger No
trigger572 trigger No
trigger573 trigger No
trigger574 trigger No
trigger575 trigger No
trigger576 trigger No
trigger577 trigger No
trigger578 trigger No
trigger579 trigger No
trigger58 trigger No
trigger580 trigger No
trigger581 trigger No
trigger582 trigger No
trigger583 trigger No
trigger584 trigger No
trigger585 trigger No
trigger586 trigger No
trigger587 trigger No
trigger588 trigger No
trigger589 trigger No
trigger59 trigger No
trigger590 trigger No
trigger591 trigger No
trigger592 trigger No
trigger593 trigger No
trigger594 trigger No
trigger595 trigger No
trigger596 trigger No
trigger597 trigger No
trigger598 trigger No
trigger599 trigger No
trigger60 trigger No
trigger600 trigger No
trigger601 trigger No
trigger602 trigger No
trigger603 trigger No
trigger604 trigger No
trigger605 trigger No
trigger606 trigger No
trigger607 trigger No
trigger608 trigger No
trigger609 trigger No
trigger61 trigger No
trigger610 trigger No
trigger611 trigger No
trigger612 trigger No
trigger613 trigger No
trigger614 trigger No
trigger615 trigger No
trigger616 trigger No
trigger62 trigger No
trigger63 trigger No
trigger64 trigger No
trigger65 trigger No
trigger66 trigger No
trigger67 trigger No
trigger68 trigger No
trigger69 trigger No
trigger70 trigger No
trigger71 trigger No
trigger72 trigger No
trigger73 trigger No
trigger74 trigger No
trigger75 trigger No
trigger76 trigger No
trigger77 trigger No
trigger78 trigger No
trigger79 trigger No
trigger80 trigger No
trigger81 trigger No
trigger82 trigger No
trigger83 trigger No
trigger84 trigger No
trigger85 trigger No
trigger86 trigger No
trigger87 trigger No
trigger88 trigger No
trigger89 trigger No
trigger90 trigger No
trigger91 trigger No
trigger92 trigger No
trigger93 trigger No
trigger94 trigger No
trigger95 trigger No
trigger96 trigger No
trigger97 trigger No
trigger98 trigger No
trigger99 trigger No
Type_Button button Yes
unit01 unit No
unit02 unit No
unit03 unit No
unit04 unit No
unit05 unit No
unit06 unit No
unit07 unit No
unit08 unit No
unit09 unit No
unit10 unit No
unit100 unit No
unit101 unit No
unit102 unit No
unit103 unit No
unit104 unit No
unit105 unit No
unit106 unit No
unit107 unit No
unit108 unit No
unit109 unit No
unit11 unit No
unit110 unit No
unit111 unit No
unit112 unit No
unit113 unit No
unit114 unit No
unit115 unit No
unit116 unit No
unit117 unit No
unit118 unit No
unit119 unit No
unit12 unit No
unit120 unit No
unit121 unit No
unit122 unit No
unit123 unit No
unit124 unit No
unit125 unit No
unit126 unit No
unit127 unit No
unit128 unit No
unit129 unit No
unit13 unit No
unit130 unit No
unit131 unit No
unit132 unit No
unit133 unit No
unit134 unit No
unit135 unit No
unit14 unit No
unit15 unit No
unit16 unit No
unit17 unit No
unit18 unit No
unit19 unit No
unit20 unit No
unit21 unit No
unit22 unit No
unit23 unit No
unit24 unit No
unit25 unit No
unit26 unit No
unit27 unit No
unit28 unit No
unit29 unit No
unit30 unit No
unit31 unit No
unit32 unit No
unit33 unit No
unit34 unit No
unit35 unit No
unit36 unit No
unit37 unit No
unit38 unit No
unit39 unit No
unit40 unit No
unit41 unit No
unit42 unit No
unit43 unit No
unit44 unit No
unit45 unit No
unit46 unit No
unit47 unit No
unit48 unit No
unit49 unit No
unit50 unit No
unit51 unit No
unit52 unit No
unit53 unit No
unit54 unit No
unit55 unit No
unit56 unit No
unit57 unit No
unit58 unit No
unit59 unit No
unit60 unit No
unit61 unit No
unit62 unit No
unit63 unit No
unit64 unit No
unit65 unit No
unit66 unit No
unit67 unit No
unit68 unit No
unit69 unit No
unit70 unit No
unit71 unit No
unit72 unit No
unit73 unit No
unit74 unit No
unit75 unit No
unit76 unit No
unit77 unit No
unit78 unit No
unit79 unit No
unit80 unit No
unit81 unit No
unit82 unit No
unit83 unit No
unit84 unit No
unit85 unit No
unit86 unit No
unit87 unit No
unit88 unit No
unit89 unit No
unit90 unit No
unit91 unit No
unit92 unit No
unit93 unit No
unit94 unit No
unit95 unit No
unit96 unit No
unit97 unit No
unit98 unit No
unit99 unit No
Void unit No
Void_Size real No
Volcano unit Yes
weathereffect01 weathereffect No
// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/


function kn takes real kN returns nothing
    local real ko
    local real st=TimerGetElapsed(udg_timer02)
    if st<=0 then
        set udg_timer02=CreateTimer()
        call TimerStart(udg_timer02,0xF4240,false,null)
    endif
    if(kN>0)then
        loop
            set ko=kN-TimerGetElapsed(udg_timer02)+st
            exitwhen ko<=0
            if(ko>bj_POLLED_WAIT_SKIP_THRESHOLD)then
                call TriggerSleepAction(.1*ko)
            else
                call TriggerSleepAction(bj_POLLED_WAIT_INTERVAL)
            endif
        endloop
    endif
endfunction

function kO takes trigger kp,rect r returns event
    local region kP=CreateRegion()
    call RegionAddRect(kP,r)
    set udg_handle01=TriggerRegisterEnterRegion(kp,kP,null)
    set kP=null
    return udg_handle01
endfunction

function kq takes trigger kp,rect r returns event
    local region kP=CreateRegion()
    call RegionAddRect(kP,r)
    set udg_handle01=TriggerRegisterLeaveRegion(kp,kP,null)
    set kP=null
    return udg_handle01
endfunction

function kQ takes unit kr,integer kR returns integer
    local integer ks
    local item kS
    set ks=0
    loop
        set kS=UnitItemInSlot(kr,ks)
        if(kS!=null)and(GetItemTypeId(kS)==kR)then
            set kS=null
            return ks+1
        endif
        set ks=ks+1
        exitwhen ks>=6
    endloop
    set kS=null
    return 0
endfunction

function kt takes unit kr,integer kR returns item
    local integer ks=kQ(kr,kR)
    if(ks==0)then
        return null
    else
        return UnitItemInSlot(kr,ks-1)
    endif
endfunction

function kT takes unit kr,integer kR returns boolean
    return kQ(kr,kR)>0
endfunction

function ku takes nothing returns nothing
    local unit kU=GetEnumUnit()
    if(GetUnitState(kU,UNIT_STATE_LIFE)<=0)then
        call SetUnitTimeScale(kU,.0001)
    endif
    set kU=null
endfunction

function kv takes nothing returns nothing
    local unit kU=GetEnumUnit()
    if(GetUnitState(kU,UNIT_STATE_LIFE)<=0)then
        call UnitSuspendDecay(kU,true)
        call SetUnitTimeScale(kU,.0001)
    endif
    set kU=null
endfunction

function kV takes nothing returns nothing
    local unit kU=GetEnumUnit()
    if(GetUnitState(kU,UNIT_STATE_LIFE)<=0)then
        call UnitSuspendDecay(kU,true)
        call SetUnitTimeScale(kU,10.)
        call SetUnitAnimation(kU,"decay flesh")
    endif
    set kU=null
endfunction

function kw takes nothing returns nothing
    local group kW
    local group kx
    set kW=bj_suspendDecayBoneGroup
    set kx=bj_suspendDecayFleshGroup
    set bj_suspendDecayBoneGroup=CreateGroup()
    set bj_suspendDecayFleshGroup=CreateGroup()
    call ForGroup(kx,function ku)
    call ForGroup(kW,function ku)
    call TriggerSleepAction(8.)
    call ForGroup(kx,function kV)
    call ForGroup(kW,function kv)
    call TriggerSleepAction(.05)
    call ForGroup(kx,function ku)
    call DestroyGroup(kW)
    call DestroyGroup(kx)
    set kW=null
    set kx=null
endfunction

function kz takes unit kZ,integer k0,integer k1 returns unit
    local unit k2
    local boolean k3
    local integer ks
    local item kS
    local real k4
    if(kZ==null)then
        set bj_lastReplacedUnit=null
        return null
    endif
    set k3=IsUnitHidden(kZ)
    call ShowUnit(kZ,false)
    if(k0=='ugol')then
        set k2=CreateBlightedGoldmine(GetOwningPlayer(kZ),GetUnitX(kZ),GetUnitY(kZ),GetUnitFacing(kZ))
    else
        set k2=CreateUnit(GetOwningPlayer(kZ),k0,GetUnitX(kZ),GetUnitY(kZ),GetUnitFacing(kZ))
    endif
    if(k1==1)then
        if(GetUnitState(kZ,UNIT_STATE_MAX_LIFE)>0)then
            set k4=GetUnitState(kZ,UNIT_STATE_LIFE)/GetUnitState(kZ,UNIT_STATE_MAX_LIFE)
            call SetUnitState(k2,UNIT_STATE_LIFE,k4*GetUnitState(k2,UNIT_STATE_MAX_LIFE))
        endif
        if(GetUnitState(kZ,UNIT_STATE_MAX_MANA)>0)and(GetUnitState(k2,UNIT_STATE_MAX_MANA)>0)then
            set k4=GetUnitState(kZ,UNIT_STATE_MANA)/GetUnitState(kZ,UNIT_STATE_MAX_MANA)
            call SetUnitState(k2,UNIT_STATE_MANA,k4*GetUnitState(k2,UNIT_STATE_MAX_MANA))
        endif
    elseif(k1==0)then
        call SetUnitState(k2,UNIT_STATE_LIFE,GetUnitState(kZ,UNIT_STATE_LIFE))
        if(GetUnitState(k2,UNIT_STATE_MAX_MANA)>0)then
            call SetUnitState(k2,UNIT_STATE_MANA,GetUnitState(kZ,UNIT_STATE_MANA))
        endif
    elseif(k1==2)then
    elseif(k1==3)then
        call SetUnitState(k2,UNIT_STATE_LIFE,GetUnitState(k2,UNIT_STATE_MAX_LIFE))
        call SetUnitState(k2,UNIT_STATE_MANA,GetUnitState(k2,UNIT_STATE_MAX_MANA))
    endif
    call SetResourceAmount(k2,GetResourceAmount(kZ))
    if(IsUnitType(kZ,UNIT_TYPE_HERO)and IsUnitType(k2,UNIT_TYPE_HERO))then
        call SetHeroXP(k2,GetHeroXP(kZ),false)
        set ks=0
        loop
            set kS=UnitItemInSlot(kZ,ks)
            if(kS!=null)then
                call UnitRemoveItem(kZ,kS)
                call UnitAddItem(k2,kS)
            endif
            set ks=ks+1
            exitwhen ks>=6
        endloop
    endif
    if k3 then
        call KillUnit(kZ)
        call RemoveUnit(kZ)
    else
        call RemoveUnit(kZ)
    endif
    set bj_lastReplacedUnit=k2
    set k2=null
    set kS=null
    return bj_lastReplacedUnit
endfunction

function k5 takes nothing returns boolean
    local location k6=GetDestructableLoc(GetFilterDestructable())
    local boolean k7
    set k7=(DistanceBetweenPoints(k6,bj_enumDestructableCenter)<=bj_enumDestructableRadius)
    call RemoveLocation(k6)
    set k6=null
    return k7
endfunction

function k8 takes real k9,location Ka,code KA returns nothing
    local rect r
    if(k9>=0)then
        set bj_enumDestructableCenter=Ka
        set bj_enumDestructableRadius=k9
        set r=GetRectFromCircleBJ(Ka,k9)
        call EnumDestructablesInRect(r,filterEnumDestructablesInCircleBJ,KA)
        call RemoveRect(r)
        set r=null
    endif
endfunction

function KI takes rect r,boolexpr Kj returns group
    local group g=CreateGroup()
    call GroupEnumUnitsInRect(g,r,Kj)
    call DestroyBoolExpr(Kj)
    set udg_handle01=g
    set g=null
    return udg_handle01
endfunction

function KJ takes rect r returns group
    return KI(r,null)
endfunction

function Kk takes rect r,player kY returns group
    local group g=CreateGroup()
    set bj_groupEnumOwningPlayer=kY
    call GroupEnumUnitsInRect(g,r,filterGetUnitsInRectOfPlayer)
    set udg_handle01=g
    set g=null
    return udg_handle01
endfunction

function KK takes real k9,location Kl,boolexpr Kj returns group
    local group g=CreateGroup()
    call GroupEnumUnitsInRangeOfLoc(g,Kl,k9,Kj)
    call DestroyBoolExpr(Kj)
    set udg_handle01=g
    set g=null
    return udg_handle01
endfunction

function KL takes player kY,boolexpr Kj returns group
    local group g=CreateGroup()
    call GroupEnumUnitsOfPlayer(g,kY,Kj)
    call DestroyBoolExpr(Kj)
    set udg_handle01=g
    set g=null
    return udg_handle01
endfunction

function Km takes player kY,integer KM returns group
    local group g=CreateGroup()
    set bj_groupEnumTypeId=KM
    call GroupEnumUnitsOfPlayer(g,kY,filterGetUnitsOfPlayerAndTypeId)
    set udg_handle01=g
    set g=null
    return udg_handle01
endfunction

function Kn takes player kY returns force
    local force f=CreateForce()
    call ForceAddPlayer(f,kY)
    set udg_handle01=f
    set f=null
    return udg_handle01
endfunction

function KN takes mapcontrol Ko returns force
    local force f=CreateForce()
    local integer KO
    local player Kp
    set KO=0
    loop
        set Kp=Player(KO)
        if GetPlayerController(Kp)==Ko then
            call ForceAddPlayer(f,Kp)
        endif
        set KO=KO+1
        exitwhen KO==16
    endloop
    set Kp=null
    set udg_handle01=f
    set f=null
    return udg_handle01
endfunction

function KP takes nothing returns boolean
    local unit Kq=GetFilterUnit()
    local boolean b=((GetWidgetLife(Kq)>0)and(GetUnitTypeId(Kq)==bj_livingPlayerUnitsTypeId))
    if(b)then
        set bj_groupCountUnits=bj_groupCountUnits+1
    endif
    set Kq=null
    return b
endfunction

function KQ takes unit kr,location Kr,real kN returns nothing
    local location KR=GetUnitLoc(kr)
    call SetUnitFacingTimed(kr,AngleBetweenPoints(KR,Kr),kN)
    call RemoveLocation(KR)
    set KR=null
endfunction

function Ks takes unit kr,unit Kr,real kN returns nothing
    local location KR=GetUnitLoc(Kr)
    call KQ(kr,KR,kN)
    call RemoveLocation(KR)
    set KR=null
endfunction

function KT takes leaderboard lb,force Ku returns nothing
    local integer ks
    local player Kp
    set ks=0
    loop
        set Kp=Player(ks)
        if IsPlayerInForce(Kp,Ku)then
            call PlayerSetLeaderboard(Kp,lb)
        endif
        set ks=ks+1
        exitwhen ks==12
    endloop
    set Kp=null
endfunction

function KU takes force Ku,string Kv returns leaderboard
    set bj_lastCreatedLeaderboard=CreateLeaderboard()
    call LeaderboardSetLabel(bj_lastCreatedLeaderboard,Kv)
    call KT(bj_lastCreatedLeaderboard,Ku)
    call LeaderboardDisplay(bj_lastCreatedLeaderboard,true)
    return bj_lastCreatedLeaderboard
endfunction

function KV takes nothing returns nothing
    local unit Kw=GetTriggerUnit()
    if IsUnitType(Kw,UNIT_TYPE_STRUCTURE)then
        call RescueUnitBJ(Kw,GetOwningPlayer(GetRescuer()),bj_rescueChangeColorBldg)
    else
        call RescueUnitBJ(Kw,GetOwningPlayer(GetRescuer()),bj_rescueChangeColorUnit)
    endif
    set Kw=null
endfunction

function KW takes nothing returns nothing
    local integer ks
    if(bj_rescueUnitBehavior==null)then
        set bj_rescueUnitBehavior=CreateTrigger()
        set ks=0
        loop
            call TriggerRegisterPlayerUnitEvent(bj_rescueUnitBehavior,Player(ks),EVENT_PLAYER_UNIT_RESCUED,null)
            set ks=ks+1
            exitwhen ks==16
        endloop
        call TriggerAddAction(bj_rescueUnitBehavior,function KV)
    endif
endfunction

function KX takes nothing returns nothing
    local integer ks
    set ks=0
    loop
        if(GetPlayerController(Player(ks))==MAP_CONTROL_RESCUABLE)then
            call KW()
            return
        endif
        set ks=ks+1
        exitwhen ks==12
    endloop
endfunction

function K2 takes itemtype K3,integer K4 returns nothing
    local group g
    set bj_stockPickedItemType=K3
    set bj_stockPickedItemLevel=K4
    set g=CreateGroup()
    call GroupEnumUnitsOfType(g,"marketplace",null)
    call ForGroup(g,function UpdateEachStockBuildingEnum)
    call DestroyGroup(g)
    set g=null
endfunction

function K5 takes nothing returns nothing
    local integer pickedItemId
    local itemtype K6
    local integer K7=0
    local integer K8=0
    local integer K4
    set K4=1
    loop
        if(bj_stockAllowedPermanent[K4])then
            set K8=K8+1
            if(GetRandomInt(1,K8)==1)then
                set K6=ITEM_TYPE_PERMANENT
                set K7=K4
            endif
        endif
        if(bj_stockAllowedCharged[K4])then
            set K8=K8+1
            if(GetRandomInt(1,K8)==1)then
                set K6=ITEM_TYPE_CHARGED
                set K7=K4
            endif
        endif
        if(bj_stockAllowedArtifact[K4])then
            set K8=K8+1
            if(GetRandomInt(1,K8)==1)then
                set K6=ITEM_TYPE_ARTIFACT
                set K7=K4
            endif
        endif
        set K4=K4+1
        exitwhen K4>10
    endloop
    if(K8==0)then
        set K6=null
        return
    endif
    call K2(K6,K7)
    set K6=null
endfunction

function K9 takes nothing returns nothing
    call K5()
    call TimerStart(bj_stockUpdateTimer,bj_STOCK_RESTOCK_INTERVAL,true,function K5)
endfunction

function la takes unit lA,integer lB returns item
    local item lc
    if(lB==-1)then
        return null
    endif
    set lc=CreateItem(lB,GetUnitX(lA)+GetRandomReal(-32,32),GetUnitY(lA)+GetRandomReal(-32,32))
    call SetItemDropID(lc,GetUnitTypeId(lA))
    call UpdateStockAvailability(lc)
    set udg_handle01=lc
    set lc=null
    return udg_handle01
endfunction

function lC takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('cnhn','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lf takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('wneu','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lF takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('tmmt','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lg takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I006','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lG takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('gemt','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lh takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I02G','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lH takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I007','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function li takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I00A','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lI takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I009','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lj takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I02I','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lJ takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I00B','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lk takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I005','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lK takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('I00C','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function ll takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('gfor','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lL takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('gomn','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lm takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('arsc','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lM takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('arsc','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function ln takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('arsc','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lN takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('gomn','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lo takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('guvi','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lO takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('guvi','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lp takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('gsou','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lP takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('dtsb','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lq takes nothing returns nothing
    local widget ld=null
    local unit lD=null
    local integer le=0
    local boolean lE=true
    set ld=bj_lastDyingWidget
    if(ld==null)then
        set lD=GetTriggerUnit()
    endif
    if(lD!=null)then
        set lE=not IsUnitHidden(lD)
        if(lE and GetChangingUnit()!=null)then
            set lE=(GetChangingUnitPrevOwner()==Player(12))
        endif
    endif
    if(lE)then
        call RandomDistReset()
        call RandomDistAddItem('ccmd','d')
        set le=RandomDistChoose()
        if(lD!=null)then
            call la(lD,le)
        else
            call WidgetDropItem(ld,le)
        endif
    endif
    set bj_lastDyingWidget=null
    call DestroyTrigger(GetTriggeringTrigger())
endfunction

function lQ takes nothing returns nothing
    local player lr=Player(0)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5440.,-10560.,270.)
endfunction

function lt takes nothing returns nothing
    local player lr=Player(0)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit66=CreateUnit(lr,'e000',-14198.9,13873.7,130.489)
endfunction

function lT takes nothing returns nothing
    local player lr=Player(1)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5120.,-10560.,270.)
endfunction

function lu takes nothing returns nothing
    local player lr=Player(1)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit64=CreateUnit(lr,'e000',-14038.1,13868.1,89.96)
endfunction

function lU takes nothing returns nothing
    local player lr=Player(2)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5440.,-10816.,270.)
endfunction

function lv takes nothing returns nothing
    local player lr=Player(2)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit54=CreateUnit(lr,'e000',-14196.2,13718.7,339.521)
endfunction

function lV takes nothing returns nothing
    local player lr=Player(3)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5120.,-10816.,270.)
endfunction

function lw takes nothing returns nothing
    local player lr=Player(3)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit63=CreateUnit(lr,'e000',-14041.3,13702.8,118.21)
endfunction

function lW takes nothing returns nothing
    local player lr=Player(4)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5440.,-11072.,270.)
endfunction

function lx takes nothing returns nothing
    local player lr=Player(4)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit68=CreateUnit(lr,'e000',-14201.5,13516.7,27.25)
endfunction

function lX takes nothing returns nothing
    local player lr=Player(5)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5120.,-11072.,270.)
endfunction

function ly takes nothing returns nothing
    local player lr=Player(5)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit62=CreateUnit(lr,'e000',-14048.1,13516.2,248.56)
endfunction

function lY takes nothing returns nothing
    local player lr=Player(6)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5440.,-11328.,270.)
endfunction

function lz takes nothing returns nothing
    local player lr=Player(6)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit67=CreateUnit(lr,'e000',-14208.3,13343.5,186.29)
endfunction

function lZ takes nothing returns nothing
    local player lr=Player(7)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5120.,-11328.,270.)
endfunction

function l0 takes nothing returns nothing
    local player lr=Player(7)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit61=CreateUnit(lr,'e000',-14050.7,13338.5,238.95)
endfunction

function l1 takes nothing returns nothing
    local player lr=Player(8)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit135=CreateUnit(lr,'haro',14208.,-14336.,270.)
    set udg_unit55=CreateUnit(lr,'ndkw',14912.,-14848.,270.)
    set udg_unit86=CreateUnit(lr,'hgra',13824.,-2048.,270.)
    set lR=CreateUnit(lr,'nbwd',-8128.,2752.,270.)
    set lR=CreateUnit(lr,'n01N',14592.,14976.,270.)
    set udg_unit21=CreateUnit(lr,'n000',-11712.,2048.,270.)
    set udg_unit127=CreateUnit(lr,'n006',15104.,-9152.,270.)
    call SetUnitColor(udg_unit127,ConvertPlayerColor(10))
    set udg_unit76=CreateUnit(lr,'ndgt',12928.,-15680.,270.)
    set udg_unit77=CreateUnit(lr,'ndgt',13568.,-14976.,270.)
    set udg_unit78=CreateUnit(lr,'ndgt',13504.,-14400.,270.)
    set udg_unit79=CreateUnit(lr,'ndgt',13824.,-14080.,270.)
    set udg_unit80=CreateUnit(lr,'ndgt',14592.,-14080.,270.)
    set udg_unit81=CreateUnit(lr,'ndgt',15104.,-14080.,270.)
    set udg_unit82=CreateUnit(lr,'ndgt',15552.,-14080.,270.)
    set udg_unit56=CreateUnit(lr,'nhcn',-14784.,576.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit56,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit56,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lC)
    set lR=CreateUnit(lr,'nwgt',-12480.,14784.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect32),GetRectCenterY(udg_rect32))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(6))
    set lR=CreateUnit(lr,'nwgt',-11840.,14784.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect30),GetRectCenterY(udg_rect30))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(8))
    set lR=CreateUnit(lr,'nwgt',-11840.,13952.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect29),GetRectCenterY(udg_rect29))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(3))
    set lR=CreateUnit(lr,'nwgt',-11840.,13056.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect31),GetRectCenterY(udg_rect31))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(11))
    set lR=CreateUnit(lr,'nwgt',-12480.,13056.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect27),GetRectCenterY(udg_rect27))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(1))
    set lR=CreateUnit(lr,'nwgt',-12480.,13952.,270.)
    call WaygateSetDestination(lR,GetRectCenterX(udg_rect26),GetRectCenterY(udg_rect26))
    call WaygateActivate(lR,true)
    call SetUnitColor(lR,ConvertPlayerColor(5))
    set udg_unit121=CreateUnit(lr,'e007',3776.,-14656.,270.)
    set lR=CreateUnit(lr,'ncp3',-1408.,4288.,270.)
    set lR=CreateUnit(lr,'ncop',-1408.,4864.,270.)
    set lR=CreateUnit(lr,'ncop',-896.,4672.,270.)
    set lR=CreateUnit(lr,'ncop',-960.,3840.,270.)
    set lR=CreateUnit(lr,'ncop',-1856.,3840.,270.)
    set lR=CreateUnit(lr,'ncop',-1920.,4672.,270.)
    set udg_unit130=CreateUnit(lr,'n00D',3744.,14432.,270.)
    call SetUnitColor(udg_unit130,ConvertPlayerColor(10))
    set udg_unit110=CreateUnit(lr,'h00O',-5248.,13824.,270.)
    set lR=CreateUnit(lr,'n003',-2048.,4288.,270.)
    set lR=CreateUnit(lr,'n004',2240.,-10368.,270.)
endfunction

function l2 takes nothing returns nothing
    local player lr=Player(8)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit27=CreateUnit(lr,'Uear',-5238.1,13498.8,277.11)
    call SetHeroLevel(udg_unit27,20,false)
    call SetHeroStr(udg_unit27,150,true)
    call SetHeroAgi(udg_unit27,150,true)
    call SetHeroInt(udg_unit27,150,true)
    call SetUnitState(udg_unit27,UNIT_STATE_MANA,765)
    call SetUnitAcquireRange(udg_unit27,200.)
    call SelectHeroSkill(udg_unit27,'AUdc')
    call SelectHeroSkill(udg_unit27,'AUdc')
    call SelectHeroSkill(udg_unit27,'AUdc')
    call SelectHeroSkill(udg_unit27,'AUdc')
    call SelectHeroSkill(udg_unit27,'AUdp')
    call SelectHeroSkill(udg_unit27,'AUdp')
    call SelectHeroSkill(udg_unit27,'AUdp')
    call SelectHeroSkill(udg_unit27,'AUdp')
    call SelectHeroSkill(udg_unit27,'AUau')
    call SelectHeroSkill(udg_unit27,'AUau')
    call SelectHeroSkill(udg_unit27,'AUau')
    call SelectHeroSkill(udg_unit27,'AUau')
    call SelectHeroSkill(udg_unit27,'AUan')
    call SelectHeroSkill(udg_unit27,'A022')
    call IssueImmediateOrder(udg_unit27,"")
    set udg_unit28=CreateUnit(lr,'Uanb',3091.9,14541.2,272.54)
    call SetHeroLevel(udg_unit28,20,false)
    call SelectHeroSkill(udg_unit28,'AUim')
    call SelectHeroSkill(udg_unit28,'AUim')
    call SelectHeroSkill(udg_unit28,'AUim')
    call SelectHeroSkill(udg_unit28,'AUim')
    call SelectHeroSkill(udg_unit28,'AUts')
    call SelectHeroSkill(udg_unit28,'AUts')
    call SelectHeroSkill(udg_unit28,'AUts')
    call SelectHeroSkill(udg_unit28,'AUts')
    call SelectHeroSkill(udg_unit28,'AUcb')
    call SelectHeroSkill(udg_unit28,'AUcb')
    call SelectHeroSkill(udg_unit28,'AUcb')
    call SelectHeroSkill(udg_unit28,'AUcb')
    call IssueImmediateOrder(udg_unit28,"Carrionscarabson")
    call SelectHeroSkill(udg_unit28,'AUls')
    call SelectHeroSkill(udg_unit28,'AUls')
    call SelectHeroSkill(udg_unit28,'AUls')
    set udg_unit20=CreateUnit(lr,'Usyl',7347.,4736.1,246.362)
    call SetHeroLevel(udg_unit20,20,false)
    call SetUnitState(udg_unit20,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit20,'ANsi')
    call SelectHeroSkill(udg_unit20,'ANsi')
    call SelectHeroSkill(udg_unit20,'ANsi')
    call SelectHeroSkill(udg_unit20,'ANba')
    call SelectHeroSkill(udg_unit20,'ANba')
    call SelectHeroSkill(udg_unit20,'ANba')
    call IssueImmediateOrderById(udg_unit20,852579)
    call SelectHeroSkill(udg_unit20,'ANdr')
    call SelectHeroSkill(udg_unit20,'ANdr')
    call SelectHeroSkill(udg_unit20,'ANdr')
    call SelectHeroSkill(udg_unit20,'ANch')
    set udg_unit22=CreateUnit(lr,'Hvsh',3143.3,-14519.5,286.51)
    call SetHeroLevel(udg_unit22,20,false)
    call SetUnitState(udg_unit22,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit22,'ANfl')
    call SelectHeroSkill(udg_unit22,'ANfl')
    call SelectHeroSkill(udg_unit22,'ANfl')
    call SelectHeroSkill(udg_unit22,'ANfl')
    call SelectHeroSkill(udg_unit22,'ANfa')
    call SelectHeroSkill(udg_unit22,'ANfa')
    call SelectHeroSkill(udg_unit22,'ANfa')
    call SelectHeroSkill(udg_unit22,'ANfa')
    call SelectHeroSkill(udg_unit22,'ANms')
    call SelectHeroSkill(udg_unit22,'ANms')
    call SelectHeroSkill(udg_unit22,'ANms')
    call SelectHeroSkill(udg_unit22,'ANms')
    call IssueImmediateOrderById(udg_unit22,852590)
    call SelectHeroSkill(udg_unit22,'ANto')
    call SelectHeroSkill(udg_unit22,'ANto')
    call SelectHeroSkill(udg_unit22,'ANto')
    set udg_unit23=CreateUnit(lr,'Eevi',3621.,-14144.8,285.33)
    call SetHeroLevel(udg_unit23,20,false)
    call SetUnitState(udg_unit23,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit23,'AEmb')
    call SelectHeroSkill(udg_unit23,'AEmb')
    call SelectHeroSkill(udg_unit23,'AEmb')
    call SelectHeroSkill(udg_unit23,'AEmb')
    call SelectHeroSkill(udg_unit23,'AEim')
    call SelectHeroSkill(udg_unit23,'AEim')
    call SelectHeroSkill(udg_unit23,'AEim')
    call SelectHeroSkill(udg_unit23,'AEim')
    call SelectHeroSkill(udg_unit23,'AEev')
    call SelectHeroSkill(udg_unit23,'AEev')
    call SelectHeroSkill(udg_unit23,'AEev')
    call SelectHeroSkill(udg_unit23,'AEev')
    call SelectHeroSkill(udg_unit23,'AEvi')
    call SelectHeroSkill(udg_unit23,'ANfl')
    call SelectHeroSkill(udg_unit23,'ANfl')
    call SelectHeroSkill(udg_unit23,'ANfl')
    call SelectHeroSkill(udg_unit23,'ANfl')
    call UnitAddItemToSlotById(udg_unit23,'gldo',0)
    set udg_unit24=CreateUnit(lr,'Othr',-6978.5,-7512.4,261.13)
    call SetHeroLevel(udg_unit24,20,false)
    call SetUnitState(udg_unit24,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit24,'AOcl')
    call SelectHeroSkill(udg_unit24,'AOcl')
    call SelectHeroSkill(udg_unit24,'AOcl')
    call SelectHeroSkill(udg_unit24,'AOcl')
    call SelectHeroSkill(udg_unit24,'AOfs')
    call SelectHeroSkill(udg_unit24,'AOfs')
    call SelectHeroSkill(udg_unit24,'AOfs')
    call SelectHeroSkill(udg_unit24,'AOfs')
    call SelectHeroSkill(udg_unit24,'AOsf')
    call SelectHeroSkill(udg_unit24,'AOsf')
    call SelectHeroSkill(udg_unit24,'AOsf')
    call SelectHeroSkill(udg_unit24,'AOsf')
    call SelectHeroSkill(udg_unit24,'AOeq')
    call SelectHeroSkill(udg_unit24,'AOeq')
    call SelectHeroSkill(udg_unit24,'AOeq')
    set udg_unit53=CreateUnit(lr,'Ocbh',-14451.7,-10487.5,298.13)
    call SetHeroLevel(udg_unit53,20,false)
    call SetUnitState(udg_unit53,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit53,'AOsh')
    call SelectHeroSkill(udg_unit53,'AOsh')
    call SelectHeroSkill(udg_unit53,'AOsh')
    call SelectHeroSkill(udg_unit53,'AOsh')
    call SelectHeroSkill(udg_unit53,'AOws')
    call SelectHeroSkill(udg_unit53,'AOws')
    call SelectHeroSkill(udg_unit53,'AOws')
    call SelectHeroSkill(udg_unit53,'AOws')
    call SelectHeroSkill(udg_unit53,'AOae')
    call SelectHeroSkill(udg_unit53,'AOae')
    call SelectHeroSkill(udg_unit53,'AOae')
    call SelectHeroSkill(udg_unit53,'AOae')
    call SelectHeroSkill(udg_unit53,'AOre')
    call SelectHeroSkill(udg_unit53,'AOre')
    call SelectHeroSkill(udg_unit53,'AOre')
    set udg_unit26=CreateUnit(lr,'Hjai',-4581.7,-10592.1,288.794)
    call SetHeroLevel(udg_unit26,20,false)
    call SelectHeroSkill(udg_unit26,'AHbz')
    call SelectHeroSkill(udg_unit26,'AHbz')
    call SelectHeroSkill(udg_unit26,'AHbz')
    call SelectHeroSkill(udg_unit26,'AHbz')
    call SelectHeroSkill(udg_unit26,'AHwe')
    call SelectHeroSkill(udg_unit26,'AHwe')
    call SelectHeroSkill(udg_unit26,'AHwe')
    call SelectHeroSkill(udg_unit26,'AHwe')
    call SelectHeroSkill(udg_unit26,'AHab')
    call SelectHeroSkill(udg_unit26,'AHab')
    call SelectHeroSkill(udg_unit26,'AHab')
    call SelectHeroSkill(udg_unit26,'AHab')
    call SelectHeroSkill(udg_unit26,'AHmt')
    call SelectHeroSkill(udg_unit26,'AHmt')
    call SelectHeroSkill(udg_unit26,'AHmt')
    set udg_unit18=CreateUnit(lr,'Emfr',-11874.7,1199.5,297.09)
    call SetHeroLevel(udg_unit18,20,false)
    call SelectHeroSkill(udg_unit18,'AEer')
    call SelectHeroSkill(udg_unit18,'AEer')
    call SelectHeroSkill(udg_unit18,'AEer')
    call SelectHeroSkill(udg_unit18,'AEer')
    call SelectHeroSkill(udg_unit18,'AEfn')
    call SelectHeroSkill(udg_unit18,'AEfn')
    call SelectHeroSkill(udg_unit18,'AEfn')
    call SelectHeroSkill(udg_unit18,'AEfn')
    call SelectHeroSkill(udg_unit18,'AEah')
    call SelectHeroSkill(udg_unit18,'AEah')
    call SelectHeroSkill(udg_unit18,'AEah')
    call SelectHeroSkill(udg_unit18,'AEah')
    call SelectHeroSkill(udg_unit18,'AEtq')
    call SelectHeroSkill(udg_unit18,'AEtq')
    call SelectHeroSkill(udg_unit18,'AEtq')
    set udg_unit17=CreateUnit(lr,'Etyr',-13431.1,8998.7,258.15)
    call SetHeroLevel(udg_unit17,20,false)
    call SelectHeroSkill(udg_unit17,'AEst')
    call SelectHeroSkill(udg_unit17,'AEst')
    call SelectHeroSkill(udg_unit17,'AEst')
    call SelectHeroSkill(udg_unit17,'AEst')
    call SelectHeroSkill(udg_unit17,'AHfa')
    call SelectHeroSkill(udg_unit17,'AHfa')
    call SelectHeroSkill(udg_unit17,'AHfa')
    call SelectHeroSkill(udg_unit17,'AHfa')
    call IssueImmediateOrderById(udg_unit17,852174)
    call SelectHeroSkill(udg_unit17,'AEar')
    call SelectHeroSkill(udg_unit17,'AEar')
    call SelectHeroSkill(udg_unit17,'AEar')
    call SelectHeroSkill(udg_unit17,'AEar')
    call SelectHeroSkill(udg_unit17,'AEsf')
    call SelectHeroSkill(udg_unit17,'AEsf')
    call SelectHeroSkill(udg_unit17,'AEsf')
    set udg_unit16=CreateUnit(lr,'Uktl',15217.6,10379.2,225.75)
    call SetHeroLevel(udg_unit16,20,false)
    call SetUnitState(udg_unit16,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit16,'AUfn')
    call SelectHeroSkill(udg_unit16,'AUfn')
    call SelectHeroSkill(udg_unit16,'AUfn')
    call SelectHeroSkill(udg_unit16,'AUfn')
    call SelectHeroSkill(udg_unit16,'AUfu')
    call SelectHeroSkill(udg_unit16,'AUfu')
    call SelectHeroSkill(udg_unit16,'AUfu')
    call SelectHeroSkill(udg_unit16,'AUfu')
    call IssueImmediateOrderById(udg_unit16,852458)
    call SelectHeroSkill(udg_unit16,'AUdr')
    call SelectHeroSkill(udg_unit16,'AUdr')
    call SelectHeroSkill(udg_unit16,'AUdr')
    call SelectHeroSkill(udg_unit16,'AUdr')
    call SelectHeroSkill(udg_unit16,'AUdd')
    call SelectHeroSkill(udg_unit16,'AUdd')
    call SelectHeroSkill(udg_unit16,'AUdd')
    set udg_unit25=CreateUnit(lr,'Hkal',3840.4,-14442.,222.66)
    call SetHeroLevel(udg_unit25,20,false)
    call SetUnitState(udg_unit25,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit25,'AHfs')
    call SelectHeroSkill(udg_unit25,'AHfs')
    call SelectHeroSkill(udg_unit25,'AHfs')
    call SelectHeroSkill(udg_unit25,'AHfs')
    call SelectHeroSkill(udg_unit25,'AHbn')
    call SelectHeroSkill(udg_unit25,'AHbn')
    call SelectHeroSkill(udg_unit25,'AHbn')
    call SelectHeroSkill(udg_unit25,'AHbn')
    call SelectHeroSkill(udg_unit25,'AHdr')
    call SelectHeroSkill(udg_unit25,'AHdr')
    call SelectHeroSkill(udg_unit25,'AHdr')
    call SelectHeroSkill(udg_unit25,'AHdr')
    call SelectHeroSkill(udg_unit25,'AHpx')
    call SelectHeroSkill(udg_unit25,'AHpx')
    call SelectHeroSkill(udg_unit25,'AHpx')
    set udg_unit41=CreateUnit(lr,'Hmkg',-13039.2,12226.5,186.44)
    call SetHeroLevel(udg_unit41,20,false)
    call SetUnitState(udg_unit41,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit41,'AHtb')
    call SelectHeroSkill(udg_unit41,'AHtb')
    call SelectHeroSkill(udg_unit41,'AHtb')
    call SelectHeroSkill(udg_unit41,'AHtb')
    call SelectHeroSkill(udg_unit41,'A021')
    call IssueImmediateOrder(udg_unit41,"")
    call SelectHeroSkill(udg_unit41,'AHtc')
    call SelectHeroSkill(udg_unit41,'AHtc')
    call SelectHeroSkill(udg_unit41,'AHtc')
    call SelectHeroSkill(udg_unit41,'AHtc')
    call SelectHeroSkill(udg_unit41,'AHbh')
    call SelectHeroSkill(udg_unit41,'AHbh')
    call SelectHeroSkill(udg_unit41,'AHbh')
    call SelectHeroSkill(udg_unit41,'AHbh')
    call SelectHeroSkill(udg_unit41,'AHav')
    call SelectHeroSkill(udg_unit41,'AHav')
    call SelectHeroSkill(udg_unit41,'AHav')
    set udg_unit40=CreateUnit(lr,'Hamg',-13018.2,13020.5,178.41)
    call SetHeroLevel(udg_unit40,20,false)
    call SetUnitState(udg_unit40,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit40,'AHbz')
    call SelectHeroSkill(udg_unit40,'AHbz')
    call SelectHeroSkill(udg_unit40,'AHbz')
    call SelectHeroSkill(udg_unit40,'AHbz')
    call SelectHeroSkill(udg_unit40,'A021')
    call IssueImmediateOrder(udg_unit40,"")
    call SelectHeroSkill(udg_unit40,'AHwe')
    call SelectHeroSkill(udg_unit40,'AHwe')
    call SelectHeroSkill(udg_unit40,'AHwe')
    call SelectHeroSkill(udg_unit40,'AHwe')
    call SelectHeroSkill(udg_unit40,'AHab')
    call SelectHeroSkill(udg_unit40,'AHab')
    call SelectHeroSkill(udg_unit40,'AHab')
    call SelectHeroSkill(udg_unit40,'AHab')
    call SelectHeroSkill(udg_unit40,'AHmt')
    call SelectHeroSkill(udg_unit40,'AHmt')
    call SelectHeroSkill(udg_unit40,'AHmt')
    set udg_unit39=CreateUnit(lr,'Hpal',-13035.1,12735.3,178.86)
    call SetHeroLevel(udg_unit39,20,false)
    call SetUnitState(udg_unit39,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit39,'AHhb')
    call SelectHeroSkill(udg_unit39,'AHhb')
    call SelectHeroSkill(udg_unit39,'AHhb')
    call SelectHeroSkill(udg_unit39,'AHhb')
    call SelectHeroSkill(udg_unit39,'A021')
    call IssueImmediateOrder(udg_unit39,"")
    call SelectHeroSkill(udg_unit39,'AHds')
    call SelectHeroSkill(udg_unit39,'AHds')
    call SelectHeroSkill(udg_unit39,'AHds')
    call SelectHeroSkill(udg_unit39,'AHds')
    call IssueImmediateOrderById(udg_unit39,852090)
    call SelectHeroSkill(udg_unit39,'AHad')
    call SelectHeroSkill(udg_unit39,'AHad')
    call SelectHeroSkill(udg_unit39,'AHad')
    call SelectHeroSkill(udg_unit39,'AHad')
    call SelectHeroSkill(udg_unit39,'AHre')
    call SelectHeroSkill(udg_unit39,'AHre')
    call SelectHeroSkill(udg_unit39,'AHre')
    set udg_unit32=CreateUnit(lr,'Otch',-15401.,13427.,355.84)
    call SetHeroLevel(udg_unit32,20,false)
    call SetUnitState(udg_unit32,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit32,'AOs2')
    call SelectHeroSkill(udg_unit32,'AOs2')
    call SelectHeroSkill(udg_unit32,'AOs2')
    call SelectHeroSkill(udg_unit32,'AOs2')
    call SelectHeroSkill(udg_unit32,'AOws')
    call SelectHeroSkill(udg_unit32,'AOws')
    call SelectHeroSkill(udg_unit32,'AOws')
    call SelectHeroSkill(udg_unit32,'AOr2')
    call SelectHeroSkill(udg_unit32,'AOr2')
    call SelectHeroSkill(udg_unit32,'AOr2')
    call SelectHeroSkill(udg_unit32,'AOr2')
    call SelectHeroSkill(udg_unit32,'AOre')
    call SelectHeroSkill(udg_unit32,'AOre')
    call SelectHeroSkill(udg_unit32,'AOre')
    call SelectHeroSkill(udg_unit32,'A01P')
    call IssueImmediateOrder(udg_unit32,"")
    set udg_unit33=CreateUnit(lr,'Obla',-15431.3,12798.6,1.07)
    call SetHeroLevel(udg_unit33,20,false)
    call SetUnitState(udg_unit33,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit33,'AOwk')
    call SelectHeroSkill(udg_unit33,'AOwk')
    call SelectHeroSkill(udg_unit33,'AOwk')
    call SelectHeroSkill(udg_unit33,'AOwk')
    call SelectHeroSkill(udg_unit33,'AOmi')
    call SelectHeroSkill(udg_unit33,'AOmi')
    call SelectHeroSkill(udg_unit33,'AOmi')
    call SelectHeroSkill(udg_unit33,'AOmi')
    call SelectHeroSkill(udg_unit33,'AOcr')
    call SelectHeroSkill(udg_unit33,'AOcr')
    call SelectHeroSkill(udg_unit33,'AOcr')
    call SelectHeroSkill(udg_unit33,'AOcr')
    call SelectHeroSkill(udg_unit33,'AOww')
    call SelectHeroSkill(udg_unit33,'AOww')
    call SelectHeroSkill(udg_unit33,'AOww')
    call SelectHeroSkill(udg_unit33,'A01P')
    call IssueImmediateOrder(udg_unit33,"")
    set udg_unit34=CreateUnit(lr,'Ofar',-15430.4,13112.3,354.27)
    call SetHeroLevel(udg_unit34,20,false)
    call SetUnitState(udg_unit34,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit34,'AOcl')
    call SelectHeroSkill(udg_unit34,'AOcl')
    call SelectHeroSkill(udg_unit34,'AOcl')
    call SelectHeroSkill(udg_unit34,'AOcl')
    call SelectHeroSkill(udg_unit34,'AOfs')
    call SelectHeroSkill(udg_unit34,'AOfs')
    call SelectHeroSkill(udg_unit34,'AOfs')
    call SelectHeroSkill(udg_unit34,'AOfs')
    call SelectHeroSkill(udg_unit34,'AOsf')
    call SelectHeroSkill(udg_unit34,'AOsf')
    call SelectHeroSkill(udg_unit34,'AOsf')
    call SelectHeroSkill(udg_unit34,'AOsf')
    call SelectHeroSkill(udg_unit34,'AOeq')
    call SelectHeroSkill(udg_unit34,'AOeq')
    call SelectHeroSkill(udg_unit34,'AOeq')
    call SelectHeroSkill(udg_unit34,'A01P')
    call IssueImmediateOrder(udg_unit34,"")
    set udg_unit35=CreateUnit(lr,'Oshd',-15406.5,12471.9,3.85)
    call SetHeroLevel(udg_unit35,20,false)
    call SetUnitState(udg_unit35,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit35,'ANhw')
    call SelectHeroSkill(udg_unit35,'ANhw')
    call SelectHeroSkill(udg_unit35,'ANhw')
    call SelectHeroSkill(udg_unit35,'ANhw')
    call SelectHeroSkill(udg_unit35,'ANhx')
    call SelectHeroSkill(udg_unit35,'ANhx')
    call SelectHeroSkill(udg_unit35,'ANhx')
    call SelectHeroSkill(udg_unit35,'ANhx')
    call SelectHeroSkill(udg_unit35,'Arsw')
    call SelectHeroSkill(udg_unit35,'Arsw')
    call SelectHeroSkill(udg_unit35,'Arsw')
    call SelectHeroSkill(udg_unit35,'Arsw')
    call SelectHeroSkill(udg_unit35,'AOvd')
    call SelectHeroSkill(udg_unit35,'AOvd')
    call SelectHeroSkill(udg_unit35,'AOvd')
    call SelectHeroSkill(udg_unit35,'A01P')
    call IssueImmediateOrder(udg_unit35,"")
    set udg_unit36=CreateUnit(lr,'Ulic',-13623.2,14912.9,274.13)
    call SetHeroLevel(udg_unit36,20,false)
    call SetUnitState(udg_unit36,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit36,'AUfn')
    call SelectHeroSkill(udg_unit36,'AUfn')
    call SelectHeroSkill(udg_unit36,'AUfn')
    call SelectHeroSkill(udg_unit36,'AUfn')
    call SelectHeroSkill(udg_unit36,'A022')
    call IssueImmediateOrder(udg_unit36,"")
    call SelectHeroSkill(udg_unit36,'AUfu')
    call SelectHeroSkill(udg_unit36,'AUfu')
    call SelectHeroSkill(udg_unit36,'AUfu')
    call SelectHeroSkill(udg_unit36,'AUfu')
    call IssueImmediateOrderById(udg_unit36,852458)
    call SelectHeroSkill(udg_unit36,'AUdr')
    call SelectHeroSkill(udg_unit36,'AUdr')
    call SelectHeroSkill(udg_unit36,'AUdr')
    call SelectHeroSkill(udg_unit36,'AUdr')
    call SelectHeroSkill(udg_unit36,'AUdd')
    call SelectHeroSkill(udg_unit36,'AUdd')
    call SelectHeroSkill(udg_unit36,'AUdd')
    set udg_unit37=CreateUnit(lr,'Udea',-14090.,14928.4,271.16)
    call SetHeroLevel(udg_unit37,20,false)
    call SetUnitState(udg_unit37,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit37,'AUdc')
    call SelectHeroSkill(udg_unit37,'AUdc')
    call SelectHeroSkill(udg_unit37,'AUdc')
    call SelectHeroSkill(udg_unit37,'AUdc')
    call SelectHeroSkill(udg_unit37,'A022')
    call IssueImmediateOrder(udg_unit37,"")
    call SelectHeroSkill(udg_unit37,'AUdp')
    call SelectHeroSkill(udg_unit37,'AUdp')
    call SelectHeroSkill(udg_unit37,'AUdp')
    call SelectHeroSkill(udg_unit37,'AUdp')
    call SelectHeroSkill(udg_unit37,'AUau')
    call SelectHeroSkill(udg_unit37,'AUau')
    call SelectHeroSkill(udg_unit37,'AUau')
    call SelectHeroSkill(udg_unit37,'AUau')
    call SelectHeroSkill(udg_unit37,'AUan')
    call SelectHeroSkill(udg_unit37,'AUan')
    call SelectHeroSkill(udg_unit37,'AUan')
    set udg_unit38=CreateUnit(lr,'Ucrl',-13123.,14963.9,266.21)
    call SetHeroLevel(udg_unit38,20,false)
    call SetUnitState(udg_unit38,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit38,'AUim')
    call SelectHeroSkill(udg_unit38,'AUim')
    call SelectHeroSkill(udg_unit38,'AUim')
    call SelectHeroSkill(udg_unit38,'AUim')
    call SelectHeroSkill(udg_unit38,'A022')
    call IssueImmediateOrder(udg_unit38,"")
    call SelectHeroSkill(udg_unit38,'AUts')
    call SelectHeroSkill(udg_unit38,'AUts')
    call SelectHeroSkill(udg_unit38,'AUts')
    call SelectHeroSkill(udg_unit38,'AUts')
    call SelectHeroSkill(udg_unit38,'AUcb')
    call SelectHeroSkill(udg_unit38,'AUcb')
    call SelectHeroSkill(udg_unit38,'AUcb')
    call SelectHeroSkill(udg_unit38,'AUcb')
    call IssueImmediateOrder(udg_unit38,"Carrionscarabson")
    call SelectHeroSkill(udg_unit38,'AUls')
    call SelectHeroSkill(udg_unit38,'AUls')
    call SelectHeroSkill(udg_unit38,'AUls')
    set udg_unit45=CreateUnit(lr,'Ekee',-15419.3,14373.1,.06)
    call SetHeroLevel(udg_unit45,20,false)
    call SetUnitState(udg_unit45,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit45,'AEer')
    call SelectHeroSkill(udg_unit45,'AEer')
    call SelectHeroSkill(udg_unit45,'AEer')
    call SelectHeroSkill(udg_unit45,'AEer')
    call SelectHeroSkill(udg_unit45,'A023')
    call IssueImmediateOrder(udg_unit45,"")
    call SelectHeroSkill(udg_unit45,'AEfn')
    call SelectHeroSkill(udg_unit45,'AEfn')
    call SelectHeroSkill(udg_unit45,'AEfn')
    call SelectHeroSkill(udg_unit45,'AEfn')
    call SelectHeroSkill(udg_unit45,'AEah')
    call SelectHeroSkill(udg_unit45,'AEah')
    call SelectHeroSkill(udg_unit45,'AEah')
    call SelectHeroSkill(udg_unit45,'AEah')
    call SelectHeroSkill(udg_unit45,'AEtq')
    call SelectHeroSkill(udg_unit45,'AEtq')
    call SelectHeroSkill(udg_unit45,'AEtq')
    set udg_unit46=CreateUnit(lr,'Ewar',-15439.9,14019.9,358.02)
    call SetHeroLevel(udg_unit46,20,false)
    call SetUnitState(udg_unit46,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit46,'AEfk')
    call SelectHeroSkill(udg_unit46,'AEfk')
    call SelectHeroSkill(udg_unit46,'AEfk')
    call SelectHeroSkill(udg_unit46,'AEfk')
    call SelectHeroSkill(udg_unit46,'A023')
    call IssueImmediateOrder(udg_unit46,"")
    call SelectHeroSkill(udg_unit46,'AEbl')
    call SelectHeroSkill(udg_unit46,'AEbl')
    call SelectHeroSkill(udg_unit46,'AEbl')
    call SelectHeroSkill(udg_unit46,'AEbl')
    call SelectHeroSkill(udg_unit46,'AEsh')
    call SelectHeroSkill(udg_unit46,'AEsh')
    call SelectHeroSkill(udg_unit46,'AEsh')
    call SelectHeroSkill(udg_unit46,'AEsh')
    call SelectHeroSkill(udg_unit46,'AEsv')
    call SelectHeroSkill(udg_unit46,'AEsv')
    call SelectHeroSkill(udg_unit46,'AEsv')
    set udg_unit44=CreateUnit(lr,'Emoo',-15186.5,14890.,276.06)
    call SetHeroLevel(udg_unit44,20,false)
    call SetUnitState(udg_unit44,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit44,'A023')
    call IssueImmediateOrder(udg_unit44,"")
    call SelectHeroSkill(udg_unit44,'AHfa')
    call SelectHeroSkill(udg_unit44,'AHfa')
    call SelectHeroSkill(udg_unit44,'AHfa')
    call SelectHeroSkill(udg_unit44,'AHfa')
    call IssueImmediateOrderById(udg_unit44,852174)
    call SelectHeroSkill(udg_unit44,'AEar')
    call SelectHeroSkill(udg_unit44,'AEar')
    call SelectHeroSkill(udg_unit44,'AEar')
    call SelectHeroSkill(udg_unit44,'AEar')
    call SelectHeroSkill(udg_unit44,'AEsf')
    call SelectHeroSkill(udg_unit44,'AEsf')
    call SelectHeroSkill(udg_unit44,'AEsf')
    set udg_unit42=CreateUnit(lr,'Nbrn',-13037.6,13878.6,185.41)
    call SetHeroLevel(udg_unit42,20,false)
    call SetUnitState(udg_unit42,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit42,'ANsi')
    call SelectHeroSkill(udg_unit42,'ANsi')
    call SelectHeroSkill(udg_unit42,'ANsi')
    call SelectHeroSkill(udg_unit42,'ANsi')
    call SelectHeroSkill(udg_unit42,'A022')
    call IssueImmediateOrder(udg_unit42,"")
    call SelectHeroSkill(udg_unit42,'ANba')
    call SelectHeroSkill(udg_unit42,'ANba')
    call SelectHeroSkill(udg_unit42,'ANba')
    call SelectHeroSkill(udg_unit42,'ANba')
    call IssueImmediateOrderById(udg_unit42,852578)
    call SelectHeroSkill(udg_unit42,'ANdr')
    call SelectHeroSkill(udg_unit42,'ANdr')
    call SelectHeroSkill(udg_unit42,'ANdr')
    call SelectHeroSkill(udg_unit42,'ANdr')
    call SelectHeroSkill(udg_unit42,'ANch')
    call SelectHeroSkill(udg_unit42,'ANch')
    call SelectHeroSkill(udg_unit42,'ANch')
    set udg_unit48=CreateUnit(lr,'Nngs',-14010.9,12131.4,91.67)
    call SetHeroLevel(udg_unit48,20,false)
    call SetUnitState(udg_unit48,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit48,'ANfl')
    call SelectHeroSkill(udg_unit48,'ANfl')
    call SelectHeroSkill(udg_unit48,'ANfl')
    call SelectHeroSkill(udg_unit48,'ANfl')
    call SelectHeroSkill(udg_unit48,'ANfa')
    call SelectHeroSkill(udg_unit48,'ANfa')
    call SelectHeroSkill(udg_unit48,'ANfa')
    call SelectHeroSkill(udg_unit48,'ANfa')
    call SelectHeroSkill(udg_unit48,'ANms')
    call SelectHeroSkill(udg_unit48,'ANms')
    call SelectHeroSkill(udg_unit48,'ANms')
    call SelectHeroSkill(udg_unit48,'ANms')
    call IssueImmediateOrderById(udg_unit48,852589)
    call SelectHeroSkill(udg_unit48,'ANto')
    call SelectHeroSkill(udg_unit48,'ANto')
    call SelectHeroSkill(udg_unit48,'ANto')
    set udg_unit43=CreateUnit(lr,'Nbst',-14980.8,12180.7,90.14)
    call SetHeroLevel(udg_unit43,20,false)
    call SetUnitState(udg_unit43,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit43,'ANsg')
    call SelectHeroSkill(udg_unit43,'ANsg')
    call SelectHeroSkill(udg_unit43,'ANsg')
    call SelectHeroSkill(udg_unit43,'ANsg')
    call SelectHeroSkill(udg_unit43,'Arsq')
    call SelectHeroSkill(udg_unit43,'Arsq')
    call SelectHeroSkill(udg_unit43,'Arsq')
    call SelectHeroSkill(udg_unit43,'Arsq')
    call SelectHeroSkill(udg_unit43,'ANsw')
    call SelectHeroSkill(udg_unit43,'ANsw')
    call SelectHeroSkill(udg_unit43,'ANsw')
    call SelectHeroSkill(udg_unit43,'ANsw')
    call SelectHeroSkill(udg_unit43,'ANst')
    call SelectHeroSkill(udg_unit43,'ANst')
    call SelectHeroSkill(udg_unit43,'ANst')
    call SelectHeroSkill(udg_unit43,'A01P')
    call IssueImmediateOrder(udg_unit43,"")
    set udg_unit31=CreateUnit(lr,'Npbm',-14482.2,14922.4,258.14)
    call SetHeroLevel(udg_unit31,20,false)
    call SetUnitState(udg_unit31,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit31,'ANbf')
    call SelectHeroSkill(udg_unit31,'ANbf')
    call SelectHeroSkill(udg_unit31,'ANbf')
    call SelectHeroSkill(udg_unit31,'ANbf')
    call SelectHeroSkill(udg_unit31,'A023')
    call IssueImmediateOrder(udg_unit31,"")
    call SelectHeroSkill(udg_unit31,'ANdh')
    call SelectHeroSkill(udg_unit31,'ANdh')
    call SelectHeroSkill(udg_unit31,'ANdh')
    call SelectHeroSkill(udg_unit31,'ANdh')
    call SelectHeroSkill(udg_unit31,'ANdb')
    call SelectHeroSkill(udg_unit31,'ANdb')
    call SelectHeroSkill(udg_unit31,'ANdb')
    call SelectHeroSkill(udg_unit31,'ANdb')
    call SelectHeroSkill(udg_unit31,'Acef')
    call SelectHeroSkill(udg_unit31,'Acef')
    call SelectHeroSkill(udg_unit31,'Acef')
    set udg_unit49=CreateUnit(lr,'Edem',-14518.3,12127.,98.23)
    call SetHeroLevel(udg_unit49,20,false)
    call SetUnitState(udg_unit49,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit49,'AEmb')
    call SelectHeroSkill(udg_unit49,'AEmb')
    call SelectHeroSkill(udg_unit49,'AEmb')
    call SelectHeroSkill(udg_unit49,'AEmb')
    call SelectHeroSkill(udg_unit49,'A024')
    call IssueImmediateOrder(udg_unit49,"")
    call SelectHeroSkill(udg_unit49,'AEim')
    call SelectHeroSkill(udg_unit49,'AEim')
    call SelectHeroSkill(udg_unit49,'AEim')
    call SelectHeroSkill(udg_unit49,'AEim')
    call IssueImmediateOrderById(udg_unit49,852177)
    call SelectHeroSkill(udg_unit49,'AEev')
    call SelectHeroSkill(udg_unit49,'AEev')
    call SelectHeroSkill(udg_unit49,'AEev')
    call SelectHeroSkill(udg_unit49,'AEev')
    call SelectHeroSkill(udg_unit49,'AEme')
    call SelectHeroSkill(udg_unit49,'AEme')
    call SelectHeroSkill(udg_unit49,'AEme')
    set udg_unit47=CreateUnit(lr,'Hblm',-13768.2,12136.9,94.39)
    call SetHeroLevel(udg_unit47,20,false)
    call SetUnitState(udg_unit47,UNIT_STATE_MANA,0)
    call IssueImmediateOrder(udg_unit47,"")
    call SelectHeroSkill(udg_unit47,'AHfs')
    call SelectHeroSkill(udg_unit47,'AHfs')
    call SelectHeroSkill(udg_unit47,'AHfs')
    call SelectHeroSkill(udg_unit47,'AHfs')
    call SelectHeroSkill(udg_unit47,'A024')
    call IssueImmediateOrder(udg_unit47,"")
    call SelectHeroSkill(udg_unit47,'AHbn')
    call SelectHeroSkill(udg_unit47,'AHbn')
    call SelectHeroSkill(udg_unit47,'AHbn')
    call SelectHeroSkill(udg_unit47,'AHbn')
    call SelectHeroSkill(udg_unit47,'AHdr')
    call SelectHeroSkill(udg_unit47,'AHdr')
    call SelectHeroSkill(udg_unit47,'AHdr')
    call SelectHeroSkill(udg_unit47,'AHdr')
    call SelectHeroSkill(udg_unit47,'AHpx')
    call SelectHeroSkill(udg_unit47,'AHpx')
    call SelectHeroSkill(udg_unit47,'AHpx')
    set udg_unit30=CreateUnit(lr,'Nplh',-13056.4,14224.2,184.76)
    call SetHeroLevel(udg_unit30,20,false)
    call SetUnitState(udg_unit30,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit30,'ANrf')
    call SelectHeroSkill(udg_unit30,'ANrf')
    call SelectHeroSkill(udg_unit30,'ANrf')
    call SelectHeroSkill(udg_unit30,'ANrf')
    call SelectHeroSkill(udg_unit30,'A024')
    call IssueImmediateOrder(udg_unit30,"")
    call SelectHeroSkill(udg_unit30,'ANht')
    call SelectHeroSkill(udg_unit30,'ANht')
    call SelectHeroSkill(udg_unit30,'ANht')
    call SelectHeroSkill(udg_unit30,'ANht')
    call SelectHeroSkill(udg_unit30,'ANca')
    call SelectHeroSkill(udg_unit30,'ANca')
    call SelectHeroSkill(udg_unit30,'ANca')
    call SelectHeroSkill(udg_unit30,'ANca')
    call SelectHeroSkill(udg_unit30,'ANdo')
    call SelectHeroSkill(udg_unit30,'ANdo')
    call SelectHeroSkill(udg_unit30,'ANdo')
    set udg_unit29=CreateUnit(lr,'Udre',-13031.,13550.7,199.4)
    call SetHeroLevel(udg_unit29,20,false)
    call SetUnitState(udg_unit29,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit29,'AUcs')
    call SelectHeroSkill(udg_unit29,'AUcs')
    call SelectHeroSkill(udg_unit29,'AUcs')
    call SelectHeroSkill(udg_unit29,'AUcs')
    call SelectHeroSkill(udg_unit29,'A024')
    call IssueImmediateOrder(udg_unit29,"")
    call SelectHeroSkill(udg_unit29,'AUsl')
    call SelectHeroSkill(udg_unit29,'AUsl')
    call SelectHeroSkill(udg_unit29,'AUsl')
    call SelectHeroSkill(udg_unit29,'AUsl')
    call SelectHeroSkill(udg_unit29,'AUav')
    call SelectHeroSkill(udg_unit29,'AUav')
    call SelectHeroSkill(udg_unit29,'AUav')
    call SelectHeroSkill(udg_unit29,'AUav')
    call SelectHeroSkill(udg_unit29,'AUin')
    call SelectHeroSkill(udg_unit29,'AUin')
    call SelectHeroSkill(udg_unit29,'AUin')
    set udg_unit84=CreateUnit(lr,'nmsh',-9566.8,-12364.1,130.6)
    set udg_unit57=CreateUnit(lr,'Hamg',14131.6,-14670.,263.06)
    call SetHeroLevel(udg_unit57,20,false)
    call SetUnitState(udg_unit57,UNIT_STATE_MANA,1185)
    call SelectHeroSkill(udg_unit57,'AHbz')
    call SelectHeroSkill(udg_unit57,'AHbz')
    call SelectHeroSkill(udg_unit57,'AHbz')
    call SelectHeroSkill(udg_unit57,'AHbz')
    call SelectHeroSkill(udg_unit57,'AHwe')
    call SelectHeroSkill(udg_unit57,'AHwe')
    call SelectHeroSkill(udg_unit57,'AHwe')
    call SelectHeroSkill(udg_unit57,'AHwe')
    call SelectHeroSkill(udg_unit57,'AHab')
    call SelectHeroSkill(udg_unit57,'AHab')
    call SelectHeroSkill(udg_unit57,'AHab')
    call SelectHeroSkill(udg_unit57,'AHab')
    call SelectHeroSkill(udg_unit57,'AHmt')
    call SelectHeroSkill(udg_unit57,'AHmt')
    call SelectHeroSkill(udg_unit57,'AHmt')
    set udg_unit50=CreateUnit(lr,'Nklj',1910.5,-10377.,267.572)
    call SetHeroLevel(udg_unit50,20,false)
    call SetUnitAcquireRange(udg_unit50,200.)
    set udg_unit72=CreateUnit(lr,'hgry',13601.5,-1830.6,191.465)
    set udg_unit73=CreateUnit(lr,'hgry',13763.3,-2305.,256.418)
    set udg_unit65=CreateUnit(lr,'hgry',13786.3,-1345.1,91.622)
    set udg_unit58=CreateUnit(lr,'Hhkl',-3787.1,-9860.2,241.75)
    call SetHeroLevel(udg_unit58,20,false)
    call SelectHeroSkill(udg_unit58,'AHhb')
    call SelectHeroSkill(udg_unit58,'AHhb')
    call SelectHeroSkill(udg_unit58,'AHhb')
    call SelectHeroSkill(udg_unit58,'AHhb')
    call SelectHeroSkill(udg_unit58,'AHds')
    call SelectHeroSkill(udg_unit58,'AHds')
    call SelectHeroSkill(udg_unit58,'AHds')
    call SelectHeroSkill(udg_unit58,'AHds')
    call SelectHeroSkill(udg_unit58,'AHad')
    call SelectHeroSkill(udg_unit58,'AHad')
    call SelectHeroSkill(udg_unit58,'AHad')
    call SelectHeroSkill(udg_unit58,'AHad')
    call SelectHeroSkill(udg_unit58,'AHre')
    call SelectHeroSkill(udg_unit58,'AHre')
    call SelectHeroSkill(udg_unit58,'AHre')
    set udg_unit90=CreateUnit(lr,'Ekgg',-14790.2,778.6,269.24)
    call SetHeroLevel(udg_unit90,20,false)
    call SetUnitState(udg_unit90,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit90,'AEer')
    call SelectHeroSkill(udg_unit90,'AEer')
    call SelectHeroSkill(udg_unit90,'AEer')
    call SelectHeroSkill(udg_unit90,'AEer')
    call SelectHeroSkill(udg_unit90,'AEfn')
    call SelectHeroSkill(udg_unit90,'AEfn')
    call SelectHeroSkill(udg_unit90,'AEfn')
    call SelectHeroSkill(udg_unit90,'AEfn')
    call SelectHeroSkill(udg_unit90,'AEah')
    call SelectHeroSkill(udg_unit90,'AEah')
    call SelectHeroSkill(udg_unit90,'AEah')
    call SelectHeroSkill(udg_unit90,'AEah')
    call SelectHeroSkill(udg_unit90,'AEtq')
    call SelectHeroSkill(udg_unit90,'AEtq')
    call SelectHeroSkill(udg_unit90,'AEtq')
    set udg_unit91=CreateUnit(lr,'Ekgg',-14518.,605.6,186.48)
    call SetHeroLevel(udg_unit91,20,false)
    call SetUnitState(udg_unit91,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit91,'AEer')
    call SelectHeroSkill(udg_unit91,'AEer')
    call SelectHeroSkill(udg_unit91,'AEer')
    call SelectHeroSkill(udg_unit91,'AEer')
    call SelectHeroSkill(udg_unit91,'AEfn')
    call SelectHeroSkill(udg_unit91,'AEfn')
    call SelectHeroSkill(udg_unit91,'AEfn')
    call SelectHeroSkill(udg_unit91,'AEfn')
    call SelectHeroSkill(udg_unit91,'AEah')
    call SelectHeroSkill(udg_unit91,'AEah')
    call SelectHeroSkill(udg_unit91,'AEah')
    call SelectHeroSkill(udg_unit91,'AEah')
    call SelectHeroSkill(udg_unit91,'AEtq')
    call SelectHeroSkill(udg_unit91,'AEtq')
    call SelectHeroSkill(udg_unit91,'AEtq')
    set udg_unit87=CreateUnit(lr,'Ekgg',-15030.,605.6,352.49)
    call SetHeroLevel(udg_unit87,20,false)
    call SetUnitState(udg_unit87,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit87,'AEer')
    call SelectHeroSkill(udg_unit87,'AEer')
    call SelectHeroSkill(udg_unit87,'AEer')
    call SelectHeroSkill(udg_unit87,'AEer')
    call SelectHeroSkill(udg_unit87,'AEfn')
    call SelectHeroSkill(udg_unit87,'AEfn')
    call SelectHeroSkill(udg_unit87,'AEfn')
    call SelectHeroSkill(udg_unit87,'AEfn')
    call SelectHeroSkill(udg_unit87,'AEah')
    call SelectHeroSkill(udg_unit87,'AEah')
    call SelectHeroSkill(udg_unit87,'AEah')
    call SelectHeroSkill(udg_unit87,'AEah')
    call SelectHeroSkill(udg_unit87,'AEtq')
    call SelectHeroSkill(udg_unit87,'AEtq')
    call SelectHeroSkill(udg_unit87,'AEtq')
    set udg_unit71=CreateUnit(lr,'ubdd',-1238.1,14402.5,302.71)
    set udg_unit108=CreateUnit(lr,'h00P',6854.8,14837.4,257.39)
    set udg_unit19=CreateUnit(lr,'Nsjs',-14547.4,-10620.5,350.92)
    call SetHeroLevel(udg_unit19,20,false)
    call SetUnitState(udg_unit19,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit19,'ANcf')
    call SelectHeroSkill(udg_unit19,'ANcf')
    call SelectHeroSkill(udg_unit19,'ANcf')
    call SelectHeroSkill(udg_unit19,'ANcf')
    call SelectHeroSkill(udg_unit19,'Acdh')
    call SelectHeroSkill(udg_unit19,'Acdh')
    call SelectHeroSkill(udg_unit19,'Acdh')
    call SelectHeroSkill(udg_unit19,'Acdh')
    call SelectHeroSkill(udg_unit19,'Acdb')
    call SelectHeroSkill(udg_unit19,'Acdb')
    call SelectHeroSkill(udg_unit19,'Acdb')
    call SelectHeroSkill(udg_unit19,'Acdb')
    call SelectHeroSkill(udg_unit19,'Acef')
    call SelectHeroSkill(udg_unit19,'Acef')
    call SelectHeroSkill(udg_unit19,'Acef')
    set udg_unit52=CreateUnit(lr,'Orex',-9465.7,-11561.6,227.757)
    call SetHeroLevel(udg_unit52,20,false)
    call SetUnitState(udg_unit52,UNIT_STATE_MANA,0)
    call SelectHeroSkill(udg_unit52,'Arsg')
    call SelectHeroSkill(udg_unit52,'Arsg')
    call SelectHeroSkill(udg_unit52,'Arsg')
    call SelectHeroSkill(udg_unit52,'Arsg')
    call SelectHeroSkill(udg_unit52,'Arsq')
    call SelectHeroSkill(udg_unit52,'Arsq')
    call SelectHeroSkill(udg_unit52,'Arsq')
    call SelectHeroSkill(udg_unit52,'Arsq')
    call SelectHeroSkill(udg_unit52,'ANsb')
    call SelectHeroSkill(udg_unit52,'ANsb')
    call SelectHeroSkill(udg_unit52,'ANsb')
    call SelectHeroSkill(udg_unit52,'ANsb')
    call SelectHeroSkill(udg_unit52,'Arsp')
    call SelectHeroSkill(udg_unit52,'Arsp')
    call SelectHeroSkill(udg_unit52,'Aamk')
    call SelectHeroSkill(udg_unit52,'Aamk')
    call SelectHeroSkill(udg_unit52,'Aamk')
    call SelectHeroSkill(udg_unit52,'Aamk')
    set udg_unit92=CreateUnit(lr,'nsrw',-9671.6,-7779.2,232.607)
    set udg_unit89=CreateUnit(lr,'Nalc',-14813.7,14909.6,270.)
    call SetHeroLevel(udg_unit89,20,false)
    call SelectHeroSkill(udg_unit89,'ANhs')
    call SelectHeroSkill(udg_unit89,'ANhs')
    call SelectHeroSkill(udg_unit89,'ANhs')
    call SelectHeroSkill(udg_unit89,'ANhs')
    call SelectHeroSkill(udg_unit89,'A023')
    call IssueImmediateOrder(udg_unit89,"")
    call SelectHeroSkill(udg_unit89,'ANcr')
    call SelectHeroSkill(udg_unit89,'ANcr')
    call SelectHeroSkill(udg_unit89,'ANcr')
    call SelectHeroSkill(udg_unit89,'ANcr')
    call SelectHeroSkill(udg_unit89,'ANab')
    call SelectHeroSkill(udg_unit89,'ANab')
    call SelectHeroSkill(udg_unit89,'ANab')
    call SelectHeroSkill(udg_unit89,'ANab')
    call SelectHeroSkill(udg_unit89,'ANtm')
    set udg_unit15=CreateUnit(lr,'nogl',-9741.9,-12195.6,320.269)
    set udg_unit131=CreateUnit(lr,'edot',-7948.9,2702.2,257.18)
    set udg_unit75=CreateUnit(lr,'Hpb1',14228.6,-15370.7,132.48)
    call SetHeroLevel(udg_unit75,20,false)
    call SelectHeroSkill(udg_unit75,'AHhb')
    call SelectHeroSkill(udg_unit75,'AHhb')
    call SelectHeroSkill(udg_unit75,'AHhb')
    call SelectHeroSkill(udg_unit75,'AHhb')
    call SelectHeroSkill(udg_unit75,'AHds')
    call SelectHeroSkill(udg_unit75,'AHds')
    call SelectHeroSkill(udg_unit75,'AHds')
    call SelectHeroSkill(udg_unit75,'AHds')
    call SelectHeroSkill(udg_unit75,'AHad')
    call SelectHeroSkill(udg_unit75,'AHad')
    call SelectHeroSkill(udg_unit75,'AHad')
    call SelectHeroSkill(udg_unit75,'AHad')
    call SelectHeroSkill(udg_unit75,'AHre')
    call SelectHeroSkill(udg_unit75,'AHre')
    call SelectHeroSkill(udg_unit75,'AHre')
    set udg_unit83=CreateUnit(lr,'Orkn',-9897.1,-11966.8,165.87)
    call SetHeroLevel(udg_unit83,20,false)
    call SelectHeroSkill(udg_unit83,'Aamk')
    call SelectHeroSkill(udg_unit83,'Aamk')
    call SelectHeroSkill(udg_unit83,'Aamk')
    call SelectHeroSkill(udg_unit83,'Aamk')
    call SelectHeroSkill(udg_unit83,'ANhw')
    call SelectHeroSkill(udg_unit83,'ANhw')
    call SelectHeroSkill(udg_unit83,'ANhw')
    call SelectHeroSkill(udg_unit83,'ANhw')
    call SelectHeroSkill(udg_unit83,'ANhx')
    call SelectHeroSkill(udg_unit83,'ANhx')
    call SelectHeroSkill(udg_unit83,'ANhx')
    call SelectHeroSkill(udg_unit83,'ANhx')
    call SelectHeroSkill(udg_unit83,'Arsw')
    call SelectHeroSkill(udg_unit83,'Arsw')
    call SelectHeroSkill(udg_unit83,'Arsw')
    call SelectHeroSkill(udg_unit83,'Arsw')
    call SelectHeroSkill(udg_unit83,'AOls')
    call SelectHeroSkill(udg_unit83,'AOls')
    set udg_unit70=CreateUnit(lr,'nogo',-9815.6,-11524.1,214.172)
    set udg_unit120=CreateUnit(lr,'ufro',-1265.7,14042.,10.871)
    set udg_unit111=CreateUnit(lr,'ufro',-842.2,14361.2,244.479)
    set udg_unit132=CreateUnit(lr,'Ntin',-13015.4,12447.,130.)
    call SetHeroLevel(udg_unit132,20,false)
    call SelectHeroSkill(udg_unit132,'ANsy')
    call SelectHeroSkill(udg_unit132,'ANsy')
    call SelectHeroSkill(udg_unit132,'ANsy')
    call SelectHeroSkill(udg_unit132,'ANsy')
    call SelectHeroSkill(udg_unit132,'A021')
    call IssueImmediateOrder(udg_unit132,"")
    call SelectHeroSkill(udg_unit132,'ANcs')
    call SelectHeroSkill(udg_unit132,'ANcs')
    call SelectHeroSkill(udg_unit132,'ANcs')
    call SelectHeroSkill(udg_unit132,'ANcs')
    call SelectHeroSkill(udg_unit132,'ANeg')
    call SelectHeroSkill(udg_unit132,'ANeg')
    call SelectHeroSkill(udg_unit132,'ANeg')
    call SelectHeroSkill(udg_unit132,'ANeg')
    call SelectHeroSkill(udg_unit132,'ANrg')
    call SelectHeroSkill(udg_unit132,'ANrg')
    call SelectHeroSkill(udg_unit132,'ANrg')
    set udg_unit93=CreateUnit(lr,'Nfir',-14262.9,12142.6,93.28)
    call SetHeroLevel(udg_unit93,20,false)
    call SelectHeroSkill(udg_unit93,'ANso')
    call SelectHeroSkill(udg_unit93,'ANso')
    call SelectHeroSkill(udg_unit93,'ANso')
    call SelectHeroSkill(udg_unit93,'ANso')
    call SelectHeroSkill(udg_unit93,'A022')
    call IssueImmediateOrder(udg_unit93,"")
    call SelectHeroSkill(udg_unit93,'ANlm')
    call SelectHeroSkill(udg_unit93,'ANlm')
    call SelectHeroSkill(udg_unit93,'ANlm')
    call SelectHeroSkill(udg_unit93,'ANlm')
    call SelectHeroSkill(udg_unit93,'ANic')
    call SelectHeroSkill(udg_unit93,'ANic')
    call SelectHeroSkill(udg_unit93,'ANic')
    call SelectHeroSkill(udg_unit93,'ANvc')
    call SelectHeroSkill(udg_unit93,'ANvc')
    call SelectHeroSkill(udg_unit93,'ANvc')
    call SelectHeroSkill(udg_unit93,'ANia')
    call SelectHeroSkill(udg_unit93,'ANia')
    call SelectHeroSkill(udg_unit93,'ANia')
    call SelectHeroSkill(udg_unit93,'ANia')
    call IssueImmediateOrderById(udg_unit93,852671)
    set lR=CreateUnit(lr,'n00K',-3332.7,15110.8,317.99)
    set udg_unit100=CreateUnit(lr,'nogn',-10133.2,-11836.2,310.988)
    set udg_unit74=CreateUnit(lr,'H006',14423.5,-4458.,269.09)
    call SetHeroLevel(udg_unit74,20,false)
    call SelectHeroSkill(udg_unit74,'AHtb')
    call SelectHeroSkill(udg_unit74,'AHtb')
    call SelectHeroSkill(udg_unit74,'AHtb')
    call SelectHeroSkill(udg_unit74,'AHtb')
    call SelectHeroSkill(udg_unit74,'AHtc')
    call SelectHeroSkill(udg_unit74,'AHtc')
    call SelectHeroSkill(udg_unit74,'AHtc')
    call SelectHeroSkill(udg_unit74,'AHtc')
    call SelectHeroSkill(udg_unit74,'AHbh')
    call SelectHeroSkill(udg_unit74,'AHbh')
    call SelectHeroSkill(udg_unit74,'AHbh')
    call SelectHeroSkill(udg_unit74,'AHbh')
    call SelectHeroSkill(udg_unit74,'AHav')
    call SelectHeroSkill(udg_unit74,'AHav')
    call SelectHeroSkill(udg_unit74,'AHav')
    set udg_unit97=CreateUnit(lr,'H005',9179.3,-12358.9,273.11)
    call SetHeroLevel(udg_unit97,20,false)
    call SelectHeroSkill(udg_unit97,'AHhb')
    call SelectHeroSkill(udg_unit97,'AHhb')
    call SelectHeroSkill(udg_unit97,'AHhb')
    call SelectHeroSkill(udg_unit97,'AHhb')
    call SelectHeroSkill(udg_unit97,'AHds')
    call SelectHeroSkill(udg_unit97,'AHds')
    call SelectHeroSkill(udg_unit97,'AHds')
    call SelectHeroSkill(udg_unit97,'AHds')
    call IssueImmediateOrderById(udg_unit97,852090)
    call SelectHeroSkill(udg_unit97,'AHad')
    call SelectHeroSkill(udg_unit97,'AHad')
    call SelectHeroSkill(udg_unit97,'AHad')
    call SelectHeroSkill(udg_unit97,'AHad')
    call SelectHeroSkill(udg_unit97,'AHre')
    call SelectHeroSkill(udg_unit97,'AHre')
    call SelectHeroSkill(udg_unit97,'AHre')
endfunction

function l3 takes nothing returns nothing
    local player lr=Player(9)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5440.,-11584.,270.)
endfunction

function l4 takes nothing returns nothing
    local player lr=Player(9)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit69=CreateUnit(lr,'e000',-14217.8,13194.,128.731)
endfunction

function l5 takes nothing returns nothing
    local player lr=Player(10)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'h007',-5120.,-11584.,270.)
endfunction

function l6 takes nothing returns nothing
    local player lr=Player(10)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit94=CreateUnit(lr,'e000',-14047.4,13194.,205.791)
endfunction

function l7 takes nothing returns nothing
    local player lr=Player(11)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set udg_unit101=CreateUnit(lr,'nfrm',-12928.,-1600.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit101,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit101,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lg)
    set lR=CreateUnit(lr,'nfgo',15040.,-1408.,270.)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set udg_unit51=CreateUnit(lr,'nbfl',-12288.,-2624.,270.)
    set lR=CreateUnit(lr,'nfh1',-3744.,-5024.,270.)
    set lR=CreateUnit(lr,'nfgo',-6528.,10496.,270.)
    set lR=CreateUnit(lr,'nfh0',-2880.,-6144.,270.)
    set lR=CreateUnit(lr,'ncap',-12256.,-96.,270.)
    set lR=CreateUnit(lr,'ncap',-12000.,-1184.,270.)
    set lR=CreateUnit(lr,'ncap',-12192.,-608.,270.)
    set lR=CreateUnit(lr,'ncap',-14432.,-1312.,270.)
    set lR=CreateUnit(lr,'ncap',-14944.,-928.,270.)
    set lR=CreateUnit(lr,'ncap',-11360.,-1184.,270.)
    set lR=CreateUnit(lr,'nfh0',-3328.,-5888.,270.)
    set lR=CreateUnit(lr,'nfh1',-3936.,-5536.,270.)
    set udg_unit113=CreateUnit(lr,'nfrm',-6208.,10496.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit113,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit113,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lH)
    set udg_unit114=CreateUnit(lr,'nfrm',12096.,14656.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit114,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit114,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function li)
    set udg_unit115=CreateUnit(lr,'nfrm',14784.,-10688.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit115,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit115,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lI)
    set udg_unit116=CreateUnit(lr,'nfrm',9600.,-6336.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit116,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit116,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lj)
    set udg_unit117=CreateUnit(lr,'nfrm',-320.,-7424.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit117,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit117,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lJ)
    set udg_unit118=CreateUnit(lr,'nfrm',-15488.,-6336.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit118,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit118,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lk)
    set udg_unit119=CreateUnit(lr,'nfrm',-768.,4480.,270.)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,udg_unit119,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,udg_unit119,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lK)
    set lR=CreateUnit(lr,'nfgo',14592.,14656.,270.)
endfunction

function l8 takes nothing returns nothing
    local player lr=Player(11)
    local unit lR
    local integer O125677
    local trigger ls
    local real lS
    set lR=CreateUnit(lr,'n00I',14055.2,-7550.5,325.154)
    set udg_unit60=CreateUnit(lr,'N005',-12736.4,-1794.4,.0)
    call SetHeroLevel(udg_unit60,20,false)
    call SetHeroStr(udg_unit60,148,true)
    call SetHeroAgi(udg_unit60,148,true)
    call SetHeroInt(udg_unit60,'}',true)
    call SetUnitAcquireRange(udg_unit60,200.)
    call IssueImmediateOrder(udg_unit60,"")
    call SelectHeroSkill(udg_unit60,'ANht')
    call SelectHeroSkill(udg_unit60,'ANht')
    call SelectHeroSkill(udg_unit60,'ANht')
    call SelectHeroSkill(udg_unit60,'ANht')
    call SelectHeroSkill(udg_unit60,'ANca')
    call SelectHeroSkill(udg_unit60,'ANca')
    call SelectHeroSkill(udg_unit60,'ANca')
    call SelectHeroSkill(udg_unit60,'ANca')
    call SelectHeroSkill(udg_unit60,'AOre')
    call SelectHeroSkill(udg_unit60,'AOre')
    call SelectHeroSkill(udg_unit60,'AOre')
    call SelectHeroSkill(udg_unit60,'AHtc')
    call SelectHeroSkill(udg_unit60,'AHtc')
    call SelectHeroSkill(udg_unit60,'AHtc')
    call SelectHeroSkill(udg_unit60,'AHtc')
    call SelectHeroSkill(udg_unit60,'AEmb')
    call SelectHeroSkill(udg_unit60,'AEmb')
    call SelectHeroSkill(udg_unit60,'AEmb')
    call SelectHeroSkill(udg_unit60,'AEmb')
    call SelectHeroSkill(udg_unit60,'AUsl')
    call SelectHeroSkill(udg_unit60,'AUsl')
    call SelectHeroSkill(udg_unit60,'AUsl')
    call SelectHeroSkill(udg_unit60,'AUsl')
    call SelectHeroSkill(udg_unit60,'AUau')
    call SelectHeroSkill(udg_unit60,'AUau')
    call SelectHeroSkill(udg_unit60,'AUau')
    call SelectHeroSkill(udg_unit60,'AUau')
    call SelectHeroSkill(udg_unit60,'ANdo')
    call SelectHeroSkill(udg_unit60,'ANdo')
    call SelectHeroSkill(udg_unit60,'ANdo')
    call SelectHeroSkill(udg_unit60,'AUan')
    call SelectHeroSkill(udg_unit60,'AUan')
    call SelectHeroSkill(udg_unit60,'AUan')
    set lR=CreateUnit(lr,'n00I',14239.6,-7534.7,245.71)
    set lR=CreateUnit(lr,'nbal',11059.9,-7800.8,89.668)
    set lR=CreateUnit(lr,'nbal',11063.2,-7599.6,274.928)
    set lR=CreateUnit(lr,'nvdl',8445.8,-6660.6,83.661)
    set lR=CreateUnit(lr,'nvdl',8682.7,-6643.6,127.828)
    set lR=CreateUnit(lr,'nfot',14925.7,-1584.3,278.853)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nnws',-2673.8,9101.7,39.544)
    set lR=CreateUnit(lr,'nfot',14386.1,-2777.,276.558)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nfot',14613.9,-2937.3,264.978)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nnwa',-2725.3,9316.1,26.132)
    set lR=CreateUnit(lr,'ndqn',9944.7,-7481.9,257.677)
    set lR=CreateUnit(lr,'ndqn',9923.4,-7722.3,94.787)
    set lR=CreateUnit(lr,'nsgg',14890.6,-9557.3,266.504)
    set lR=CreateUnit(lr,'nsgg',15302.8,-9558.8,270.324)
    set lR=CreateUnit(lr,'nwrg',14073.5,-7762.9,267.716)
    set lR=CreateUnit(lr,'narg',15194.2,-7847.3,19.117)
    set lR=CreateUnit(lr,'narg',14961.9,-7853.7,86.388)
    set lR=CreateUnit(lr,'hphx',-14829.1,-15271.5,50.291)
    set lR=CreateUnit(lr,'hphx',-14752.1,-14222.7,343.266)
    set lR=CreateUnit(lr,'ngh2',14323.1,-9228.,106.159)
    set lR=CreateUnit(lr,'ngh2',14373.5,-8416.7,.0)
    set lR=CreateUnit(lr,'n00I',14047.1,-9214.1,134.839)
    set lR=CreateUnit(lr,'ndqn',10066.8,-7579.7,194.501)
    set lR=CreateUnit(lr,'ndqn',9776.3,-7579.7,344.136)
    set lR=CreateUnit(lr,'npfm',10958.1,-6494.6,55.928)
    set lR=CreateUnit(lr,'npfm',8634.5,-7634.9,92.087)
    set lR=CreateUnit(lr,'npfm',11259.1,-6497.7,84.48)
    set lR=CreateUnit(lr,'nahy',-1747.9,2882.3,260.74)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nahy',-1043.1,2872.,260.05)
    call SetUnitAcquireRange(lR,200.)
    set udg_unit125=CreateUnit(lr,'ncnk',-12899.9,-14860.,69.423)
    call SetUnitState(udg_unit125,UNIT_STATE_MANA,0)
    set udg_unit85=CreateUnit(lr,'nrwm',15096.8,-12961.7,188.684)
    set lR=CreateUnit(lr,'nfov',11095.9,-6485.1,67.275)
    set lR=CreateUnit(lr,'ndqs',9908.1,-7601.2,290.43)
    set lR=CreateUnit(lr,'ndmu',6416.8,2267.5,1.2)
    set lR=CreateUnit(lr,'nvde',8563.6,-6721.4,104.165)
    set lR=CreateUnit(lr,'ndqv',8753.1,-7429.2,109.572)
    set lR=CreateUnit(lr,'nnws',5505.9,9558.3,142.874)
    set udg_unit98=CreateUnit(lr,'ncnk',-13726.,-13495.2,324.33)
    call SetUnitState(udg_unit98,UNIT_STATE_MANA,0)
    set udg_unit99=CreateUnit(lr,'nhrq',-14355.2,-7316.8,352.688)
    call SetUnitState(udg_unit99,UNIT_STATE_MANA,0)
    set udg_unit134=CreateUnit(lr,'ncnk',-12585.,-14946.5,113.39)
    call SetUnitState(udg_unit134,UNIT_STATE_MANA,0)
    set udg_unit123=CreateUnit(lr,'ncnk',-8258.9,-13926.3,264.868)
    call SetUnitState(udg_unit123,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncks',-8093.6,-13966.4,249.263)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set udg_unit96=CreateUnit(lr,'ncnk',-7996.5,-14198.5,227.924)
    call SetUnitState(udg_unit96,UNIT_STATE_MANA,0)
    set udg_unit103=CreateUnit(lr,'ncnk',-11350.8,-15013.7,16.39)
    set udg_unit95=CreateUnit(lr,'ncnk',-13803.6,-13805.,341.801)
    set lR=CreateUnit(lr,'ncks',-12756.7,-14968.1,91.816)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ndth',-11364.7,5035.6,215.199)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ndmu',6513.1,2385.9,348.978)
    set lR=CreateUnit(lr,'ndmu',6553.5,2253.9,3.085)
    set lR=CreateUnit(lr,'npfl',6586.9,589.,86.883)
    set lR=CreateUnit(lr,'nbal',-14931.7,-1820.9,266.769)
    set lR=CreateUnit(lr,'npfl',6690.6,660.1,97.213)
    set lR=CreateUnit(lr,'nfgu',6555.2,722.,82.359)
    set lR=CreateUnit(lr,'ndmu',7896.9,1800.7,318.936)
    set lR=CreateUnit(lr,'ndmu',7933.5,1929.4,311.562)
    set lR=CreateUnit(lr,'ndmu',7811.2,1870.1,319.166)
    set lR=CreateUnit(lr,'ndtb',-11482.,5113.6,255.653)
    set lR=CreateUnit(lr,'ndtb',-11305.7,4918.7,180.316)
    set lR=CreateUnit(lr,'ndtt',-11456.3,4980.9,219.905)
    set lR=CreateUnit(lr,'hwt3',-8556.9,4517.8,198.928)
    set lR=CreateUnit(lr,'hwat',-8449.2,4405.2,177.67)
    set lR=CreateUnit(lr,'hwt3',-10098.6,4719.3,205.7)
    set lR=CreateUnit(lr,'hwat',2919.7,2629.9,175.622)
    set lR=CreateUnit(lr,'nelb',7625.5,-2542.6,71.443)
    set lR=CreateUnit(lr,'ncen',-11064.8,-12907.,91.976)
    set lR=CreateUnit(lr,'ncea',-12274.2,-13728.7,110.888)
    set lR=CreateUnit(lr,'h001',6118.1,-7999.3,295.604)
    set lR=CreateUnit(lr,'h001',5754.3,-8091.9,319.124)
    set lR=CreateUnit(lr,'nfgt',14658.,14011.3,97.909)
    set lR=CreateUnit(lr,'nfgt',13860.,14697.5,358.032)
    set lR=CreateUnit(lr,'nfgt',14420.9,14285.5,69.475)
    set lR=CreateUnit(lr,'nfgt',14131.3,14247.9,44.376)
    set lR=CreateUnit(lr,'nfgt',14914.6,14162.2,124.296)
    set lR=CreateUnit(lr,'nfgt',14361.1,14041.8,72.016)
    set lR=CreateUnit(lr,'nfgt',14313.3,14549.1,26.161)
    set lR=CreateUnit(lr,'nfgt',14345.5,14824.2,325.605)
    set lR=CreateUnit(lr,'nfgt',14639.,14365.8,103.351)
    set lR=CreateUnit(lr,'nfgt',15219.,14669.7,179.691)
    set lR=CreateUnit(lr,'nbal',12261.3,1890.,144.038)
    set lR=CreateUnit(lr,'nsln',14187.8,-9657.5,335.533)
    set lR=CreateUnit(lr,'nslf',14043.1,-9655.3,339.85)
    set lR=CreateUnit(lr,'nslm',14058.8,-9525.4,185.334)
    set lR=CreateUnit(lr,'nslm',14210.7,-9530.2,229.028)
    set lR=CreateUnit(lr,'n00I',14062.6,-9078.,102.491)
    set lR=CreateUnit(lr,'nfgt',14453.4,15028.4,287.602)
    set lR=CreateUnit(lr,'nfgt',15209.7,15033.9,209.266)
    set lR=CreateUnit(lr,'nfgt',14118.8,14931.,330.038)
    set lR=CreateUnit(lr,'nfgt',14091.9,14639.4,4.083)
    set lR=CreateUnit(lr,'nfgt',13880.6,14372.4,23.698)
    set lR=CreateUnit(lr,'nfgt',15100.5,14407.4,153.551)
    set lR=CreateUnit(lr,'nfgt',14933.5,15098.4,229.165)
    set lR=CreateUnit(lr,'nfgt',14612.4,15209.6,265.065)
    set lR=CreateUnit(lr,'nfgt',14906.1,14702.3,184.88)
    set lR=CreateUnit(lr,'nfgt',14035.7,15211.9,314.551)
    set lR=CreateUnit(lr,'nfgt',13859.6,15068.2,330.792)
    set lR=CreateUnit(lr,'nfgt',14299.3,15215.7,296.182)
    set lR=CreateUnit(lr,'ncea',-12137.7,-13637.2,92.925)
    set lR=CreateUnit(lr,'ncea',-12153.9,-13828.,204.132)
    set lR=CreateUnit(lr,'ncea',-12057.3,-13758.9,23.171)
    set lR=CreateUnit(lr,'ncea',-11959.2,-13858.8,94.43)
    set lR=CreateUnit(lr,'ncea',-12025.6,-13930.6,222.26)
    set lR=CreateUnit(lr,'n00I',-563.,-6543.6,133.303)
    set lR=CreateUnit(lr,'n00I',-802.7,-6645.6,112.348)
    set lR=CreateUnit(lr,'nmrr',7854.3,-2595.5,101.748)
    set lR=CreateUnit(lr,'nstl',-14948.5,-1662.7,268.137)
    call IssueImmediateOrderById(lR,852198)
    set lR=CreateUnit(lr,'nsts',-14790.3,-1737.,259.059)
    call IssueImmediateOrderById(lR,852191)
    set lR=CreateUnit(lr,'nsts',-15113.,-1753.4,277.516)
    call IssueImmediateOrderById(lR,852191)
    set lR=CreateUnit(lr,'nsts',-13500.8,-627.5,198.425)
    set lR=CreateUnit(lr,'nsbm',-13335.6,-736.6,187.988)
    set lR=CreateUnit(lr,'nstl',-13572.7,-795.4,185.645)
    set lR=CreateUnit(lr,'nsth',-12610.2,-2742.6,170.791)
    set lR=CreateUnit(lr,'nstl',-12717.2,-2571.5,184.819)
    set lR=CreateUnit(lr,'nstl',-12611.7,-2603.3,181.638)
    set lR=CreateUnit(lr,'nsbm',-13990.1,-2521.9,99.606)
    set lR=CreateUnit(lr,'nsgt',-14108.5,-2313.3,90.535)
    set lR=CreateUnit(lr,'nsgt',-13845.1,-2394.7,114.05)
    set lR=CreateUnit(lr,'nsth',-11629.4,-722.9,143.465)
    set lR=CreateUnit(lr,'nstl',-11592.6,-499.1,163.947)
    set lR=CreateUnit(lr,'nstl',-11811.3,-819.,124.981)
    set lR=CreateUnit(lr,'nstl',-11776.3,-579.2,147.116)
    set lR=CreateUnit(lr,'nfra',-10485.1,-3739.4,38.377)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nfre',-10207.,-3739.4,48.878)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nfrg',-10347.5,-3874.8,48.036)
    set lR=CreateUnit(lr,'ndtw',-12946.2,-3833.6,298.589)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,lR,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,lR,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function ll)
    set lR=CreateUnit(lr,'ndtb',-12777.1,-3884.,283.732)
    set lR=CreateUnit(lr,'ndtb',-13069.4,-3999.5,318.889)
    set lR=CreateUnit(lr,'ndtt',-11141.4,-5048.3,354.534)
    set lR=CreateUnit(lr,'ndtp',-11277.7,-5023.,353.111)
    set lR=CreateUnit(lr,'ndtb',-11251.2,-5192.1,13.531)
    set lR=CreateUnit(lr,'nowb',-7065.1,-1359.5,171.959)
    set lR=CreateUnit(lr,'nowb',-6874.3,-1089.4,185.248)
    set lR=CreateUnit(lr,'nhar',-14118.4,-8639.7,288.677)
    set lR=CreateUnit(lr,'nhrr',-14185.3,-8468.7,289.329)
    set lR=CreateUnit(lr,'nmrm',-8138.1,-3268.2,252.056)
    set lR=CreateUnit(lr,'nmrr',-8012.3,-3256.3,313.801)
    set lR=CreateUnit(lr,'nmrr',-8125.2,-3449.9,204.187)
    set lR=CreateUnit(lr,'ndth',-6119.,-3223.5,249.183)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ndtt',-6052.4,-3358.5,245.984)
    set lR=CreateUnit(lr,'ndtb',-6246.1,-3358.5,251.315)
    set lR=CreateUnit(lr,'nfra',-7126.1,-2135.3,202.546)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nfrs',-7139.1,-1904.7,226.421)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nfrl',-7281.4,-2101.,220.258)
    set lR=CreateUnit(lr,'nthl',-10531.4,-1348.3,27.837)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nltl',-10439.7,-1141.3,7.228)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nltl',-10372.3,-1543.3,54.053)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ngdk',-6379.9,886.1,223.553)
    set lR=CreateUnit(lr,'ngrw',-6538.,1078.3,239.714)
    set lR=CreateUnit(lr,'nfrs',-6559.5,1045.2,239.838)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ndtp',-6514.3,879.6,230.357)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nstw',-7972.8,1997.1,325.282)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ngdk',-8373.8,86.8,216.053)
    set lR=CreateUnit(lr,'ngdk',-8624.1,513.6,210.153)
    set lR=CreateUnit(lr,'ndtr',-8368.4,-72.7,280.303)
    set lR=CreateUnit(lr,'nfrl',-9049.9,2466.6,266.536)
    set lR=CreateUnit(lr,'ndtp',-9163.4,2334.4,273.282)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ndtt',-11617.6,3284.7,296.541)
    set lR=CreateUnit(lr,'ndtb',-11547.1,3155.4,348.068)
    set lR=CreateUnit(lr,'ndtb',-11431.9,3267.2,248.178)
    set lR=CreateUnit(lr,'ngdk',-13234.2,997.6,105.594)
    set lR=CreateUnit(lr,'ngrd',-13483.6,877.8,74.963)
    set lR=CreateUnit(lr,'ngrw',-13596.5,1043.5,54.348)
    set lR=CreateUnit(lr,'ngdk',-14133.4,2094.7,294.195)
    set lR=CreateUnit(lr,'ngdk',-14343.8,1966.7,313.085)
    set lR=CreateUnit(lr,'ngrw',-13237.6,2780.8,40.062)
    set lR=CreateUnit(lr,'hwt3',3131.2,2599.1,147.749)
    set lR=CreateUnit(lr,'nlv3',7749.8,-1136.8,.969)
    set lR=CreateUnit(lr,'ngrw',-13112.,2696.2,56.604)
    set lR=CreateUnit(lr,'nmrm',-7989.4,-3413.7,13.228)
    set lR=CreateUnit(lr,'nthl',-10815.3,-2757.1,215.355)
    set lR=CreateUnit(lr,'nthl',-11114.7,-2766.3,228.136)
    set lR=CreateUnit(lr,'nwlt',-7890.,565.5,113.679)
    set lR=CreateUnit(lr,'nwlt',-7822.8,683.6,61.503)
    set lR=CreateUnit(lr,'nhrr',-13980.7,-8666.,274.933)
    set lR=CreateUnit(lr,'nhrh',-14172.4,-7234.8,338.776)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nhrh',-14271.7,-7438.6,5.241)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nhar',-14212.2,-7327.2,351.681)
    set lR=CreateUnit(lr,'nbzk',-12285.3,-6575.2,224.341)
    set lR=CreateUnit(lr,'nbzw',-12483.6,-6538.7,235.556)
    set lR=CreateUnit(lr,'nbzw',-12250.7,-6744.3,214.695)
    set lR=CreateUnit(lr,'nsln',-14590.9,-6412.2,41.569)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nslf',-14616.9,-6230.6,25.267)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nslf',-14468.4,-6362.2,46.578)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nkol',-13986.9,-5202.3,350.083)
    set lR=CreateUnit(lr,'nkot',-14115.4,-5325.7,4.995)
    set lR=CreateUnit(lr,'nkot',-13926.7,-5304.9,4.332)
    set lR=CreateUnit(lr,'nwrg',-14808.9,-6007.,276.98)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'narg',-13554.1,-6291.,11.238)
    set lR=CreateUnit(lr,'narg',-13572.6,-6088.8,4.817)
    set lR=CreateUnit(lr,'ncks',-12381.2,-8179.4,189.313)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncks',-12524.3,-8137.1,195.459)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncen',-12511.2,-8295.3,180.319)
    set lR=CreateUnit(lr,'ncen',-12387.7,-8399.8,172.001)
    set lR=CreateUnit(lr,'nlv3',7970.4,-1108.7,179.028)
    set lR=CreateUnit(lr,'ncks',-11292.1,-12983.1,76.272)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncer',-11180.,-12833.2,82.378)
    set lR=CreateUnit(lr,'ncen',-9272.8,-13947.3,145.668)
    set lR=CreateUnit(lr,'ncen',-9601.7,-14149.1,108.741)
    set lR=CreateUnit(lr,'ncks',-9393.1,-14132.7,126.386)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nlv2',7843.8,-1006.6,274.835)
    set lR=CreateUnit(lr,'nele',7844.7,-3574.6,48.788)
    set lR=CreateUnit(lr,'nele',8156.2,-3589.5,121.698)
    set lR=CreateUnit(lr,'hphx',-13999.4,-15377.6,96.94)
    set lR=CreateUnit(lr,'ncks',-13634.,-13801.9,337.941)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncim',-13430.7,-13456.5,310.76)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncim',-13572.7,-13646.8,326.609)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'hphx',-15213.6,-13715.1,327.507)
    set lR=CreateUnit(lr,'h00I',-14607.8,-14786.3,37.187)
    set lR=CreateUnit(lr,'h00I',-14922.7,-15523.4,54.007)
    set lR=CreateUnit(lr,'h00I',-15128.4,-14851.9,23.417)
    set lR=CreateUnit(lr,'h00I',-13504.,-15667.7,118.397)
    set lR=CreateUnit(lr,'nbzd',-11394.2,-15048.6,17.602)
    set lR=CreateUnit(lr,'nbzk',-11212.1,-15101.2,24.695)
    set lR=CreateUnit(lr,'nbzk',-11564.2,-14933.2,9.479)
    set lR=CreateUnit(lr,'nrzb',-11326.6,-11431.,84.597)
    set lR=CreateUnit(lr,'nqbh',-11360.3,-11240.5,268.228)
    set lR=CreateUnit(lr,'nqbh',-11215.8,-11431.,191.047)
    set lR=CreateUnit(lr,'nltl',-10310.9,-8337.5,318.665)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nqbh',-10100.1,-8184.1,272.506)
    set lR=CreateUnit(lr,'nqbh',-9954.4,-8337.5,236.796)
    set lR=CreateUnit(lr,'nowb',-6538.4,-9716.8,193.24)
    set lR=CreateUnit(lr,'nrzm',-6550.4,-9929.5,181.17)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nowb',-6677.7,-9838.4,187.448)
    set lR=CreateUnit(lr,'nrzg',-6754.4,-10999.7,189.328)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nrzs',-8912.3,-9591.2,63.176)
    set lR=CreateUnit(lr,'nrzb',-6872.6,-11127.3,180.561)
    set lR=CreateUnit(lr,'nrzb',-6742.6,-10826.6,200.331)
    set lR=CreateUnit(lr,'ncer',-8612.9,-11045.7,156.951)
    set lR=CreateUnit(lr,'ncer',-8689.2,-10948.9,162.813)
    set lR=CreateUnit(lr,'ncim',-8824.4,-10916.1,161.693)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ncen',-10562.8,-10076.7,117.876)
    set lR=CreateUnit(lr,'ncen',-10664.3,-9889.4,150.451)
    set lR=CreateUnit(lr,'ncim',-10791.1,-10052.8,35.004)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nowb',-10691.,-6274.6,192.992)
    set lR=CreateUnit(lr,'nowb',-10570.2,-6372.8,274.853)
    set lR=CreateUnit(lr,'nbzw',-8106.,-5879.6,216.806)
    set lR=CreateUnit(lr,'nbzw',-7786.3,-5879.6,199.73)
    set lR=CreateUnit(lr,'nbzk',-7953.1,-5917.1,202.224)
    set lR=CreateUnit(lr,'nbzw',-7987.6,-6090.8,181.249)
    set lR=CreateUnit(lr,'nrzs',-9262.3,-7193.4,202.561)
    set lR=CreateUnit(lr,'nrzs',-11996.5,-9563.7,328.73)
    set lR=CreateUnit(lr,'nfsh',-3964.5,-6715.2,83.048)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nftb',-4119.8,-6682.8,291.806)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nftb',-4010.3,-6877.7,188.366)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nftb',-3894.7,-5149.5,29.642)
    set lR=CreateUnit(lr,'nftb',-3928.1,-5310.1,263.01)
    set lR=CreateUnit(lr,'nftr',-3838.2,-5227.,191.563)
    set lR=CreateUnit(lr,'nftk',-2690.7,-5563.2,66.6)
    set ls=CreateTrigger()
    call TriggerRegisterUnitEvent(ls,lR,EVENT_UNIT_DEATH)
    call TriggerRegisterUnitEvent(ls,lR,EVENT_UNIT_CHANGE_OWNER)
    call TriggerAddAction(ls,function lL)
    set lR=CreateUnit(lr,'nfsh',-2823.4,-5624.2,62.668)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nftt',-2658.,-5408.1,213.504)
    set lR=CreateUnit(lr,'nftt',-2795.1,-5408.1,224.458)
    set lR=CreateUnit(lr,'nhyh',-1794.1,-6975.1,183.898)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyh',-1879.7,-7206.4,162.977)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyd',-1777.8,-7096.5,173.957)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nehy',1374.4,-7097.3,353.185)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyd',1305.1,-7295.9,17.344)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nehy',-1004.1,-8574.6,240.612)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyh',-847.6,-8635.,229.122)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyh',-1020.5,-8785.1,232.191)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyd',-564.1,-5784.8,76.972)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nhyd',-349.,-5867.7,101.113)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nahy',-328.4,-7003.2,352.347)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nahy',56.9,-7489.4,10.935)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nsgh',-3228.2,-13721.3,280.676)
    set lR=CreateUnit(lr,'nsgh',-2642.1,-14774.4,1.642)
    set lR=CreateUnit(lr,'nsgn',-2529.2,-14855.9,8.866)
    set lR=CreateUnit(lr,'nsgn',-2453.7,-14678.2,352.85)
    set lR=CreateUnit(lr,'nsgb',-4403.5,-13783.,244.117)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nsgh',-4235.5,-13843.6,228.731)
    set lR=CreateUnit(lr,'nsgh',-4377.,-14053.4,224.351)
    set lR=CreateUnit(lr,'nsgb',-3446.2,-15735.8,300.639)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nsgb',-3673.6,-15754.9,62.822)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nsgn',-3561.8,-15598.3,233.28)
    set lR=CreateUnit(lr,'esen',-4907.1,-15251.6,96.063)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'esen',-4762.3,-15230.2,108.089)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'esen',-5081.6,-15216.8,81.185)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'edry',-5025.1,-15411.4,86.972)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'edry',-4843.3,-15399.,99.301)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'earc',-4766.2,-15498.3,102.886)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'earc',-5031.4,-15508.9,86.904)
    call SetUnitAcquireRange(lR,200.)
    set udg_unit124=CreateUnit(lr,'Ewrd',-4913.7,-15508.9,94.024)
    call SetHeroLevel(udg_unit124,20,false)
    call SetUnitState(udg_unit124,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(udg_unit124,200.)
    call SelectHeroSkill(udg_unit124,'AEfk')
    call SelectHeroSkill(udg_unit124,'AEfk')
    call SelectHeroSkill(udg_unit124,'AEfk')
    call SelectHeroSkill(udg_unit124,'AEfk')
    call SelectHeroSkill(udg_unit124,'AEbl')
    call SelectHeroSkill(udg_unit124,'AEbl')
    call SelectHeroSkill(udg_unit124,'AEbl')
    call SelectHeroSkill(udg_unit124,'AEbl')
    call SelectHeroSkill(udg_unit124,'AEsh')
    call SelectHeroSkill(udg_unit124,'AEsh')
    call SelectHeroSkill(udg_unit124,'AEsh')
    call SelectHeroSkill(udg_unit124,'AEsh')
    call SelectHeroSkill(udg_unit124,'AEsv')
    call SelectHeroSkill(udg_unit124,'AEsv')
    call SelectHeroSkill(udg_unit124,'AEsv')
    set lR=CreateUnit(lr,'nlpr',-1716.,-13538.7,116.722)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nlpr',-1834.8,-13571.8,107.401)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nltc',-1746.,-13688.3,110.632)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nlkl',441.7,-13133.5,200.239)
    set lR=CreateUnit(lr,'nlsn',257.5,-13064.3,209.371)
    set lR=CreateUnit(lr,'nlsn',449.8,-13280.6,191.409)
    set lR=CreateUnit(lr,'nlds',-1465.4,-15438.7,344.088)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nlds',-1433.3,-15662.1,2.814)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nlsn',-1646.4,-15370.5,343.061)
    set lR=CreateUnit(lr,'nltc',172.7,-15761.9,94.631)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nlpd',66.8,-15635.9,88.992)
    set lR=CreateUnit(lr,'nlpd',225.6,-15654.3,98.154)
    set lR=CreateUnit(lr,'ntrv',-90.5,-10176.2,167.099)
    set lR=CreateUnit(lr,'ntrv',-101.7,-10509.1,178.316)
    set lR=CreateUnit(lr,'nsrv',-63.8,-10356.8,179.191)
    set lR=CreateUnit(lr,'nvdl',-166.1,-10370.3,231.302)
    set lR=CreateUnit(lr,'nfgb',670.8,-10385.6,182.111)
    set lR=CreateUnit(lr,'nfgu',678.5,-10277.6,191.52)
    set lR=CreateUnit(lr,'nfov',1975.4,-9571.1,162.58)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nvde',1737.9,-9542.3,157.681)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'nvde',1934.5,-9766.6,147.99)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'ninf',969.5,-11155.1,72.132)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'ndqs',1112.,-11111.,88.717)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'ndqs',798.5,-11052.,48.766)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nerw',2102.7,-10553.1,244.168)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'nerw',1872.8,-10530.9,271.339)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    set lR=CreateUnit(lr,'njgb',-3307.3,-13462.1,282.788)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    set lR=CreateUnit(lr,'njga',-3395.9,-13557.5,291.13)
    set lR=CreateUnit(lr,'h00I',-14491.1,-13688.9,297.318)
    set lR=CreateUnit(lr,'h000',-14293.5,-15373.9,79.563)
    set lR=CreateUnit(lr,'zzrg',-15221.6,-12155.5,265.203)
    set lR=CreateUnit(lr,'zzrg',-15526.9,-10991.9,269.712)
    set lR=CreateUnit(lr,'zzrg',-15247.5,-11352.1,266.323)
    set lR=CreateUnit(lr,'zzrg',-15390.9,-12010.,267.736)
    set lR=CreateUnit(lr,'Nbbc',14941.,4405.,11.232)
    call SetHeroLevel(lR,20,false)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200.)
    call SelectHeroSkill(lR,'AOwk')
    call SelectHeroSkill(lR,'AOwk')
    call SelectHeroSkill(lR,'AOwk')
    call SelectHeroSkill(lR,'AOwk')
    call SelectHeroSkill(lR,'AOmi')
    call SelectHeroSkill(lR,'AOmi')
    call SelectHeroSkill(lR,'AOmi')
    call SelectHeroSkill(lR,'AOmi')
    call SelectHeroSkill(lR,'AOcr')
    call SelectHeroSkill(lR,'AOcr')
    call SelectHeroSkill(lR,'AOcr')
    call SelectHeroSkill(lR,'AOcr')
    call SelectHeroSkill(lR,'AOww')
    call SelectHeroSkill(lR,'AOww')
    call SelectHeroSkill(lR,'AOww')
    set lR=CreateUnit(lr,'nchw',14936.9,4284.3,46.997)
    call SetUnitState(lR,UNIT_STATE_MANA,0)
    call SetUnitAcquireRange(lR,200