// 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 |
Ability | abilcode | Yes | |
AICount | integer | No | |
AIGroup | group | No | |
AIGroup1 | group | No | |
AIHero | unit | Yes | |
Attacker | integer | No | |
AttackRange | integer | No | |
attacktype01 | attacktype | No | |
BoolAi | boolean | Yes | |
boolean01 | boolean | No | |
boolean02 | boolean | No | |
boolean03 | boolean | No | |
boolean04 | boolean | No | |
boolean05 | boolean | No | |
boolean06 | boolean | No | |
boolean07 | boolean | No | |
boolean08 | boolean | No | |
boolean09 | boolean | No | |
boolean10 | boolean | No | |
boolean11 | boolean | No | |
boolean12 | boolean | No | |
boolean13 | boolean | No | |
boolean14 | boolean | No | |
booleans01 | boolean | Yes | |
booleans02 | boolean | Yes | |
booleans03 | boolean | Yes | |
booleans04 | boolean | Yes | |
booleans05 | boolean | Yes | |
booleans06 | boolean | Yes | |
booleans07 | boolean | Yes | |
booleans08 | boolean | Yes | |
booleans09 | boolean | Yes | |
booleans10 | boolean | Yes | |
booleans11 | boolean | Yes | |
booleans12 | boolean | Yes | |
booleans13 | boolean | Yes | |
CurrentGold | integer | Yes | |
CurrentGoldAI | integer | No | |
dialog01 | dialog | No | |
dialog02 | 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 | |
effects01 | effect | Yes | |
effects02 | effect | Yes | |
effects03 | effect | Yes | |
effects04 | effect | Yes | |
effects05 | effect | Yes | |
effects06 | effect | Yes | |
force01 | force | No | |
group01 | group | No | |
group02 | group | No | |
group03 | group | No | |
group04 | group | No | |
GroupWithinPickedUnit | group | No | |
HeroGroup | group | No | |
HeroIndex | unitcode | Yes | |
HeroIndex_Hostile | unitcode | Yes | |
IntAI | integer | Yes | |
IntAI_Copy | integer | Yes | |
integer01 | integer | No | |
integer02 | integer | No | |
integer03 | integer | No | |
integer04 | integer | No | |
integer05 | integer | No | 39 |
integer06 | integer | No | 1 |
integer07 | integer | No | |
integer08 | integer | No | |
integer09 | integer | No | 39 |
integer10 | integer | No | |
integer11 | integer | No | 'd' |
integer12 | integer | No | |
integer13 | integer | No | 'd' |
integer14 | integer | No | |
integer15 | integer | No | |
integer16 | integer | No | |
integer17 | integer | No | |
integer18 | integer | No | |
integer19 | integer | No | |
integer20 | integer | No | |
integer21 | integer | No | |
integer22 | integer | No | |
integer23 | integer | No | |
integer24 | integer | No | |
integer25 | integer | No | 27 |
integer26 | integer | No | |
integer27 | integer | No | |
integer28 | integer | No | |
integer29 | integer | No | |
integer30 | integer | No | 852230 |
integer31 | integer | No | 'Azv9' |
integer32 | integer | No | 10 |
integer33 | integer | No | |
integer34 | integer | No | |
integer35 | integer | No | 20 |
integer36 | integer | No | 7 |
integer37 | integer | No | 2 |
integer38 | integer | No | 6 |
integer39 | integer | No | 3 |
integer40 | integer | No | |
integer41 | integer | No | |
integer42 | integer | No | |
integer43 | integer | No | |
integer44 | integer | No | |
integer45 | integer | No | |
integer46 | integer | No | |
integer47 | integer | No | |
integer48 | integer | No | |
integer49 | integer | No | |
integer50 | integer | No | |
integer51 | integer | No | |
integer52 | integer | No | |
integer53 | integer | No | |
integer54 | integer | No | |
integer55 | integer | No | |
integer56 | integer | No | |
integer57 | integer | No | |
integer58 | integer | No | |
integer59 | integer | No | |
integer60 | integer | No | |
integer61 | integer | No | |
integer62 | integer | No | |
integer63 | integer | No | |
integer64 | integer | No | |
integers01 | integer | Yes | |
integers02 | integer | Yes | |
integers03 | integer | Yes | |
integers04 | integer | Yes | |
integers05 | integer | Yes | |
integers06 | integer | Yes | |
integers07 | integer | Yes | |
integers08 | integer | Yes | |
integers09 | integer | Yes | |
integers10 | integer | Yes | |
integers11 | integer | Yes | |
integers12 | integer | Yes | |
integers13 | integer | Yes | |
ItemAIint | integer | Yes | |
items01 | item | Yes | |
leaderboard01 | leaderboard | No | |
leaderboard02 | leaderboard | No | |
LifePercent | integer | No | |
LifePercentTower | integer | No | |
location01 | location | No | |
location02 | location | No | |
location03 | location | No | |
location04 | location | No | |
location05 | location | No | |
location06 | location | No | |
location07 | location | No | |
locations01 | location | Yes | |
locations02 | location | Yes | |
LowestHealth | unit | Yes | |
Money | integer | Yes | |
PicketAI | unit | No | |
PlayerHero | unit | Yes | |
PlayerNames2 | string | Yes | |
Random | integer | No | |
RandomHostile | integer | No | |
RandomHostile_Copy | integer | No | |
RandomHostileInt | integer | No | |
RandomInt | integer | No | |
real01 | real | No | |
real02 | real | No | .0 |
real03 | real | No | .0 |
real04 | real | No | .0 |
real05 | real | No | 7.5 |
real06 | real | No | 80. |
real07 | real | No | |
real08 | real | No | |
real09 | real | No | |
real10 | real | No | |
real11 | real | No | |
real12 | real | No | 150. |
real13 | real | No | |
real14 | real | No | |
real15 | real | No | |
real16 | real | 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 | |
rect13 | rect | No | |
rect14 | rect | No | |
rect15 | rect | No | |
rect16 | rect | No | |
rect17 | 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 | |
rects01 | rect | Yes | |
rects02 | rect | 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 | |
string01 | string | No | Thanks to original authors IPAL & ZIGZAGGER for this opportunity. Thanks to DARKY26 for his tutorials on trigger skills. Thanks to God for His boundless love and blessings. |
string02 | string | No | |
string03 | string | No | Sound\\Music\\mp3Music\\IllidansTheme.mp3 |
string04 | string | No | Sound\\Music\\mp3Music\\PH1.mp3 |
strings01 | string | Yes | |
strings02 | string | Yes | |
SystemPointHostile | location | Yes | |
SystemPoints | location | Yes | |
SystemPoints_Copy | location | Yes | |
timer01 | timer | No | |
timer02 | timer | No | |
timer03 | timer | No | |
timer04 | timer | No | |
timer05 | timer | No | |
timer06 | timer | No | |
timer07 | timer | No | |
timer08 | timer | No | |
timer09 | timer | No | |
timer10 | timer | No | |
timer11 | timer | No | |
timer12 | timer | No | |
timer13 | timer | No | |
timer14 | timer | No | |
timer15 | timer | No | |
timer16 | timer | No | |
timerdialog01 | timerdialog | No | |
timerdialog02 | timerdialog | No | |
timerdialog03 | timerdialog | No | |
timerdialog04 | timerdialog | No | |
timerdialogs01 | timerdialog | Yes | |
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 | |
trigger56 | trigger | No | |
trigger57 | trigger | No | |
trigger58 | trigger | No | |
trigger59 | trigger | No | |
trigger60 | trigger | No | |
trigger61 | 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 | |
triggers01 | trigger | 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 | |
unit136 | unit | No | |
unit137 | unit | No | |
unit138 | unit | No | |
unit139 | unit | No | |
unit14 | unit | No | |
unit140 | unit | No | |
unit141 | unit | No | |
unit142 | unit | No | |
unit143 | 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 | |
units01 | unit | Yes | |
units02 | unit | Yes | |
units03 | unit | Yes | |
units04 | unit | Yes | |
units05 | unit | Yes | |
units06 | unit | Yes | |
units07 | 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 PolarProjectionNL takes location source,real dist,real angle returns nothing
call MoveLocation(source,GetLocationX(source)+dist*Cos(angle*bj_DEGTORAD),GetLocationY(source)+dist*Sin(angle*bj_DEGTORAD))
endfunction
function PlayerHurtsUnit takes real Damage,unit Victim,player Hurter returns nothing
if(GetUnitStateSwap(UNIT_STATE_LIFE,Victim)<Damage)then
call SetWidgetLife(Victim,1.)
call KillUnit(CreateUnitAtLoc(Hurter,'eC54',GetUnitLoc(Victim),bj_UNIT_FACING))
else
call SetWidgetLife(Victim,(GetUnitStateSwap(UNIT_STATE_LIFE,Victim)-Damage))
endif
endfunction
function AOEPlayerDamage takes player hurter,real damage,location center,real radius returns nothing
local group affected
local unit tempunit
set affected=GetUnitsInRangeOfLocAll(radius,center)
loop
exitwhen(CountUnitsInGroup(affected)<=0)
set tempunit=FirstOfGroup(affected)
if(IsPlayerEnemy(GetOwningPlayer(tempunit),hurter))then
call PlayerHurtsUnit(damage,tempunit,hurter)
endif
call GroupRemoveUnit(affected,tempunit)
endloop
call DestroyGroup(affected)
endfunction
function AddBuff takes unit target,string order returns nothing
local unit caster=CreateUnitAtLoc(GetOwningPlayer(target),'eC54',GetUnitLoc(target),bj_UNIT_FACING)
call IssueTargetOrder(caster,order,target)
call TriggerSleepAction(5.)
call RemoveUnit(caster)
endfunction
function AddDamageArmor takes unit who,integer n returns nothing
if n>0 then
loop
exitwhen n<10
call UnitAddAbility(who,udg_integers09[10])
call UnitAddAbility(who,udg_integers10[10])
set n=n-10
call TriggerSleepAction(.0)
endloop
call UnitAddAbility(who,udg_integers09[n])
call UnitAddAbility(who,udg_integers10[n])
endif
endfunction
function AddArmor takes unit who,integer n returns nothing
if n>0 then
loop
exitwhen n<10
call UnitAddAbility(who,udg_integers09[10])
set n=n-10
call TriggerSleepAction(.0)
endloop
call UnitAddAbility(who,udg_integers09[n])
endif
endfunction
function AddDamage takes unit who,integer n returns nothing
if n>0 then
loop
exitwhen n<10
call UnitAddAbility(who,udg_integers10[10])
set n=n-10
call TriggerSleepAction(.0)
endloop
call UnitAddAbility(who,udg_integers10[n])
endif
endfunction
function Trig_Message_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|CFFDCDCDCD|CFFDDDDDDD|CFFDFDFDFa|CFFE1E1E1y|CFFE3E3E3: |CFFE6E6E6J|CFFE8E8E8u|CFFEAEAEAd|CFFEBEBEBg|CFFEDEDEDe|CFFEFEFEFm|CFFF1F1F1e|CFFF2F2F2n|CFFF4F4F4t |CFFF8F8F81|CFFF9F9F99|CFFFBFBFB.|CFFFDFDFD9|CFFFFFFFFb|r")
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"TRIGSTR_3889")
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"http://www.ddayworld.com/")
call TriggerSleepAction(5.)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"Special thx goes to Darky29 and http://www.wc3sear.ch")
endfunction
function Trig_Version_Information_Actions takes nothing returns nothing
call CreateQuestBJ(2,"Creators","TRIGSTR_3891","ReplaceableTextures\\CommandButtons\\BTNNightElfCaptureFlag.blp")
call CreateQuestBJ(2,"Credits","TRIGSTR_3893","ReplaceableTextures\\CommandButtons\\BTNOrcCaptureFlag.blp")
call CreateQuestBJ(2,"Version Information","TRIGSTR_3895","ReplaceableTextures\\CommandButtons\\BTNHumanCaptureFlag.blp")
call CreateQuestBJ(2,"Modes/Commands","TRIGSTR_4391","ReplaceableTextures\\CommandButtons\\BTNUndeadCaptureFlag.blp")
endfunction
function Trig_Update_LeaderBoard_Players_Leave_Actions takes nothing returns nothing
call LeaderboardSetPlayerItemLabelBJ(GetTriggerPlayer(),bj_lastCreatedLeaderboard,"< Player Left >")
endfunction
function Trig_Update_LeaderBoard_GoodSide_Add_Func001C takes nothing returns boolean
return(GetOwningPlayer(GetKillingUnit())==Player(0))or(GetOwningPlayer(GetKillingUnit())==Player(1))or(GetOwningPlayer(GetKillingUnit())==Player(2))or(GetOwningPlayer(GetKillingUnit())==Player(3))or(GetOwningPlayer(GetKillingUnit())==Player(4))
endfunction
function Trig_Update_LeaderBoard_GoodSide_Add_Conditions takes nothing returns boolean
return(Trig_Update_LeaderBoard_GoodSide_Add_Func001C())
endfunction
function Trig_Update_LeaderBoard_GoodSide_Add_Func002C takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Update_LeaderBoard_GoodSide_Add_Actions takes nothing returns nothing
if(Trig_Update_LeaderBoard_GoodSide_Add_Func002C())then
set udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]=(udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+5)
else
set udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]=(udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+1)
endif
call LeaderboardSetPlayerItemValueBJ(GetOwningPlayer(GetKillingUnit()),bj_lastCreatedLeaderboard,udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))])
call LeaderboardSortItemsBJ(bj_lastCreatedLeaderboard,0,false)
endfunction
function Trig_Update_LeaderBoard_BadSide_Add_Func001C takes nothing returns boolean
return(GetOwningPlayer(GetKillingUnit())==Player(6))or(GetOwningPlayer(GetKillingUnit())==Player(7))or(GetOwningPlayer(GetKillingUnit())==Player(8))or(GetOwningPlayer(GetKillingUnit())==Player(9))or(GetOwningPlayer(GetKillingUnit())==Player(10))
endfunction
function Trig_Update_LeaderBoard_BadSide_Add_Conditions takes nothing returns boolean
return(Trig_Update_LeaderBoard_BadSide_Add_Func001C())
endfunction
function Trig_Update_LeaderBoard_BadSide_Add_Func002C takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Update_LeaderBoard_BadSide_Add_Actions takes nothing returns nothing
if(Trig_Update_LeaderBoard_BadSide_Add_Func002C())then
set udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]=(udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+5)
else
set udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]=(udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+1)
endif
call LeaderboardSetPlayerItemValueBJ(GetOwningPlayer(GetKillingUnit()),bj_lastCreatedLeaderboard,udg_integers05[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))])
call LeaderboardSortItemsBJ(bj_lastCreatedLeaderboard,0,false)
endfunction
function Trig_Setup_LeaderBoard_Func003002001001 takes nothing returns boolean
return(GetPlayerSlotState(GetEnumPlayer())==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_Setup_LeaderBoard_Func003002001002 takes nothing returns boolean
return(GetPlayerController(GetEnumPlayer())==MAP_CONTROL_USER)
endfunction
function Trig_Setup_LeaderBoard_Func003002001 takes nothing returns boolean
return GetBooleanAnd(Trig_Setup_LeaderBoard_Func003002001001(),Trig_Setup_LeaderBoard_Func003002001002())
endfunction
function Trig_Setup_LeaderBoard_Func003002 takes nothing returns nothing
if(Trig_Setup_LeaderBoard_Func003002001())then
call LeaderboardAddItemBJ(GetEnumPlayer(),bj_lastCreatedLeaderboard,(("D"+": ")+GetPlayerName(GetEnumPlayer())),0)
endif
endfunction
function Trig_Setup_LeaderBoard_Func004002001001 takes nothing returns boolean
return(GetPlayerSlotState(GetEnumPlayer())==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_Setup_LeaderBoard_Func004002001002 takes nothing returns boolean
return(GetPlayerController(GetEnumPlayer())==MAP_CONTROL_USER)
endfunction
function Trig_Setup_LeaderBoard_Func004002001 takes nothing returns boolean
return GetBooleanAnd(Trig_Setup_LeaderBoard_Func004002001001(),Trig_Setup_LeaderBoard_Func004002001002())
endfunction
function Trig_Setup_LeaderBoard_Func004002 takes nothing returns nothing
if(Trig_Setup_LeaderBoard_Func004002001())then
call LeaderboardAddItemBJ(GetEnumPlayer(),bj_lastCreatedLeaderboard,(("H"+": ")+GetPlayerName(GetEnumPlayer())),0)
endif
endfunction
function Trig_Setup_LeaderBoard_Actions takes nothing returns nothing
call CreateLeaderboardBJ(bj_FORCE_ALL_PLAYERS,"DDay Leader Board")
set udg_leaderboard01=bj_lastCreatedLeaderboard
call ForForce(GetPlayersAllies(Player(11)),function Trig_Setup_LeaderBoard_Func003002)
call ForForce(GetPlayersAllies(Player(5)),function Trig_Setup_LeaderBoard_Func004002)
call LeaderboardDisplayBJ(true,bj_lastCreatedLeaderboard)
call LeaderboardSetStyle(bj_lastCreatedLeaderboard,true,true,true,true)
endfunction
function Trig_TimerzBegin_Actions takes nothing returns nothing
call TriggerSleepAction(.01)
call StartTimerBJ(udg_timer15,false,15.)
call CreateTimerDialogBJ(bj_lastStartedTimer,"All Modes")
set udg_timerdialog03=bj_lastCreatedTimerDialog
call TriggerSleepAction(15.)
call DestroyTimerDialog(udg_timerdialog03)
endfunction
function Trig_TimerTourney_Actions takes nothing returns nothing
call TriggerSleepAction(.01)
call StartTimerBJ(udg_timer16,false,20.)
call CreateTimerDialogBJ(bj_lastStartedTimer,"TR (Tournament)")
set udg_timerdialog04=bj_lastCreatedTimerDialog
call TriggerSleepAction(20.)
call DestroyTimerDialog(udg_timerdialog04)
endfunction
function Trig_rs_mode_Actions takes nothing returns nothing
call SetMapFlag(MAP_LOCK_RESOURCE_TRADING,true)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00Resource Ban mode activated. Resource Trading is now disabled.|r")
call DisableTrigger(udg_trigger11)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_rs_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00RS Mode Has Been Disabled")
call DisableTrigger(udg_trigger10)
endfunction
function Trig_nr_mode_Actions takes nothing returns nothing
call ReplaceUnitBJ(udg_unit71,'n02W',1)
call ReplaceUnitBJ(udg_unit120,'n02X',1)
call ReplaceUnitBJ(udg_unit128,'n02Y',1)
call ReplaceUnitBJ(udg_unit121,'n02Z',1)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00No Repair mode activated. Repair abilities have been removed from necessary repair workers.|r")
call DisableTrigger(udg_trigger13)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_nr_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00NR Mode Has Been Disabled")
call DisableTrigger(udg_trigger12)
endfunction
function Trig_nf_mode_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger206)
call DisableTrigger(udg_trigger207)
call DisableTrigger(udg_trigger208)
call DisableTrigger(udg_trigger209)
call EnableTrigger(udg_trigger204)
call EnableTrigger(udg_trigger205)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00No Flag mode activated. Dark/Light Forces Flags dont have any effect now (Troops hp doesnt increase).|r")
call DisableTrigger(udg_trigger15)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_nf_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00NF Mode Has Been Disabled")
call DisableTrigger(udg_trigger14)
endfunction
function Trig_tr_mode_Actions takes nothing returns nothing
call ReplaceUnitBJ(udg_unit71,'n02W',1)
call ReplaceUnitBJ(udg_unit120,'n02X',1)
call ReplaceUnitBJ(udg_unit128,'n02Y',1)
call ReplaceUnitBJ(udg_unit121,'n02Z',1)
call DisableTrigger(udg_trigger12)
call DisableTrigger(udg_trigger13)
call DisableTrigger(udg_trigger206)
call DisableTrigger(udg_trigger207)
call DisableTrigger(udg_trigger208)
call DisableTrigger(udg_trigger209)
call EnableTrigger(udg_trigger204)
call EnableTrigger(udg_trigger205)
call DisableTrigger(udg_trigger14)
call DisableTrigger(udg_trigger15)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00Tournament Mode has been enabled, all tournament rules now apply.")
call LeaderboardSetLabelBJ(udg_leaderboard01,"DDay Tournament")
call DisableTrigger(udg_trigger17)
call TriggerSleepAction(.01)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_tr_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00TR (Tournament) Mode Has Been Disabled")
call DisableTrigger(udg_trigger16)
endfunction
function Trig_ob_mode_Func011002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_ob_mode_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsOfPlayerAll(GetTriggerPlayer()),function Trig_ob_mode_Func011002)
call SetPlayerStateBJ(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD,0)
call LeaderboardSetPlayerItemLabelBJ(GetTriggerPlayer(),udg_leaderboard01,"Observer")
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("|cffffcc00"+GetPlayerName(GetTriggerPlayer()))+" Has Become an Observer|r"))
endfunction
function Trig_ob_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00OB (Observer) Mode Has Been Disabled")
call DisableTrigger(udg_trigger18)
endfunction
function Trig_na_mode_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger12)
call DisableTrigger(udg_trigger16)
call RemoveUnit(udg_unit71)
call RemoveUnit(udg_unit120)
call RemoveUnit(udg_unit89)
call ReplaceUnitBJ(udg_unit39,'n032',1)
call ReplaceUnitBJ(udg_unit127,'n034',1)
call RemoveUnit(udg_unit128)
call RemoveUnit(udg_unit121)
call RemoveUnit(udg_unit78)
call ReplaceUnitBJ(udg_unit91,'n033',1)
call ReplaceUnitBJ(udg_unit61,'n035',1)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect123),"Abilities\\Spells\\Human\\DivineShield\\DivineShieldTarget.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect124),"Abilities\\Spells\\Human\\DivineShield\\DivineShieldTarget.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect125),"Abilities\\Spells\\Human\\DivineShield\\DivineShieldTarget.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect121),"Abilities\\Spells\\Undead\\UnholyAura\\UnholyAura.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect120),"Abilities\\Spells\\Undead\\UnholyAura\\UnholyAura.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect122),"Abilities\\Spells\\Undead\\UnholyAura\\UnholyAura.mdl")
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00No All mode has been Enabled, all Mecenaries, helping Units and items have been removed from the Game.")
call DisableTrigger(udg_trigger21)
call TriggerSleepAction(.01)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_na_off_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00NA (No All) Mode Has Been Disabled")
call DisableTrigger(udg_trigger20)
endfunction
function Trig_Moderator_Init_Func011Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_Moderator_Init_Func011Func005002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Moderator_Init_Func011C takes nothing returns boolean
return(Trig_Moderator_Init_Func011Func001C())
endfunction
function Trig_Moderator_Init_Actions takes nothing returns nothing
if(Trig_Moderator_Init_Func011C())then
call SetForceAllianceStateBJ(bj_FORCE_ALL_PLAYERS,GetForceOfPlayer(GetTriggerPlayer()),0)
set udg_boolean14=true
call ForGroupBJ(GetUnitsOfPlayerAll(GetTriggerPlayer()),function Trig_Moderator_Init_Func011Func005002)
call SetPlayerStateBJ(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD,0)
call CreateFogModifierRectBJ(true,GetTriggerPlayer(),FOG_OF_WAR_VISIBLE,bj_mapInitialPlayableArea)
call LeaderboardSetPlayerItemLabelBJ(GetTriggerPlayer(),udg_leaderboard01,(GetPlayerName(GetTriggerPlayer())+" (Moderator)"))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(("|cffffcc00"+GetPlayerName(GetTriggerPlayer()))+" is now Moderating this Game|r"))
call DisableTrigger(GetTriggeringTrigger())
endif
endfunction
function Trig_P1_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P1_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P1_Resource_Func012C takes nothing returns boolean
return(Trig_P1_Resource_Func012Func001C())
endfunction
function Trig_P1_Resource_Actions takes nothing returns nothing
if(Trig_P1_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|cFFF00000"+(GetPlayerName(Player(0))+"|r "))+(I2S(GetPlayerState(Player(0),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(0),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P2_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P2_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P2_Resource_Func012C takes nothing returns boolean
return(Trig_P2_Resource_Func012Func001C())
endfunction
function Trig_P2_Resource_Actions takes nothing returns nothing
if(Trig_P2_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c000000FF"+(GetPlayerName(Player(1))+"|r "))+(I2S(GetPlayerState(Player(1),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(1),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P3_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P3_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P3_Resource_Func012C takes nothing returns boolean
return(Trig_P3_Resource_Func012Func001C())
endfunction
function Trig_P3_Resource_Actions takes nothing returns nothing
if(Trig_P3_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c000EEEEE"+(GetPlayerName(Player(2))+"|r "))+(I2S(GetPlayerState(Player(2),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(2),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P4_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P4_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P4_Resource_Func012C takes nothing returns boolean
return(Trig_P4_Resource_Func012Func001C())
endfunction
function Trig_P4_Resource_Actions takes nothing returns nothing
if(Trig_P4_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c77700077"+(GetPlayerName(Player(3))+"|r "))+(I2S(GetPlayerState(Player(3),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(3),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P5_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P5_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P5_Resource_Func012C takes nothing returns boolean
return(Trig_P5_Resource_Func012Func001C())
endfunction
function Trig_P5_Resource_Actions takes nothing returns nothing
if(Trig_P5_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|cFFFFFF00"+(GetPlayerName(Player(4))+"|r "))+(I2S(GetPlayerState(Player(4),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(4),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P7_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P7_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P7_Resource_Func012C takes nothing returns boolean
return(Trig_P7_Resource_Func012Func001C())
endfunction
function Trig_P7_Resource_Actions takes nothing returns nothing
if(Trig_P7_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c000EEE00"+(GetPlayerName(Player(6))+"|r "))+(I2S(GetPlayerState(Player(6),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(6),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P8_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P8_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P8_Resource_Func012C takes nothing returns boolean
return(Trig_P8_Resource_Func012Func001C())
endfunction
function Trig_P8_Resource_Actions takes nothing returns nothing
if(Trig_P8_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|cFFF222FF"+(GetPlayerName(Player(7))+"|r "))+(I2S(GetPlayerState(Player(7),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(7),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P9_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P9_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P9_Resource_Func012C takes nothing returns boolean
return(Trig_P9_Resource_Func012Func001C())
endfunction
function Trig_P9_Resource_Actions takes nothing returns nothing
if(Trig_P9_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c88888888"+(GetPlayerName(Player(8))+"|r "))+(I2S(GetPlayerState(Player(8),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(8),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P10_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P10_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P10_Resource_Func012C takes nothing returns boolean
return(Trig_P10_Resource_Func012Func001C())
endfunction
function Trig_P10_Resource_Actions takes nothing returns nothing
if(Trig_P10_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c777DDDFF"+(GetPlayerName(Player(9))+"|r "))+(I2S(GetPlayerState(Player(9),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(9),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_P11_Resource_Conditions takes nothing returns boolean
return(udg_boolean14)
endfunction
function Trig_P11_Resource_Func012Func001C takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="Dh-Neo")or(GetPlayerName(GetTriggerPlayer())=="Dh-Marshall")or(GetPlayerName(GetTriggerPlayer())=="Dh-Freddd")or(GetPlayerName(GetTriggerPlayer())=="Freddd")
endfunction
function Trig_P11_Resource_Func012C takes nothing returns boolean
return(Trig_P11_Resource_Func012Func001C())
endfunction
function Trig_P11_Resource_Actions takes nothing returns nothing
if(Trig_P11_Resource_Func012C())then
call DisplayTextToForce(GetForceOfPlayer(GetTriggerPlayer()),(("|c00077766"+(GetPlayerName(Player(10))+"|r "))+(I2S(GetPlayerState(Player(10),PLAYER_STATE_RESOURCE_GOLD))+("/"+I2S(GetPlayerState(Player(10),PLAYER_STATE_RESOURCE_LUMBER))))))
endif
endfunction
function Trig_Moderator_Off_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger22)
endfunction
function Trig_Hero_Move_Actions takes nothing returns nothing
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect93))
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect93),1.)
endfunction
function Trig_Kill_Chicken_Actions takes nothing returns nothing
call KillUnit(udg_unit69)
endfunction
function Trig_Inferno_Actions takes nothing returns nothing
call SetDoodadAnimationRectBJ("morph",'D021',udg_rect23)
call TriggerSleepAction(1.3)
call SetDoodadAnimationRectBJ("stand alternate",'D021',udg_rect23)
endfunction
function Trig_Alliance_Actions takes nothing returns nothing
call SetPlayerAllianceStateBJ(Player(0),Player(5),3)
call SetPlayerAllianceStateBJ(Player(1),Player(5),3)
call SetPlayerAllianceStateBJ(Player(2),Player(5),3)
call SetPlayerAllianceStateBJ(Player(3),Player(5),3)
call SetPlayerAllianceStateBJ(Player(4),Player(5),3)
call SetPlayerAllianceStateBJ(Player(6),Player(11),3)
call SetPlayerAllianceStateBJ(Player(7),Player(11),3)
call SetPlayerAllianceStateBJ(Player(8),Player(11),3)
call SetPlayerAllianceStateBJ(Player(9),Player(11),3)
call SetPlayerAllianceStateBJ(Player(10),Player(11),3)
endfunction
function Trig_Global_Timer_Actions takes nothing returns nothing
set udg_integer34=(udg_integer34+1)
endfunction
function Trig_Camera_Actions takes nothing returns nothing
call PanCameraToTimedLocForPlayer(Player(0),GetRectCenter(udg_rect40),1.)
call PanCameraToTimedLocForPlayer(Player(1),GetRectCenter(udg_rect40),1.)
call PanCameraToTimedLocForPlayer(Player(2),GetRectCenter(udg_rect40),1.)
call PanCameraToTimedLocForPlayer(Player(3),GetRectCenter(udg_rect40),1.)
call PanCameraToTimedLocForPlayer(Player(4),GetRectCenter(udg_rect40),1.)
call PanCameraToTimedLocForPlayer(Player(6),GetRectCenter(udg_rect41),1.)
call PanCameraToTimedLocForPlayer(Player(7),GetRectCenter(udg_rect41),1.)
call PanCameraToTimedLocForPlayer(Player(8),GetRectCenter(udg_rect41),1.)
call PanCameraToTimedLocForPlayer(Player(9),GetRectCenter(udg_rect41),1.)
call PanCameraToTimedLocForPlayer(Player(10),GetRectCenter(udg_rect41),1.)
endfunction
function Trig_Count60_Actions takes nothing returns nothing
set udg_boolean07=true
endfunction
function Trig_CountPlayers_Func003002001 takes nothing returns boolean
return(GetPlayerSlotState(GetEnumPlayer())==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_CountPlayers_Func003002 takes nothing returns nothing
if(Trig_CountPlayers_Func003002001())then
set udg_integer17=(udg_integer17+1)
endif
endfunction
function Trig_CountPlayers_Func004002001 takes nothing returns boolean
return(GetPlayerSlotState(GetEnumPlayer())==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_CountPlayers_Func004002 takes nothing returns nothing
if(Trig_CountPlayers_Func004002001())then
set udg_integer18=(udg_integer18+1)
endif
endfunction
function Trig_CountPlayers_Actions takes nothing returns nothing
set udg_integer17=0
set udg_integer18=0
call ForForce(GetPlayersAllies(Player(5)),function Trig_CountPlayers_Func003002)
call ForForce(GetPlayersAllies(Player(11)),function Trig_CountPlayers_Func004002)
endfunction
function Trig_VariablesInitialization_Actions takes nothing returns nothing
call SetTimeOfDay(10.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=39
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_integers03[bj_forLoopAIndex]=bj_forLoopAIndex
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=39
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_booleans03[bj_forLoopAIndex]=true
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=39
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_integers02[bj_forLoopAIndex]=bj_forLoopAIndex
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=39
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_booleans02[bj_forLoopAIndex]=true
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=10
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_integers01[bj_forLoopAIndex]=0
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=12
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_integers04[bj_forLoopAIndex]=0
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=12
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_booleans01[bj_forLoopAIndex]=false
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=0
set bj_forLoopAIndexEnd=9
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_strings01[bj_forLoopAIndex]=I2S(bj_forLoopAIndex)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_strings01[(bj_forLoopAIndex+9)]=SubStringBJ("abcdef",bj_forLoopAIndex,bj_forLoopAIndex)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_boolean14=false
set udg_integer59=0
set udg_integer60=0
set udg_real13=.0
set udg_integer61=0
set udg_integer62=0
set udg_real14=.0
set udg_integer63=0
set udg_real15=.0
set udg_integer64=0
set udg_real16=.0
set udg_integer01=1
set udg_strings02[udg_integer01]="|cFFF00000"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c000000FF"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c000EEEEE"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c77700077"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|cFFFFFF00"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|cFFF77700"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c000EEE00"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|cFFF222FF"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c88888888"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c777DDDFF"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c00077766"
set udg_integer01=(udg_integer01+1)
set udg_strings02[udg_integer01]="|c44400000"
endfunction
function Trig_BountyON_Func001002 takes nothing returns nothing
call SetPlayerFlagBJ(PLAYER_STATE_GIVES_BOUNTY,true,GetEnumPlayer())
endfunction
function Trig_BountyON_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_BountyON_Func001002)
endfunction
function Trig_Visibility_Func001002 takes nothing returns nothing
call CreateFogModifierRectBJ(true,GetEnumPlayer(),FOG_OF_WAR_VISIBLE,udg_rect19)
endfunction
function Trig_Visibility_Func002002 takes nothing returns nothing
call CreateFogModifierRectBJ(true,GetEnumPlayer(),FOG_OF_WAR_VISIBLE,udg_rect23)
endfunction
function Trig_Visibility_Actions takes nothing returns nothing
call ForForce(GetPlayersAllies(Player(5)),function Trig_Visibility_Func001002)
call ForForce(GetPlayersAllies(Player(11)),function Trig_Visibility_Func002002)
endfunction
function Trig_HeroInit_Func001002 takes nothing returns nothing
call SetPlayerHandicapXPBJ(GetEnumPlayer(),60.)
endfunction
function Trig_HeroInit_Func002002 takes nothing returns nothing
call AdjustPlayerStateBJ(800,GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_HeroInit_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_HeroInit_Func001002)
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_HeroInit_Func002002)
call SetUnitInvulnerable(udg_unit83,true)
call SetUnitInvulnerable(udg_unit82,true)
call SetUnitInvulnerable(udg_unit73,true)
call SetUnitInvulnerable(udg_unit74,true)
endfunction
function Trig_UnlimitedFood_Func001002 takes nothing returns nothing
call SetPlayerStateBJ(GetEnumPlayer(),PLAYER_STATE_RESOURCE_FOOD_CAP,25)
endfunction
function Trig_UnlimitedFood_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_UnlimitedFood_Func001002)
endfunction
function Trig_KillPlayerlessUnits_Func001003001 takes nothing returns boolean
return(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_KillPlayerlessUnits_Func001003002002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_KillPlayerlessUnits_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=12
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_KillPlayerlessUnits_Func001003001())then
call ForGroupBJ(GetUnitsOfPlayerAll(Player(-1+(bj_forLoopAIndex))),function Trig_KillPlayerlessUnits_Func001003002002)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function SecondKillActions2 takes nothing returns nothing
local integer random
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+" performed |CFFFF0303DOUBLE |CFF20C000COMBO KILL !! |CFFFF0303Excellent !!"))
call SetSpeechVolumeGroupsBJ()
call TriggerSleepAction(.5)
set random=GetRandomInt(1,udg_integer38)
if(random==1)then
call PlaySoundBJ(udg_sound07)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==2)then
call PlaySoundBJ(udg_sound06)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==3)then
call PlaySoundBJ(udg_sound05)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==4)then
call PlaySoundBJ(udg_sound03)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==5)then
call PlaySoundBJ(udg_sound02)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==6)then
call PlaySoundBJ(udg_sound11)
call TriggerWaitForSound(bj_lastPlayedSound,0)
endif
endif
endif
endif
endif
endif
call VolumeGroupResetBJ()
endfunction
function ThirdKillActions2 takes nothing returns nothing
local integer random
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+" performed |CFFFF0303TRIPLE |CFF20C000COMBO KILL !!! |CFFFF0303SUPERB !!!"))
call SetSpeechVolumeGroupsBJ()
call TriggerSleepAction(.5)
set random=GetRandomInt(1,udg_integer39)
if(random==1)then
call PlaySoundBJ(udg_sound04)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==2)then
call PlaySoundBJ(udg_sound10)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==3)then
call PlaySoundBJ(udg_sound22)
call TriggerWaitForSound(bj_lastPlayedSound,0)
endif
endif
endif
call VolumeGroupResetBJ()
endfunction
function Trig_Fast_Kills_Trig_Conditions2 takes nothing returns boolean
if(not(IsUnitType(GetDyingUnit(),UNIT_TYPE_HERO)))then
return false
endif
if((GetOwningPlayer(GetKillingUnit())==Player(0)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(1)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(2)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(3)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(4)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(5)))then
return true
endif
return false
endfunction
function Trig_Fast_Kills_Trig_Actions2 takes nothing returns nothing
local integer playerNumber
local integer killTime
local integer preKillTime
local integer prepreKillTime
set killTime=udg_integer34
set playerNumber=(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))
if(udg_integers06[playerNumber]==0)then
set udg_integers06[playerNumber]=killTime
else
if(udg_integers07[playerNumber]==0)then
set preKillTime=udg_integers06[playerNumber]
set udg_integers07[playerNumber]=killTime
if((killTime-preKillTime)<udg_integer35)then
call SecondKillActions2()
endif
else
set prepreKillTime=udg_integers06[playerNumber]
set preKillTime=udg_integers07[playerNumber]
set udg_integers06[playerNumber]=udg_integers07[playerNumber]
set udg_integers07[playerNumber]=killTime
if((killTime-prepreKillTime)<=(udg_integer35*2))then
call ThirdKillActions2()
else
if((killTime-preKillTime)<udg_integer35)then
call SecondKillActions2()
endif
endif
endif
endif
endfunction
function SecondKillActions takes nothing returns nothing
local integer random
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+" performed |CFFFF0303DOUBLE |CFF20C000COMBO KILL !! |CFFFF0303Excellent !!"))
call SetSpeechVolumeGroupsBJ()
call TriggerSleepAction(.5)
set random=GetRandomInt(1,udg_integer36)
if(random==1)then
call PlaySoundBJ(udg_sound27)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==2)then
call PlaySoundBJ(udg_sound28)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==3)then
call PlaySoundBJ(udg_sound30)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==4)then
call PlaySoundBJ(udg_sound31)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==5)then
call PlaySoundBJ(udg_sound32)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==6)then
call PlaySoundBJ(udg_sound33)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==7)then
call PlaySoundBJ(udg_sound34)
call TriggerWaitForSound(bj_lastPlayedSound,0)
endif
endif
endif
endif
endif
endif
endif
call VolumeGroupResetBJ()
endfunction
function ThirdKillActions takes nothing returns nothing
local integer random
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+" performed |CFFFF0303TRIPLE |CFF20C000COMBO KILL !!! |CFFFF0303SUPERB !!!"))
call SetSpeechVolumeGroupsBJ()
call TriggerSleepAction(.5)
set random=GetRandomInt(1,udg_integer37)
if(random==1)then
call PlaySoundBJ(udg_sound29)
call TriggerWaitForSound(bj_lastPlayedSound,0)
else
if(random==2)then
call PlaySoundBJ(udg_sound13)
call TriggerWaitForSound(bj_lastPlayedSound,0)
endif
endif
call VolumeGroupResetBJ()
endfunction
function Trig_Fast_Kills_Trig_Conditions takes nothing returns boolean
if(not(IsUnitType(GetDyingUnit(),UNIT_TYPE_HERO)))then
return false
endif
if((GetOwningPlayer(GetKillingUnit())==Player(6)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(7)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(8)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(9)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(10)))then
return true
endif
if((GetOwningPlayer(GetKillingUnit())==Player(11)))then
return true
endif
return false
endfunction
function Trig_Fast_Kills_Trig_Actions takes nothing returns nothing
local integer playerNumber
local integer killTime
local integer preKillTime
local integer prepreKillTime
set killTime=udg_integer34
set playerNumber=(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))
if(udg_integers06[playerNumber]==0)then
set udg_integers06[playerNumber]=killTime
else
if(udg_integers07[playerNumber]==0)then
set preKillTime=udg_integers06[playerNumber]
set udg_integers07[playerNumber]=killTime
if((killTime-preKillTime)<udg_integer35)then
call SecondKillActions()
endif
else
set prepreKillTime=udg_integers06[playerNumber]
set preKillTime=udg_integers07[playerNumber]
set udg_integers06[playerNumber]=udg_integers07[playerNumber]
set udg_integers07[playerNumber]=killTime
if((killTime-prepreKillTime)<=(udg_integer35*2))then
call ThirdKillActions()
else
if((killTime-preKillTime)<udg_integer35)then
call SecondKillActions()
endif
endif
endif
endif
endfunction
function Trig_Cyborg_FS_Finish_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A000')
endfunction
function Trig_Cyborg_FS_Finish_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit118,GetUnitLoc(udg_unit02))
call PlaySoundOnUnitBJ(udg_sound18,'d',udg_unit02)
call PauseUnit(udg_unit02,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit02),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
set udg_effects03[1]=bj_lastCreatedEffect
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit02,"Abilities\\Spells\\Orc\\FeralSpirit\\feralspirittarget.mdl")
set udg_effects03[2]=bj_lastCreatedEffect
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit02),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")
set udg_effects03[3]=bj_lastCreatedEffect
call TerrainDeformationRippleBJ(2.,false,OffsetLocation(GetUnitLoc(udg_unit02),0,0),512.,512.,64,1,512)
call UnitAddAbility(udg_unit118,'A001')
call IssueImmediateOrderById(udg_unit118,852100)
call UnitRemoveAbility(udg_unit118,'A001')
call IssueTargetOrderById(udg_unit118,851983,udg_unit02)
call PolledWait(5.)
call DestroyEffect(udg_effects03[1])
call DestroyEffect(udg_effects03[2])
call DestroyEffect(udg_effects03[3])
call PauseUnit(udg_unit02,false)
endfunction
function Trig_Cyborg_FS_Finish_Copy_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A000')
endfunction
function Trig_Cyborg_FS_Finish_Copy_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit118,GetUnitLoc(udg_unit02))
call PlaySoundOnUnitBJ(udg_sound18,'d',udg_unit02)
call PauseUnit(udg_unit02,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit02),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit02,"Abilities\\Spells\\Orc\\FeralSpirit\\feralspirittarget.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit02),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")
call TerrainDeformationRippleBJ(2.,false,OffsetLocation(GetUnitLoc(udg_unit02),0,0),512.,512.,64,1,512)
call UnitAddAbility(udg_unit118,'A001')
call IssueImmediateOrderById(udg_unit118,852100)
call UnitRemoveAbility(udg_unit118,'A001')
call IssueTargetOrderById(udg_unit118,851983,udg_unit02)
call PolledWait(5.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call PauseUnit(udg_unit02,false)
endfunction
function Trig_Cyborg_FS_Start_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852230)
endfunction
function Trig_Cyborg_FS_Start_Actions takes nothing returns nothing
set udg_unit02=GetOrderTargetUnit()
endfunction
function Trig_Ninja_NS_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A00I')
endfunction
function Trig_Ninja_NS_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit132),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit132,"Abilities\\Spells\\Orc\\FeralSpirit\\feralspirittarget.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit132),"Abilities\\Spells\\NightElf\\BattleRoar\\RoarCaster.mdl")
call TerrainDeformationRippleBJ(2.,false,OffsetLocation(GetUnitLoc(udg_unit132),0,0),512.,512.,64,1,512)
call UnitAddAbility(udg_unit132,'A00H')
call IssueImmediateOrderById(udg_unit132,852100)
call UnitRemoveAbility(udg_unit132,'A00H')
endfunction
function Trig_DLaser_Func001002 takes nothing returns nothing
call PanCameraToTimedLocForPlayer(GetEnumPlayer(),GetRectCenter(udg_rect54),1.)
endfunction
function Trig_DLaser_Func009002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),8.)
endfunction
function Trig_DLaser_Func010002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_DLaser_Func017002 takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function Trig_DLaser_Actions takes nothing returns nothing
call ForForce(GetPlayersAllies(Player(11)),function Trig_DLaser_Func001002)
call PolledWait(2)
call PlaySoundAtPointBJ(udg_sound12,'d',GetRectCenter(udg_rect54),0)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect54),"Abilities\\Spells\\Human\\ReviveHuman\\ReviveHuman.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect54),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect54),"Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect54),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call ForForce(bj_FORCE_PLAYER[11],function Trig_DLaser_Func009002)
call ForGroupBJ(GetUnitsInRectAll(udg_rect54),function Trig_DLaser_Func010002)
call TerrainDeformationRippleBJ(8.,false,GetRectCenter(udg_rect54),1024,1024,64,1,512)
call TerrainDeformationCraterBJ(1.5,true,GetRectCenter(udg_rect54),512,320.)
call CreateNUnitsAtLoc(1,'Utic',Player(11),GetRectCenter(udg_rect54),bj_UNIT_FACING)
call UnitRemoveAbility(bj_lastCreatedUnit,'AInv')
call SetUnitScalePercent(bj_lastCreatedUnit,300.,300.,300.)
call PolledWait(5.)
call ForForce(GetPlayersAllies(Player(11)),function Trig_DLaser_Func017002)
endfunction
function Trig_GLaser_Func003002 takes nothing returns nothing
call PanCameraToTimedLocForPlayer(GetEnumPlayer(),GetRectCenter(udg_rect53),1.)
endfunction
function Trig_GLaser_Func011002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),8.)
endfunction
function Trig_GLaser_Func012002 takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_GLaser_Func019002 takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function Trig_GLaser_Actions takes nothing returns nothing
call TimerDialogDisplay(udg_timerdialog01,false)
call DestroyTimerDialog(udg_timerdialog01)
call ForForce(GetPlayersAllies(Player(5)),function Trig_GLaser_Func003002)
call PolledWait(2)
call PlaySoundAtPointBJ(udg_sound12,'d',GetRectCenter(udg_rect53),0)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect53),"Abilities\\Spells\\Human\\ReviveHuman\\ReviveHuman.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect53),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect53),"Abilities\\Spells\\Human\\FlameStrike\\FlameStrike1.mdl")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect53),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call ForForce(GetPlayersAllies(Player(5)),function Trig_GLaser_Func011002)
call ForGroupBJ(GetUnitsInRectAll(udg_rect53),function Trig_GLaser_Func012002)
call TerrainDeformationRippleBJ(8.,false,GetRectCenter(udg_rect53),1024,1024,64,1,512)
call TerrainDeformationCraterBJ(1.5,true,GetRectCenter(udg_rect53),512,320.)
call CreateNUnitsAtLoc(1,'Huth',Player(5),GetRectCenter(udg_rect53),bj_UNIT_FACING)
call UnitRemoveAbility(bj_lastCreatedUnit,'AInv')
call SetUnitScalePercent(bj_lastCreatedUnit,300.,300.,300.)
call PolledWait(5.)
call ForForce(GetPlayersAllies(Player(5)),function Trig_GLaser_Func019002)
endfunction
function Trig_Kills_Conditions takes nothing returns boolean
return(IsUnitType(GetDyingUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Kills_Actions takes nothing returns nothing
set udg_integer21=(udg_integers04[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+1)
set udg_integers04[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]=udg_integer21
call CreateTextTagUnitBJ((I2S(udg_integers04[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))])+"!"),GetKillingUnit(),20.,24.,.0,.0,100.,.0)
call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)
call ShowTextTagForceBJ(true,bj_lastCreatedTextTag,bj_FORCE_ALL_PLAYERS)
call TriggerSleepAction(2)
call DestroyTextTag(bj_lastCreatedTextTag)
endfunction
function Trig_No2Ankh_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='ankh')
endfunction
function Trig_No2Ankh_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='ankh')
endfunction
function Trig_No2Ankh_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_No2Ankh_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_No2Ankh_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_No2Ankh_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_No2TP_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='stwp')
endfunction
function Trig_No2TP_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='stwp')
endfunction
function Trig_No2TP_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_No2TP_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_No2TP_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_No2TP_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoSteelSkin_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I002')
endfunction
function Trig_NoSteelSkin_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I002')
endfunction
function Trig_NoSteelSkin_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoSteelSkin_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoSteelSkin_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSteelSkin_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSteelSkin_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoSteelSkin_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoFanatic_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I000')
endfunction
function Trig_NoFanatic_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I000')
endfunction
function Trig_NoFanatic_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02E')
endfunction
function Trig_NoFanatic_Func005001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoFanatic_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFanatic_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFanatic_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoFanatic_Func005001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoWirt_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='IC13')
endfunction
function Trig_NoWirt_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC13')
endfunction
function Trig_NoWirt_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoWirt_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoWirt_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoWirt_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoGhoaul_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00I')
endfunction
function Trig_NoGhoaul_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoGhoaul_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoGhoaul_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoGhoaul_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoGhoaul_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoGhoaul_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoGhoaul_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoGhoaul_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoGhoaul_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoGhoaul_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoGhoaul_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoGhoaul_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoGhoaul_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoSantex_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00J')
endfunction
function Trig_NoSantex_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoSantex_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoSantex_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoSantex_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoSantex_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoSantex_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoSantex_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoSantex_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoSantex_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoSantex_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoSantex_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoSantex_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoSantex_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoNemesis_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00K')
endfunction
function Trig_NoNemesis_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoNemesis_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoNemesis_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoNemesis_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoNemesis_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoNemesis_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoNemesis_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoNemesis_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoNemesis_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoNemesis_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoNemesis_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoNemesis_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoNemesis_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoToranaga_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00L')
endfunction
function Trig_NoToranaga_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoToranaga_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoToranaga_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoToranaga_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoToranaga_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoToranaga_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoToranaga_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoToranaga_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoToranaga_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoToranaga_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoToranaga_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoToranaga_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoToranaga_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoAttila_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00N')
endfunction
function Trig_NoAttila_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoAttila_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoAttila_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoAttila_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoAttila_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoAttila_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoAttila_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoAttila_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoAttila_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoAttila_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoAttila_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAttila_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoAttila_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoMystical_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I01H')
endfunction
function Trig_NoMystical_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoMystical_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoMystical_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoMystical_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoMystical_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoMystical_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoMystical_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoMystical_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoMystical_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoMystical_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoMystical_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMystical_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoMystical_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoFireLance_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I01P')
endfunction
function Trig_NoFireLance_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoFireLance_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoFireLance_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoFireLance_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoFireLance_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoFireLance_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoFireLance_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoFireLance_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoFireLance_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoFireLance_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoFireLance_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFireLance_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoFireLance_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoFrostLance_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I026')
endfunction
function Trig_NoFrostLance_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoFrostLance_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoFrostLance_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoFrostLance_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoFrostLance_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoFrostLance_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoFrostLance_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoFrostLance_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoFrostLance_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoFrostLance_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoFrostLance_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoFrostLance_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoFrostLance_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoMysticalShield_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I01R')
endfunction
function Trig_NoMysticalShield_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoMysticalShield_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoMysticalShield_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoMysticalShield_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoMysticalShield_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoMysticalShield_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoMysticalShield_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I002')
endfunction
function Trig_NoMysticalShield_Func010001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoMysticalShield_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysticalShield_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoMysticalShield_Func010001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoZalmoxes_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00M')
endfunction
function Trig_NoZalmoxes_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_NoZalmoxes_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_NoZalmoxes_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00J')
endfunction
function Trig_NoZalmoxes_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00K')
endfunction
function Trig_NoZalmoxes_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00I')
endfunction
function Trig_NoZalmoxes_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_NoZalmoxes_Func009003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01H')
endfunction
function Trig_NoZalmoxes_Func010003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01P')
endfunction
function Trig_NoZalmoxes_Func011003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I026')
endfunction
function Trig_NoZalmoxes_Func012001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoZalmoxes_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func009003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func010003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoZalmoxes_Func011003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoZalmoxes_Func012001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoArmourLight_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00O')
endfunction
function Trig_NoArmourLight_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoArmourLight_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoArmourLight_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoArmourLight_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoArmourLight_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoArmourLight_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoArmourLight_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoArmourLight_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourLight_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoArmourLight_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoArmourStrength_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00P')
endfunction
function Trig_NoArmourStrength_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoArmourStrength_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoArmourStrength_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoArmourStrength_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoArmourStrength_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoArmourStrength_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoArmourStrength_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoArmourStrength_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourStrength_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoArmourStrength_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoArmourMages_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00Q')
endfunction
function Trig_NoArmourMages_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoArmourMages_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoArmourMages_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoArmourMages_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoArmourMages_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoArmourMages_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoArmourMages_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoArmourMages_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourMages_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoArmourMages_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoArmourRock_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00R')
endfunction
function Trig_NoArmourRock_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoArmourRock_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoArmourRock_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoArmourRock_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoArmourRock_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoArmourRock_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoArmourRock_Func009001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoArmourRock_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourRock_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoArmourRock_Func009001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoArmourGods_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I00S')
endfunction
function Trig_NoArmourGods_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_NoArmourGods_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00O')
endfunction
function Trig_NoArmourGods_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Q')
endfunction
function Trig_NoArmourGods_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoArmourGods_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00P')
endfunction
function Trig_NoArmourGods_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01R')
endfunction
function Trig_NoArmourGods_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoArmourGods_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoArmourGods_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoArmourGods_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoClaws1_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I01B')
endfunction
function Trig_NoClaws1_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01B')
endfunction
function Trig_NoClaws1_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I018')
endfunction
function Trig_NoClaws1_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I015')
endfunction
function Trig_NoClaws1_Func005001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoClaws1_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws1_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws1_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws1_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoClaws1_Func005001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoClaws2_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I018')
endfunction
function Trig_NoClaws2_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01B')
endfunction
function Trig_NoClaws2_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I018')
endfunction
function Trig_NoClaws2_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I015')
endfunction
function Trig_NoClaws2_Func005001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoClaws2_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws2_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws2_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws2_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoClaws2_Func005001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoClaws3_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I015')
endfunction
function Trig_NoClaws3_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01B')
endfunction
function Trig_NoClaws3_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I018')
endfunction
function Trig_NoClaws3_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I015')
endfunction
function Trig_NoClaws3_Func005001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoClaws3_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws3_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws3_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoClaws3_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoClaws3_Func005001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoRing1_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='IC03')
endfunction
function Trig_NoRing1_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoRing1_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoRing1_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoRing1_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoRing1_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoRing1_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoRing1_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoRing1_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing1_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoRing1_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoRing2_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='IC15')
endfunction
function Trig_NoRing2_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoRing2_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoRing2_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoRing2_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoRing2_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoRing2_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoRing2_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoRing2_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing2_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoRing2_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoRing3_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='IC16')
endfunction
function Trig_NoRing3_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoRing3_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoRing3_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoRing3_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoRing3_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoRing3_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoRing3_Func008001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoRing3_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoRing3_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoRing3_Func008001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoOneRing1_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I02C')
endfunction
function Trig_NoOneRing1_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoOneRing1_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoOneRing1_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoOneRing1_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoOneRing1_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoOneRing1_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoOneRing1_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoOneRing1_Func009001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoOneRing1_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing1_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoOneRing1_Func009001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoMagiAmulet_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I02N')
endfunction
function Trig_NoMagiAmulet_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoMagiAmulet_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoMagiAmulet_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoMagiAmulet_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoMagiAmulet_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoMagiAmulet_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoMagiAmulet_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoMagiAmulet_Func009001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoMagiAmulet_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMagiAmulet_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoMagiAmulet_Func009001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoOneRing3_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I02A')
endfunction
function Trig_NoOneRing3_Func002003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC03')
endfunction
function Trig_NoOneRing3_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_NoOneRing3_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC16')
endfunction
function Trig_NoOneRing3_Func005003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02C')
endfunction
function Trig_NoOneRing3_Func006003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02N')
endfunction
function Trig_NoOneRing3_Func007003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02A')
endfunction
function Trig_NoOneRing3_Func008003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00R')
endfunction
function Trig_NoOneRing3_Func009001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoOneRing3_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func002003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func004003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func005003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func006003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func007003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoOneRing3_Func008003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoOneRing3_Func009001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoMysClaws_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I01S')
endfunction
function Trig_NoMysClaws_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01S')
endfunction
function Trig_NoMysClaws_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoMysClaws_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoMysClaws_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoMysClaws_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_NoAszune_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetItemTypeId(GetManipulatedItem())=='I028')
endfunction
function Trig_NoAszune_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I028')
endfunction
function Trig_NoAszune_Func004001 takes nothing returns boolean
return(udg_integer29>1)
endfunction
function Trig_NoAszune_Actions takes nothing returns nothing
set udg_integer29=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_NoAszune_Func003003001())then
set udg_integer29=(udg_integer29+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_NoAszune_Func004001())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetManipulatingUnit())
endif
endfunction
function Trig_Time_Stop_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='nech')
endfunction
function Trig_Time_Stop_Actions takes nothing returns nothing
local effect TimeStop
local unit target
local group targets=GetUnitsInRectAll(bj_mapInitialPlayableArea)
local unit array units
local integer num=1
local integer i=1
call RemoveUnit(GetSummonedUnit())
call SetTimeOfDayScalePercentBJ(.0)
call GroupRemoveUnit(targets,GetSummoningUnit())
call AddSpecialEffectTargetUnitBJ("overhead",GetSummoningUnit(),"Abilities\\Spells\\Items\\AIta\\CrystalBallCaster.mdl")
set TimeStop=bj_lastCreatedEffect
loop
set units[num]=GroupPickRandomUnit(targets)
exitwhen units[num]==null
call PauseUnit(units[num],true)
call SetUnitTimeScalePercent(units[num],.0)
call GroupRemoveUnit(targets,units[num])
set num=num+1
endloop
call TriggerSleepAction(20.)
loop
exitwhen i>(num-1)
call SetUnitTimeScalePercent(units[i],100.)
call PauseUnit(units[i],false)
set i=i+1
endloop
call DestroyEffect(TimeStop)
call SetTimeOfDayScalePercentBJ(100.)
endfunction
function Trig_Time_Stop_SFX_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A078')
endfunction
function Trig_Time_Stop_SFX_Actions takes nothing returns nothing
call TriggerSleepAction(.5)
call AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Spells\\Other\\Charm\\CharmTarget.mdl")
call TriggerSleepAction(3.)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Resurrection_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852094)
endfunction
function Trig_Resurrection_Actions takes nothing returns nothing
call SetUnitLifePercentBJ(GetOrderedUnit(),'d')
endfunction
function Trig_Suicide_Conditions takes nothing returns boolean
return((GetUnitTypeId(GetOrderedUnit())=='Otcc')and(GetIssuedOrderId()==852096))
endfunction
function Trig_Suicide_Filter takes nothing returns boolean
return(GetFilterUnit()!=GetOrderedUnit())
endfunction
function Trig_Suicide_Damage takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetEnumUnit()),"Abilities\\Weapons\\Mortar\\MortarMissile.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call SetWidgetLife(GetEnumUnit(),GetUnitStateSwap(UNIT_STATE_LIFE,GetEnumUnit())-50)
endfunction
function Trig_Suicide_Actions takes nothing returns nothing
local real mana=GetUnitStateSwap(UNIT_STATE_MANA,GetOrderedUnit())
local real life=GetUnitStateSwap(UNIT_STATE_LIFE,GetOrderedUnit())
local unit u_caster=GetOrderedUnit()
local player p_cast=GetOwningPlayer(u_caster)
call CreateFogModifierRadiusLocBJ(true,p_cast,FOG_OF_WAR_VISIBLE,GetUnitLoc(GetOrderedUnit()),500.)
call CreateNUnitsAtLoc(1,'ewsp',p_cast,GetUnitLoc(GetOrderedUnit()),bj_UNIT_FACING)
call KillUnit(bj_lastCreatedUnit)
call ForGroup(GetUnitsInRangeOfLocMatching(400.,GetUnitLoc(GetOrderedUnit()),Condition(function Trig_Suicide_Filter)),function Trig_Suicide_Damage)
call DestroyFogModifier(bj_lastCreatedFogModifier)
endfunction
function Trig_Suicide_Conditions2 takes nothing returns boolean
return((GetUnitTypeId(GetOrderedUnit())=='H002')and(GetIssuedOrderId()==852096))
endfunction
function Trig_Suicide_Filter2 takes nothing returns boolean
return(GetFilterUnit()!=GetOrderedUnit())
endfunction
function Trig_Suicide_Damage2 takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetEnumUnit()),"Abilities\\Weapons\\Mortar\\MortarMissile.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call SetWidgetLife(GetEnumUnit(),GetUnitStateSwap(UNIT_STATE_LIFE,GetEnumUnit())-50)
endfunction
function Trig_Suicide_Actions2 takes nothing returns nothing
local real mana=GetUnitStateSwap(UNIT_STATE_MANA,GetOrderedUnit())
local real life=GetUnitStateSwap(UNIT_STATE_LIFE,GetOrderedUnit())
local unit u_caster=GetOrderedUnit()
local player p_cast=GetOwningPlayer(u_caster)
call CreateFogModifierRadiusLocBJ(true,p_cast,FOG_OF_WAR_VISIBLE,GetUnitLoc(GetOrderedUnit()),500.)
call CreateNUnitsAtLoc(1,'ewsp',p_cast,GetUnitLoc(GetOrderedUnit()),bj_UNIT_FACING)
call KillUnit(bj_lastCreatedUnit)
call ForGroup(GetUnitsInRangeOfLocMatching(400.,GetUnitLoc(GetOrderedUnit()),Condition(function Trig_Suicide_Filter2)),function Trig_Suicide_Damage2)
call DestroyFogModifier(bj_lastCreatedFogModifier)
endfunction
function Trig_Kaboom_Detect_Bad_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='T00H')
endfunction
function Trig_Kaboom_Detect_Bad_Actions takes nothing returns nothing
set udg_unit05=GetSpellAbilityUnit()
call PauseUnit(udg_unit05,true)
call PolledWait(3.)
call PauseUnit(udg_unit05,false)
endfunction
function Trig_Kaboom_Detect_Good_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='T008')
endfunction
function Trig_Kaboom_Detect_Good_Actions takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
call PauseUnit(udg_unit04,true)
call PolledWait(3.)
call PauseUnit(udg_unit04,false)
endfunction
function Trig_Ravage_Conditions takes nothing returns boolean
return GetSpellAbilityId()=='A06K'
endfunction
function Trig_Ravage_Actions takes nothing returns nothing
local location l=GetUnitLoc(GetTriggerUnit())
local integer i=1
local unit u
local player p=GetOwningPlayer(GetTriggerUnit())
loop
exitwhen i>16
set u=CreateUnit(p,'n02V',GetLocationX(l),GetLocationY(l),bj_UNIT_FACING)
call SetUnitAbilityLevelSwapped('A06E',u,GetUnitAbilityLevelSwapped('A06K',GetTriggerUnit()))
call IssuePointOrderByIdLoc(u,852555,PolarProjectionBJ(l,100.,(22.5*i)))
call UnitApplyTimedLife(u,'BTLF',1.)
set i=i+1
endloop
call RemoveLocation(l)
set l=null
set p=null
set u=null
endfunction
function Trig_Chronosphere_Conditions takes nothing returns boolean
return GetSpellAbilityId()=='A06G'
endfunction
function Chronosphere_Group takes nothing returns boolean
return(GetFilterUnit()!=GetTriggerUnit())
endfunction
function Trig_Chronosphere_Actions takes nothing returns nothing
local integer i=GetUnitAbilityLevel(GetTriggerUnit(),'A06G')
local unit u
local unit v
local real r=5+(i*2)
local timer t=CreateTimer()
local location l=GetSpellTargetLoc()
local group g
set u=CreateUnit(GetOwningPlayer(GetTriggerUnit()),'u00K',GetLocationX(l),GetLocationY(l),bj_UNIT_FACING)
call TriggerSleepAction(.3)
call UnitApplyTimedLife(u,'BTLF',r)
call SetUnitTimeScalePercent(u,.0)
set g=GetUnitsInRangeOfLocMatching(425.,l,Condition(function Chronosphere_Group))
call StartTimerBJ(t,false,r)
loop
exitwhen TimerGetRemaining(t)<=.0
loop
set v=FirstOfGroup(g)
exitwhen v==null
call GroupRemoveUnit(g,v)
call PauseUnit(v,true)
call SetUnitTimeScalePercent(v,.0)
endloop
if(TimerGetRemaining(t)<.8)then
call TriggerSleepAction(.1)
else
call TriggerSleepAction(.3)
endif
call DestroyGroup(g)
set g=GetUnitsInRangeOfLocMatching(425.,l,Condition(function Chronosphere_Group))
endloop
loop
set v=FirstOfGroup(g)
exitwhen v==null
call GroupRemoveUnit(g,v)
call PauseUnit(v,false)
call SetUnitTimeScalePercent(v,100.)
endloop
call DestroyTimer(t)
set u=null
call RemoveLocation(l)
set l=null
call DestroyGroup(g)
set g=null
endfunction
function Trig_Effect_Omnislash_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A094')
endfunction
function Trig_Effect_Omnislash_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("overhead",GetSpellAbilityUnit(),"Abilities\\Weapons\\Bolt\\BoltImpact.mdl")
call PlaySoundBJ(udg_sound16)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Blink_Storm_Fast_JASS_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A094')
endfunction
function Unit_Group takes nothing returns boolean
return GetBooleanAnd(IsUnitAliveBJ(GetFilterUnit()),IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Trig_Blink_Storm_Fast_JASS_Actions takes nothing returns nothing
local unit Caster=GetSpellAbilityUnit()
local integer i=0
local group UnitGroup
local unit TargetRandom
local unit Target=GetSpellTargetUnit()
local effect Phoenix
local effect Blink
local location R
local real Damage=GetRandomReal(250.,300.)+(I2R(GetHeroLevel(Caster))*2.)
local integer Amount=2+(GetUnitAbilityLevelSwapped('A094',Caster)*5)
call TriggerSleepAction(.2)
call SelectUnitRemove(Caster)
call SetUnitVertexColorBJ(Caster,'d','d','d',40.)
call SetUnitInvulnerable(Caster,true)
call AddSpecialEffectTargetUnitBJ("weapon",Caster,"Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile.mdl")
set Phoenix=bj_lastCreatedEffect
call AddSpecialEffectTargetUnitBJ("chest",Caster,"Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl")
set Blink=bj_lastCreatedEffect
call SetUnitPositionLocFacingBJ(Caster,PolarProjectionBJ(GetUnitLoc(Target),50.,GetRandomReal(0,360)),AngleBetweenPoints(GetUnitLoc(Caster),GetUnitLoc(Target)))
call UnitDamageTargetBJ(Caster,Target,(GetRandomReal(300.,350.)+(I2R(GetHeroLevel(Caster))*2.)),ATTACK_TYPE_HERO,DAMAGE_TYPE_NORMAL)
call SetUnitAnimation(Caster,"attack")
call TriggerSleepAction(.2)
call SelectUnitRemove(Caster)
call DestroyEffect(Blink)
loop
set i=i+1
exitwhen i>Amount
set UnitGroup=GetUnitsInRangeOfLocMatching(500.,GetUnitLoc(Caster),Condition(function Unit_Group))
if(IsUnitGroupEmptyBJ(UnitGroup)==false)then
set TargetRandom=GroupPickRandomUnit(UnitGroup)
set R=GetUnitLoc(TargetRandom)
call AddSpecialEffectTargetUnitBJ("chest",Caster,"Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl")
set Blink=bj_lastCreatedEffect
call SetUnitPositionLocFacingBJ(Caster,PolarProjectionBJ(R,50.,GetRandomReal(0,360)),AngleBetweenPoints(GetUnitLoc(Caster),GetUnitLoc(TargetRandom)))
call UnitDamageTargetBJ(Caster,TargetRandom,(Damage),ATTACK_TYPE_HERO,DAMAGE_TYPE_NORMAL)
call SetUnitAnimation(Caster,"attack")
call RemoveLocation(R)
call TriggerSleepAction(.2)
call SelectUnitRemove(Caster)
call DestroyEffect(Blink)
endif
endloop
call GroupClear(UnitGroup)
call SelectUnitForPlayerSingle(Caster,GetTriggerPlayer())
call SetUnitInvulnerable(Caster,false)
call SetUnitVertexColorBJ(Caster,'d','d','d',.0)
call DestroyEffect(Phoenix)
set Phoenix=null
set Blink=null
set Caster=null
call DestroyGroup(UnitGroup)
set UnitGroup=null
set TargetRandom=null
set Target=null
set i=0
set Amount=0
set R=null
set Damage=0
endfunction
function Trig_Freezing_Breath_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852127)and(GetUnitTypeId(GetOrderedUnit())=='Hamg')
endfunction
function Trig_Freezing_Breath_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("overhead",GetOrderedUnit(),"Abilities\\Spells\\Undead\\FrostArmor\\FrostArmorTarget.mdl")
call SetPlayerAbilityAvailableBJ(true,'Afrz',GetOwningPlayer(GetOrderedUnit()))
call SetPlayerAbilityAvailableBJ(true,'Afrb',GetOwningPlayer(GetOrderedUnit()))
set udg_unit01=GetOrderedUnit()
call TriggerExecute(udg_trigger101)
endfunction
function Trig_Freezing_Breath_Mana_Func003001001 takes nothing returns boolean
return(IsUnitAliveBJ(udg_unit01))
endfunction
function Trig_Freezing_Breath_Mana_Func003001002 takes nothing returns boolean
return(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit01)>=100.)
endfunction
function Trig_Freezing_Breath_Mana_Func003001 takes nothing returns boolean
return GetBooleanAnd(Trig_Freezing_Breath_Mana_Func003001001(),Trig_Freezing_Breath_Mana_Func003001002())
endfunction
function Trig_Freezing_Breath_Mana_Actions takes nothing returns nothing
call SetUnitManaBJ(udg_unit01,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit01)-25.))
call TriggerSleepAction(1.)
if(Trig_Freezing_Breath_Mana_Func003001())then
call TriggerExecute(udg_trigger101)
else
call TriggerExecute(udg_trigger102)
endif
endfunction
function Trig_Freezing_Breath_Stop_Actions takes nothing returns nothing
call DestroyEffect(bj_lastCreatedEffect)
call SetPlayerAbilityAvailableBJ(false,'Afrz',GetOwningPlayer(udg_unit01))
call SetPlayerAbilityAvailableBJ(false,'Afrb',GetOwningPlayer(udg_unit01))
endfunction
function Trig_Divine_Intervention_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A07S')
endfunction
function Trig_Divine_Intervention_Func003C takes nothing returns boolean
return(IsUnitDeadBJ(GetTriggerUnit())==false)
endfunction
function Trig_Divine_Intervention_Func006C takes nothing returns boolean
return(IsUnitDeadBJ(GetTriggerUnit())==false)
endfunction
function Trig_Divine_Intervention_Func009C takes nothing returns boolean
return(IsUnitDeadBJ(GetTriggerUnit())==false)
endfunction
function Trig_Divine_Intervention_Func012C takes nothing returns boolean
return(IsUnitDeadBJ(GetTriggerUnit())==false)
endfunction
function Trig_Divine_Intervention_Func015C takes nothing returns boolean
return(IsUnitDeadBJ(GetTriggerUnit())==false)
endfunction
function Trig_Divine_Intervention_Actions takes nothing returns nothing
if(Trig_Divine_Intervention_Func003C())then
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
endif
call TriggerSleepAction(.2)
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
if(Trig_Divine_Intervention_Func006C())then
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
endif
call TriggerSleepAction(.2)
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
if(Trig_Divine_Intervention_Func009C())then
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
endif
call TriggerSleepAction(.2)
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
if(Trig_Divine_Intervention_Func012C())then
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
endif
call TriggerSleepAction(.2)
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
if(Trig_Divine_Intervention_Func015C())then
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
call CreateNUnitsAtLocFacingLocBJ(1,'u00M',GetOwningPlayer(GetTriggerUnit()),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),GetUnitLoc(GetTriggerUnit()))
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call SetUnitAbilityLevelSwapped('A07W',bj_lastCreatedUnit,GetUnitAbilityLevelSwapped('A07S',GetTriggerUnit()))
call IssueTargetOrderById(bj_lastCreatedUnit,852226,bj_lastCreatedUnit)
call TriggerSleepAction(.1)
endif
call TriggerSleepAction(.25)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Entrapment_Ability takes nothing returns integer
return'A07E'
endfunction
function Entrapment_Dummy takes nothing returns integer
return'h01F'
endfunction
function Entrapment_Ensnare takes nothing returns integer
return'A07F'
endfunction
function IsHeAnEnemy takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Structure_YesorNo takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_STRUCTURE)==false)
endfunction
function MagicImmune_YesorNo takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_MAGIC_IMMUNE)==false)
endfunction
function GetUnitStateConds takes nothing returns boolean
return GetBooleanAnd(Structure_YesorNo(),MagicImmune_YesorNo())
endfunction
function EntrapmentGroup_GetConditions takes nothing returns boolean
return GetBooleanAnd(IsHeAnEnemy(),GetUnitStateConds())
endfunction
function Entrapment_Conditions takes nothing returns boolean
return(GetSpellAbilityId()==Entrapment_Ability())
endfunction
function Entrapment_Loop takes nothing returns nothing
call CreateNUnitsAtLoc(1,Entrapment_Dummy(),GetOwningPlayer(GetSpellAbilityUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call RemoveLocation(GetUnitLoc(bj_lastCreatedUnit))
call UnitAddAbility(bj_lastCreatedUnit,Entrapment_Ensnare())
call IssueTargetOrderById(bj_lastCreatedUnit,852106,GetEnumUnit())
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
endfunction
function Entrapment_Actions takes nothing returns nothing
call RemoveLocation(GetUnitLoc(GetEnumUnit()))
call ForGroupBJ(GetUnitsInRangeOfLocMatching((100.*I2R(GetUnitAbilityLevelSwapped('A07E',GetSpellAbilityUnit()))),GetSpellTargetLoc(),Condition(function EntrapmentGroup_GetConditions)),function Entrapment_Loop)
endfunction
function TriumphRaw takes nothing returns integer
return'A07G'
endfunction
function TriumphCoil takes nothing returns integer
return'A07H'
endfunction
function TriumphDummy takes nothing returns integer
return'h01E'
endfunction
function TriumphAoE takes nothing returns real
return 1000.
endfunction
function Trig_Dark_Triumph_Conditions takes nothing returns boolean
return GetSpellAbilityId()==TriumphRaw()
endfunction
function TriumphValid takes nothing returns boolean
return(not(IsUnitType(GetFilterUnit(),UNIT_TYPE_STRUCTURE)))and(not(IsUnitType(GetFilterUnit(),UNIT_TYPE_MECHANICAL)))and(not(IsUnitType(GetFilterUnit(),UNIT_TYPE_MAGIC_IMMUNE)))and GetWidgetLife(GetFilterUnit())>0
endfunction
function Trig_Dark_Triumph_Actions takes nothing returns nothing
local unit cast=GetTriggerUnit()
local unit targ1=cast
local unit targ2=cast
local unit dumb
local unit u
local unit max
local group g=CreateGroup()
local integer i=1
local boolean bool=true
local boolean first
local real X=GetUnitX(cast)
local real Y=GetUnitY(cast)
loop
exitwhen bool==false or i>3
set bool=false
call GroupEnumUnitsInRange(g,X,Y,TriumphAoE(),Condition(function TriumphValid))
set u=FirstOfGroup(g)
set first=true
loop
exitwhen u==null
call GroupRemoveUnit(g,u)
if IsUnitType(u,UNIT_TYPE_UNDEAD)==false and IsUnitEnemy(u,GetOwningPlayer(cast))and u!=targ1 and u!=targ2 then
if first then
set max=u
endif
set first=false
if GetWidgetLife(u)<=GetWidgetLife(max)then
set max=u
set bool=true
endif
endif
set u=FirstOfGroup(g)
endloop
if bool then
if i==1 then
set targ1=max
elseif i==2 then
set targ2=max
endif
set dumb=CreateUnit(GetOwningPlayer(cast),TriumphDummy(),X,Y,.0)
call UnitAddAbility(dumb,TriumphCoil())
call SetUnitAbilityLevel(dumb,TriumphCoil(),GetUnitAbilityLevel(cast,TriumphRaw()))
call UnitApplyTimedLife(dumb,'BTLF',2.)
call IssueTargetOrderById(dumb,852222,max)
endif
set i=i+1
endloop
set targ1=cast
set targ2=cast
set bool=true
set i=1
call GroupClear(g)
loop
exitwhen bool==false or i>3
set bool=false
call GroupEnumUnitsInRange(g,X,Y,TriumphAoE(),Condition(function TriumphValid))
set u=FirstOfGroup(g)
set first=true
loop
exitwhen u==null
call GroupRemoveUnit(g,u)
if IsUnitType(u,UNIT_TYPE_UNDEAD)and IsUnitAlly(u,GetOwningPlayer(cast))and u!=targ1 and u!=targ2 then
if first then
set max=u
endif
set first=false
if GetWidgetLife(u)<=GetWidgetLife(max)then
set max=u
set bool=true
endif
endif
set u=FirstOfGroup(g)
endloop
if bool then
if i==1 then
set targ1=max
elseif i==2 then
set targ2=max
endif
set dumb=CreateUnit(GetOwningPlayer(cast),TriumphDummy(),X,Y,.0)
call UnitAddAbility(dumb,TriumphCoil())
call SetUnitAbilityLevel(dumb,TriumphCoil(),GetUnitAbilityLevel(cast,TriumphRaw()))
call UnitApplyTimedLife(dumb,'BTLF',2.)
call IssueTargetOrderById(dumb,852222,max)
endif
set i=i+1
endloop
set cast=null
set dumb=null
set targ1=null
set targ2=null
set u=null
set max=null
call DestroyGroup(g)
set g=null
endfunction
function Trig_Elemental_Fury_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='S002')
endfunction
function Trig_Elemental_Fury_Func011001003001 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit()))
endfunction
function Trig_Elemental_Fury_Func011001003002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Elemental_Fury_Func011001003 takes nothing returns boolean
return GetBooleanAnd(Trig_Elemental_Fury_Func011001003001(),Trig_Elemental_Fury_Func011001003002())
endfunction
function Trig_Elemental_Fury_Func011A takes nothing returns nothing
local real ouch=(GetHeroInt(GetTriggerUnit(),true)*4)
call PlaySoundOnUnitBJ(udg_sound17,'d',GetEnumUnit())
call AddSpecialEffectLocBJ(GetUnitLoc(GetEnumUnit()),"Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl")
call ConditionalTriggerExecute(udg_trigger255)
call PlayerHurtsUnit(ouch,GetEnumUnit(),GetOwningPlayer(GetTriggerUnit()))
call TriggerSleepAction(.0)
endfunction
function Trig_Elemental_Fury_Func014A takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Elemental_Fury_Actions takes nothing returns nothing
local location center=udg_locations01[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))]
call SetUnitUserData(GetTriggerUnit(),45)
loop
exitwhen(GetUnitUserData(GetTriggerUnit())==33)
call TriggerSleepAction(1.)
call UnitAddAbility(CreateUnitAtLoc(GetOwningPlayer(GetTriggerUnit()),'n00Z',GetRandomLocInRect(RectFromCenterSizeBJ(center,200.,200.)),bj_UNIT_FACING),'Aloc')
call TriggerSleepAction(1.)
set bj_wantDestroyGroup=true
call ForGroupBJ(GetUnitsInRangeOfLocMatching(250.,center,Condition(function Trig_Elemental_Fury_Func011001003)),function Trig_Elemental_Fury_Func011A)
endloop
set bj_wantDestroyGroup=true
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetOwningPlayer(GetTriggerUnit()),'n00Z'),function Trig_Elemental_Fury_Func014A)
endfunction
function Trig_Outraged_Ferocity_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='S003')
endfunction
function Trig_Outraged_Ferocity_Func011001003001 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit()))
endfunction
function Trig_Outraged_Ferocity_Func011001003002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Outraged_Ferocity_Func011001003 takes nothing returns boolean
return GetBooleanAnd(Trig_Outraged_Ferocity_Func011001003001(),Trig_Outraged_Ferocity_Func011001003002())
endfunction
function Trig_Outraged_Ferocity_Func011A takes nothing returns nothing
local real ouch=(GetHeroStr(GetTriggerUnit(),true)*2.85)
call PlaySoundOnUnitBJ(udg_sound17,'d',GetEnumUnit())
call AddSpecialEffectLocBJ(GetUnitLoc(GetEnumUnit()),"Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl")
call ConditionalTriggerExecute(udg_trigger255)
call PlayerHurtsUnit(ouch,GetEnumUnit(),GetOwningPlayer(GetTriggerUnit()))
call TriggerSleepAction(.0)
endfunction
function Trig_Outraged_Ferocity_Func014A takes nothing returns nothing
call ExplodeUnitBJ(GetEnumUnit())
endfunction
function Trig_Outraged_Ferocity_Actions takes nothing returns nothing
local location center=udg_locations01[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))]
call SetUnitUserData(GetTriggerUnit(),45)
loop
exitwhen(GetUnitUserData(GetTriggerUnit())==33)
call TriggerSleepAction(1.)
call UnitAddAbility(CreateUnitAtLoc(GetOwningPlayer(GetTriggerUnit()),'n00Z',GetRandomLocInRect(RectFromCenterSizeBJ(center,200.,200.)),bj_UNIT_FACING),'Aloc')
call TriggerSleepAction(1.)
set bj_wantDestroyGroup=true
call ForGroupBJ(GetUnitsInRangeOfLocMatching(250.,center,Condition(function Trig_Outraged_Ferocity_Func011001003)),function Trig_Outraged_Ferocity_Func011A)
endloop
set bj_wantDestroyGroup=true
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetOwningPlayer(GetTriggerUnit()),'n00Z'),function Trig_Outraged_Ferocity_Func014A)
endfunction
function Trig_Elemental_Fury_Saved_Point_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852121)and(GetUnitTypeId(GetTriggerUnit())=='H00O')
endfunction
function Trig_Elemental_Fury_Saved_Point_Actions takes nothing returns nothing
set udg_locations01[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))]=GetOrderPointLoc()
endfunction
function Trig_Elemental_Fury_Saved_Point_2_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852121)and(GetUnitTypeId(GetTriggerUnit())=='Othr')
endfunction
function Trig_Elemental_Fury_Saved_Point_2_Actions takes nothing returns nothing
set udg_locations01[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))]=GetOrderPointLoc()
endfunction
function Trig_Lightning_Ball_Enters_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='n00S')
endfunction
function Trig_Lightning_Ball_Enters_Func001Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=50)
endfunction
function Trig_Lightning_Ball_Enters_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=67)
endfunction
function Trig_Lightning_Ball_Enters_Actions takes nothing returns nothing
if(Trig_Lightning_Ball_Enters_Func001C())then
if(Trig_Lightning_Ball_Enters_Func001Func001C())then
call UnitAddAbility(GetTriggerUnit(),'S000')
else
call UnitAddAbility(GetTriggerUnit(),'S001')
endif
endif
call UnitAddAbility(GetTriggerUnit(),'Aloc')
call UnitAddAbility(GetTriggerUnit(),'Awan')
endfunction
function Trig_Guardian_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='n00S')
endfunction
function Trig_Guardian_Actions takes nothing returns nothing
local unit ball=GetSummonedUnit()
local unit master=GetSummoningUnit()
local location target
local real angle
local real distance
loop
exitwhen IsUnitDeadBJ(ball)
if(DistanceBetweenPoints(GetUnitLoc(ball),GetUnitLoc(master))>1000.)then
set target=GetUnitLoc(master)
call IssuePointOrderByIdLoc(ball,851986,target)
call RemoveLocation(target)
else
set target=GetUnitLoc(master)
set angle=GetRandomReal(0,360)
set distance=GetRandomReal(100.,500.)
call PolarProjectionNL(target,distance,angle)
call IssuePointOrderByIdLoc(ball,851983,target)
call RemoveLocation(target)
endif
call TriggerSleepAction(.5)
endloop
endfunction
function Trig_Flamer_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='n02O')
endfunction
function Trig_Flamer_Actions takes nothing returns nothing
local unit ballz=GetSummonedUnit()
local unit masterz=GetSummoningUnit()
local location targetz
local real anglez
local real distancez
loop
exitwhen IsUnitDeadBJ(ballz)
if(DistanceBetweenPoints(GetUnitLoc(ballz),GetUnitLoc(masterz))>1000.)then
set targetz=GetUnitLoc(masterz)
call IssuePointOrderByIdLoc(ballz,851986,targetz)
call RemoveLocation(targetz)
else
set targetz=GetUnitLoc(masterz)
set anglez=GetRandomReal(0,360)
set distancez=GetRandomReal(100.,500.)
call PolarProjectionNL(targetz,distancez,anglez)
call IssuePointOrderByIdLoc(ballz,851983,targetz)
call RemoveLocation(targetz)
endif
call TriggerSleepAction(.5)
endloop
endfunction
function Trig_Lightning_Ball_Enters_Copy_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='n02O')
endfunction
function Trig_Lightning_Ball_Enters_Copy_Func001Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=50)
endfunction
function Trig_Lightning_Ball_Enters_Copy_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=67)
endfunction
function Trig_Lightning_Ball_Enters_Copy_Actions takes nothing returns nothing
if(Trig_Lightning_Ball_Enters_Copy_Func001C())then
if(Trig_Lightning_Ball_Enters_Copy_Func001Func001C())then
call UnitAddAbility(GetTriggerUnit(),'S000')
else
call UnitAddAbility(GetTriggerUnit(),'S000')
endif
endif
call UnitAddAbility(GetTriggerUnit(),'Aloc')
call UnitAddAbility(GetTriggerUnit(),'Awan')
endfunction
function Trig_Elune_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A09H')
endfunction
function Trig_Elune_Func002001003 takes nothing returns boolean
return(IsUnitAlly(GetFilterUnit(),GetOwningPlayer(udg_unit36))==false)
endfunction
function Trig_Elune_Func002002 takes nothing returns nothing
call UnitDamageTargetBJ(udg_unit36,GetEnumUnit(),(I2R(GetHeroStatBJ(1,udg_unit36,true))*2.5),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endfunction
function Trig_Elune_Actions takes nothing returns nothing
set udg_unit36=GetSpellAbilityUnit()
call ForGroupBJ(GetUnitsInRangeOfLocMatching(600.,GetUnitLoc(udg_unit36),Condition(function Trig_Elune_Func002001003)),function Trig_Elune_Func002002)
call EnableTrigger(udg_trigger116)
call TriggerSleepAction(7.)
call DisableTrigger(udg_trigger116)
endfunction
function Trig_Elune_Damage_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit36),600.,600.)),"Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl")
endfunction
function Trig_Scatter_Shot_Conditions takes nothing returns boolean
return GetSpellAbilityId()=='A09E'
endfunction
function Trig_Scatter_Shot_Actions takes nothing returns nothing
local location Target=GetSpellTargetLoc()
local unit Caster=GetTriggerUnit()
local player CasterOwner=GetOwningPlayer(Caster)
local integer i=1
local location Random
local unit Dummy
local integer ScatterAmount=9+(9*GetUnitAbilityLevelSwapped('A09E',Caster))
call TriggerSleepAction(.25)
loop
exitwhen i>ScatterAmount
set Dummy=CreateUnit(CasterOwner,'e00M',GetUnitX(Caster),GetUnitY(Caster),bj_UNIT_FACING)
set Random=PolarProjectionBJ(Target,GetRandomReal(0,360),GetRandomReal(0,360))
call IssuePointOrderById(Dummy,851984,GetLocationX(Random),GetLocationY(Random))
call RemoveLocation(Random)
call UnitApplyTimedLife(Dummy,'BTLF',.5)
set i=i+1
endloop
call RemoveLocation(Target)
set Target=null
set Random=null
set Caster=null
set Dummy=null
set CasterOwner=null
endfunction
function Trig_Tsunami_SFX_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A09G')and(GetUnitTypeId(GetSpellAbilityUnit())=='N025')
endfunction
function Trig_Tsunami_SFX_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[1]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[2]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[3]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[4]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[5]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[6]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[7]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[8]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[9]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[10]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[11]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[12]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[13]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[14]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[15]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[16]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[17]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[18]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[19]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(GetTriggerUnit()),600.,600.)),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
set udg_effects06[20]=bj_lastCreatedEffect
call PolledWait(.02)
call DestroyEffect(udg_effects06[1])
call DestroyEffect(udg_effects06[2])
call DestroyEffect(udg_effects06[3])
call DestroyEffect(udg_effects06[4])
call DestroyEffect(udg_effects06[5])
call DestroyEffect(udg_effects06[6])
call DestroyEffect(udg_effects06[7])
call DestroyEffect(udg_effects06[8])
call DestroyEffect(udg_effects06[9])
call DestroyEffect(udg_effects06[10])
call DestroyEffect(udg_effects06[11])
call DestroyEffect(udg_effects06[12])
call DestroyEffect(udg_effects06[13])
call DestroyEffect(udg_effects06[14])
call DestroyEffect(udg_effects06[15])
call DestroyEffect(udg_effects06[16])
call DestroyEffect(udg_effects06[17])
call DestroyEffect(udg_effects06[18])
call DestroyEffect(udg_effects06[19])
call DestroyEffect(udg_effects06[20])
endfunction
function Trig_Oscillation_Func002C takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='E00E')and(UnitHasBuffBJ(GetTriggerUnit(),'B01A'))and(IsUnitIllusion(GetTriggerUnit())==false)and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Oscillation_Conditions takes nothing returns boolean
return(Trig_Oscillation_Func002C())
endfunction
function Trig_Oscillation_Func001Func002002003001 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Oscillation_Func001Func002002003002 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit()))
endfunction
function Trig_Oscillation_Func001Func002002003 takes nothing returns boolean
return GetBooleanAnd(Trig_Oscillation_Func001Func002002003001(),Trig_Oscillation_Func001Func002002003002())
endfunction
function Trig_Oscillation_Func001Func003A takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Weapons\\Blood\\BloodImpact.mdl")
call ConditionalTriggerExecute(udg_trigger121)
call UnitDamageTargetBJ(GetTriggerUnit(),GetEnumUnit(),(30.*I2R(GetUnitAbilityLevelSwapped('A09C',GetTriggerUnit()))),ATTACK_TYPE_HERO,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Oscillation_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=15)
endfunction
function Trig_Oscillation_Actions takes nothing returns nothing
if(Trig_Oscillation_Func001C())then
set udg_location07=GetUnitLoc(GetTriggerUnit())
set udg_group04=GetUnitsInRangeOfLocMatching(300.,udg_location07,Condition(function Trig_Oscillation_Func001Func002002003))
call ForGroupBJ(udg_group04,function Trig_Oscillation_Func001Func003A)
call SetUnitAnimation(GetTriggerUnit(),"spin")
call RemoveLocation(udg_location07)
set udg_location07=null
call DestroyGroup(udg_group04)
set udg_group04=null
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(.25)
call EnableTrigger(GetTriggeringTrigger())
call SetUnitAnimation(GetTriggerUnit(),"stand")
endif
endfunction
function Trig_Oscillation_Image_Func002C takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='E00E')and(UnitHasBuffBJ(GetTriggerUnit(),'B01A'))and(IsUnitIllusion(GetTriggerUnit()))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Oscillation_Image_Conditions takes nothing returns boolean
return(Trig_Oscillation_Image_Func002C())
endfunction
function Trig_Oscillation_Image_Func001Func002002003001 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Oscillation_Image_Func001Func002002003002 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit()))
endfunction
function Trig_Oscillation_Image_Func001Func002002003 takes nothing returns boolean
return GetBooleanAnd(Trig_Oscillation_Image_Func001Func002002003001(),Trig_Oscillation_Image_Func001Func002002003002())
endfunction
function Trig_Oscillation_Image_Func001Func003A takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Weapons\\Blood\\BloodImpact.mdl")
call ConditionalTriggerExecute(udg_trigger121)
endfunction
function Trig_Oscillation_Image_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=15)
endfunction
function Trig_Oscillation_Image_Actions takes nothing returns nothing
if(Trig_Oscillation_Image_Func001C())then
set udg_location07=GetUnitLoc(GetTriggerUnit())
set udg_group04=GetUnitsInRangeOfLocMatching(300.,udg_location07,Condition(function Trig_Oscillation_Image_Func001Func002002003))
call ForGroupBJ(udg_group04,function Trig_Oscillation_Image_Func001Func003A)
call SetUnitAnimation(GetTriggerUnit(),"spin")
call RemoveLocation(udg_location07)
set udg_location07=null
call DestroyGroup(udg_group04)
set udg_group04=null
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(.25)
call EnableTrigger(GetTriggeringTrigger())
call SetUnitAnimation(GetTriggerUnit(),"stand")
endif
endfunction
function Trig_Destroy_FX_Oscillation_Actions takes nothing returns nothing
local effect f=bj_lastCreatedEffect
call TriggerSleepAction(1.)
call DestroyEffect(f)
set f=null
endfunction
function Trig_Light_Aura_Conditions takes nothing returns boolean
return(UnitHasBuffBJ(GetAttacker(),'B010'))and(IsUnitEnemy(GetTriggerUnit(),GetOwningPlayer(GetAttacker())))
endfunction
function Trig_Tome_Retain_Light_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='H003')
endfunction
function Trig_Tome_Retain_Light_Actions takes nothing returns nothing
set udg_integer64=0
set udg_real16=.0
endfunction
function Trig_Sagacity_Conditions takes nothing returns boolean
return(UnitHasBuffBJ(GetTriggerUnit(),'B00Y'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)==false)
endfunction
function Trig_Sagacity_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=(udg_integer63*4))
endfunction
function Trig_Sagacity_Actions takes nothing returns nothing
if(Trig_Sagacity_Func001C())then
call AddSpecialEffectTargetUnitBJ("overhead",GetAttacker(),"Abilities\\Spells\\NightElf\\ManaBurn\\ManaBurnTarget.mdl")
call UnitDamageTargetBJ(GetTriggerUnit(),GetAttacker(),(udg_real15*25.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call SetUnitManaBJ(GetAttacker(),(GetUnitStateSwap(UNIT_STATE_MANA,GetAttacker())-(udg_real15*25.)))
endif
endfunction
function Trig_Tome_Retain_Sagacity_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='H00H')
endfunction
function Trig_Tome_Retain_Sagacity_Actions takes nothing returns nothing
set udg_integer63=0
set udg_real15=.0
endfunction
function Trig_Deadfall_Conditions takes nothing returns boolean
return(UnitHasBuffBJ(GetAttacker(),'B00X'))and(IsUnitAlly(GetTriggerUnit(),GetOwningPlayer(GetAttacker()))==false)and(IsUnitIdType(GetUnitTypeId(GetTriggerUnit()),UNIT_TYPE_STRUCTURE)==false)
endfunction
function Trig_Deadfall_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=(udg_integer62*3))
endfunction
function Trig_Deadfall_Actions takes nothing returns nothing
if(Trig_Deadfall_Func001C())then
call TriggerSleepAction(.6)
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Abilities\\Spells\\NightElf\\Blink\\BlinkTarget.mdl")
call SetUnitPositionLoc(GetTriggerUnit(),PolarProjectionBJ(GetUnitLoc(GetAttacker()),250.,0))
call TriggerSleepAction(.1)
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call UnitDamageTargetBJ(GetAttacker(),GetTriggerUnit(),(udg_real14*25.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endif
endfunction
function Trig_Tome_Retain_Deadfall_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='Ogld')
endfunction
function Trig_Tome_Retain_Deadfall_Actions takes nothing returns nothing
set udg_integer62=0
set udg_real14=.0
endfunction
function Trig_Demonic_Fate_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A07Y')and(GetUnitTypeId(GetSpellAbilityUnit())=='O00L')
endfunction
function Trig_Demonic_Fate_Func001Func003Func003Func005001002001 takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Demonic_Fate_Func001Func003Func003Func005001002002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Trig_Demonic_Fate_Func001Func003Func003Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Demonic_Fate_Func001Func003Func003Func005001002001(),Trig_Demonic_Fate_Func001Func003Func003Func005001002002())
endfunction
function Trig_Demonic_Fate_Func001Func003Func003Func005A takes nothing returns nothing
call UnitDamageTargetBJ(GetSpellAbilityUnit(),GetEnumUnit(),750.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
call TriggerSleepAction(2)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Demonic_Fate_Func001Func003Func003C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07Y',GetSpellAbilityUnit())==3)
endfunction
function Trig_Demonic_Fate_Func001Func003Func005001002001 takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Demonic_Fate_Func001Func003Func005001002002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Trig_Demonic_Fate_Func001Func003Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Demonic_Fate_Func001Func003Func005001002001(),Trig_Demonic_Fate_Func001Func003Func005001002002())
endfunction
function Trig_Demonic_Fate_Func001Func003Func005A takes nothing returns nothing
call UnitDamageTargetBJ(GetSpellAbilityUnit(),GetEnumUnit(),650.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
call TriggerSleepAction(2)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Demonic_Fate_Func001Func003C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07Y',GetSpellAbilityUnit())==2)
endfunction
function Trig_Demonic_Fate_Func001Func005001002001 takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Demonic_Fate_Func001Func005001002002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Trig_Demonic_Fate_Func001Func005001002 takes nothing returns boolean
return GetBooleanAnd(Trig_Demonic_Fate_Func001Func005001002001(),Trig_Demonic_Fate_Func001Func005001002002())
endfunction
function Trig_Demonic_Fate_Func001Func005A takes nothing returns nothing
call UnitDamageTargetBJ(GetSpellAbilityUnit(),GetEnumUnit(),550.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Doodads\\Cinematic\\Lightningbolt\\Lightningbolt.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
call TriggerSleepAction(2)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Demonic_Fate_Func001C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07Y',GetSpellAbilityUnit())==1)
endfunction
function Trig_Demonic_Fate_Actions takes nothing returns nothing
if(Trig_Demonic_Fate_Func001C())then
call PlaySoundBJ(udg_sound46)
call TriggerSleepAction(3.5)
call PlaySoundBJ(udg_sound45)
call ForGroupBJ(GetUnitsInRectMatching(udg_rect119,Condition(function Trig_Demonic_Fate_Func001Func005001002)),function Trig_Demonic_Fate_Func001Func005A)
else
if(Trig_Demonic_Fate_Func001Func003C())then
call PlaySoundBJ(udg_sound46)
call TriggerSleepAction(3.5)
call PlaySoundBJ(udg_sound45)
call ForGroupBJ(GetUnitsInRectMatching(udg_rect119,Condition(function Trig_Demonic_Fate_Func001Func003Func005001002)),function Trig_Demonic_Fate_Func001Func003Func005A)
else
if(Trig_Demonic_Fate_Func001Func003Func003C())then
call PlaySoundBJ(udg_sound46)
call TriggerSleepAction(3.5)
call PlaySoundBJ(udg_sound45)
call ForGroupBJ(GetUnitsInRectMatching(udg_rect119,Condition(function Trig_Demonic_Fate_Func001Func003Func003Func005001002)),function Trig_Demonic_Fate_Func001Func003Func003Func005A)
endif
endif
endif
endfunction
function Trig_Mana_Discharge_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A082')
endfunction
function Trig_Mana_Discharge_Func001001003 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetSpellAbilityUnit())))
endfunction
function Trig_Mana_Discharge_Func001A takes nothing returns nothing
call SetUnitManaBJ(GetEnumUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetEnumUnit())-(I2R(GetUnitAbilityLevelSwapped('A082',GetSpellAbilityUnit()))*80.)))
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Abilities\\Spells\\NightElf\\ManaBurn\\ManaBurnTarget.mdl")
endfunction
function Trig_Mana_Discharge_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRangeOfLocMatching(600.,GetUnitLoc(GetSpellAbilityUnit()),Condition(function Trig_Mana_Discharge_Func001001003)),function Trig_Mana_Discharge_Func001A)
endfunction
function Trig_Flame_Walk_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A07K')and(GetUnitTypeId(GetSpellAbilityUnit())=='Nfir')
endfunction
function Trig_Flame_Walk_Func001001003 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Flame_Walk_Func001A takes nothing returns nothing
call UnitDamageTargetBJ(GetSpellAbilityUnit(),GetEnumUnit(),(80.*I2R(GetUnitAbilityLevelSwapped('A07K',GetSpellAbilityUnit()))),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endfunction
function Trig_Flame_Walk_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRangeOfLocMatching(550.,GetUnitLoc(GetSpellAbilityUnit()),Condition(function Trig_Flame_Walk_Func001001003)),function Trig_Flame_Walk_Func001A)
endfunction
function Trig_Volcanic_Shard_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A07M')
endfunction
function Trig_Volcanic_Shard_Func003001 takes nothing returns boolean
return(UnitHasBuffBJ(udg_unit23,'B00M'))
endfunction
function Trig_Volcanic_Shard_Actions takes nothing returns nothing
set udg_unit22=GetSpellAbilityUnit()
set udg_unit23=GetSpellTargetUnit()
loop
exitwhen(Trig_Volcanic_Shard_Func003001())
call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,.1))
endloop
call UnitDamageTargetBJ(udg_unit22,udg_unit23,(25.*I2R(GetHeroLevel(udg_unit22))),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endfunction
function Trig_Fulmination_Func002C takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Nfir')and(UnitHasBuffBJ(GetTriggerUnit(),'B00N'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Fulmination_Conditions takes nothing returns boolean
return(Trig_Fulmination_Func002C())
endfunction
function Trig_Fulmination_Func001Func002002003001 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Fulmination_Func001Func002002003002 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit()))
endfunction
function Trig_Fulmination_Func001Func002002003 takes nothing returns boolean
return GetBooleanAnd(Trig_Fulmination_Func001Func002002003001(),Trig_Fulmination_Func001Func002002003002())
endfunction
function Trig_Fulmination_Func001Func003A takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Weapons\\FragDriller\\FragDriller.mdl")
call ConditionalTriggerExecute(udg_trigger139)
call UnitDamageTargetBJ(GetTriggerUnit(),GetEnumUnit(),(25.*I2R(GetUnitAbilityLevelSwapped('A07L',GetTriggerUnit()))),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endfunction
function Trig_Fulmination_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=(GetUnitAbilityLevelSwapped('A07L',GetTriggerUnit())*5))
endfunction
function Trig_Fulmination_Actions takes nothing returns nothing
if(Trig_Fulmination_Func001C())then
set udg_location06=GetUnitLoc(GetTriggerUnit())
set udg_group03=GetUnitsInRangeOfLocMatching(550.,udg_location06,Condition(function Trig_Fulmination_Func001Func002002003))
call ForGroupBJ(udg_group03,function Trig_Fulmination_Func001Func003A)
call RemoveLocation(udg_location06)
set udg_location06=null
call DestroyGroup(udg_group03)
set udg_group03=null
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(.25)
call EnableTrigger(GetTriggeringTrigger())
endif
endfunction
function Trig_DestroyFX_Actions takes nothing returns nothing
local effect f=bj_lastCreatedEffect
call TriggerSleepAction(1.)
call DestroyEffect(f)
set f=null
endfunction
function Trig_Impaler_Conditions takes nothing returns boolean
return(UnitHasBuffBJ(GetTriggerUnit(),'B00T'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)==false)
endfunction
function Trig_Impaler_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=(udg_integer61*2))
endfunction
function Trig_Impaler_Actions takes nothing returns nothing
if(Trig_Impaler_Func001C())then
call CreateNUnitsAtLoc(1,'h01I',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call SetUnitAbilityLevelSwapped('A080',bj_lastCreatedUnit,udg_integer61)
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,GetUnitLoc(GetAttacker()))
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(.5)
call EnableTrigger(GetTriggeringTrigger())
endif
endfunction
function Trig_Tome_Retain_Impaler_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='O00L')
endfunction
function Trig_Tome_Retain_Impaler_Actions takes nothing returns nothing
set udg_integer61=0
endfunction
function Trig_Oxidization_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A07V')
endfunction
function Trig_Oxidization_Func005Func006C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07V',udg_unit24)==2)
endfunction
function Trig_Oxidization_Func005C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07V',udg_unit24)==1)
endfunction
function Trig_Oxidization_Actions takes nothing returns nothing
set udg_unit24=GetSpellAbilityUnit()
set udg_unit25=GetSpellTargetUnit()
call TriggerSleepAction(.5)
if(Trig_Oxidization_Func005C())then
call CreateNUnitsAtLoc(1,'h01G',GetOwningPlayer(udg_unit24),GetUnitLoc(udg_unit24),bj_UNIT_FACING)
set udg_unit26=bj_lastCreatedUnit
call UnitDamageTargetBJ(udg_unit26,udg_unit25,((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,udg_unit25)-GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit25))*.2),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call TriggerSleepAction(1.)
call RemoveUnit(udg_unit26)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[8]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[9]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[10]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[11]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[12]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[13]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[14]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[15]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[16]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[17]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[18]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[19]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[20]=bj_lastCreatedEffect
call PolledWait(.02)
call DestroyEffect(udg_effects05[8])
call DestroyEffect(udg_effects05[9])
call DestroyEffect(udg_effects05[10])
call DestroyEffect(udg_effects05[11])
call DestroyEffect(udg_effects05[12])
call DestroyEffect(udg_effects05[13])
call DestroyEffect(udg_effects05[14])
call DestroyEffect(udg_effects05[15])
call DestroyEffect(udg_effects05[16])
call DestroyEffect(udg_effects05[17])
call DestroyEffect(udg_effects05[18])
call DestroyEffect(udg_effects05[19])
call DestroyEffect(udg_effects05[20])
else
if(Trig_Oxidization_Func005Func006C())then
call CreateNUnitsAtLoc(1,'h01G',GetOwningPlayer(udg_unit24),GetUnitLoc(udg_unit24),bj_UNIT_FACING)
set udg_unit26=bj_lastCreatedUnit
call UnitDamageTargetBJ(udg_unit26,udg_unit25,((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,udg_unit25)-GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit25))*.4),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call TriggerSleepAction(1.)
call RemoveUnit(udg_unit26)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[8]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[9]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[10]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[11]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[12]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[13]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[14]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[15]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[16]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[17]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[18]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[19]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit25),300.,300.)),"Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl")
set udg_effects05[20]=bj_lastCreatedEffect
call PolledWait(.02)
call DestroyEffect(udg_effects05[8])
call DestroyEffect(udg_effects05[9])
call DestroyEffect(udg_effects05[10])
call DestroyEffect(udg_effects05[11])
call DestroyEffect(udg_effects05[12])
call DestroyEffect(udg_effects05[13])
call DestroyEffect(udg_effects05[14])
call DestroyEffect(udg_effects05[15])
call DestroyEffect(udg_effects05[16])
call DestroyEffect(udg_effects05[17])
call DestroyEffect(udg_effects05[18])
call DestroyEffect(udg_effects05[19])
call DestroyEffect(udg_effects05[20])
endif
endif
endfunction
function Trig_Voodoo_Shield_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Oshd')and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))and(IsUnitType(GetAttacker(),UNIT_TYPE_STRUCTURE)==false)
endfunction
function Trig_Voodoo_Shield_Func001C takes nothing returns boolean
return(UnitHasBuffBJ(GetTriggerUnit(),'B006'))
endfunction
function Trig_Voodoo_Shield_Actions takes nothing returns nothing
if(Trig_Voodoo_Shield_Func001C())then
call CreateNUnitsAtLoc(1,'h01A',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06F')
call IssueTargetOrderById(bj_lastCreatedUnit,852231,GetAttacker())
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
endif
endfunction
function Trig_Savage_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02S')and(GetUnitTypeId(GetTriggerUnit())=='H00U')
endfunction
function Trig_Savage_Actions takes nothing returns nothing
set udg_unit11=GetSpellAbilityUnit()
call AddSpecialEffectTargetUnitBJ("hand left",udg_unit11,"Abilities\\Spells\\Other\\BreathOfFire\\BreathOfFireDamage.mdl")
set udg_effects02[1]=bj_lastCreatedEffect
call AddSpecialEffectTargetUnitBJ("hand right",udg_unit11,"Abilities\\Spells\\Other\\BreathOfFire\\BreathOfFireDamage.mdl")
set udg_effects02[2]=bj_lastCreatedEffect
call PolledWait(30.)
call DestroyEffect(udg_effects02[1])
call DestroyEffect(udg_effects02[2])
endfunction
function Trig_Sacrifice_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02Z')and(GetUnitTypeId(GetTriggerUnit())=='H008')
endfunction
function Trig_Sacrifice_Func045002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl")
endfunction
function Trig_Sacrifice_Func047002 takes nothing returns nothing
call SetUnitExploded(GetEnumUnit(),true)
endfunction
function Trig_Sacrifice_Func086002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl")
endfunction
function Trig_Sacrifice_Func088002 takes nothing returns nothing
call SetUnitExploded(GetEnumUnit(),true)
endfunction
function Trig_Sacrifice_Func127002 takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl")
endfunction
function Trig_Sacrifice_Func129002 takes nothing returns nothing
call SetUnitExploded(GetEnumUnit(),true)
endfunction
function Trig_Sacrifice_Actions takes nothing returns nothing
call ResetUnitAnimation(GetTriggerUnit())
call PauseUnit(GetTriggerUnit(),true)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Orc\\Reincarnation\\ReincarnationTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call TriggerSleepAction(.35)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call TerrainDeformationRippleBJ(10.,false,GetUnitLoc(GetTriggerUnit()),100.,1024,75.,1,512)
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,0),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,10.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,20.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,30.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,40.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,50.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,60.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,70.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,80.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,90.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,100.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,110.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,120.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,130.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,140.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,150.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,160.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,170.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,180.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,190.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,200.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,210.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,220.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,230.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,240.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,250.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,260.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,270.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,280.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,290.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,300.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,310.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,320.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,330.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,340.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,350.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,360.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call ForGroupBJ(GetUnitsInRangeOfLocAll(200.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func045002)
call TriggerSleepAction(.0)
call ForGroupBJ(GetUnitsInRangeOfLocAll(300.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func047002)
call TriggerSleepAction(.5)
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,0),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,10.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,20.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,30.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,40.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,50.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,60.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,70.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,80.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,90.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,100.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,110.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,120.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,130.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,140.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,150.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,160.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,170.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,180.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,190.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,200.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,210.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,220.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,230.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,240.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,250.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,260.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,270.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,280.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,290.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,300.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,310.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,320.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,330.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,340.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,350.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),200.,360.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call ForGroupBJ(GetUnitsInRangeOfLocAll(350.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func086002)
call TriggerSleepAction(.0)
call ForGroupBJ(GetUnitsInRangeOfLocAll(350.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func088002)
call TriggerSleepAction(.5)
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,0),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,10.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,20.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,30.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,40.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,50.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,60.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,70.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,80.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,90.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,100.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,110.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,120.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,130.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,140.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,150.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,160.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,170.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,180.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,190.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,200.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,210.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,220.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,230.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,240.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,250.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,260.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,270.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,280.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,290.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,300.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,310.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,320.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,330.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,340.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,350.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),300.,360.),"Abilities\\Spells\\Items\\TomeOfRetraining\\TomeOfRetrainingCaster.mdl")
call ForGroupBJ(GetUnitsInRangeOfLocAll(400.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func127002)
call TriggerSleepAction(.0)
call ForGroupBJ(GetUnitsInRangeOfLocAll(400.,GetUnitLoc(GetTriggerUnit())),function Trig_Sacrifice_Func129002)
call TriggerSleepAction(1.)
call ExplodeUnitBJ(GetTriggerUnit())
call PauseUnit(GetTriggerUnit(),false)
endfunction
function Trig_Stardom_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852127)and(GetUnitTypeId(GetTriggerUnit())=='Nman')
endfunction
function Trig_Stardom_Func001A takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("overhead",GetEnumUnit(),"Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl")
call TriggerSleepAction(1.)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Stardom_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRangeOfLocAll(500.,GetUnitLoc(GetTriggerUnit())),function Trig_Stardom_Func001A)
endfunction
function Trig_Nature_Wraith_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852096)and(GetUnitTypeId(GetTriggerUnit())=='E004')
endfunction
function Trig_Nature_Wraith_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")
call TriggerSleepAction(5.)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Enflame_1_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A071')and(GetUnitAbilityLevelSwapped('A071',GetSpellAbilityUnit())==1)
endfunction
function Trig_Enflame_1_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
call UnitDamagePointLoc(GetSpellAbilityUnit(),.01,350.,GetUnitLoc(GetSpellTargetUnit()),50.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
set udg_effects04[1]=bj_lastCreatedEffect
call TriggerSleepAction(.3)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")
set udg_effects04[2]=bj_lastCreatedEffect
call TriggerSleepAction(.2)
call DestroyEffect(udg_effects04[1])
call DestroyEffect(udg_effects04[2])
endfunction
function Trig_Enflame_2_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A071')and(GetUnitAbilityLevelSwapped('A071',GetSpellAbilityUnit())==2)
endfunction
function Trig_Enflame_2_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
call UnitDamagePointLoc(GetSpellAbilityUnit(),.01,400.,GetUnitLoc(GetSpellTargetUnit()),100.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
set udg_effects04[1]=bj_lastCreatedEffect
call TriggerSleepAction(.3)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")
set udg_effects04[2]=bj_lastCreatedEffect
call TriggerSleepAction(.2)
call DestroyEffect(udg_effects04[1])
call DestroyEffect(udg_effects04[2])
endfunction
function Trig_Enflame_3_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A071')and(GetUnitAbilityLevelSwapped('A071',GetSpellAbilityUnit())==3)
endfunction
function Trig_Enflame_3_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
call UnitDamagePointLoc(GetSpellAbilityUnit(),.01,450.,GetUnitLoc(GetSpellTargetUnit()),150.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
set udg_effects04[1]=bj_lastCreatedEffect
call TriggerSleepAction(.3)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")
set udg_effects04[2]=bj_lastCreatedEffect
call TriggerSleepAction(.2)
call DestroyEffect(udg_effects04[1])
call DestroyEffect(udg_effects04[2])
endfunction
function Trig_Enflame_4_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A071')and(GetUnitAbilityLevelSwapped('A071',GetSpellAbilityUnit())==4)
endfunction
function Trig_Enflame_4_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\EntBirthTarget\\EntBirthTarget.mdl")
call UnitDamagePointLoc(GetSpellAbilityUnit(),.01,500.,GetUnitLoc(GetSpellTargetUnit()),200.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
set udg_effects04[1]=bj_lastCreatedEffect
call TriggerSleepAction(.3)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSpellTargetUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathMedium\\NEDeath.mdl")
set udg_effects04[2]=bj_lastCreatedEffect
call TriggerSleepAction(.2)
call DestroyEffect(udg_effects04[1])
call DestroyEffect(udg_effects04[2])
endfunction
function Trig_Plunder_1_Func002C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==1)and(UnitHasBuffBJ(GetTriggerUnit(),'B00L'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Plunder_1_Conditions takes nothing returns boolean
return(Trig_Plunder_1_Func002C())
endfunction
function Trig_Plunder_1_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=3)
endfunction
function Trig_Plunder_1_Actions takes nothing returns nothing
if(Trig_Plunder_1_Func001C())then
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call PlaySoundOnUnitBJ(udg_sound40,'d',GetTriggerUnit())
call AdjustPlayerStateBJ(GetRandomInt(1,10),GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
endfunction
function Trig_Plunder_2_Func002C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==2)and(UnitHasBuffBJ(GetTriggerUnit(),'B00L'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Plunder_2_Conditions takes nothing returns boolean
return(Trig_Plunder_2_Func002C())
endfunction
function Trig_Plunder_2_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=5)
endfunction
function Trig_Plunder_2_Actions takes nothing returns nothing
if(Trig_Plunder_2_Func001C())then
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call PlaySoundOnUnitBJ(udg_sound40,'d',GetTriggerUnit())
call AdjustPlayerStateBJ(GetRandomInt(5,20),GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
endfunction
function Trig_Plunder_3_Func002C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==3)and(UnitHasBuffBJ(GetTriggerUnit(),'B00L'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Plunder_3_Conditions takes nothing returns boolean
return(Trig_Plunder_3_Func002C())
endfunction
function Trig_Plunder_3_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=7)
endfunction
function Trig_Plunder_3_Actions takes nothing returns nothing
if(Trig_Plunder_3_Func001C())then
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call PlaySoundOnUnitBJ(udg_sound40,'d',GetTriggerUnit())
call AdjustPlayerStateBJ(GetRandomInt(10,30),GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
endfunction
function Trig_Plunder_4_Func002C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==4)and(UnitHasBuffBJ(GetTriggerUnit(),'B00L'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Plunder_4_Conditions takes nothing returns boolean
return(Trig_Plunder_4_Func002C())
endfunction
function Trig_Plunder_4_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=9)
endfunction
function Trig_Plunder_4_Actions takes nothing returns nothing
if(Trig_Plunder_4_Func001C())then
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call PlaySoundOnUnitBJ(udg_sound40,'d',GetTriggerUnit())
call AdjustPlayerStateBJ(GetRandomInt(15,40),GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
endfunction
function Trig_Meteorite_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852226)
endfunction
function Trig_Meteorite_Actions takes nothing returns nothing
set udg_unit08=GetOrderTargetUnit()
endfunction
function Trig_Meteorite_2_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02L')
endfunction
function Trig_Meteorite_2_Actions takes nothing returns nothing
call SetUnitAnimation(GetTriggerUnit(),"stand")
call PauseUnit(udg_unit08,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit08),"Units\\Demon\\Infernal\\InfernalBirth.mdl")
call TerrainDeformationRippleBJ(4.,false,GetUnitLoc(udg_unit08),180.,180.,64,1,512)
call TriggerSleepAction(1.5)
call PauseUnit(udg_unit08,false)
endfunction
function Trig_Fire_issueOrderPoint_Func002001 takes nothing returns boolean
return(GetUnitTypeId(GetOrderedUnit())=='H00H')
endfunction
function Trig_Fire_issueOrderPoint_Func002002 takes nothing returns boolean
return(GetIssuedOrderId()==852224)
endfunction
function Trig_Fire_issueOrderPoint_Conditions takes nothing returns boolean
return(GetBooleanAnd(Trig_Fire_issueOrderPoint_Func002001(),Trig_Fire_issueOrderPoint_Func002002()))
endfunction
function Trig_Fire_issueOrderPoint_Actions takes nothing returns nothing
set udg_location05=GetOrderPointLoc()
endfunction
function Trig_Fire_SFX_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummoningUnit())=='H00H')and(GetUnitTypeId(GetSummonedUnit())=='h00I')
endfunction
function Trig_Fire_SFX_Actions takes nothing returns nothing
set udg_unit10=GetSummonedUnit()
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[8]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[9]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[10]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[11]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[12]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[13]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[14]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[15]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[16]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[17]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[18]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[19]=bj_lastCreatedEffect
call PolledWait(.02)
call AddSpecialEffectLocBJ(GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit10),300.,300.)),"Abilities\\Spells\\Human\\MarkOfChaos\\MarkOfChaosTarget.mdl")
set udg_effects01[20]=bj_lastCreatedEffect
call PolledWait(.02)
call DestroyEffect(udg_effects01[8])
call DestroyEffect(udg_effects01[9])
call DestroyEffect(udg_effects01[10])
call DestroyEffect(udg_effects01[11])
call DestroyEffect(udg_effects01[12])
call DestroyEffect(udg_effects01[13])
call DestroyEffect(udg_effects01[14])
call DestroyEffect(udg_effects01[15])
call DestroyEffect(udg_effects01[16])
call DestroyEffect(udg_effects01[17])
call DestroyEffect(udg_effects01[18])
call DestroyEffect(udg_effects01[19])
call DestroyEffect(udg_effects01[20])
call KillUnit(GetSummonedUnit())
endfunction
function Trig_Divine_Meditation_Cast_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02O')
endfunction
function Trig_Divine_Meditation_Cast_Actions takes nothing returns nothing
call TriggerSleepAction(.5)
call IssueImmediateOrderById(GetSpellAbilityUnit(),851993)
call GroupAddUnit(udg_group01,GetSpellAbilityUnit())
endfunction
function Trig_Divine_Meditation_Heal_Conditions takes nothing returns boolean
return(IsUnitGroupEmptyBJ(udg_group01)==false)
endfunction
function Trig_Divine_Meditation_Heal_Func001A takes nothing returns nothing
call SetWidgetLife(GetEnumUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetEnumUnit())+50.))
call SetUnitManaBJ(GetEnumUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetEnumUnit())+20.))
call SetUnitAnimation(GetEnumUnit(),"stand first")
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Spells\\Human\\Heal\\HealTarget.mdl")
call PolledWait(.5)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Divine_Meditation_Heal_Actions takes nothing returns nothing
call ForGroupBJ(udg_group01,function Trig_Divine_Meditation_Heal_Func001A)
endfunction
function Trig_Divine_Meditation_Stop_Conditions takes nothing returns boolean
return(IsUnitInGroup(GetTriggerUnit(),udg_group01))
endfunction
function Trig_Divine_Meditation_Stop_Actions takes nothing returns nothing
call GroupRemoveUnit(udg_group01,GetTriggerUnit())
endfunction
function Trig_Trapper_1_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852480)and(GetUnitTypeId(GetTriggerUnit())=='N011')
endfunction
function Trig_Trapper_1_Actions takes nothing returns nothing
set udg_unit12=GetOrderTargetUnit()
endfunction
function Trig_Trapper_2_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02U')and(GetUnitTypeId(GetTriggerUnit())=='N011')
endfunction
function Trig_Trapper_2_Func015002 takes nothing returns nothing
call UnitAddItem(udg_unit12,GetEnumItem())
endfunction
function Trig_Trapper_2_Actions takes nothing returns nothing
call SetItemPositionLoc(GetItemOfTypeFromUnitBJ(udg_unit12,'stwp'),GetRectCenter(udg_rect92))
call TriggerSleepAction(2.)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit12,"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.5)
call SetUnitPositionLocFacingLocBJ(udg_unit12,GetUnitLoc(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()))
call SetUnitAnimation(GetTriggerUnit(),"Attack Slam")
call TriggerSleepAction(.25)
call IssueTargetOrderById(GetTriggerUnit(),851983,udg_unit12)
call TriggerSleepAction(.5)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Orc\\Disenchant\\DisenchantSpecialArt.mdl")
call SetUnitTimeScalePercent(GetTriggerUnit(),100.)
call SetUnitTimeScalePercent(udg_unit12,100.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call EnumItemsInRectBJ(udg_rect92,function Trig_Trapper_2_Func015002)
endfunction
function Trig_Steal_Soul_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852226)
endfunction
function Trig_Steal_Soul_Actions takes nothing returns nothing
set udg_unit13=GetOrderTargetUnit()
endfunction
function Trig_Steal_Soul_2_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02Y')
endfunction
function Trig_Steal_Soul_2_Actions takes nothing returns nothing
call SetUnitAnimation(GetTriggerUnit(),"stand")
call PauseUnit(udg_unit13,true)
call TriggerSleepAction(.5)
call PlaySoundBJ(udg_sound36)
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,0),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,45.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,90.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,135.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,180.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,225.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,270.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call AddSpecialEffectLocBJ(PolarProjectionBJ(GetUnitLoc(udg_unit13),180.,315.),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call TriggerSleepAction(.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit13),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call PauseUnit(udg_unit13,false)
endfunction
function Trig_Claws_Attack_1_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852527)and(GetUnitTypeId(GetTriggerUnit())=='H00U')
endfunction
function Trig_Claws_Attack_1_Actions takes nothing returns nothing
set udg_unit20=GetOrderTargetUnit()
endfunction
function Trig_Claws_Attack_2_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A02W')
endfunction
function Trig_Claws_Attack_2_Func005Func001Func001Func001C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02W',udg_unit19)==4)
endfunction
function Trig_Claws_Attack_2_Func005Func001Func001C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02W',udg_unit19)==3)
endfunction
function Trig_Claws_Attack_2_Func005Func001C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02W',udg_unit19)==2)
endfunction
function Trig_Claws_Attack_2_Func005C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02W',udg_unit19)==1)
endfunction
function Trig_Claws_Attack_2_Actions takes nothing returns nothing
set udg_unit19=GetSpellAbilityUnit()
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit19,"Abilities\\Spells\\Other\\Cleave\\CleaveDamageTarget.mdl")
call PlaySoundAtPointBJ(udg_sound12,100.,GetUnitLoc(udg_unit19),0)
call SetUnitPositionLocFacingLocBJ(udg_unit19,GetUnitLoc(udg_unit20),GetUnitLoc(udg_unit20))
if(Trig_Claws_Attack_2_Func005C())then
call UnitDamageTargetBJ(udg_unit19,udg_unit20,GetRandomReal(50.,150.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call IssueTargetOrderById(udg_unit19,851983,udg_unit20)
call TriggerSleepAction(.25)
call IssueTargetOrderById(udg_unit19,852527,udg_unit20)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.25)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Orc\\Disenchant\\DisenchantSpecialArt.mdl")
call TriggerSleepAction(2.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
else
if(Trig_Claws_Attack_2_Func005Func001C())then
call UnitDamageTargetBJ(udg_unit19,udg_unit20,GetRandomReal(150.,250.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call IssueTargetOrderById(udg_unit19,851983,udg_unit20)
call TriggerSleepAction(.25)
call IssueTargetOrderById(udg_unit19,852527,udg_unit20)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.25)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Orc\\Disenchant\\DisenchantSpecialArt.mdl")
call TriggerSleepAction(2.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
else
if(Trig_Claws_Attack_2_Func005Func001Func001C())then
call UnitDamageTargetBJ(udg_unit19,udg_unit20,GetRandomReal(250.,350.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call IssueTargetOrderById(udg_unit19,851983,udg_unit20)
call TriggerSleepAction(.25)
call IssueTargetOrderById(udg_unit19,852527,udg_unit20)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.25)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Orc\\Disenchant\\DisenchantSpecialArt.mdl")
call TriggerSleepAction(2.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
else
if(Trig_Claws_Attack_2_Func005Func001Func001Func001C())then
call UnitDamageTargetBJ(udg_unit19,udg_unit20,GetRandomReal(350.,500.),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
call IssueTargetOrderById(udg_unit19,851983,udg_unit20)
call TriggerSleepAction(.25)
call IssueTargetOrderById(udg_unit19,852527,udg_unit20)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.25)
call AddSpecialEffectTargetUnitBJ("origin",udg_unit20,"Abilities\\Spells\\Orc\\Disenchant\\DisenchantSpecialArt.mdl")
call TriggerSleepAction(2.)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endfunction
function Trig_Serenity_Aura_Conditions takes nothing returns boolean
return(UnitHasBuffBJ(GetTriggerUnit(),'B00P'))and(IsUnitEnemy(GetAttacker(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Serenity_Aura_Func001C takes nothing returns boolean
return(GetRandomInt(1,'d')<=(udg_integer60*3))
endfunction
function Trig_Serenity_Aura_Actions takes nothing returns nothing
if(Trig_Serenity_Aura_Func001C())then
call AddSpecialEffectTargetUnitBJ("overhead",GetTriggerUnit(),"Abilities\\Spells\\Human\\Heal\\HealTarget.mdl")
call SetWidgetLife(GetTriggerUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetTriggerUnit())+(udg_real13*20.)))
endif
endfunction
function Trig_Tome_Retain_Serenity_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='O00K')
endfunction
function Trig_Tome_Retain_Serenity_Actions takes nothing returns nothing
set udg_integer60=0
set udg_real13=.0
endfunction
function Trig_Release_Soul_Level_1_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='e00A')and(udg_integer59==1)
endfunction
function Trig_Release_Soul_Level_1_Actions takes nothing returns nothing
call RemoveUnit(GetSummonedUnit())
call SetUnitInvulnerable(GetSummoningUnit(),true)
call IssueImmediateOrderById(GetSummoningUnit(),851972)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call SetUnitAnimation(GetSummoningUnit(),"death")
call SetUnitAnimation(GetSummoningUnit(),"dissipate")
call PauseUnit(GetSummoningUnit(),true)
call TriggerSleepAction(2.25)
call ShowUnitHide(GetSummoningUnit())
call TriggerSleepAction(7.35)
call PauseUnit(GetSummoningUnit(),false)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl")
call ShowUnitShow(GetSummoningUnit())
call ResetUnitAnimation(GetSummoningUnit())
call SetUnitInvulnerable(GetSummoningUnit(),false)
call SetWidgetLife(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetSummoningUnit())+300.))
call SetUnitManaBJ(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetSummoningUnit())+100.))
endfunction
function Trig_Release_Soul_Level_2_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='e00A')and(udg_integer59==2)
endfunction
function Trig_Release_Soul_Level_2_Actions takes nothing returns nothing
call RemoveUnit(GetSummonedUnit())
call SetUnitInvulnerable(GetSummoningUnit(),true)
call IssueImmediateOrderById(GetSummoningUnit(),851972)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call SetUnitAnimation(GetSummoningUnit(),"death")
call SetUnitAnimation(GetSummoningUnit(),"dissipate")
call PauseUnit(GetSummoningUnit(),true)
call TriggerSleepAction(2.25)
call ShowUnitHide(GetSummoningUnit())
call TriggerSleepAction(13.35)
call PauseUnit(GetSummoningUnit(),false)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl")
call ShowUnitShow(GetSummoningUnit())
call ResetUnitAnimation(GetSummoningUnit())
call SetUnitInvulnerable(GetSummoningUnit(),false)
call SetWidgetLife(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetSummoningUnit())+400.))
call SetUnitManaBJ(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetSummoningUnit())+150.))
endfunction
function Trig_Release_Soul_Level_3_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='e00A')and(udg_integer59==3)
endfunction
function Trig_Release_Soul_Level_3_Actions takes nothing returns nothing
call RemoveUnit(GetSummonedUnit())
call SetUnitInvulnerable(GetSummoningUnit(),true)
call IssueImmediateOrderById(GetSummoningUnit(),851972)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call SetUnitAnimation(GetSummoningUnit(),"death")
call SetUnitAnimation(GetSummoningUnit(),"dissipate")
call PauseUnit(GetSummoningUnit(),true)
call TriggerSleepAction(2.25)
call ShowUnitHide(GetSummoningUnit())
call TriggerSleepAction(15.35)
call PauseUnit(GetSummoningUnit(),false)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl")
call ShowUnitShow(GetSummoningUnit())
call ResetUnitAnimation(GetSummoningUnit())
call SetUnitInvulnerable(GetSummoningUnit(),false)
call SetWidgetLife(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetSummoningUnit())+500.))
call SetUnitManaBJ(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetSummoningUnit())+200.))
endfunction
function Trig_Release_Soul_Level_4_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSummonedUnit())=='e00A')and(udg_integer59==4)
endfunction
function Trig_Release_Soul_Level_4_Actions takes nothing returns nothing
call RemoveUnit(GetSummonedUnit())
call SetUnitInvulnerable(GetSummoningUnit(),true)
call IssueImmediateOrderById(GetSummoningUnit(),851972)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl")
call SetUnitAnimation(GetSummoningUnit(),"death")
call SetUnitAnimation(GetSummoningUnit(),"dissipate")
call PauseUnit(GetSummoningUnit(),true)
call TriggerSleepAction(2.25)
call ShowUnitHide(GetSummoningUnit())
call TriggerSleepAction(19.35)
call PauseUnit(GetSummoningUnit(),false)
call AddSpecialEffectLocBJ(GetUnitLoc(GetSummoningUnit()),"Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl")
call ShowUnitShow(GetSummoningUnit())
call ResetUnitAnimation(GetSummoningUnit())
call SetUnitInvulnerable(GetSummoningUnit(),false)
call SetWidgetLife(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_LIFE,GetSummoningUnit())+600.))
call SetUnitManaBJ(GetSummoningUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetSummoningUnit())+250.))
endfunction
function Trig_Tome_Retain_Hell_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='tret')and(GetUnitTypeId(GetManipulatingUnit())=='H00P')
endfunction
function Trig_Tome_Retain_Hell_Actions takes nothing returns nothing
set udg_integer59=0
endfunction
function Trig_Start_Unit_Storage_Conditions takes nothing returns boolean
return(GetIssuedOrderId()==852111)and(GetUnitTypeId(GetOrderedUnit())=='Udre')
endfunction
function Trig_Start_Unit_Storage_Func002Func001C takes nothing returns boolean
return(udg_units04[bj_forLoopAIndex]==null)
endfunction
function Trig_Start_Unit_Storage_Actions takes nothing returns nothing
set udg_units04[GetUnitUserData(GetOrderedUnit())]=null
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd='d'
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Start_Unit_Storage_Func002Func001C())then
set udg_units04[bj_forLoopAIndex]=GetOrderTargetUnit()
call SetUnitUserData(GetOrderedUnit(),bj_forLoopAIndex)
return
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Spell_Check_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Udre')and(GetIssuedOrderId()!=852111)
endfunction
function Trig_Spell_Check_Actions takes nothing returns nothing
set udg_units04[GetUnitUserData(GetTriggerUnit())]=null
call SetUnitUserData(GetTriggerUnit(),0)
endfunction
function Trig_Spell_Cast_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetSpellAbilityUnit())=='Udre')and(GetSpellAbilityId()=='A026')
endfunction
function Trig_Spell_Cast_Actions takes nothing returns nothing
set udg_units05[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]=GetSpellAbilityUnit()
call SelectUnitRemove(GetSpellAbilityUnit())
call ShowUnitHide(GetSpellAbilityUnit())
call CreateNUnitsAtLoc(1,GetUnitTypeId(udg_units04[GetUnitUserData(GetSpellAbilityUnit())]),GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellAbilityUnit()),GetUnitFacing(GetSpellAbilityUnit()))
call AddSpecialEffectTargetUnitBJ("origin",bj_lastCreatedUnit,"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call AddSpecialEffectTargetUnitBJ("origin",udg_units04[GetUnitUserData(GetSpellAbilityUnit())],"Abilities\\Spells\\Items\\AIil\\AIilTarget.mdl")
call SetHeroLevelBJ(bj_lastCreatedUnit,GetHeroLevel(udg_units04[GetUnitUserData(GetSpellAbilityUnit())]),false)
call UnitRemoveAbility(bj_lastCreatedUnit,'AInv')
set udg_units06[(1+GetPlayerId(GetOwningPlayer(GetSpellAbilityUnit())))]=bj_lastCreatedUnit
call SelectUnitAdd(bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h00G',GetOwningPlayer(GetSpellAbilityUnit()),GetRectCenter(bj_mapInitialPlayableArea),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(40.,'BTLF',bj_lastCreatedUnit)
endfunction
function Trig_Spell_End_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetDyingUnit())=='h00G')
endfunction
function Trig_Spell_End_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units05[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))],GetUnitLoc(udg_units06[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))]))
call RemoveUnit(udg_units06[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))])
call ShowUnitShow(udg_units05[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))])
call AddSpecialEffectTargetUnitBJ("origin",udg_units05[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))],"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SelectUnitAdd(udg_units05[(1+GetPlayerId(GetOwningPlayer(GetDyingUnit())))])
endfunction
function Trig_Invulnerable_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A038')and(GetUnitTypeId(GetTriggerUnit())=='U00C')
endfunction
function Trig_Invulnerable_Actions takes nothing returns nothing
set udg_unit34=GetTriggerUnit()
call SetUnitInvulnerable(udg_unit34,true)
endfunction
function Trig_Create_Tentacles_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A038')and(GetUnitTypeId(GetTriggerUnit())=='U00C')
endfunction
function Trig_Create_Tentacles_Actions takes nothing returns nothing
set udg_integer40=GetHeroStatBJ(0,GetTriggerUnit(),true)
call CreateNUnitsAtLoc(1,'n01V',GetOwningPlayer(GetTriggerUnit()),PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),150.,.0),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(90.,'BTLF',bj_lastCreatedUnit)
call TriggerSleepAction(GetRandomReal(.2,1.))
call SetUnitUserData(GetTriggerUnit(),45)
call CreateNUnitsAtLoc(1,'n01V',GetOwningPlayer(GetTriggerUnit()),PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),150.,72.),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(90.,'BTLF',bj_lastCreatedUnit)
call TriggerSleepAction(GetRandomReal(.2,1.))
call CreateNUnitsAtLoc(1,'n01V',GetOwningPlayer(GetTriggerUnit()),PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),150.,144.),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(90.,'BTLF',bj_lastCreatedUnit)
call TriggerSleepAction(GetRandomReal(.2,1.))
call CreateNUnitsAtLoc(1,'n01V',GetOwningPlayer(GetTriggerUnit()),PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),150.,216.),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(90.,'BTLF',bj_lastCreatedUnit)
call TriggerSleepAction(GetRandomReal(.2,1.))
call CreateNUnitsAtLoc(1,'n01V',GetOwningPlayer(GetTriggerUnit()),PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),150.,288.),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(90.,'BTLF',bj_lastCreatedUnit)
call SetUnitManaBJ(GetTriggerUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetTriggerUnit())+135.))
call UnitResetCooldown(GetTriggerUnit())
endfunction
function Trig_Tentacle_Enters_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='n01V')
endfunction
function Trig_Tentacle_Enters_Actions takes nothing returns nothing
call SetUnitAnimation(GetTriggerUnit(),"birth")
call TriggerSleepAction(1.5)
call ResetUnitAnimation(GetTriggerUnit())
call AddArmor(GetTriggerUnit(),udg_integer40)
endfunction
function Trig_Unburrow_begins_Func004C takes nothing returns boolean
return(GetSpellAbilityId()=='A038')or(GetTriggerUnit()==GetDyingUnit())
endfunction
function Trig_Unburrow_begins_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='U00C')and(Trig_Unburrow_begins_Func004C())
endfunction
function Trig_Unburrow_begins_Func002A takes nothing returns nothing
call KillUnit(GetEnumUnit())
endfunction
function Trig_Unburrow_begins_Actions takes nothing returns nothing
call SetUnitInvulnerable(udg_unit34,false)
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetOwningPlayer(GetTriggerUnit()),'n01V'),function Trig_Unburrow_begins_Func002A)
endfunction
function Trig_Tentacle_Dies_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='n01V')and(CountLivingPlayerUnitsOfTypeId('n01V',GetOwningPlayer(GetTriggerUnit()))==0)
endfunction
function Trig_Tentacle_Dies_Actions takes nothing returns nothing
call IssueImmediateOrderById(GroupPickRandomUnit(GetUnitsOfPlayerAndTypeId(GetOwningPlayer(GetTriggerUnit()),'U00C')),852534)
endfunction
function Trig_Critical_Strike_X_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A03I')
endfunction
function Trig_Critical_Strike_X_Func018001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03I',GetTriggerUnit())==1)
endfunction
function Trig_Critical_Strike_X_Func018003001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03I',GetTriggerUnit())==2)
endfunction
function Trig_Critical_Strike_X_Func018003003001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03I',GetTriggerUnit())==3)
endfunction
function Trig_Critical_Strike_X_Func018003003003001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03I',GetTriggerUnit())==4)
endfunction
function Trig_Critical_Strike_X_Actions takes nothing returns nothing
set udg_unit14=GetSpellTargetUnit()
call DisableTrigger(GetTriggeringTrigger())
call SetUnitInvulnerable(GetTriggerUnit(),true)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl")
call SetUnitPositionLocFacingLocBJ(GetTriggerUnit(),GetUnitLoc(udg_unit14),GetUnitLoc(udg_unit14))
call PauseUnit(udg_unit14,true)
call PauseUnit(GetTriggerUnit(),true)
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Orc\\AncestralSpirit\\AncestralSpiritCaster.mdl")
call TriggerSleepAction(.05)
call SetUnitAnimation(GetTriggerUnit(),"Attack Slam")
call TriggerSleepAction(.15)
call SetUnitTimeScalePercent(GetTriggerUnit(),2.5)
call TriggerSleepAction(.4)
call SetUnitTimeScalePercent(GetTriggerUnit(),200.)
call AddSpecialEffectTargetUnitBJ("chest",udg_unit14,"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call TerrainDeformationCraterBJ(.5,false,GetUnitLoc(GetTriggerUnit()),400.,60.)
call PauseUnit(GetTriggerUnit(),false)
if(Trig_Critical_Strike_X_Func018001())then
call UnitDamageTargetBJ(GetTriggerUnit(),udg_unit14,150.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
else
if(Trig_Critical_Strike_X_Func018003001())then
call UnitDamageTargetBJ(GetTriggerUnit(),udg_unit14,250.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
else
if(Trig_Critical_Strike_X_Func018003003001())then
call UnitDamageTargetBJ(GetTriggerUnit(),udg_unit14,350.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
else
if(Trig_Critical_Strike_X_Func018003003003001())then
call UnitDamageTargetBJ(GetTriggerUnit(),udg_unit14,450.,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_ENHANCED)
endif
endif
endif
endif
call TriggerSleepAction(.05)
call ResetUnitAnimation(GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\ResourceItems\\ResourceEffectTarget.mdl")
call TriggerSleepAction(.15)
call SetUnitTimeScalePercent(GetTriggerUnit(),'d')
call SetUnitInvulnerable(GetTriggerUnit(),false)
call PauseUnit(udg_unit14,false)
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Cloaking_Stealth_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A03L')and(GetUnitTypeId(GetTriggerUnit())=='H015')
endfunction
function Trig_Cloaking_Stealth_Func003001 takes nothing returns boolean
return(UnitHasBuffBJ(udg_unit15,'B001')==false)
endfunction
function Trig_Cloaking_Stealth_Actions takes nothing returns nothing
local unit udg_unit15=GetSpellTargetUnit()
call UnitAddAbility(udg_unit15,'Apiv')
loop
exitwhen(Trig_Cloaking_Stealth_Func003001())
call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,.25))
endloop
call TriggerSleepAction(15.)
call UnitRemoveAbility(udg_unit15,'Apiv')
endfunction
function Trig_Cloaking_Sobe_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A03L')and(GetUnitTypeId(GetTriggerUnit())=='N023')
endfunction
function Trig_Cloaking_Sobe_Func003001 takes nothing returns boolean
return(UnitHasBuffBJ(udg_unit15,'B001')==false)
endfunction
function Trig_Cloaking_Sobe_Actions takes nothing returns nothing
local unit udg_unit15=GetSpellTargetUnit()
call UnitAddAbility(udg_unit15,'Apiv')
loop
exitwhen(Trig_Cloaking_Sobe_Func003001())
call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,.25))
endloop
call TriggerSleepAction(15.)
call UnitRemoveAbility(udg_unit15,'Apiv')
endfunction
function Trig_Shock_Blaster_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A051')and(GetUnitTypeId(GetTriggerUnit())=='O00I')
endfunction
function Trig_Shock_Blaster_Func023001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetSpellAbilityUnit())==1)
endfunction
function Trig_Shock_Blaster_Func024001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetSpellAbilityUnit())==1)
endfunction
function Trig_Shock_Blaster_Func045001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetSpellAbilityUnit())==2)
endfunction
function Trig_Shock_Blaster_Func046001 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetSpellAbilityUnit())==2)
endfunction
function Trig_Shock_Blaster_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h010',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellTargetUnit()),GetRandomReal(0,360.))
set udg_unit16=bj_lastCreatedUnit
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,.0))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,36.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,72.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,108.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,144.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,180.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,216.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,252.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,288.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,324.))
if(Trig_Shock_Blaster_Func023001())then
call RemoveUnit(udg_unit16)
endif
if(Trig_Shock_Blaster_Func024001())then
return
endif
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,.0))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,36.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,72.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,108.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,144.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,180.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,216.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,252.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,288.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,324.))
if(Trig_Shock_Blaster_Func045001())then
call RemoveUnit(udg_unit16)
endif
if(Trig_Shock_Blaster_Func046001())then
return
endif
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,.0))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,36.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,72.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,108.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,144.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,180.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,216.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,252.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,288.))
call TriggerSleepAction(.05)
call IssuePointOrderByIdLoc(udg_unit16,852125,PolarProjectionBJ(GetUnitLoc(udg_unit16),250.,324.))
call TriggerSleepAction(.2)
call IssueImmediateOrderById(udg_unit16,852127)
call TriggerSleepAction(.2)
call RemoveUnit(udg_unit16)
endfunction
function Trig_Ambush_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A05S')and(GetUnitTypeId(GetTriggerUnit())=='Hlgr')
endfunction
function Trig_Ambush_Func001Func004Func001C takes nothing returns boolean
return(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)==false)and(IsUnitEnemy(GetEnumUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Ambush_Func001Func004A takes nothing returns nothing
if(Trig_Ambush_Func001Func004Func001C())then
call SetUnitPositionLoc(GetEnumUnit(),GetUnitLoc(GetTriggerUnit()))
endif
endfunction
function Trig_Ambush_Func001C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05S',GetTriggerUnit())==1)
endfunction
function Trig_Ambush_Func002Func004Func001C takes nothing returns boolean
return(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)==false)and(IsUnitEnemy(GetEnumUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Ambush_Func002Func004A takes nothing returns nothing
if(Trig_Ambush_Func002Func004Func001C())then
call SetUnitPositionLoc(GetEnumUnit(),GetUnitLoc(GetTriggerUnit()))
endif
endfunction
function Trig_Ambush_Func002C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05S',GetTriggerUnit())==2)
endfunction
function Trig_Ambush_Func003Func004Func001C takes nothing returns boolean
return(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)==false)and(IsUnitEnemy(GetEnumUnit(),GetOwningPlayer(GetTriggerUnit())))
endfunction
function Trig_Ambush_Func003Func004A takes nothing returns nothing
if(Trig_Ambush_Func003Func004Func001C())then
call SetUnitPositionLoc(GetEnumUnit(),GetUnitLoc(GetTriggerUnit()))
endif
endfunction
function Trig_Ambush_Func003C takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05S',GetTriggerUnit())==3)
endfunction
function Trig_Ambush_Actions takes nothing returns nothing
if(Trig_Ambush_Func001C())then
call SetUnitInvulnerable(GetTriggerUnit(),true)
call ForGroupBJ(GetUnitsInRangeOfLocAll(500.,GetUnitLoc(GetTriggerUnit())),function Trig_Ambush_Func001Func004A)
call SetUnitInvulnerable(GetTriggerUnit(),false)
endif
if(Trig_Ambush_Func002C())then
call SetUnitInvulnerable(GetTriggerUnit(),true)
call ForGroupBJ(GetUnitsInRangeOfLocAll(600.,GetUnitLoc(GetTriggerUnit())),function Trig_Ambush_Func002Func004A)
call SetUnitInvulnerable(GetTriggerUnit(),false)
endif
if(Trig_Ambush_Func003C())then
call SetUnitInvulnerable(GetTriggerUnit(),true)
call ForGroupBJ(GetUnitsInRangeOfLocAll(700.,GetUnitLoc(GetTriggerUnit())),function Trig_Ambush_Func003Func004A)
call SetUnitInvulnerable(GetTriggerUnit(),false)
endif
endfunction
function Trig_Start_Runes_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger198)
endfunction
function Trig_Runes_Actions takes nothing returns nothing
call CreateItemLoc('I02Q',GetRandomLocInRect(udg_rect102))
set udg_items01[1]=bj_lastCreatedItem
call PingMinimapLocForForce(bj_FORCE_ALL_PLAYERS,GetItemLoc(bj_lastCreatedItem),5.)
call CreateItemLoc('I02R',GetRandomLocInRect(udg_rect102))
set udg_items01[2]=bj_lastCreatedItem
call PingMinimapLocForForce(bj_FORCE_ALL_PLAYERS,GetItemLoc(bj_lastCreatedItem),5.)
call CreateItemLoc('I02S',GetRandomLocInRect(udg_rect102))
set udg_items01[3]=bj_lastCreatedItem
call PingMinimapLocForForce(bj_FORCE_ALL_PLAYERS,GetItemLoc(bj_lastCreatedItem),5.)
call CreateItemLoc('I02T',GetRandomLocInRect(udg_rect102))
set udg_items01[4]=bj_lastCreatedItem
call PingMinimapLocForForce(bj_FORCE_ALL_PLAYERS,GetItemLoc(bj_lastCreatedItem),5.)
call TriggerSleepAction(180.)
call RemoveItem(udg_items01[1])
call RemoveItem(udg_items01[2])
call RemoveItem(udg_items01[3])
call RemoveItem(udg_items01[4])
endfunction
function Trig_Rune_of_Bloodlust_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02Q')
endfunction
function Trig_Rune_of_Bloodlust_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01K',GetOwningPlayer(GetManipulatingUnit()),GetUnitLoc(GetManipulatingUnit()),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852101,GetManipulatingUnit())
endfunction
function Trig_Rune_of_Inner_Fire_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02R')
endfunction
function Trig_Rune_of_Inner_Fire_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01K',GetOwningPlayer(GetManipulatingUnit()),GetUnitLoc(GetManipulatingUnit()),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852066,GetManipulatingUnit())
endfunction
function Trig_Rune_of_Invisibility_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02S')
endfunction
function Trig_Rune_of_Invisibility_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01K',GetOwningPlayer(GetManipulatingUnit()),GetUnitLoc(GetManipulatingUnit()),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(1.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852069,GetManipulatingUnit())
endfunction
function Trig_UnitStops_Actions takes nothing returns nothing
call SetUnitUserData(GetTriggerUnit(),33)
endfunction
function Trig_SaveUnitTarget_Conditions takes nothing returns boolean
return(GetOrderTargetUnit()!=null)and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_SaveUnitTarget_Actions takes nothing returns nothing
set udg_units07[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))]=GetOrderTargetUnit()
endfunction
function Trig_BuyFlagNFBad_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='oflg')
endfunction
function Trig_BuyFlagNFBad_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(20,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetManipulatedItem())
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Since \"No Flag\" mode has been enabled, these flags you bought will have no effect and you money is returned to you !")
endfunction
function Trig_BuyFlagNFGd_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='flag')
endfunction
function Trig_BuyFlagNFGd_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(20,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetManipulatedItem())
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Since \"No Flag\" mode has been enabled, these flags you bought will have no effect and you money is returned to you !")
endfunction
function Trig_BuyFlagBad_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='oflg')
endfunction
function Trig_BuyFlagBad_Func009001 takes nothing returns boolean
return(udg_integer24<5)
endfunction
function Trig_BuyFlagBad_Func010001 takes nothing returns boolean
return(udg_integer24<5)
endfunction
function Trig_BuyFlagBad_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_BuyFlagBad_Func009001())then
call TriggerExecute(udg_trigger209)
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
if(Trig_BuyFlagBad_Func010001())then
else
call AdjustPlayerStateBJ(20,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endif
endfunction
function Trig_BuyFlagGd_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='flag')
endfunction
function Trig_BuyFlagGd_Func009001 takes nothing returns boolean
return(udg_integer23<5)
endfunction
function Trig_BuyFlagGd_Func010001 takes nothing returns boolean
return(udg_integer23<5)
endfunction
function Trig_BuyFlagGd_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_BuyFlagGd_Func009001())then
call TriggerExecute(udg_trigger208)
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endif
if(Trig_BuyFlagGd_Func010001())then
else
call AdjustPlayerStateBJ(20,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endif
endfunction
function Trig_GdTithe_Actions takes nothing returns nothing
set udg_integer23=(udg_integer23+1)
set udg_integer11=(udg_integer11+30)
call SetPlayerHandicapBJ(Player(5),I2R(udg_integer11))
endfunction
function Trig_BadTithe_Actions takes nothing returns nothing
set udg_integer24=(udg_integer24+1)
set udg_integer13=(udg_integer13+30)
call SetPlayerHandicapBJ(Player(11),I2R(udg_integer13))
endfunction
function Trig_Alien_Level1_Attack_Actions takes nothing returns nothing
set udg_locations02[1]=GetRandomLocInRect(udg_rect102)
call TerrainDeformationRippleBJ(4.,false,udg_locations02[1],400.,400.,64,1,512)
call TriggerSleepAction(3.)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[1],0)
call AddSpecialEffectLocBJ(udg_locations02[1],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N028',Player(12),udg_locations02[1],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[1],0)
call AddSpecialEffectLocBJ(udg_locations02[1],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N028',Player(12),udg_locations02[1],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[1],0)
call AddSpecialEffectLocBJ(udg_locations02[1],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N028',Player(12),udg_locations02[1],bj_UNIT_FACING)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Alien_Level2_Attack_Actions takes nothing returns nothing
set udg_locations02[2]=GetRandomLocInRect(udg_rect102)
call TerrainDeformationRippleBJ(4.,false,udg_locations02[2],400.,400.,64,1,512)
call TriggerSleepAction(3.)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[2],0)
call AddSpecialEffectLocBJ(udg_locations02[2],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N029',Player(12),udg_locations02[2],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[2],0)
call AddSpecialEffectLocBJ(udg_locations02[2],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N029',Player(12),udg_locations02[2],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[2],0)
call AddSpecialEffectLocBJ(udg_locations02[2],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N029',Player(12),udg_locations02[2],bj_UNIT_FACING)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Alien_Level3_Attack_Actions takes nothing returns nothing
set udg_locations02[3]=GetRandomLocInRect(udg_rect102)
call TerrainDeformationRippleBJ(4.,false,udg_locations02[3],400.,400.,64,1,512)
call TriggerSleepAction(3.)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[3],0)
call AddSpecialEffectLocBJ(udg_locations02[3],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02A',Player(12),udg_locations02[3],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[3],0)
call AddSpecialEffectLocBJ(udg_locations02[3],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02A',Player(12),udg_locations02[3],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[3],0)
call AddSpecialEffectLocBJ(udg_locations02[3],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02A',Player(12),udg_locations02[3],bj_UNIT_FACING)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Alien_Level4_Attack_Actions takes nothing returns nothing
set udg_locations02[4]=GetRandomLocInRect(udg_rect102)
call TerrainDeformationRippleBJ(4.,false,udg_locations02[4],400.,400.,64,1,512)
call TriggerSleepAction(3.)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[4],0)
call AddSpecialEffectLocBJ(udg_locations02[4],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02B',Player(12),udg_locations02[4],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[4],0)
call AddSpecialEffectLocBJ(udg_locations02[4],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02B',Player(12),udg_locations02[4],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[4],0)
call AddSpecialEffectLocBJ(udg_locations02[4],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N02B',Player(12),udg_locations02[4],bj_UNIT_FACING)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Alien_Level5_Attack_Actions takes nothing returns nothing
set udg_locations02[5]=GetRandomLocInRect(udg_rect102)
call TerrainDeformationRippleBJ(4.,false,udg_locations02[5],400.,400.,64,1,512)
call TriggerSleepAction(3.)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[5],0)
call AddSpecialEffectLocBJ(udg_locations02[5],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N027',Player(12),udg_locations02[5],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[5],0)
call AddSpecialEffectLocBJ(udg_locations02[5],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N027',Player(12),udg_locations02[5],bj_UNIT_FACING)
call PlaySoundAtPointBJ(udg_sound38,100.,udg_locations02[5],0)
call AddSpecialEffectLocBJ(udg_locations02[5],"Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.mdx")
call CreateNUnitsAtLoc(1,'N027',Player(12),udg_locations02[5],bj_UNIT_FACING)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Trig_Wave0Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nrel',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nrel',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nrel',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave1Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'ntks',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'ntks',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'ntks',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave2Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nplg',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nplg',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nplg',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave3Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'ntrd',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntrd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntrd',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave4Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'ngrd',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ngrd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ngrd',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave5Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nowe',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nowe',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nowe',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave6Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'nmgd',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nmgd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nmgd',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave7Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'Ecen',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'Ecen',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'Ecen',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave8Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'n01Z',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'n01Z',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'n01Z',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Wave0Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'ntrv',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'ntrv',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'ntrv',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave1Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nane',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nane',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nane',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave2Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nnws',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nnws',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nnws',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave3Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n018',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n018',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n018',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave4Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'nrwm',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nrwm',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nrwm',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave5Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'nsln',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsln',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsln',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave6Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'nbdo',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nbdo',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nbdo',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave7Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'Nmag',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'Nmag',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'Nmag',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Wave8Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'n020',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'n020',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'n020',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_JdayWave1_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Judgement Day approaches. First Wave. Prepare yourselves. 10 Minutes left |r ")
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,false)
call TriggerSleepAction(15.)
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect83),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect72),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect88),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect85),GetUnitLoc(udg_unit81))
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect73),GetUnitLoc(udg_unit81))
call CreateNUnitsAtLocFacingLocBJ(5,'n00W',Player(12),GetRectCenter(udg_rect86),GetUnitLoc(udg_unit81))
endfunction
function Trig_JdayWave2_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Judgement Day approaches. Second Wave. Prepare yourselves. 5 Minutes left |r ")
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,false)
call TriggerSleepAction(15.)
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect83),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect72),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect88),GetUnitLoc(udg_unit72))
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect85),GetUnitLoc(udg_unit81))
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect73),GetUnitLoc(udg_unit81))
call CreateNUnitsAtLocFacingLocBJ(3,'n00U',Player(12),GetRectCenter(udg_rect86),GetUnitLoc(udg_unit81))
endfunction
function Trig_JdayWave2_Tithe_Both_Actions takes nothing returns nothing
call TriggerExecute(udg_trigger208)
call TriggerExecute(udg_trigger209)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00All creeps/buildings increased hp.|r ")
endfunction
function Trig_JdayWave3_Judge_Func010002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),8.)
endfunction
function Trig_JdayWave3_Judge_Func011002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),8.)
endfunction
function Trig_JdayWave3_Judge_Func013002 takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function Trig_JdayWave3_Judge_Func014002 takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function Trig_JdayWave3_Judge_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Judgement Day is here. Prepare !!!|r ")
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,false)
call PlaySoundAtPointBJ(udg_sound24,100.,GetRectCenter(udg_rect44),0)
call PolledWait(10.)
call PlaySoundAtPointBJ(udg_sound24,100.,GetRectCenter(udg_rect44),0)
call PolledWait(10.)
call PlaySoundAtPointBJ(udg_sound24,100.,GetRectCenter(udg_rect44),0)
call PlaySoundAtPointBJ(udg_sound14,100.,GetRectCenter(udg_rect44),0)
call PolledWait(2)
call ForForce(bj_FORCE_PLAYER[11],function Trig_JdayWave3_Judge_Func010002)
call ForForce(bj_FORCE_PLAYER[5],function Trig_JdayWave3_Judge_Func011002)
call PolledWait(5.)
call ForForce(GetPlayersAllies(Player(11)),function Trig_JdayWave3_Judge_Func013002)
call ForForce(GetPlayersAllies(Player(5)),function Trig_JdayWave3_Judge_Func014002)
call CreateNUnitsAtLocFacingLocBJ(1,'N010',Player(12),GetRectCenter(udg_rect44),GetUnitLoc(udg_unit81))
call AddSpecialEffectTargetUnitBJ("chest rear",bj_lastCreatedUnit,"Units\\Extra\\IllidanWings.mdx")
set udg_unit06=bj_lastCreatedUnit
call UnitApplyTimedLifeBJ(360.,'BTLF',bj_lastCreatedUnit)
call SetUnitAnimation(bj_lastCreatedUnit,"birth")
call SetUnitAnimation(bj_lastCreatedUnit,"birth")
endfunction
function Trig_JdayAfterHoly1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n00I',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsgb',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsgb',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsgb',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterHoly2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n00I',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nano',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nano',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nano',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterHoly3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'e00L',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e00L',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e00L',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterHoly4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n02M',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02M',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02M',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterDark1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'njgb',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'njgb',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'njgb',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterDark2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsbm',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsbm',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'nsbm',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterDark3_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'u00J',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u00J',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u00J',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_JdayAfterDark4_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'u00G',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u00G',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u00G',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Sky_Tears_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"There is too much death... The sky is crying... This must end... Let's end it now !")
call CreateNUnitsAtLoc(1,'n019',Player(12),GetRectCenter(udg_rect93),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
endfunction
function Trig_Nuke_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A04H')
endfunction
function Trig_Nuke_Actions takes nothing returns nothing
call PlaySoundAtPointBJ(udg_sound39,'d',GetSpellTargetLoc(),0)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"Nuclear launch detected...")
call CreateNUnitsAtLoc(1,'n02E',GetTriggerPlayer(),GetSpellTargetLoc(),bj_UNIT_FACING)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,GetSpellTargetLoc())
call UnitApplyTimedLifeBJ(25.,'BTLF',bj_lastCreatedUnit)
endfunction
function Trig_Cannon_Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Cannon_Holy_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00H',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endfunction
function Trig_Cannon_Dark_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_Cannon_Dark_2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,'u00I',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endfunction
function Trig_PowerGuardian_Holy_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I010')
endfunction
function Trig_PowerGuardian_Holy_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h017',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h017',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h017',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
endfunction
function Trig_PowerGuardian_Damned_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I011')
endfunction
function Trig_PowerGuardian_Damned_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h018',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h018',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h018',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BTLF',bj_lastCreatedUnit)
endfunction
function Trig_Biogenerator_Conditions takes nothing returns boolean
return(GetSpellAbilityId()=='A027')
endfunction
function Trig_Biogenerator_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\human\\dispelmagic\\dispelmagictarget.mdl")
call ConditionalTriggerExecute(udg_trigger255)
set udg_real09=(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetTriggerUnit())-GetUnitStateSwap(UNIT_STATE_LIFE,GetTriggerUnit()))
set udg_real09=RMinBJ(udg_real09,GetUnitStateSwap(UNIT_STATE_MANA,GetTriggerUnit()))
call SetWidgetLife(GetTriggerUnit(),(udg_real09+GetUnitStateSwap(UNIT_STATE_LIFE,GetTriggerUnit())))
call SetUnitManaBJ(GetTriggerUnit(),(GetUnitStateSwap(UNIT_STATE_MANA,GetTriggerUnit())-udg_real09))
endfunction
function Trig_RemoveFx_Actions takes nothing returns nothing
local effect fx=bj_lastCreatedEffect
call PolledWait(10.)
call DestroyEffect(fx)
endfunction
function Trig_DDay_end41_Actions takes nothing returns nothing
call EnableWeatherEffect(udg_weathereffect01,false)
endfunction
function Trig_DDay_start4_Actions takes nothing returns nothing
call SetMusicVolumeBJ(.0)
call PlaySoundBJ(udg_sound19)
call TriggerSleepAction(285.)
call SetMusicVolumeBJ('d')
endfunction
function Trig_DDay_start4W_Actions takes nothing returns nothing
call SetSpeechVolumeGroupsBJ()
call PlaySoundBJ(udg_sound26)
call TriggerWaitForSound(bj_lastPlayedSound,0)
call VolumeGroupResetBJ()
call EnableWeatherEffect(udg_weathereffect01,false)
call AddWeatherEffectSaveLast(bj_mapInitialPlayableArea,'WNcw')
set udg_weathereffect01=bj_lastCreatedWeatherEffect
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,true)
endfunction
function Trig_DDay_start3_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|CFFFFFC00WARNING: |CFFFF0303 Commander's summoning started !")
call CreateTimerDialogBJ(udg_timer12,"Summoning:")
set udg_timerdialog01=bj_lastCreatedTimerDialog
call StartTimerBJ(udg_timer12,false,120.)
call SetMusicVolumeBJ(.0)
call PlaySoundBJ(udg_sound35)
call TriggerSleepAction(90.)
call SetMusicVolumeBJ('d')
endfunction
function Trig_DDay_start2_Actions takes nothing returns nothing
call EnableWeatherEffect(udg_weathereffect01,false)
call AddWeatherEffectSaveLast(bj_mapInitialPlayableArea,'LRma')
set udg_weathereffect01=bj_lastCreatedWeatherEffect
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,true)
endfunction
function Trig_DDay_end12_Actions takes nothing returns nothing
call EnableWeatherEffect(udg_weathereffect01,false)
call AddWeatherEffectSaveLast(bj_mapInitialPlayableArea,'RLlr')
set udg_weathereffect01=bj_lastCreatedWeatherEffect
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,true)
endfunction
function Trig_DDay_end11_Func001002 takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function Trig_DDay_end11_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_DDay_end11_Func001002)
endfunction
function Trig_DDay_start1_Func007002 takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),3)
endfunction
function Trig_DDay_start1_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'Nmag',Player(11),GetRectCenter(udg_rect49),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'Ecen',Player(5),GetRectCenter(udg_rect48),bj_UNIT_FACING)
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,false)
call AddWeatherEffectSaveLast(bj_mapInitialPlayableArea,'WOlw')
set udg_weathereffect01=bj_lastCreatedWeatherEffect
call EnableWeatherEffect(bj_lastCreatedWeatherEffect,true)
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_DDay_start1_Func007002)
call PlaySoundBJ(udg_sound01)
call PlayThematicMusic("Sound\\Music\\mp3Music\\Doom.mp3")
endfunction
function Trig_CreepCount_Conditions takes nothing returns boolean
return(udg_boolean07)
endfunction
function Trig_CreepCount_Func003001 takes nothing returns boolean
return(udg_integer14>7)
endfunction
function Trig_CreepCount_Func004001 takes nothing returns boolean
return(udg_boolean06==false)
endfunction
function Trig_CreepCount_Func005001 takes nothing returns boolean
return(udg_boolean05==false)
endfunction
function Trig_CreepCount_Func007001 takes nothing returns boolean
return(udg_boolean04==false)
endfunction
function Trig_CreepCount_Func008001 takes nothing returns boolean
return(udg_boolean03==false)
endfunction
function Trig_CreepCount_Actions takes nothing returns nothing
set udg_integer14=(udg_integer14+1)
if(Trig_CreepCount_Func003001())then
set udg_integer14=1
endif
if(Trig_CreepCount_Func004001())then
call TriggerExecute(udg_trigger520)
endif
if(Trig_CreepCount_Func005001())then
call TriggerExecute(udg_trigger519)
endif
call TriggerExecute(udg_trigger518)
if(Trig_CreepCount_Func007001())then
call TriggerExecute(udg_trigger513)
endif
if(Trig_CreepCount_Func008001())then
call TriggerExecute(udg_trigger514)
endif
call TriggerExecute(udg_trigger512)
endfunction
function Trig_AddLumberGood_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='IC14')
endfunction
function Trig_AddLumberGood_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
call AdjustPlayerStateBJ(udg_integer15,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
set udg_integer15=0
endfunction
function Trig_AddGoldGood_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I001')
endfunction
function Trig_AddGoldGood_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
call AdjustPlayerStateBJ(udg_integer27,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
set udg_integer27=0
endfunction
function Trig_AddLumberBad_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='IC14')
endfunction
function Trig_AddLumberBad_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
call AdjustPlayerStateBJ(udg_integer16,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
set udg_integer16=0
endfunction
function Trig_AddGoldBad_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I001')
endfunction
function Trig_AddGoldBad_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
call AdjustPlayerStateBJ(udg_integer28,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
set udg_integer28=0
endfunction
function Trig_GiveLumberGood_Conditions takes nothing returns boolean
return(IsUnitEnemy(GetKillingUnit(),Player(11)))
endfunction
function Trig_GiveLumberGood_Actions takes nothing returns nothing
call AdjustPlayerStateBJ((GetUnitPointValue(GetDyingUnit())-99),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endfunction
function Trig_GiveLumberEvil_Conditions takes nothing returns boolean
return(IsUnitEnemy(GetKillingUnit(),Player(5)))
endfunction
function Trig_GiveLumberEvil_Actions takes nothing returns nothing
call AdjustPlayerStateBJ((GetUnitPointValue(GetDyingUnit())-99),GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endfunction
function Trig_DdayWarning_Func001002 takes nothing returns nothing
call SetPlayerHandicapXPBJ(GetEnumPlayer(),80.)
endfunction
function Trig_DdayWarning_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_DdayWarning_Func001002)
call SetPlayerTechResearchedSwap('Rhme',3,Player(5))
call SetPlayerTechResearchedSwap('Rume',3,Player(11))
set udg_boolean01=true
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00D-Day approaches ... |r ")
endfunction
function Trig_DdayWarning1_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Winged invasion in 30 seconds ... |r ")
endfunction
function Trig_DdayWarning2_Func001002 takes nothing returns nothing
call SetPlayerHandicapXPBJ(GetEnumPlayer(),100.)
endfunction
function Trig_DdayWarning2_Actions takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function Trig_DdayWarning2_Func001002)
call ReplaceUnitBJ(udg_unit70,'ndrz',2)
call ReplaceUnitBJ(udg_unit80,'ndrk',2)
set udg_boolean02=true
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Winged invasion ... |r ")
endfunction
function Trig_DdayWarning3_Actions takes nothing returns nothing
set udg_boolean08=true
call DisableTrigger(udg_trigger295)
call EnableTrigger(udg_trigger296)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"TRIGSTR_502")
call SetUnitInvulnerable(udg_unit83,false)
call SetUnitInvulnerable(udg_unit82,false)
call SetUnitInvulnerable(udg_unit73,false)
call SetUnitInvulnerable(udg_unit74,false)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_BuildingDestroyedGood_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE)!=null)
endfunction
function Trig_BuildingDestroyedGood_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Light Forces lost a building...")
endfunction
function Trig_BuildingDestroyedEvil_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE)!=null)
endfunction
function Trig_BuildingDestroyedEvil_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Dark Forces lost a building...")
endfunction
function Trig_HeroBounty_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetPlayerTeam(GetTriggerPlayer())!=GetPlayerTeam(GetOwningPlayer(GetKillingUnit())))
endfunction
function Trig_HeroBounty_Func001001 takes nothing returns boolean
return(GetPlayerName(GetOwningPlayer(GetKillingUnit()))=="")
endfunction
function Trig_HeroBounty_Func002001 takes nothing returns boolean
return(GetPlayerName(GetOwningPlayer(GetKillingUnit()))=="")
endfunction
function Trig_HeroBounty_Actions takes nothing returns nothing
if(Trig_HeroBounty_Func001001())then
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(udg_strings02[(1+GetPlayerId(GetTriggerPlayer()))]+(GetPlayerName(GetTriggerPlayer())+("|r"+"has been slain"))))
endif
if(Trig_HeroBounty_Func002001())then
return
endif
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(((udg_strings02[(1+GetPlayerId(GetTriggerPlayer()))]+(GetPlayerName(GetTriggerPlayer())+"|r"))+" has been slain by ")+(udg_strings02[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+"|r."))))
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(5,GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetKillingUnit())),"You earned 500 gold and 5 wood for that.")
endfunction
function Trig_HeroBounty2_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetPlayerTeam(GetTriggerPlayer())!=GetPlayerTeam(GetOwningPlayer(GetKillingUnit())))
endfunction
function Trig_HeroBounty2_Func001001 takes nothing returns boolean
return(GetPlayerName(GetOwningPlayer(GetKillingUnit()))=="")
endfunction
function Trig_HeroBounty2_Func002001 takes nothing returns boolean
return(GetPlayerName(GetOwningPlayer(GetKillingUnit()))=="")
endfunction
function Trig_HeroBounty2_Actions takes nothing returns nothing
if(Trig_HeroBounty2_Func001001())then
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(udg_strings02[(1+GetPlayerId(GetTriggerPlayer()))]+(GetPlayerName(GetTriggerPlayer())+("|r"+"has been slain"))))
endif
if(Trig_HeroBounty2_Func002001())then
return
endif
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(((udg_strings02[(1+GetPlayerId(GetTriggerPlayer()))]+(GetPlayerName(GetTriggerPlayer())+"|r"))+" has been slain by ")+(udg_strings02[(1+GetPlayerId(GetOwningPlayer(GetKillingUnit())))]+(GetPlayerName(GetOwningPlayer(GetKillingUnit()))+"|r."))))
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetKillingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetKillingUnit())),"You earned 1000 gold and 10 lumber for that.")
endfunction
function Trig_CheckIfPlayersLeft_Func001003001 takes nothing returns boolean
return(GetPlayerSlotState(Player(-1+(bj_forLoopAIndex)))==PLAYER_SLOT_STATE_LEFT)
endfunction
function Trig_CheckIfPlayersLeft_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=12
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_CheckIfPlayersLeft_Func001003001())then
call ConditionalTriggerExecute(udg_trigger298)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_RemoveTheLeavingPlayer_Conditions takes nothing returns boolean
return(udg_booleans01[bj_forLoopAIndex]==false)
endfunction
function Trig_RemoveTheLeavingPlayer_Func005001 takes nothing returns boolean
return(IsPlayerAlly(Player(-1+(udg_integer01)),Player(5)))
endfunction
function Trig_RemoveTheLeavingPlayer_Func006001 takes nothing returns boolean
return(IsPlayerAlly(Player(-1+(udg_integer01)),Player(5)))
endfunction
function Trig_RemoveTheLeavingPlayer_Func007002001001001001 takes nothing returns boolean
return(IsPlayerAlly(GetFilterPlayer(),Player(-1+(udg_integer01))))
endfunction
function Trig_RemoveTheLeavingPlayer_Func007002001001001002 takes nothing returns boolean
return(GetPlayerSlotState(GetFilterPlayer())==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_RemoveTheLeavingPlayer_Func007002001001001 takes nothing returns boolean
return GetBooleanAnd(Trig_RemoveTheLeavingPlayer_Func007002001001001001(),Trig_RemoveTheLeavingPlayer_Func007002001001001002())
endfunction
function Trig_RemoveTheLeavingPlayer_Func008001001001 takes nothing returns boolean
return(IsPlayerAlly(GetFilterPlayer(),Player(-1+(udg_integer01))))
endfunction
function Trig_RemoveTheLeavingPlayer_Func008001001002 takes nothing returns boolean
return(GetFilterPlayer()!=Player(-1+(udg_integer01)))
endfunction
function Trig_RemoveTheLeavingPlayer_Func008001001 takes nothing returns boolean
return GetBooleanAnd(Trig_RemoveTheLeavingPlayer_Func008001001001(),Trig_RemoveTheLeavingPlayer_Func008001001002())
endfunction
function Trig_RemoveTheLeavingPlayer_Func008A takes nothing returns nothing
call AdjustPlayerStateBJ((GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_GOLD)/udg_integer47),GetEnumPlayer(),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_RemoveTheLeavingPlayer_Func009001001001 takes nothing returns boolean
return(IsPlayerAlly(GetFilterPlayer(),Player(-1+(udg_integer01))))
endfunction
function Trig_RemoveTheLeavingPlayer_Func009001001002 takes nothing returns boolean
return(GetFilterPlayer()!=Player(-1+(udg_integer01)))
endfunction
function Trig_RemoveTheLeavingPlayer_Func009001001 takes nothing returns boolean
return GetBooleanAnd(Trig_RemoveTheLeavingPlayer_Func009001001001(),Trig_RemoveTheLeavingPlayer_Func009001001002())
endfunction
function Trig_RemoveTheLeavingPlayer_Func009A takes nothing returns nothing
call AdjustPlayerStateBJ((GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_LUMBER)/udg_integer47),GetEnumPlayer(),PLAYER_STATE_RESOURCE_LUMBER)
call DisplayTextToForce(GetPlayersAllies(Player(-1+(udg_integer01))),("You just got |cffffcc00"+(I2S((GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_GOLD)/udg_integer47))+("|r gold from "+(udg_strings02[udg_integer01]+GetPlayerName(Player(-1+(udg_integer01))))))))
endfunction
function Trig_RemoveTheLeavingPlayer_Actions takes nothing returns nothing
set udg_integer01=bj_forLoopAIndex
set udg_booleans01[udg_integer01]=true
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+" has left the game. His gold was splitted equally between his team members."))
if(Trig_RemoveTheLeavingPlayer_Func005001())then
set udg_integer15=(udg_integer15+GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_LUMBER))
else
set udg_integer16=(udg_integer16+GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_LUMBER))
endif
if(Trig_RemoveTheLeavingPlayer_Func006001())then
set udg_integer27=(udg_integer27+GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_GOLD))
else
set udg_integer28=(udg_integer28+GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_GOLD))
endif
set udg_integer47=(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_RemoveTheLeavingPlayer_Func007002001001001)))-1)
call ForForce(GetPlayersMatching(Condition(function Trig_RemoveTheLeavingPlayer_Func008001001)),function Trig_RemoveTheLeavingPlayer_Func008A)
call ForForce(GetPlayersMatching(Condition(function Trig_RemoveTheLeavingPlayer_Func009001001)),function Trig_RemoveTheLeavingPlayer_Func009A)
call DisplayTextToForce(GetPlayersAllies(Player(-1+(udg_integer01))),("You just got |cffffcc00"+(I2S((GetPlayerState(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_LUMBER)/udg_integer47))+("|r lumber from "+(udg_strings02[udg_integer01]+GetPlayerName(Player(-1+(udg_integer01))))))))
call SetPlayerStateBJ(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_GOLD,0)
call SetPlayerStateBJ(Player(-1+(udg_integer01)),PLAYER_STATE_RESOURCE_LUMBER,0)
endfunction
function Trig_Light_Victory_Func009002 takes nothing returns nothing
call CustomVictoryBJ(GetEnumPlayer(),true,true)
endfunction
function Trig_Light_Victory_Func010002 takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"TRIGSTR_6440")
endfunction
function Trig_Light_Victory_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger300)
call KillUnit(udg_unit96)
call SetUnitPositionLoc(udg_unit101,GetRectCenter(udg_rect01))
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Game ends in 15 seconds ...|r ")
call TriggerSleepAction(5.)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"Thank you for playing |CFFDCDCDCD|CFFDDDDDDD|CFFDFDFDFa|CFFE1E1E1y|CFFE3E3E3: |CFFE6E6E6J|CFFE8E8E8u|CFFEAEAEAd|CFFEBEBEBg|CFFEDEDEDe|CFFEFEFEFm|CFFF1F1F1e|CFFF2F2F2n|CFFF4F4F4t |CFFF8F8F81|CFFF9F9F99|CFFFBFBFB.|CFFFDFDFD9|CFFFFFFFFb|r")
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"http://www.ddayworld.com/")
call TriggerSleepAction(10.)
call ForForce(GetPlayersAllies(Player(5)),function Trig_Light_Victory_Func009002)
call ForForce(GetPlayersAllies(Player(11)),function Trig_Light_Victory_Func010002)
endfunction
function Trig_Dark_Victory_Func009002 takes nothing returns nothing
call CustomVictoryBJ(GetEnumPlayer(),true,true)
endfunction
function Trig_Dark_Victory_Func010002 takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"TRIGSTR_6441")
endfunction
function Trig_Dark_Victory_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger299)
call KillUnit(udg_unit101)
call SetUnitPositionLoc(udg_unit96,GetRectCenter(udg_rect18))
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"|cffffcc00Game ends in 15 seconds ...|r ")
call TriggerSleepAction(5.)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"Thank you for playing |CFFDCDCDCD|CFFDDDDDDD|CFFDFDFDFa|CFFE1E1E1y|CFFE3E3E3: |CFFE6E6E6J|CFFE8E8E8u|CFFEAEAEAd|CFFEBEBEBg|CFFEDEDEDe|CFFEFEFEFm|CFFF1F1F1e|CFFF2F2F2n|CFFF4F4F4t |CFFF8F8F81|CFFF9F9F99|CFFFBFBFB.|CFFFDFDFD9|CFFFFFFFFb|r")
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,10.,"http://www.ddayworld.com/")
call TriggerSleepAction(10.)
call ForForce(GetPlayersAllies(Player(11)),function Trig_Dark_Victory_Func009002)
call ForForce(GetPlayersAllies(Player(5)),function Trig_Dark_Victory_Func010002)
endfunction
function Trig_TopBarracksDestroyed_Actions takes nothing returns nothing
set udg_boolean03=true
endfunction
function Trig_BottomBarracksDestroyed_Actions takes nothing returns nothing
set udg_boolean04=true
endfunction
function Trig_TopCryptDestroyed_Actions takes nothing returns nothing
set udg_boolean05=true
endfunction
function Trig_BottomCryptDestroyed_Actions takes nothing returns nothing
set udg_boolean06=true
endfunction
function Trig_Summon_Holy_Banzai_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I004')
endfunction
function Trig_Summon_Holy_Banzai_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n00E',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00E',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00E',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_Summon_Damned_Abdominals_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I00A')
endfunction
function Trig_Summon_Damned_Abdominals_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'u006',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'u006',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'u006',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_Exchange_gold_for_wood_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00G')
endfunction
function Trig_Exchange_gold_for_wood_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(6,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endfunction
function Trig_Spell_Of_Revival_2_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00V')
endfunction
function Trig_Spell_Of_Revival_2_Actions takes nothing returns nothing
call StartTimerBJ(udg_timer02,false,1.)
call StartTimerBJ(udg_timer03,false,1.)
call StartTimerBJ(udg_timer04,false,1.)
call StartTimerBJ(udg_timer05,false,1.)
call StartTimerBJ(udg_timer06,false,1.)
call StartTimerBJ(udg_timer07,false,1.)
call StartTimerBJ(udg_timer08,false,1.)
call StartTimerBJ(udg_timer09,false,1.)
call StartTimerBJ(udg_timer10,false,1.)
call StartTimerBJ(udg_timer11,false,1.)
endfunction
function Trig_Exchange_wood_for_gold_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00H')
endfunction
function Trig_Exchange_wood_for_gold_Actions takes nothing returns nothing
call AdjustPlayerStateBJ(800,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function Trig_Summon_Holy_Lieutenant_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I007')
endfunction
function Trig_Summon_Holy_Lieutenant_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n00I',Player(12),GetRectCenter(udg_rect21),GetRectCenter(bj_mapInitialPlayableArea))
call SetUnitOwner(bj_lastCreatedUnit,GetOwningPlayer(GetTriggerUnit()),true)
call IssueImmediateOrderById(bj_lastCreatedUnit,851993)
endfunction
function Trig_Summon_Damned_Dark_Lieutenant_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00F')
endfunction
function Trig_Summon_Damned_Dark_Lieutenant_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n001',Player(12),GetRectCenter(udg_rect16),GetRectCenter(bj_mapInitialPlayableArea))
call SetUnitOwner(bj_lastCreatedUnit,GetOwningPlayer(GetTriggerUnit()),true)
call IssueImmediateOrderById(bj_lastCreatedUnit,851993)
endfunction
function Trig_Summon_Holy_Nether_Birds_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I005')
endfunction
function Trig_Summon_Holy_Nether_Birds_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n00G',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00G',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00G',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_Summon_Damned_Sapphirons_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I00D')
endfunction
function Trig_Summon_Damned_Sapphirons_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'u007',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'u007',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'u007',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_Summon_Holy_Infernal_Juggernauts_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I006')
endfunction
function Trig_Summon_Holy_Infernal_Juggernauts_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n00H',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00H',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00H',Player(12),GetRectCenter(udg_rect49),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_Summon_Damned_VoidWalkers_Conditions takes nothing returns boolean
return(GetItemTypeId(GetSoldItem())=='I00E')
endfunction
function Trig_Summon_Damned_VoidWalkers_Actions takes nothing returns nothing
call CreateNUnitsAtLocFacingLocBJ(1,'n00J',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00J',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
call CreateNUnitsAtLocFacingLocBJ(1,'n00J',Player(12),GetRectCenter(udg_rect48),GetUnitLoc(GetTriggerUnit()))
endfunction
function Trig_HeroDied1_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied1_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied1_Actions takes nothing returns nothing
set udg_integers01[0]=(udg_integers01[0]+1)
if(Trig_HeroDied1_Func002C())then
call StartTimerBJ(udg_timer02,false,udg_real12)
else
call StartTimerBJ(udg_timer02,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Good)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,'d',.0,.0,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[1]=GetTriggerUnit()
endfunction
function Trig_HeroDied2_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied2_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied2_Actions takes nothing returns nothing
set udg_integers01[1]=(udg_integers01[1]+1)
if(Trig_HeroDied2_Func002C())then
call StartTimerBJ(udg_timer03,false,udg_real12)
else
call StartTimerBJ(udg_timer03,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Good)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,.0,.0,100.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[2]=GetTriggerUnit()
endfunction
function Trig_HeroDied3_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied3_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied3_Actions takes nothing returns nothing
set udg_integers01[2]=(udg_integers01[2]+1)
if(Trig_HeroDied3_Func002C())then
call StartTimerBJ(udg_timer04,false,udg_real12)
else
call StartTimerBJ(udg_timer04,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Good)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,.0,90.,90.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[3]=GetTriggerUnit()
endfunction
function Trig_HeroDied4_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied4_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied4_Actions takes nothing returns nothing
set udg_integers01[3]=(udg_integers01[3]+1)
if(Trig_HeroDied4_Func002C())then
call StartTimerBJ(udg_timer05,false,udg_real12)
else
call StartTimerBJ(udg_timer05,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Good)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,55.,.0,55.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[4]=GetTriggerUnit()
endfunction
function Trig_HeroDied5_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied5_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied5_Actions takes nothing returns nothing
set udg_integers01[4]=(udg_integers01[4]+1)
if(Trig_HeroDied5_Func002C())then
call StartTimerBJ(udg_timer06,false,udg_real12)
else
call StartTimerBJ(udg_timer06,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Good)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,'d',100.,.0,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[5]=GetTriggerUnit()
endfunction
function Trig_HeroDied7_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied7_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied7_Actions takes nothing returns nothing
set udg_integers01[6]=(udg_integers01[6]+1)
if(Trig_HeroDied7_Func002C())then
call StartTimerBJ(udg_timer07,false,udg_real12)
else
call StartTimerBJ(udg_timer07,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Evil)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,.0,90.,.0,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[7]=GetTriggerUnit()
endfunction
function Trig_HeroDied8_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied8_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied8_Actions takes nothing returns nothing
set udg_integers01[7]=(udg_integers01[7]+1)
if(Trig_HeroDied8_Func002C())then
call StartTimerBJ(udg_timer08,false,udg_real12)
else
call StartTimerBJ(udg_timer08,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Evil)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,100.,30.,100.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[8]=GetTriggerUnit()
endfunction
function Trig_HeroDied9_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied9_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied9_Actions takes nothing returns nothing
set udg_integers01[8]=(udg_integers01[8]+1)
if(Trig_HeroDied9_Func002C())then
call StartTimerBJ(udg_timer09,false,udg_real12)
else
call StartTimerBJ(udg_timer09,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Evil)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,66.,66.,66.,.0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[9]=GetTriggerUnit()
endfunction
function Trig_HeroDied10_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied10_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied10_Actions takes nothing returns nothing
set udg_integers01[9]=(udg_integers01[9]+1)
if(Trig_HeroDied10_Func002C())then
call StartTimerBJ(udg_timer10,false,udg_real12)
else
call StartTimerBJ(udg_timer10,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Evil)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,55.,80.,100.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[10]=GetTriggerUnit()
endfunction
function Trig_HeroDied11_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_HeroDied11_Func002C takes nothing returns boolean
return(GetHeroLevel(GetDyingUnit())>=21)
endfunction
function Trig_HeroDied11_Actions takes nothing returns nothing
set udg_integers01[10]=(udg_integers01[10]+1)
if(Trig_HeroDied11_Func002C())then
call StartTimerBJ(udg_timer11,false,udg_real12)
else
call StartTimerBJ(udg_timer11,false,(udg_real05*I2R(GetHeroLevel(GetDyingUnit()))))
endif
call CreateTimerDialogBJ(bj_lastStartedTimer,(GetPlayerName(GetTriggerPlayer())+"(Evil)"))
call TimerDialogSetTitleColorBJ(bj_lastCreatedTimerDialog,.0,50.,40.,0)
set udg_timerdialogs01[(1+GetPlayerId(GetTriggerPlayer()))]=bj_lastCreatedTimerDialog
set udg_units01[11]=GetTriggerUnit()
endfunction
function Trig_ReviveHero1_Actions takes nothing returns nothing
set udg_integer01=1
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect18),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect18),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero2_Actions takes nothing returns nothing
set udg_integer01=2
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect18),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect18),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero3_Actions takes nothing returns nothing
set udg_integer01=3
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect18),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect18),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero4_Actions takes nothing returns nothing
set udg_integer01=4
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect18),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect18),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero5_Actions takes nothing returns nothing
set udg_integer01=5
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect18),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect18),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero7_Actions takes nothing returns nothing
set udg_integer01=7
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect01),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect01),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero8_Actions takes nothing returns nothing
set udg_integer01=8
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect01),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect01),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero9_Actions takes nothing returns nothing
set udg_integer01=9
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect01),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect01),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero10_Actions takes nothing returns nothing
set udg_integer01=10
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect01),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect01),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_ReviveHero11_Actions takes nothing returns nothing
set udg_integer01=11
call DestroyTimerDialog(udg_timerdialogs01[udg_integer01])
call ReviveHeroLoc(udg_units01[udg_integer01],GetRectCenter(udg_rect01),true)
call PanCameraToTimedLocForPlayer(Player(-1+(udg_integer01)),GetRectCenter(udg_rect01),1.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,((udg_strings02[udg_integer01]+(GetPlayerName(Player(-1+(udg_integer01)))+"|r"))+"'s hero has revived."))
call SetUnitManaPercentBJ(udg_units01[udg_integer01],'d')
endfunction
function Trig_HeroGoodTinker_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Tinker - Pocket Factory, Cluster Rockets, Engineering Upgrade, Robo-Goblin|r ")
endfunction
function Trig_HeroGoodWarmaster_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Warmaster - Chain Lightning, Mirror Image, Endurance Aura, Fireline|r ")
endfunction
function Trig_HeroBadAlien_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Alien - Sneak Attack, Hardskin, Zergs, Acid Alien|r ")
endfunction
function Trig_HeroBadNightmare_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Nightmare - Nightmare Clone, Cleaving Attack, Bash, Shock Blaster|r ")
endfunction
function Trig_HeroBadNazgrel_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Nazgrel - Entrapment, Converse Charge, Plunder, Blazing Surge|r ")
endfunction
function Trig_HeroBadDamar_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Damar - Thunderbolt, Death Sacrament, Impaler, Demonic Fate|r ")
endfunction
function Trig_HeroBadRaptor_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Raptor - Blood Missile, Corrupt Nature, Slow Aura, Deadly Roots|r ")
endfunction
function Trig_HeroBadSobe_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Sobe - Blaster, Cloaking, Evasion, Cyclic Obstruction|r ")
endfunction
function Trig_HeroBadBlake_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Blake - Critical X, Critical Strike X, Wind Walk, BlackStorm|r ")
endfunction
function Trig_HeroBadArraka_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Arraka - Fingers, Healing Shard , Nemesis, Pain Under|r ")
endfunction
function Trig_HeroGoodMooouren_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Mooouren - Cow Stomp, White Aura, Tauren Spirit, Minimoo|r ")
endfunction
function Trig_HeroGoodKimahri_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Kimahri - Lavara, Oscillation, Mirror Image, Fireline|r ")
endfunction
function Trig_HeroGoodMoonBlade_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Moonblade - Moon Wave, Teleport, Moon Revenger, Moon Charge|r ")
endfunction
function Trig_HeroGoodStealth_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Stealth - Breath of Fire, Evade, Cloacking, Avatar|r ")
endfunction
function Trig_HeroGoodLulu_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Lulu - Mimics, Fire, Sagacity, Aeon|r ")
endfunction
function Trig_Hero8Hulk_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Hulk - Rage, Terror, Anger, Meteorite|r ")
endfunction
function Trig_HeroBadXBioDread_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00BioDread - CyberHand, Biodefense, Tech Attack, Starsphere|r ")
endfunction
function Trig_HeroBadXOrcki_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Orcki - Trapper, Mammoth Guard, Haste Aura, Steal Soul|r ")
endfunction
function Trig_HeroGoodXMercury_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Mercury - CyberWave, Town Portal, Healing Wave, CyberStomp|r ")
endfunction
function Trig_HeroGoodXBlazefury_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Blazefury - Flame Walk, Volcanic Shard, Fulmination, Oxidization|r ")
endfunction
function Trig_HeroGoodXCalifax_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Califax - Entangling Roots, Mana Discharge, Serenity Aura, Divine Intervention|r")
endfunction
function Trig_HeroGoodXWolverine_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Wolverine - Claws Attack, RegenX, Evasion, Savage|r ")
endfunction
function Trig_HeroGoodXStAnger_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00St. Anger - Summon Tuskarrs, Fire Blast, Critical Strike, Outraged Ferocity|r ")
endfunction
function Trig_HeroBadXTakada_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Takada - Wind Walk, Fan of Knives, Evasion, Ninja Strike|r ")
endfunction
function Trig_HeroBadXHellnar_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Hell'nar - Firekill, Rest In Hell, Vampiric Aura, Damnation|r ")
endfunction
function Trig_HeroBadXHellFire_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Hell Fire Infernal - Firebolt, Hell Fire, Summon Fire Elemental, Inferno|r ")
endfunction
function Trig_HeroBadXDiabolist_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Diabolist - Impale, Mana Shield, Fear Aura, Massive Mana Burn|r ")
endfunction
function Trig_HeroBadXMannoroth_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Mannoroth - Mana Burn, Profane Buffer, Spirit Beast, Stardom|r ")
endfunction
function Trig_HeroBadXZolt_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Zolt the General - Ensnare, Immolation, Cleaving Attack, Avatar|r ")
endfunction
function Trig_HeroBadXKiljaden_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00KilJaden - Firebolt, Darkness Aura, Vertigo, Meteor Fall|r ")
endfunction
function Trig_HeroBadXPOL_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Prince of Legion - Legion Attack, Raise Dead, Command Aura, Doom Call|r ")
endfunction
function Trig_HeroBadXTerminator_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Terminator - Detonation, Blink, Evasion, Finger of Death|r ")
endfunction
function Trig_HeroGoodDendroidKing_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Dendroid King - Birds of Prey - Shields Of The Ancients - Roots Bash - Nature Wraith|r")
endfunction
function Trig_HeroGoodXAngeline_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Angeline - Ghost Eye - Healing Wave - Ghost Walk - Atomic Shadow|r")
endfunction
function Trig_HeroGoodXBeastmaster_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Beastmaster - Bloody Hit - Berserker - Demonic Impale - Avatar|r")
endfunction
function Trig_HeroGoodXStoner_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Stoner - Stone Boulder, Summon Stonners, Command Aura, Ravage|r")
endfunction
function Trig_HeroGoodXGaran_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Garan - Holy Light, Scout, Hex, Time Freeze|r")
endfunction
function Trig_HeroBadXKryton_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Kryton - Doom Lightning, Disease Aura, Revenger, Ravaging Infection|r ")
endfunction
function Trig_HeroBadXInferno_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Inferno - Hell Fire, Death Lance, Endurance Aura, Death Call|r ")
endfunction
function Trig_HeroBadX1Zagg_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Zagg - Breath of Death, Cleaving Attack, Spirit Link, Zagg Element|r ")
endfunction
function Trig_HeroBadX1Dendrodeath_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Dendrodeath - Corruption, Raise Dead, Critical Strike, Ancient Sasquatch|r ")
endfunction
function Trig_HeroBadX1Buzzdook_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Buzzdook - Killer Ball, Fast Time, Frost Nova, Copycat|r")
endfunction
function Trig_HeroGoodXMedic_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Medic - Holy Light, Healing Wave, Light Aura, Tranquility|r ")
endfunction
function Trig_HeroGoodXCyrax_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Cyrax - Chain Lightning, Force Field, Evasion, Fury|r ")
endfunction
function Trig_HeroGoodXGhost_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Ghost - Entangling Roots, Forked Lightning, Monsoon, Death and Decay|r ")
endfunction
function Trig_HeroGoodXProudmoore_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Admiral Proudmoore - Holy Light, Summon Bear, Critical Strike, Sword Master|r ")
endfunction
function Trig_HeroGoodXAngel_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Angel - Lightwave, Divine Shield, Fire Nova, Sacrifice|r ")
endfunction
function Trig_HeroGoodXDuke_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Duke Nukem - Shockwave, Mirror Image, Endurance Aura, Kaboom|r ")
endfunction
function Trig_HeroGoodXCptAmerica_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Captain America - Shield of Justice, Armor of Justice, Fist of Justice, Strength of Justice|r ")
endfunction
function Trig_Hero11Blaster_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Goblin Blaster - Goblin Mine, Evasion, Wind Walk, Kaboom!|r ")
endfunction
function Trig_HeroRand_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Random Hero|r ")
endfunction
function Trig_HeroRe_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Re-select Hero|r ")
endfunction
function Trig_Hero13Naga_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Naga Sea Witch - Forked Lightning, Frost Arrow, Mana Shield, Tsunami|r ")
endfunction
function Trig_Hero14Ranger_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Dark Ranger - Silence, Black Arrow, Trueshot Aura, Doom|r ")
endfunction
function Trig_Hero15Shadow_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Shadow Hunter - Chain Healing, Serpent Ward, Hex, Voodoo Shield|r ")
endfunction
function Trig_Hero16Crypt_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Crypt Lord - Impale, Spiked Carapace, Carrion Beetle, Defensive Burrow|r ")
endfunction
function Trig_Hero12Bear_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Druid of the Claw - Bear Metamorphosis, Roar, Owl Scout, Starfall|r ")
endfunction
function Trig_Hero13Kael_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Blood Mage - Flamestrike, Enflame, Siphon Mana, Phoenix|r ")
endfunction
function Trig_Hero14Warden_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Warden - Blink, Fan of Knives, Shadow Strike, Spirit of Vengeance|r ")
endfunction
function Trig_Hero16Panda_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Pandaren Brewmaster - Breath of Fire, Drunken Haze, Drunken Brawler, Storm, Earth & Fire|r ")
endfunction
function Trig_Hero11Garithos_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Lord Garithos - Mana Burn, Call To Arms, Evasion, Ambush|r ")
endfunction
function Trig_Hero10Orc_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Zuhx The Explorer - Ensnare, Flamer, Critical Strike, Finger Of Death|r ")
endfunction
function Trig_Hero9Murloc_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Murloc Flesheater - Hurl Boulder, Disease Aura, Cannibalize, Murloc Mutant|r ")
endfunction
function Trig_Hero10Marine_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Jim Raynor - Guardian, Wind Walk, Critical Strike, Fission Shell|r ")
endfunction
function Trig_Hero9Medivh_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Guardian Mage - Carrion Swarm, Rejuvenation, Feral Spirit, Raven Metamorphosis|r ")
endfunction
function Trig_Hero1Paladin_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Paladin - Holy Light, Storm Bolt, Endurance Aura, Life Call|r ")
endfunction
function Trig_Hero2IceMage_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Ice Archmagess - Blizzard, Ice Elemental, Brilliance Aura, Duplicate|r ")
endfunction
function Trig_Hero3MKing_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Mountain King - Storm Bolt, Thunder Clap, Bash, Avatar|r ")
endfunction
function Trig_Hero4KoTG_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Keeper of the Grove - Entangle, Force Of Nature, Thorns Aura, Tranquility|r ")
endfunction
function Trig_Hero5PoTM_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Priestess of the Moon - Firebolt, Searing Arrows, Trueshot Aura, Elune's Wrath|r ")
endfunction
function Trig_Hero6Demon_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Demon Hunter - Critical Strike, Demonic Shock, Mana Burn, Metamorphosis|r ")
endfunction
function Trig_Hero7Ranger_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Ranger - Cold Arrows, Gloomwave, Devotion Aura, Reincarnation|r ")
endfunction
function Trig_Hero1Tauren_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Tauren Chieftain - Shockwave, War Stomp, Endurance Aura, Reincarnation|r ")
endfunction
function Trig_Hero2Warlock_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Gul'dan - Death Coil, Fire Elemental, Deadfall, Tranquility|r ")
endfunction
function Trig_Hero3Grom_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Grom Hellscream - ShockWave, Critical Strike, Mirror Image, Omnislash|r ")
endfunction
function Trig_Hero4Thrall_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Thrall - Chain Lightning, Feral Spirit, Unholy Aura, Elemental Fury|r ")
endfunction
function Trig_Hero5DK_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Death Knight - Death Coil, Darktouch, Unholy Aura, Animate Dead|r ")
endfunction
function Trig_Hero6Lich_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Lich - Frost Nova, Mirror Image,Frost Armour, Death And Decay|r ")
endfunction
function Trig_Hero7DL_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Dreadlord - Carrion Swarm, Sleep, Vampiric Aura, Gargoyle Metamorphosis|r ")
endfunction
function Trig_Hero8Arch_Actions takes nothing returns nothing
call DisplayTextToForce(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),"|cffffcc00Archimonde - Firebolt, Raise Dead, Bash, Infernal|r ")
endfunction
function Trig_Light_Randomiser_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Light_Randomiser_Actions takes nothing returns nothing
call TriggerExecute(udg_trigger420)
endfunction
function Trig_Light_RandomStart_Actions takes nothing returns nothing
set udg_integer43=1
set udg_rects01[1]=udg_rect96
set udg_rects01[2]=udg_rect95
set udg_rects01[3]=udg_rect91
set udg_rects01[4]=udg_rect59
set udg_rects01[5]=udg_rect63
set udg_rects01[6]=udg_rect46
set udg_rects01[7]=udg_rect50
set udg_rects01[8]=udg_rect55
set udg_rects01[9]=udg_rect56
set udg_rects01[10]=udg_rect29
set udg_rects01[11]=udg_rect116
set udg_rects01[12]=udg_rect30
set udg_rects01[13]=udg_rect104
set udg_rects01[14]=udg_rect33
set udg_rects01[15]=udg_rect34
set udg_rects01[16]=udg_rect35
set udg_rects01[17]=udg_rect25
set udg_rects01[18]=udg_rect24
set udg_rects01[19]=udg_rect81
set udg_rects01[20]=udg_rect103
set udg_rects01[21]=udg_rect67
set udg_rects01[22]=udg_rect79
set udg_rects01[23]=udg_rect75
set udg_rects01[24]=udg_rect66
set udg_rects01[25]=udg_rect13
set udg_rects01[26]=udg_rect12
set udg_rects01[27]=udg_rect11
set udg_rects01[28]=udg_rect10
set udg_rects01[29]=udg_rect09
set udg_rects01[30]=udg_rect90
set udg_rects01[31]=udg_rect94
set udg_rects01[32]=udg_rect117
set udg_rects01[33]=udg_rect97
set udg_rects01[34]=udg_rect08
set udg_rects01[35]=udg_rect07
set udg_rects01[36]=udg_rect02
set udg_rects01[37]=udg_rect80
set udg_rects01[38]=udg_rect69
set udg_rects01[39]=udg_rect62
endfunction
function Trig_Light_RandomCheck_Func002Func001C takes nothing returns boolean
return(udg_integer43<=39)
endfunction
function Trig_Light_RandomCheck_Func002C takes nothing returns boolean
return(udg_booleans12[udg_integer42])
endfunction
function Trig_Light_RandomCheck_Actions takes nothing returns nothing
set udg_integer42=GetRandomInt(1,39)
if(Trig_Light_RandomCheck_Func002C())then
set udg_integer43=(udg_integer43+1)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen a Random hero"))
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rects01[udg_integer42]))
set udg_booleans12[udg_integer42]=false
else
if(Trig_Light_RandomCheck_Func002Func001C())then
call TriggerExecute(GetTriggeringTrigger())
else
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,"Sorry, there are no more heroes to choose from. Please restart the game.")
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect40))
endif
endif
endfunction
function Trig_Damn_Randomiser_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Damn_Randomiser_Actions takes nothing returns nothing
call TriggerExecute(udg_trigger423)
endfunction
function Trig_Damn_RandomStart_Actions takes nothing returns nothing
set udg_integer44=1
set udg_rects02[1]=udg_rect109
set udg_rects02[2]=udg_rect51
set udg_rects02[3]=udg_rect57
set udg_rects02[4]=udg_rect64
set udg_rects02[5]=udg_rect58
set udg_rects02[6]=udg_rect28
set udg_rects02[7]=udg_rect36
set udg_rects02[8]=udg_rect37
set udg_rects02[9]=udg_rect38
set udg_rects02[10]=udg_rect100
set udg_rects02[11]=udg_rect118
set udg_rects02[12]=udg_rect101
set udg_rects02[13]=udg_rect106
set udg_rects02[14]=udg_rect39
set udg_rects02[15]=udg_rect27
set udg_rects02[16]=udg_rect26
set udg_rects02[17]=udg_rect68
set udg_rects02[18]=udg_rect77
set udg_rects02[19]=udg_rect82
set udg_rects02[20]=udg_rect105
set udg_rects02[21]=udg_rect99
set udg_rects02[22]=udg_rect98
set udg_rects02[23]=udg_rect76
set udg_rects02[24]=udg_rect65
set udg_rects02[25]=udg_rect06
set udg_rects02[26]=udg_rect115
set udg_rects02[27]=udg_rect05
set udg_rects02[28]=udg_rect04
set udg_rects02[29]=udg_rect03
set udg_rects02[30]=udg_rect114
set udg_rects02[31]=udg_rect113
set udg_rects02[32]=udg_rect111
set udg_rects02[33]=udg_rect112
set udg_rects02[34]=udg_rect14
set udg_rects02[35]=udg_rect78
set udg_rects02[36]=udg_rect71
set udg_rects02[37]=udg_rect61
set udg_rects02[38]=udg_rect60
set udg_rects02[39]=udg_rect47
endfunction
function Trig_Damn_RandomCheck_Func002Func001C takes nothing returns boolean
return(udg_integer44<=39)
endfunction
function Trig_Damn_RandomCheck_Func002C takes nothing returns boolean
return(udg_booleans13[udg_integer45])
endfunction
function Trig_Damn_RandomCheck_Actions takes nothing returns nothing
set udg_integer45=GetRandomInt(1,39)
if(Trig_Damn_RandomCheck_Func002C())then
set udg_integer44=(udg_integer44+1)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen a Random hero"))
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rects02[udg_integer45]))
set udg_booleans13[udg_integer45]=false
else
if(Trig_Damn_RandomCheck_Func002Func001C())then
call TriggerExecute(GetTriggeringTrigger())
else
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,"Sorry, there are no more heroes to choose from. Please restart the game.")
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect41))
endif
endif
endfunction
function Trig_GoodRe_Conditions takes nothing returns boolean
return(IsUnitAlly(GetEnteringUnit(),Player(5)))and(udg_integer05>5)and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_GoodRe_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetEnteringUnit(),'nshe',2)
call SetUnitPositionLoc(bj_lastReplacedUnit,GetRectCenter(udg_rect40))
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastReplacedUnit),GetRectCenter(udg_rect40),2.)
endfunction
function Trig_BadRe_Conditions takes nothing returns boolean
return(IsUnitAlly(GetEnteringUnit(),Player(11)))and(udg_integer09>5)and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_BadRe_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetEnteringUnit(),'npig',2)
call SetUnitPositionLoc(bj_lastReplacedUnit,GetRectCenter(udg_rect41))
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastReplacedUnit),GetRectCenter(udg_rect41),2.)
endfunction
function Trig_Check_Func002001 takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())!='nshe')
endfunction
function Trig_Check_Func002002 takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())!='npig')
endfunction
function Trig_Check_Conditions takes nothing returns boolean
return(GetBooleanAnd(Trig_Check_Func002001(),Trig_Check_Func002002()))
endfunction
function Trig_Check_Actions takes nothing returns nothing
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect44))
endfunction
function Trig_Hero1Select_Kimahri_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero1Select_Kimahri_Actions takes nothing returns nothing
set udg_booleans02[1]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E00E',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00U',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kimahri."))
endfunction
function Trig_Hero2Select_Mooouren_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero2Select_Mooouren_Actions takes nothing returns nothing
set udg_booleans02[2]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H014',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00T',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mooouren."))
endfunction
function Trig_Hero3Select_Mercury_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero3Select_Mercury_Actions takes nothing returns nothing
set udg_booleans02[3]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00S',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00S',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mercury."))
endfunction
function Trig_Hero4Select_Duke_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero4Select_Duke_Actions takes nothing returns nothing
set udg_booleans02[4]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H002',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00R',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Duke Nukem."))
endfunction
function Trig_Hero5Select_Angel_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero5Select_Angel_Actions takes nothing returns nothing
set udg_booleans02[5]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H008',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00Q',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Angel."))
endfunction
function Trig_Hero6Select_Admiral_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero6Select_Admiral_Actions takes nothing returns nothing
set udg_booleans02[6]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H001',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00P',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Admiral Proudmoore."))
endfunction
function Trig_Hero7Select_Ghost_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero7Select_Ghost_Actions takes nothing returns nothing
set udg_booleans02[7]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E000',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00O',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Ghost."))
endfunction
function Trig_Hero8Select_Cyrax_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero8Select_Cyrax_Actions takes nothing returns nothing
set udg_booleans02[8]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00N',udg_rect19)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect18),"Abilities\\Spells\\Other\\Awaken\\Awaken.mdl")
call SetUnitPositionLoc(udg_unit118,GetRectCenter(udg_rect18))
call SetUnitOwner(udg_unit118,GetOwningPlayer(GetTriggerUnit()),true)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Cyrax."))
endfunction
function Trig_Hero9Select_Medic_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero9Select_Medic_Actions takes nothing returns nothing
set udg_booleans02[9]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H003',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00M',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Medic."))
endfunction
function Trig_Hero10Select_Garithos_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero10Select_Garithos_Actions takes nothing returns nothing
set udg_booleans02[10]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hlgr',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00L',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Lord Garithos."))
endfunction
function Trig_Hero11Select_Blazefury_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero11Select_Blazefury_Actions takes nothing returns nothing
set udg_booleans02[11]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'Nfir',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D027',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Blazefury."))
endfunction
function Trig_Hero12Select_Yogi_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero12Select_Yogi_Actions takes nothing returns nothing
set udg_booleans02[12]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'HC05',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00K',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Yogi Yellowstone."))
endfunction
function Trig_Hero13Select_Warmaster_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero13Select_Warmaster_Actions takes nothing returns nothing
set udg_booleans02[13]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E00K',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00J',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Warmaster."))
endfunction
function Trig_Hero14Select_Kael_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero14Select_Kael_Actions takes nothing returns nothing
set udg_booleans02[14]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'Hblm',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00I',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kael'thas Sunstrider"))
endfunction
function Trig_Hero15Select_Maiev_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero15Select_Maiev_Actions takes nothing returns nothing
set udg_booleans02[15]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E00J',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00H',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mayev."))
endfunction
function Trig_Hero16Select_Sinjo_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero16Select_Sinjo_Actions takes nothing returns nothing
set udg_booleans02[16]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetEnteringUnit())
call CreateNUnitsAtLoc(1,'Npbm',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00G',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Sinjo Honeybrew."))
endfunction
function Trig_Hero17Select_Jim_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero17Select_Jim_Actions takes nothing returns nothing
set udg_booleans02[17]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hart',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00F',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Jim Raynor."))
endfunction
function Trig_Hero18Select_Medivh_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero18Select_Medivh_Actions takes nothing returns nothing
set udg_booleans02[18]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hjai',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00E',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Medivh."))
endfunction
function Trig_Hero19Select_StAnger_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero19Select_StAnger_Actions takes nothing returns nothing
set udg_booleans02[19]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00O',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00D',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen St. Anger."))
endfunction
function Trig_Hero20Select_Tinker_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero20Select_Tinker_Actions takes nothing returns nothing
set udg_booleans02[20]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N02G',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00C',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Tinker."))
endfunction
function Trig_Hero21Select_Dendroid_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero21Select_Dendroid_Actions takes nothing returns nothing
set udg_booleans02[21]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E004',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00B',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Dendroid King."))
endfunction
function Trig_Hero22Select_Garan_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero22Select_Garan_Actions takes nothing returns nothing
set udg_booleans02[22]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00D',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00A',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Garan."))
endfunction
function Trig_Hero23Select_Kabal_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero23Select_Kabal_Actions takes nothing returns nothing
set udg_booleans02[23]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00A',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D009',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kabal."))
endfunction
function Trig_Hero24Select_Lulu_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero24Select_Lulu_Actions takes nothing returns nothing
set udg_booleans02[24]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D008',udg_rect23)
call CreateNUnitsAtLoc(1,'H00H',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Lulu."))
endfunction
function Trig_Hero25Select_Hulk_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero25Select_Hulk_Actions takes nothing returns nothing
set udg_booleans02[25]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'H00E',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D007',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Hulk."))
endfunction
function Trig_Hero26Select_Sylvanas_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero26Select_Sylvanas_Actions takes nothing returns nothing
set udg_booleans02[26]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hvwd',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D006',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Sylvanas."))
endfunction
function Trig_Hero27Select_Illidan_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero27Select_Illidan_Actions takes nothing returns nothing
set udg_booleans02[27]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Eevi',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D005',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Illidan."))
endfunction
function Trig_Hero28Select_Tyrande_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero28Select_Tyrande_Actions takes nothing returns nothing
set udg_booleans02[28]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Emoo',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D004',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Tyrande Whisperwind."))
endfunction
function Trig_Hero29Select_Malfurion_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero29Select_Malfurion_Actions takes nothing returns nothing
set udg_booleans02[29]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Emfr',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D003',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Malfurion."))
endfunction
function Trig_Hero30Select_Wolverine_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero30Select_Wolverine_Actions takes nothing returns nothing
set udg_booleans02[30]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00U',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D002',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Wolverine."))
endfunction
function Trig_Hero31Select_Stealth_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero31Select_Stealth_Actions takes nothing returns nothing
set udg_booleans02[31]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H015',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D001',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Stealth."))
endfunction
function Trig_Hero32Select_Califax_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero32Select_Califax_Actions takes nothing returns nothing
set udg_booleans02[32]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00K',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D028',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Califax."))
endfunction
function Trig_Hero33Select_Moonblade_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero33Select_Moonblade_Actions takes nothing returns nothing
set udg_booleans02[33]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H011',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D000',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Moonblade."))
endfunction
function Trig_Hero34Select_Muradin_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero34Select_Muradin_Actions takes nothing returns nothing
set udg_booleans02[34]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hmkg',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D010',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Muradin Bronzebeard."))
endfunction
function Trig_Hero35Select_Jaina_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero35Select_Jaina_Actions takes nothing returns nothing
set udg_booleans02[35]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hamg',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00Z',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call SetPlayerAbilityAvailableBJ(false,'Afrz',GetOwningPlayer(GetTriggerUnit()))
call SetPlayerAbilityAvailableBJ(false,'Afrb',GetOwningPlayer(GetTriggerUnit()))
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Jaina Proudmoore."))
endfunction
function Trig_Hero36Select_Uther_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero36Select_Uther_Actions takes nothing returns nothing
set udg_booleans02[36]=false
set udg_integer05=(udg_integer05-1)
call CreateNUnitsAtLoc(1,'Hpal',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D00Y',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Uther."))
endfunction
function Trig_Hero37Select_Stoner_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero37Select_Stoner_Actions takes nothing returns nothing
set udg_booleans02[37]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00C',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00X',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Stoner."))
endfunction
function Trig_Hero38Select_Angeline_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero38Select_Angeline_Actions takes nothing returns nothing
set udg_booleans02[38]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'E005',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00W',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Angeline."))
endfunction
function Trig_Hero39Select_Captain_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='nshe')
endfunction
function Trig_Hero39Select_Captain_Actions takes nothing returns nothing
set udg_booleans02[39]=false
set udg_integer05=(udg_integer05-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H004',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D00V',udg_rect19)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect18),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Captain America."))
endfunction
function Trig_Hero1Select_Biodread_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero1Select_Biodread_Actions takes nothing returns nothing
set udg_booleans03[1]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'Harf',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01V',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen BioDread."))
endfunction
function Trig_Hero2Select_Zloto_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero2Select_Zloto_Actions takes nothing returns nothing
set udg_booleans03[2]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O001',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01U',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Zolt."))
endfunction
function Trig_Hero3Select_Mannoroth_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero3Select_Mannoroth_Actions takes nothing returns nothing
set udg_booleans03[3]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'Nman',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01T',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mannoroth."))
endfunction
function Trig_Hero4Select_Diablolist_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero4Select_Diablolist_Actions takes nothing returns nothing
set udg_booleans03[4]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'U005',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01S',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Diablolist."))
endfunction
function Trig_Hero5Select_Hellfire_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero5Select_Hellfire_Actions takes nothing returns nothing
set udg_booleans03[5]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'U000',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01R',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Hell Fire."))
endfunction
function Trig_Hero6Select_Sammy_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero6Select_Sammy_Actions takes nothing returns nothing
set udg_booleans03[6]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Otcc',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01Q',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Sammy Smittereens."))
endfunction
function Trig_Hero7Select_Lady_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero7Select_Lady_Actions takes nothing returns nothing
set udg_booleans03[7]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'N025',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01P',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Lady Vashj."))
endfunction
function Trig_Hero8Select_DarkRanger_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero8Select_DarkRanger_Actions takes nothing returns nothing
set udg_booleans03[8]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Nbrn',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01O',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Dark Ranger."))
endfunction
function Trig_Hero9Select_Shaka_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero9Select_Shaka_Actions takes nothing returns nothing
set udg_booleans03[9]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Oshd',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01N',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Shaka-Zahn."))
endfunction
function Trig_Hero10Select_Raptor_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero10Select_Raptor_Actions takes nothing returns nothing
set udg_booleans03[10]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N022',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01M',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Raptor."))
endfunction
function Trig_Hero11Select_Damar_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero11Select_Damar_Actions takes nothing returns nothing
set udg_booleans03[11]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00L',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D029',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Damar."))
endfunction
function Trig_Hero12Select_Sobe_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero12Select_Sobe_Actions takes nothing returns nothing
set udg_booleans03[12]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N023',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01L',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Sobe."))
endfunction
function Trig_Hero13Select_Nightmare_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero13Select_Nightmare_Actions takes nothing returns nothing
set udg_booleans03[13]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00I',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01K',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Nightmare."))
endfunction
function Trig_Hero14Select_Arak_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero14Select_Arak_Actions takes nothing returns nothing
set udg_booleans03[14]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'U00B',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01J',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Arak-Arahm."))
endfunction
function Trig_Hero15Select_Zuhx_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero15Select_Zuhx_Actions takes nothing returns nothing
set udg_booleans03[15]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Ocbh',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01I',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Zuhx."))
endfunction
function Trig_Hero16Select_Mur_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero16Select_Mur_Actions takes nothing returns nothing
set udg_booleans03[16]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Uktl',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01H',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mur Slimemouth."))
endfunction
function Trig_Hero17Select_Kryton_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero17Select_Kryton_Actions takes nothing returns nothing
set udg_booleans03[17]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N00C',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01G',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kryton."))
endfunction
function Trig_Hero18Select_Buzzdook_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero18Select_Buzzdook_Actions takes nothing returns nothing
set udg_booleans03[18]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N00N',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01F',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Buzzdook."))
endfunction
function Trig_Hero19Select_Hellnar_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero19Select_Hellnar_Actions takes nothing returns nothing
set udg_booleans03[19]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00P',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01E',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Hell'nar."))
endfunction
function Trig_Hero20Select_Alien_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero20Select_Alien_Actions takes nothing returns nothing
set udg_booleans03[20]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00H',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01D',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Alien."))
endfunction
function Trig_Hero21Select_Arraka_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero21Select_Arraka_Actions takes nothing returns nothing
set udg_booleans03[21]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00C',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01C',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Arraka."))
endfunction
function Trig_Hero22Select_Blake_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero22Select_Blake_Actions takes nothing returns nothing
set udg_booleans03[22]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'O00B',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01B',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Blake."))
endfunction
function Trig_Hero23Select_Zagg_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero23Select_Zagg_Actions takes nothing returns nothing
set udg_booleans03[23]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'H00B',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01A',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Zagg."))
endfunction
function Trig_Hero24Select_Takada_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero24Select_Takada_Actions takes nothing returns nothing
set udg_booleans03[24]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D019',udg_rect23)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect01),"Abilities\\Spells\\Other\\Awaken\\Awaken.mdl")
call SetUnitPositionLoc(udg_unit132,GetRectCenter(udg_rect01))
call SetUnitOwner(udg_unit132,GetOwningPlayer(GetTriggerUnit()),true)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Takada."))
endfunction
function Trig_Hero25Select_Archimonde_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero25Select_Archimonde_Actions takes nothing returns nothing
set udg_booleans03[25]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Uwar',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D018',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Archimonde."))
endfunction
function Trig_Hero26Select_Malganis_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero26Select_Malganis_Actions takes nothing returns nothing
set udg_booleans03[26]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Udre',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D017',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Mal'Ganis."))
endfunction
function Trig_Hero27Select_Lich_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero27Select_Lich_Actions takes nothing returns nothing
set udg_booleans03[27]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Ulic',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D016',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kel'Thuzad."))
endfunction
function Trig_Hero28Select_Arthas_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero28Select_Arthas_Actions takes nothing returns nothing
set udg_booleans03[28]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Uear',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D015',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Arthas."))
endfunction
function Trig_Hero29Select_Thrall_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero29Select_Thrall_Actions takes nothing returns nothing
set udg_booleans03[29]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Othr',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D014',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Thrall."))
endfunction
function Trig_Hero30Select_Grom_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero30Select_Grom_Actions takes nothing returns nothing
set udg_booleans03[30]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Opgh',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D013',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Grom Hellscream."))
endfunction
function Trig_Hero31Select_Guldan_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero31Select_Guldan_Actions takes nothing returns nothing
set udg_booleans03[31]=false
set udg_integer09=(udg_integer09-1)
call CreateNUnitsAtLoc(1,'Ogld',GetOwningPlayer(GetTriggerUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D012',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(bj_lastCreatedUnit),GetUnitLoc(bj_lastCreatedUnit),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Gul'Dan."))
endfunction
function Trig_Hero32Select_Nazgrel_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero32Select_Nazgrel_Actions takes nothing returns nothing
set udg_booleans03[32]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'Nalc',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D026',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Nazgrel."))
endfunction
function Trig_Hero33Select_Orcki_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero33Select_Orcki_Actions takes nothing returns nothing
set udg_booleans03[33]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N011',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D011',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Orcki."))
endfunction
function Trig_Hero34Select_Cairne_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero34Select_Cairne_Actions takes nothing returns nothing
set udg_booleans03[34]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D020',udg_rect23)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect01),"Abilities\\Spells\\Other\\Awaken\\Awaken.mdl")
call SetUnitPositionLoc(udg_unit139,GetRectCenter(udg_rect01))
call SetUnitOwner(udg_unit139,GetOwningPlayer(GetTriggerUnit()),true)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Cairne Bloodhoff."))
endfunction
function Trig_Hero35Select_Dendrodeath_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero35Select_Dendrodeath_Actions takes nothing returns nothing
set udg_booleans03[35]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N00M',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01Z',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Dendrodeath."))
endfunction
function Trig_Hero36Select_Inferno_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero36Select_Inferno_Actions takes nothing returns nothing
set udg_booleans03[36]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death alternate",'D021',udg_rect23)
call CreateNUnitsAtLoc(1,'E008',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Inferno."))
endfunction
function Trig_Hero37Select_Terminator_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero37Select_Terminator_Actions takes nothing returns nothing
set udg_booleans03[37]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'N002',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01Y',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Terminator."))
endfunction
function Trig_Hero38Select_Prince_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero38Select_Prince_Actions takes nothing returns nothing
set udg_booleans03[38]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'U001',GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),bj_UNIT_FACING)
call SetDoodadAnimationRectBJ("death",'D01X',udg_rect23)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Prince of Legion."))
endfunction
function Trig_Hero39Select_Kiljaeden_Conditions takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='npig')
endfunction
function Trig_Hero39Select_Kiljaeden_Actions takes nothing returns nothing
set udg_booleans03[39]=false
set udg_integer09=(udg_integer09-1)
call ExplodeUnitBJ(GetTriggerUnit())
call SetDoodadAnimationRectBJ("death",'D01W',udg_rect23)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect01),"Abilities\\Spells\\Other\\Awaken\\Awaken.mdl")
call SetUnitPositionLoc(udg_unit129,GetRectCenter(udg_rect01))
call SetUnitOwner(udg_unit129,GetOwningPlayer(GetTriggerUnit()),true)
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnteringUnit()),GetRectCenter(udg_rect01),2.)
call DisableTrigger(GetTriggeringTrigger())
call SetUnitManaPercentBJ(bj_lastCreatedUnit,'d')
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,4.,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" has chosen Kil'Jaeden."))
endfunction
function Trig_Disable_RG_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger506)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cffffcc00RG Mode Has Been Disabled")
endfunction
function Trig_Random_Game_Func001A takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect31))
endfunction
function Trig_Random_Game_Func002A takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect32))
endfunction
function Trig_Random_Game_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(udg_rect107),function Trig_Random_Game_Func001A)
call ForGroupBJ(GetUnitsInRectAll(udg_rect108),function Trig_Random_Game_Func002A)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger424)
call DisableTrigger(udg_trigger425)
call DisplayTimedTextToForce(bj_FORCE_ALL_PLAYERS,5.,"|cffffcc00Random game mode activated. Re-select Hero is now disabled.|r")
endfunction
function Trig_LightCommander_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_LightCommander_Actions takes nothing returns nothing
call PolledWait(10.)
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect01))
endfunction
function Trig_LightDemiGod_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_LightDemiGod_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect01))
endfunction
function Trig_LightTopRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_LightTopRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect17))
endfunction
function Trig_LightBottRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_LightBottRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect15))
endfunction
function Trig_LightMiddleRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_LightMiddleRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect16))
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect01))
endfunction
function Trig_LightMiddle_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_LightMiddle_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans07[(6+1)]==false)
endfunction
function Trig_LightMiddle_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightMiddle_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_LightMiddle_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans07[(6+2)]==false)
endfunction
function Trig_LightMiddle_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightMiddle_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_LightMiddle_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightMiddle_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_LightMiddle_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans07[(6+4)]==false)
endfunction
function Trig_LightMiddle_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightMiddle_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightMiddle_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_LightMiddle_Func008Func001Func001C takes nothing returns boolean
return(udg_booleans07[(6+1)]==false)
endfunction
function Trig_LightMiddle_Func008Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightMiddle_Func008C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightMiddle_Actions takes nothing returns nothing
if(Trig_LightMiddle_Func001001())then
return
endif
if(Trig_LightMiddle_Func002C())then
if(Trig_LightMiddle_Func002Func001C())then
if(Trig_LightMiddle_Func002Func001Func001C())then
call CreateNUnitsAtLoc(4,'hhes',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+1)]=true
else
call CreateNUnitsAtLoc(4,'hfoo',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+1)]=false
endif
else
call CreateNUnitsAtLoc(4,'hfoo',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
endif
if(Trig_LightMiddle_Func003C())then
if(Trig_LightMiddle_Func003Func001C())then
if(Trig_LightMiddle_Func003Func001Func001C())then
call CreateNUnitsAtLoc(2,'eshd',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e002',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+2)]=true
else
call CreateNUnitsAtLoc(2,'nssn',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n006',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+2)]=false
endif
else
call CreateNUnitsAtLoc(3,'earc',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e001',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
endif
if(Trig_LightMiddle_Func004C())then
if(Trig_LightMiddle_Func004Func001C())then
call CreateNUnitsAtLoc(2,'nwzd',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(2,'hrif',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h006',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
endif
if(Trig_LightMiddle_Func005C())then
if(Trig_LightMiddle_Func005Func001C())then
if(Trig_LightMiddle_Func005Func001Func001C())then
call CreateNUnitsAtLoc(2,'nbld',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n008',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+4)]=true
else
call CreateNUnitsAtLoc(2,'hkni',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+4)]=false
endif
else
call CreateNUnitsAtLoc(2,'hkni',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
endif
if(Trig_LightMiddle_Func006001())then
call CreateNUnitsAtLoc(3,'ebal',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_LightMiddle_Func008C())then
if(Trig_LightMiddle_Func008Func001C())then
if(Trig_LightMiddle_Func008Func001Func001C())then
call CreateNUnitsAtLoc(4,'hhes',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+1)]=true
else
call CreateNUnitsAtLoc(4,'hfoo',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
set udg_booleans07[(6+1)]=false
endif
else
call CreateNUnitsAtLoc(4,'hfoo',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect21),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_LightBottom_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_LightBottom_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans07[(12+1)]==false)
endfunction
function Trig_LightBottom_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightBottom_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_LightBottom_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans07[(12+2)]==false)
endfunction
function Trig_LightBottom_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightBottom_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_LightBottom_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightBottom_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_LightBottom_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans07[(12+4)]==false)
endfunction
function Trig_LightBottom_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightBottom_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightBottom_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_LightBottom_Func007001 takes nothing returns boolean
return(udg_integer14==6)
endfunction
function Trig_LightBottom_Func009Func001Func001C takes nothing returns boolean
return(udg_booleans07[(12+1)]==false)
endfunction
function Trig_LightBottom_Func009Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightBottom_Func009C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightBottom_Actions takes nothing returns nothing
if(Trig_LightBottom_Func001001())then
return
endif
if(Trig_LightBottom_Func002C())then
if(Trig_LightBottom_Func002Func001C())then
if(Trig_LightBottom_Func002Func001Func001C())then
call CreateNUnitsAtLoc(3,'hhes',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+1)]=true
else
call CreateNUnitsAtLoc(3,'hfoo',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'hfoo',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
endif
if(Trig_LightBottom_Func003C())then
if(Trig_LightBottom_Func003Func001C())then
if(Trig_LightBottom_Func003Func001Func001C())then
call CreateNUnitsAtLoc(1,'eshd',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e002',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+2)]=true
else
call CreateNUnitsAtLoc(1,'nssn',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n006',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+2)]=false
endif
else
call CreateNUnitsAtLoc(2,'earc',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e001',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
endif
if(Trig_LightBottom_Func004C())then
if(Trig_LightBottom_Func004Func001C())then
call CreateNUnitsAtLoc(1,'nwzd',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(1,'hrif',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h006',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
endif
if(Trig_LightBottom_Func005C())then
if(Trig_LightBottom_Func005Func001C())then
if(Trig_LightBottom_Func005Func001Func001C())then
call CreateNUnitsAtLoc(1,'nbld',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n008',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+4)]=true
else
call CreateNUnitsAtLoc(1,'hkni',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+4)]=false
endif
else
call CreateNUnitsAtLoc(1,'hkni',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
endif
if(Trig_LightBottom_Func006001())then
call CreateNUnitsAtLoc(2,'ebal',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
if(Trig_LightBottom_Func007001())then
call CreateNUnitsAtLoc(3,'hmpr',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_LightBottom_Func009C())then
if(Trig_LightBottom_Func009Func001C())then
if(Trig_LightBottom_Func009Func001Func001C())then
call CreateNUnitsAtLoc(2,'hhes',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+1)]=true
else
call CreateNUnitsAtLoc(2,'hfoo',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
set udg_booleans07[(12+1)]=false
endif
else
call CreateNUnitsAtLoc(2,'hfoo',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect20),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_LightTop_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_LightTop_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans07[(0+1)]==false)
endfunction
function Trig_LightTop_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightTop_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_LightTop_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans07[(0+2)]==false)
endfunction
function Trig_LightTop_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightTop_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_LightTop_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightTop_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_LightTop_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans07[(0+4)]==false)
endfunction
function Trig_LightTop_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightTop_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightTop_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_LightTop_Func006002001 takes nothing returns boolean
return(udg_boolean02)
endfunction
function Trig_LightTop_Func007001 takes nothing returns boolean
return(udg_integer14==6)
endfunction
function Trig_LightTop_Func009Func001Func001C takes nothing returns boolean
return(udg_booleans07[(0+1)]==false)
endfunction
function Trig_LightTop_Func009Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_LightTop_Func009C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_LightTop_Actions takes nothing returns nothing
if(Trig_LightTop_Func001001())then
return
endif
if(Trig_LightTop_Func002C())then
if(Trig_LightTop_Func002Func001C())then
if(Trig_LightTop_Func002Func001Func001C())then
call CreateNUnitsAtLoc(3,'hhes',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+1)]=true
else
call CreateNUnitsAtLoc(3,'hfoo',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'hfoo',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
if(Trig_LightTop_Func003C())then
if(Trig_LightTop_Func003Func001C())then
if(Trig_LightTop_Func003Func001Func001C())then
call CreateNUnitsAtLoc(1,'eshd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e002',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+2)]=true
else
call CreateNUnitsAtLoc(1,'nssn',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n006',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+2)]=false
endif
else
call CreateNUnitsAtLoc(2,'earc',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'e001',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
if(Trig_LightTop_Func004C())then
if(Trig_LightTop_Func004Func001C())then
call CreateNUnitsAtLoc(1,'nwzd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(1,'hrif',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h006',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
if(Trig_LightTop_Func005C())then
if(Trig_LightTop_Func005Func001C())then
if(Trig_LightTop_Func005Func001Func001C())then
call CreateNUnitsAtLoc(1,'nbld',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n008',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+4)]=true
else
call CreateNUnitsAtLoc(1,'hkni',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+4)]=false
endif
else
call CreateNUnitsAtLoc(1,'hkni',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h007',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
if(Trig_LightTop_Func006001())then
if(Trig_LightTop_Func006002001())then
call CreateNUnitsAtLoc(1,'nbzd',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(2,'ebal',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
if(Trig_LightTop_Func007001())then
call CreateNUnitsAtLoc(3,'hmpr',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_LightTop_Func009C())then
if(Trig_LightTop_Func009Func001C())then
if(Trig_LightTop_Func009Func001Func001C())then
call CreateNUnitsAtLoc(2,'hhes',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'hcth',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+1)]=true
else
call CreateNUnitsAtLoc(2,'hfoo',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
set udg_booleans07[(0+1)]=false
endif
else
call CreateNUnitsAtLoc(2,'hfoo',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'h005',Player(5),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_AttackDarkCastle_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(5))
endfunction
function Trig_AttackDarkCastle_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect01))
endfunction
function Trig_DarkCommander_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_DarkCommander_Actions takes nothing returns nothing
call PolledWait(10.)
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect18))
endfunction
function Trig_DarkMagtheridon_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))
endfunction
function Trig_DarkMagtheridon_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect18))
endfunction
function Trig_DarkMiddle_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_DarkMiddle_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans08[(6+1)]==false)
endfunction
function Trig_DarkMiddle_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkMiddle_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_DarkMiddle_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans08[(6+2)]==false)
endfunction
function Trig_DarkMiddle_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkMiddle_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_DarkMiddle_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkMiddle_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_DarkMiddle_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans08[(6+4)]==false)
endfunction
function Trig_DarkMiddle_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkMiddle_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkMiddle_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_DarkMiddle_Func008Func001Func001C takes nothing returns boolean
return(udg_booleans08[(6+1)]==false)
endfunction
function Trig_DarkMiddle_Func008Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkMiddle_Func008C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkMiddle_Actions takes nothing returns nothing
if(Trig_DarkMiddle_Func001001())then
return
endif
if(Trig_DarkMiddle_Func002C())then
if(Trig_DarkMiddle_Func002Func001C())then
if(Trig_DarkMiddle_Func002Func001Func001C())then
call CreateNUnitsAtLoc(3,'nfel',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+1)]=true
else
call CreateNUnitsAtLoc(4,'ugho',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+1)]=false
endif
else
call CreateNUnitsAtLoc(4,'ugho',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
endif
if(Trig_DarkMiddle_Func003C())then
if(Trig_DarkMiddle_Func003Func001C())then
if(Trig_DarkMiddle_Func003Func001Func001C())then
call CreateNUnitsAtLoc(2,'ndqv',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n009',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+2)]=true
else
call CreateNUnitsAtLoc(2,'nskm',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00A',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+2)]=false
endif
else
call CreateNUnitsAtLoc(3,'ohun',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o003',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
endif
if(Trig_DarkMiddle_Func004C())then
if(Trig_DarkMiddle_Func004Func001C())then
call CreateNUnitsAtLoc(2,'nrvi',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(2,'ucry',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u003',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
endif
if(Trig_DarkMiddle_Func005C())then
if(Trig_DarkMiddle_Func005Func001C())then
if(Trig_DarkMiddle_Func005Func001Func001C())then
call CreateNUnitsAtLoc(2,'nfot',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00B',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+4)]=true
else
call CreateNUnitsAtLoc(2,'uabo',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+4)]=false
endif
else
call CreateNUnitsAtLoc(2,'uabo',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
endif
if(Trig_DarkMiddle_Func006001())then
call CreateNUnitsAtLoc(3,'umtw',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_DarkMiddle_Func008C())then
if(Trig_DarkMiddle_Func008Func001C())then
if(Trig_DarkMiddle_Func008Func001Func001C())then
call CreateNUnitsAtLoc(3,'nfel',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+1)]=true
else
call CreateNUnitsAtLoc(4,'ugho',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
set udg_booleans08[(6+1)]=false
endif
else
call CreateNUnitsAtLoc(4,'ugho',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect16),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_DarkTop_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_DarkTop_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans08[(0+1)]==false)
endfunction
function Trig_DarkTop_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkTop_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_DarkTop_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans08[(0+2)]==false)
endfunction
function Trig_DarkTop_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkTop_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_DarkTop_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkTop_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_DarkTop_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans08[(0+4)]==false)
endfunction
function Trig_DarkTop_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkTop_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkTop_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_DarkTop_Func007001 takes nothing returns boolean
return(udg_integer14==6)
endfunction
function Trig_DarkTop_Func009Func001Func001C takes nothing returns boolean
return(udg_booleans08[(0+1)]==false)
endfunction
function Trig_DarkTop_Func009Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkTop_Func009C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkTop_Actions takes nothing returns nothing
if(Trig_DarkTop_Func001001())then
return
endif
if(Trig_DarkTop_Func002C())then
if(Trig_DarkTop_Func002Func001C())then
if(Trig_DarkTop_Func002Func001Func001C())then
call CreateNUnitsAtLoc(2,'nfel',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+1)]=true
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
endif
if(Trig_DarkTop_Func003C())then
if(Trig_DarkTop_Func003Func001C())then
if(Trig_DarkTop_Func003Func001Func001C())then
call CreateNUnitsAtLoc(1,'ndqv',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n009',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+2)]=true
else
call CreateNUnitsAtLoc(1,'nskm',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00A',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+2)]=false
endif
else
call CreateNUnitsAtLoc(2,'ohun',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o003',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
endif
if(Trig_DarkTop_Func004C())then
if(Trig_DarkTop_Func004Func001C())then
call CreateNUnitsAtLoc(1,'nrvi',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(1,'ucry',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u003',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
endif
if(Trig_DarkTop_Func005C())then
if(Trig_DarkTop_Func005Func001C())then
if(Trig_DarkTop_Func005Func001Func001C())then
call CreateNUnitsAtLoc(1,'nfot',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00B',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+4)]=true
else
call CreateNUnitsAtLoc(1,'uabo',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+4)]=false
endif
else
call CreateNUnitsAtLoc(1,'uabo',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
endif
if(Trig_DarkTop_Func006001())then
call CreateNUnitsAtLoc(2,'umtw',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
if(Trig_DarkTop_Func007001())then
call CreateNUnitsAtLoc(3,'uskm',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_DarkTop_Func009C())then
if(Trig_DarkTop_Func009Func001C())then
if(Trig_DarkTop_Func009Func001Func001C())then
call CreateNUnitsAtLoc(2,'nfel',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+1)]=true
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
set udg_booleans08[(0+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect17),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_DarkBottom_Func001001 takes nothing returns boolean
return(udg_integer14==7)
endfunction
function Trig_DarkBottom_Func002Func001Func001C takes nothing returns boolean
return(udg_booleans08[(12+1)]==false)
endfunction
function Trig_DarkBottom_Func002Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkBottom_Func002C takes nothing returns boolean
return(udg_integer14==1)
endfunction
function Trig_DarkBottom_Func003Func001Func001C takes nothing returns boolean
return(udg_booleans08[(12+2)]==false)
endfunction
function Trig_DarkBottom_Func003Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkBottom_Func003C takes nothing returns boolean
return(udg_integer14==2)
endfunction
function Trig_DarkBottom_Func004Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkBottom_Func004C takes nothing returns boolean
return(udg_integer14==3)
endfunction
function Trig_DarkBottom_Func005Func001Func001C takes nothing returns boolean
return(udg_booleans08[(12+4)]==false)
endfunction
function Trig_DarkBottom_Func005Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkBottom_Func005C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkBottom_Func006001 takes nothing returns boolean
return(udg_integer14==5)
endfunction
function Trig_DarkBottom_Func006002001 takes nothing returns boolean
return(udg_boolean02)
endfunction
function Trig_DarkBottom_Func007001 takes nothing returns boolean
return(udg_integer14==6)
endfunction
function Trig_DarkBottom_Func009Func001Func001C takes nothing returns boolean
return(udg_booleans08[(12+1)]==false)
endfunction
function Trig_DarkBottom_Func009Func001C takes nothing returns boolean
return(udg_boolean01)
endfunction
function Trig_DarkBottom_Func009C takes nothing returns boolean
return(udg_integer14==4)
endfunction
function Trig_DarkBottom_Actions takes nothing returns nothing
if(Trig_DarkBottom_Func001001())then
return
endif
if(Trig_DarkBottom_Func002C())then
if(Trig_DarkBottom_Func002Func001C())then
if(Trig_DarkBottom_Func002Func001Func001C())then
call CreateNUnitsAtLoc(2,'nfel',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+1)]=true
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
if(Trig_DarkBottom_Func003C())then
if(Trig_DarkBottom_Func003Func001C())then
if(Trig_DarkBottom_Func003Func001Func001C())then
call CreateNUnitsAtLoc(1,'ndqv',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n009',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+2)]=true
else
call CreateNUnitsAtLoc(1,'nskm',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00A',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+2)]=false
endif
else
call CreateNUnitsAtLoc(2,'ohun',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o003',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
if(Trig_DarkBottom_Func004C())then
if(Trig_DarkBottom_Func004Func001C())then
call CreateNUnitsAtLoc(1,'nrvi',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(1,'ucry',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u003',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
if(Trig_DarkBottom_Func005C())then
if(Trig_DarkBottom_Func005Func001C())then
if(Trig_DarkBottom_Func005Func001Func001C())then
call CreateNUnitsAtLoc(1,'nfot',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00B',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+4)]=true
else
call CreateNUnitsAtLoc(1,'uabo',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+4)]=false
endif
else
call CreateNUnitsAtLoc(1,'uabo',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u004',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
if(Trig_DarkBottom_Func006001())then
if(Trig_DarkBottom_Func006002001())then
call CreateNUnitsAtLoc(1,'nbwm',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(2,'umtw',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
if(Trig_DarkBottom_Func007001())then
call CreateNUnitsAtLoc(3,'uskm',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
call TriggerSleepAction(3.)
if(Trig_DarkBottom_Func009C())then
if(Trig_DarkBottom_Func009Func001C())then
if(Trig_DarkBottom_Func009Func001Func001C())then
call CreateNUnitsAtLoc(2,'nfel',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n007',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+1)]=true
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
set udg_booleans08[(12+1)]=false
endif
else
call CreateNUnitsAtLoc(3,'ugho',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'u002',Player(11),GetRectCenter(udg_rect15),bj_UNIT_FACING)
endif
endif
endfunction
function Trig_AttackLightCastle_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))
endfunction
function Trig_AttackLightCastle_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect18))
endfunction
function Trig_DarkMiddleRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))
endfunction
function Trig_DarkMiddleRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect16))
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect18))
endfunction
function Trig_DarkBottRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))
endfunction
function Trig_DarkBottRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect20))
endfunction
function Trig_DarkTopRe_Conditions takes nothing returns boolean
return(GetOwningPlayer(GetTriggerUnit())==Player(11))
endfunction
function Trig_DarkTopRe_Actions takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect22))
endfunction
function Trig_Hammer_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00M')
endfunction
function Trig_Hammer_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT ZALMOXES ! BEWARE !",false))))
endfunction
function Trig_Attila_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00N')
endfunction
function Trig_Attila_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT ATTILA ! BEWARE !",false))))
endfunction
function Trig_Revival_Spell_Used_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00V')
endfunction
function Trig_Revival_Spell_Used_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST USED THE POWER OF THE ANK'S. ALL MORTALS BOW TO HIM !",true))))
endfunction
function Trig_Gods_Armour_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00S')
endfunction
function Trig_Gods_Armour_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT ARMOUR OF GODS ! BEWARE !",false))))
endfunction
function Trig_Rock_Armour_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I00R')
endfunction
function Trig_Rock_Armour_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT ARMOUR OF ROCK ! BEWARE !",false))))
endfunction
function Trig_Steelskin_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I002')
endfunction
function Trig_Steelskin_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT STEELSKIN ! BEWARE !",false))))
endfunction
function Trig_Fanaticism_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I000')
endfunction
function Trig_Fanaticism_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT FANATICISM ! BEWARE !",false))))
endfunction
function Trig_Wirt_Leg_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='IC13')
endfunction
function Trig_Wirt_Leg_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT WIRT'S LEG ! BEWARE !",false))))
endfunction
function Trig_Vampiric_Bought_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='modt')
endfunction
function Trig_Vampiric_Bought_Actions takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,("Player "+(GetPlayerName(GetTriggerPlayer())+StringCase(" JUST GOT VAMPIRIC POWER ! BEWARE !",false))))
endfunction
function Trig_Mystical_Lance_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I01I')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Mystical_Lance_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00M')
endfunction
function Trig_Mystical_Lance_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01K')
endfunction
function Trig_Mystical_Lance_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Mystical_Lance_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Lance_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Lance_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Mystical_Lance_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00M'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01K'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01I'))
call UnitAddItemByIdSwapped('I01H',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01I'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Fire_Lance_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I01J')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Fire_Lance_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00N')
endfunction
function Trig_Fire_Lance_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I02M')
endfunction
function Trig_Fire_Lance_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Fire_Lance_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Fire_Lance_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Fire_Lance_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Fire_Lance_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00N'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02M'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01J'))
call UnitAddItemByIdSwapped('I01P',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01J'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Frost_Lance_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I027')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Frost_Lance_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00L')
endfunction
function Trig_Frost_Lance_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01U')
endfunction
function Trig_Frost_Lance_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Frost_Lance_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Frost_Lance_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Frost_Lance_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Frost_Lance_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00L'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01U'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I027'))
call UnitAddItemByIdSwapped('I026',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I027'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_The_One_Ring_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02B')
endfunction
function Trig_The_One_Ring_Func002Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'IC16'))=='IC16')and(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I00R'))=='I00R')
endfunction
function Trig_The_One_Ring_Func002C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'IC03'))=='IC03')and(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I00R'))=='I00R')
endfunction
function Trig_The_One_Ring_Actions takes nothing returns nothing
if(Trig_The_One_Ring_Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'IC03'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I00R'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I02B'))
call UnitAddItemByIdSwapped('I02C',GetManipulatingUnit())
else
if(Trig_The_One_Ring_Func002Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'IC16'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I00R'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I02B'))
call UnitAddItemByIdSwapped('I02A',GetManipulatingUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetManipulatingUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetManipulatingUnit(),'I02B'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endfunction
function Trig_Magi_Amulet_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02D')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Magi_Amulet_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='IC15')
endfunction
function Trig_Magi_Amulet_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00T')
endfunction
function Trig_Magi_Amulet_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Magi_Amulet_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Magi_Amulet_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Magi_Amulet_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Magi_Amulet_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC15'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00T'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02D'))
call UnitAddItemByIdSwapped('I02N',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02D'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Orb_of_the_Darkmoon_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02O')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Orb_of_the_Darkmoon_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I025')
endfunction
function Trig_Orb_of_the_Darkmoon_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='evtl')
endfunction
function Trig_Orb_of_the_Darkmoon_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Orb_of_the_Darkmoon_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Orb_of_the_Darkmoon_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Orb_of_the_Darkmoon_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Orb_of_the_Darkmoon_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I025'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'evtl'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02O'))
call UnitAddItemByIdSwapped('I02P',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1500,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(15,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02O'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Mystical_Shield_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I01Q')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Mystical_Shield_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00S')
endfunction
function Trig_Mystical_Shield_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I002')
endfunction
function Trig_Mystical_Shield_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Mystical_Shield_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Shield_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Shield_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Mystical_Shield_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00S'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I002'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01Q'))
call UnitAddItemByIdSwapped('I01R',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01Q'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Fury_Visor_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02F')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Fury_Visor_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='modt')
endfunction
function Trig_Fury_Visor_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I000')
endfunction
function Trig_Fury_Visor_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Fury_Visor_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Fury_Visor_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Fury_Visor_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Fury_Visor_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'modt'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I000'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02F'))
call UnitAddItemByIdSwapped('I02E',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02F'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Mystical_Claws_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I01T')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Mystical_Claws_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I01F')
endfunction
function Trig_Mystical_Claws_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='brac')
endfunction
function Trig_Mystical_Claws_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Mystical_Claws_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Claws_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Mystical_Claws_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Mystical_Claws_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01F'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'brac'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01T'))
call UnitAddItemByIdSwapped('I01S',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01T'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Heart_of_Aszune_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I029')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Heart_of_Aszune_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='rhth')
endfunction
function Trig_Heart_of_Aszune_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='pmna')
endfunction
function Trig_Heart_of_Aszune_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Heart_of_Aszune_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Heart_of_Aszune_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Heart_of_Aszune_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Heart_of_Aszune_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rhth'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'pmna'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I029'))
call UnitAddItemByIdSwapped('I028',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I029'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Kildins_Boots_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02G')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_Kildins_Boots_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00U')
endfunction
function Trig_Kildins_Boots_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Z')
endfunction
function Trig_Kildins_Boots_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_Kildins_Boots_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Kildins_Boots_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Kildins_Boots_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Kildins_Boots_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00U'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00Z'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02G'))
call UnitAddItemByIdSwapped('I02H',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02G'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_KelThuzads_Boots_Conditions takes nothing returns boolean
return(GetItemTypeId(GetManipulatedItem())=='I02I')and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Trig_KelThuzads_Boots_Func003003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00U')
endfunction
function Trig_KelThuzads_Boots_Func004003001 takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetManipulatingUnit(),bj_forLoopAIndex))=='I00Y')
endfunction
function Trig_KelThuzads_Boots_Func005C takes nothing returns boolean
return(udg_integer57>=1)and(udg_integer58>=1)
endfunction
function Trig_KelThuzads_Boots_Actions takes nothing returns nothing
set udg_integer57=0
set udg_integer58=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_KelThuzads_Boots_Func003003001())then
set udg_integer57=(udg_integer57+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_KelThuzads_Boots_Func004003001())then
set udg_integer58=(udg_integer58+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_KelThuzads_Boots_Func005C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00U'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00Y'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02I'))
call UnitAddItemByIdSwapped('I02J',GetTriggerUnit())
else
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(10,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02I'))
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,30,"The gods refuse to assist you !")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call AddSpecialEffectTargetUnitBJ("head",GetTriggerUnit(),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
call DestroyEffect(bj_lastCreatedEffect)
endif
endfunction
function Trig_Uplevel_Claw_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Claw_Func001Func006Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01L'))=='I01L')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Claw_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01M'))=='I01M')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Claw_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ratf'))=='ratf')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Claw_Actions takes nothing returns nothing
if(Trig_Uplevel_Claw_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ratf'))
call UnitAddItemByIdSwapped('I01M',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Claws of Attack have upgraded ...")
else
if(Trig_Uplevel_Claw_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01M'))
call UnitAddItemByIdSwapped('I01L',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Claws of Attack have upgraded ...")
else
if(Trig_Uplevel_Claw_Func001Func006Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01L'))
call UnitAddItemByIdSwapped('I01F',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Claws of Attack have upgraded ...")
endif
endif
endif
endfunction
function Trig_Uplevel_Cloak_of_Flames_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Cloak_of_Flames_Func001Func006Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02L'))=='I02L')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Cloak_of_Flames_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02K'))=='I02K')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Cloak_of_Flames_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'clfm'))=='clfm')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Cloak_of_Flames_Actions takes nothing returns nothing
if(Trig_Uplevel_Cloak_of_Flames_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'clfm'))
call UnitAddItemByIdSwapped('I02K',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Cloak of Flames has upgraded ...")
else
if(Trig_Uplevel_Cloak_of_Flames_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02K'))
call UnitAddItemByIdSwapped('I02L',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Cloak of Flames has upgraded ...")
else
if(Trig_Uplevel_Cloak_of_Flames_Func001Func006Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02L'))
call UnitAddItemByIdSwapped('I02M',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Cloak of Flames has upgraded ...")
endif
endif
endif
endfunction
function Trig_Uplevel_Orb_of_Light_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Orb_of_Light_Func001Func006Func002C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01N'))=='I01N')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Orb_of_Light_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01O'))=='I01O')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Orb_of_Light_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01G'))=='I01G')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Orb_of_Light_Actions takes nothing returns nothing
if(Trig_Uplevel_Orb_of_Light_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01G'))
call UnitAddItemByIdSwapped('I01O',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Lightning has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Light_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01O'))
call UnitAddItemByIdSwapped('I01N',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Lightning has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Light_Func001Func006Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01N'))
call UnitAddItemByIdSwapped('I01K',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Lightning has upgraded ...")
endif
endif
endif
endfunction
function Trig_Uplevel_Orb_of_Fire_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Orb_of_Fire_Func001Func006Func002C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01Z'))=='I01Z')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Orb_of_Fire_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I021'))=='I021')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Orb_of_Fire_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I020'))=='I020')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Orb_of_Fire_Actions takes nothing returns nothing
if(Trig_Uplevel_Orb_of_Fire_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I020'))
call UnitAddItemByIdSwapped('I021',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Fire has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Fire_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I021'))
call UnitAddItemByIdSwapped('I01Z',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Fire has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Fire_Func001Func006Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01Z'))
call UnitAddItemByIdSwapped('I01Y',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Fire has upgraded ...")
endif
endif
endif
endfunction
function Trig_Uplevel_Orb_of_Frost_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Orb_of_Frost_Func001Func006Func002C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01W'))=='I01W')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Orb_of_Frost_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01V'))=='I01V')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Orb_of_Frost_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01X'))=='I01X')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Orb_of_Frost_Actions takes nothing returns nothing
if(Trig_Uplevel_Orb_of_Frost_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01X'))
call UnitAddItemByIdSwapped('I01V',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Frost has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Frost_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01V'))
call UnitAddItemByIdSwapped('I01W',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Frost has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Frost_Func001Func006Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01W'))
call UnitAddItemByIdSwapped('I01U',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Frost has upgraded ...")
endif
endif
endif
endfunction
function Trig_Uplevel_Orb_of_Corruption_Conditions takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function Trig_Uplevel_Orb_of_Corruption_Func001Func006Func002C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I022'))=='I022')and(GetHeroLevel(GetTriggerUnit())>=15)
endfunction
function Trig_Uplevel_Orb_of_Corruption_Func001Func006C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I024'))=='I024')and(GetHeroLevel(GetTriggerUnit())>=10)
endfunction
function Trig_Uplevel_Orb_of_Corruption_Func001C takes nothing returns boolean
return(GetItemTypeId(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I023'))=='I023')and(GetHeroLevel(GetTriggerUnit())>=5)
endfunction
function Trig_Uplevel_Orb_of_Corruption_Actions takes nothing returns nothing
if(Trig_Uplevel_Orb_of_Corruption_Func001C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I023'))
call UnitAddItemByIdSwapped('I024',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Corruption has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Corruption_Func001Func006C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I024'))
call UnitAddItemByIdSwapped('I022',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Corruption has upgraded ...")
else
if(Trig_Uplevel_Orb_of_Corruption_Func001Func006Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I022'))
call UnitAddItemByIdSwapped('I025',GetTriggerUnit())
call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Your Orb of Corruption has upgraded ...")
endif
endif
endif
endfunction
function main2 takes nothing returns nothing
local weathereffect we
local player p
local unit u
local integer unitID
local trigger t
local real life
local integer i
local trigger t1
local trigger t2
local trigger g
call SetCameraBounds(-6784.+GetCameraMargin(CAMERA_MARGIN_LEFT),-5888.+GetCameraMargin(CAMERA_MARGIN_BOTTOM),7296.-GetCameraMargin(CAMERA_MARGIN_RIGHT),6144.-GetCameraMargin(CAMERA_MARGIN_TOP),-6784.+GetCameraMargin(CAMERA_MARGIN_LEFT),6144.-GetCameraMargin(CAMERA_MARGIN_TOP),7296.-GetCameraMargin(CAMERA_MARGIN_RIGHT),-5888.+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCDalaran\\DNCDalaranTerrain\\DNCDalaranTerrain.mdl","Environment\\DNC\\DNCDalaran\\DNCDalaranUnit\\DNCDalaranUnit.mdl")
set we=AddWeatherEffect(Rect(-8192.,-6144.,8192.,6144.),'FDwl')
call EnableWeatherEffect(we,true)
call NewSoundEnvironment("Default")
call SetAmbientDaySound("DalaranDay")
call SetAmbientNightSound("DalaranNight")
call SetMapMusic("Music",true,0)
set udg_sound01=CreateSound("war3mapImported\\cheer.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundChannel(udg_sound01,0)
call SetSoundVolume(udg_sound01,64)
call SetSoundPitch(udg_sound01,1.)
set udg_sound02=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMagePissed1.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound02,"BloodElfSorcerorPissed")
call SetSoundDuration(udg_sound02,2949)
set udg_sound03=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMagePissed2.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound03,"BloodElfSorcerorPissed")
call SetSoundDuration(udg_sound03,3756)
set udg_sound04=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMagePissed6.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound04,"BloodElfSorcerorPissed")
call SetSoundDuration(udg_sound04,16158)
set udg_sound05=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMageWarcry1.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound05,"BloodElfSorcerorWarcry")
call SetSoundDuration(udg_sound05,2003)
set udg_sound06=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMageYesAttack2.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound06,"BloodElfSorcerorYesAttack")
call SetSoundDuration(udg_sound06,1509)
set udg_sound07=CreateSound("Units\\Human\\HeroBloodElf\\BloodElfMageYesAttack3.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound07,"BloodElfSorcerorYesAttack")
call SetSoundDuration(udg_sound07,1939)
set udg_sound08=CreateSound("Sound\\Music\\mp3Music\\Credits.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound08,"CreditsMusic")
call SetSoundDuration(udg_sound08,83017)
set udg_sound09=CreateSound("Abilities\\Spells\\Human\\Defend\\DefendCaster.wav",false,true,true,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(udg_sound09,"Defend")
call SetSoundDuration(udg_sound09,1167)
set udg_sound10=CreateSound("Units\\NightElf\\HeroDemonHunter\\DemonHunterMorphedPissed4.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound10,"HeroDemonHunterMorphedPissed")
call SetSoundDuration(udg_sound10,4539)
set udg_sound11=CreateSound("Units\\Human\\BloodElfDragonHawk\\DragonHawkWarcry1.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound11,"BloodElfDragonHawkWarcry")
call SetSoundDuration(udg_sound11,4412)
set udg_sound12=CreateSound("Abilities\\Spells\\Other\\HowlOfTerror\\HowlOfTerror.wav",false,true,true,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(udg_sound12,"HowlOfTerror")
call SetSoundDuration(udg_sound12,3065)
set udg_sound13=CreateSound("Units\\Demon\\HeroPitLord\\HPitLordPissed4.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound13,"HeroPitLordPissed")
call SetSoundDuration(udg_sound13,8487)
set udg_sound14=CreateSound("Units\\Demon\\HeroPitLord\\HPitLordReady1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound14,"HeroPitLordReady")
call SetSoundDuration(udg_sound14,3019)
set udg_sound15=CreateSound("Sound\\Dialogue\\UndeadExpCamp\\Undead08x\\L08LadyVashj05.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound15,"L08LadyVashj05")
call SetSoundDuration(udg_sound15,5172)
set udg_sound16=CreateSound("Doodads\\Cinematic\\Lightningbolt\\LightningBolt1.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound16,"CinematicLightningBolt")
call SetSoundDuration(udg_sound16,3001)
call SetSoundChannel(udg_sound16,0)
set udg_sound17=CreateSound("Doodads\\Cinematic\\Lightningbolt\\LightningBolt1.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound17,"CinematicLightningBolt")
call SetSoundDuration(udg_sound17,3001)
call SetSoundChannel(udg_sound17,0)
set udg_sound18=CreateSound("Sound\\Units\\Combat\\MetalHeavySliceFlesh2.wav",false,true,true,10,10,"CombatSoundsEAX")
call SetSoundParamsFromLabel(udg_sound18,"MetalHeavySliceFlesh")
call SetSoundDuration(udg_sound18,946)
set udg_sound19=CreateSound("Sound\\Music\\mp3Music\\PH1.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound19,"PHMusic")
call SetSoundDuration(udg_sound19,281582)
set udg_sound20=CreateSound("Abilities\\Spells\\Demon\\RainOfFire\\RainOfFireLoop1.wav",false,true,true,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(udg_sound20,"RainOfFireLoop")
call SetSoundDuration(udg_sound20,4000)
set udg_sound21=CreateSound("Units\\Human\\Rifleman\\RiflemanPissed5.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound21,"RiflemanPissed")
call SetSoundDuration(udg_sound21,4168)
set udg_sound22=CreateSound("Units\\Human\\Rifleman\\RiflemanPissed5.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound22,"RiflemanPissed")
call SetSoundDuration(udg_sound22,4168)
set udg_sound23=CreateSound("war3mapImported\\applau11.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundChannel(udg_sound23,0)
call SetSoundVolume(udg_sound23,64)
call SetSoundPitch(udg_sound23,1.)
set udg_sound24=CreateSound("Sound\\Ambient\\DoodadEffects\\TheHornOfCenarius.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound24,"HornOfCenariusSound")
call SetSoundDuration(udg_sound24,12121)
set udg_sound25=CreateSound("Units\\Undead\\Tichondrius\\TichondriusPissed3.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound25,"TichondriusPissed")
call SetSoundDuration(udg_sound25,2484)
set udg_sound26=CreateSound("Sound\\Dialogue\\UndeadCampaign\\Undead08\\U08Archimonde19.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound26,"U08Archimonde19")
call SetSoundDuration(udg_sound26,7549)
set udg_sound27=CreateSound("Units\\Undead\\Varimathras\\VarimathrasPissed5.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound27,"VarimathrasPissed")
call SetSoundDuration(udg_sound27,2672)
set udg_sound28=CreateSound("Units\\Undead\\Varimathras\\VarimathrasPissed6.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound28,"VarimathrasPissed")
call SetSoundDuration(udg_sound28,2885)
set udg_sound29=CreateSound("Units\\Undead\\Varimathras\\VarimathrasPissed8.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound29,"VarimathrasPissed")
call SetSoundDuration(udg_sound29,8906)
set udg_sound30=CreateSound("Units\\Undead\\Varimathras\\VarimathrasWarcry1.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound30,"VarimathrasWarcry")
call SetSoundDuration(udg_sound30,1937)
set udg_sound31=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYes2.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound31,"VarimathrasYes")
call SetSoundDuration(udg_sound31,2023)
set udg_sound32=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYesAttack1.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound32,"VarimathrasYesAttack")
call SetSoundDuration(udg_sound32,2171)
set udg_sound33=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYesAttack2.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound33,"VarimathrasYesAttack")
call SetSoundDuration(udg_sound33,1959)
set udg_sound34=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYesAttack4.wav",false,false,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(udg_sound34,"VarimathrasYesAttack")
call SetSoundDuration(udg_sound34,1829)
set udg_sound35=CreateSound("Sound\\Music\\mp3Music\\War2IntroMusic.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound35,"War2Intro")
call SetSoundDuration(udg_sound35,81136)
set udg_sound36=CreateSound("Sound\\Units\\Undead\\Dissipate\\UndeadDissipate2.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound36,"UndeadDissipate")
call SetSoundDuration(udg_sound36,3613)
set udg_sound37=CreateSound("Abilities\\Spells\\Human\\Invisibility\\InvisibilityTarget.wav",false,true,true,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(udg_sound37,"Invisibility")
call SetSoundDuration(udg_sound37,2043)
set udg_sound38=CreateSound("Abilities\\Spells\\Human\\MassTeleport\\MassTeleportTarget.wav",false,true,true,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(udg_sound38,"MassTeleport")
call SetSoundDuration(udg_sound38,4899)
set udg_sound39=CreateSound("war3mapImported\\Nuke2.wav",false,false,false,10,10,"")
call SetSoundDuration(udg_sound39,2239)
call SetSoundChannel(udg_sound39,0)
call SetSoundVolume(udg_sound39,127)
call SetSoundPitch(udg_sound39,1.)
set udg_sound40=CreateSound("Abilities\\Spells\\Items\\ResourceItems\\ReceiveGold.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound40,"ReceiveGold")
call SetSoundDuration(udg_sound40,589)
call SetSoundChannel(udg_sound40,0)
set udg_sound41=CreateSound("Sound\\Ambient\\DoodadEffects\\FrostmourneChant1.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound41,"FrostmourneChantSound")
call SetSoundDuration(udg_sound41,5039)
call SetSoundChannel(udg_sound41,0)
call SetSoundVolume(udg_sound41,127)
set udg_sound42=CreateSound("Sound\\Ambient\\DoodadEffects\\ShimmeringPortalBirth.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound42,"ShimmeringPortalBirth")
call SetSoundDuration(udg_sound42,8529)
call SetSoundChannel(udg_sound42,0)
set udg_sound43=CreateSound("Sound\\Ambient\\DoodadEffects\\ShimmeringPortalDeath.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound43,"ShimmeringPortalDeath")
call SetSoundDuration(udg_sound43,4783)
call SetSoundChannel(udg_sound43,0)
set udg_sound44=CreateSound("Sound\\Ambient\\DoodadEffects\\WarlockAppears.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound44,"ArchimondeAppearsSound")
call SetSoundDuration(udg_sound44,7361)
call SetSoundChannel(udg_sound44,0)
set udg_sound45=CreateSound("Abilities\\Spells\\Orc\\LightningBolt\\LightningBolt.wav",false,false,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound45,"LightningBolt")
call SetSoundDuration(udg_sound45,2136)
call SetSoundChannel(udg_sound45,0)
set udg_sound46=CreateSound("Sound\\Dialogue\\NightElfCampaign\\NightElf01\\N01Archimonde30.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound46,"N01Archimonde30")
call SetSoundDuration(udg_sound46,3918)
call SetSoundVolume(udg_sound46,126)
set udg_rect01=Rect(5920.,-2464.,6336.,-1888.)
set we=AddWeatherEffect(udg_rect01,'FDgh')
call EnableWeatherEffect(we,true)
set udg_rect02=Rect(-6016.,3968.,-5824.,4160.)
set udg_rect03=Rect(3392.,4736.,3584.,4928.)
set udg_rect04=Rect(3648.,4736.,3840.,4928.)
set udg_rect05=Rect(3904.,4736.,4096.,4928.)
set udg_rect06=Rect(4416.,4736.,4608.,4928.)
set udg_rect07=Rect(-6016.,4224.,-5824.,4416.)
set udg_rect08=Rect(-6016.,4480.,-5824.,4672.)
set udg_rect09=Rect(-4864.,4736.,-4672.,4928.)
set udg_rect10=Rect(-4608.,4736.,-4416.,4928.)
set udg_rect11=Rect(-4352.,4736.,-4160.,4928.)
set udg_rect12=Rect(-4096.,4736.,-3904.,4928.)
set udg_rect13=Rect(-3840.,4736.,-3648.,4928.)
set udg_rect14=Rect(2240.,4480.,2432.,4672.)
set udg_rect15=Rect(2848.,-4480.,4928.,-2848.)
set udg_rect16=Rect(3328.,-2368.,4000.,-1856.)
set udg_rect17=Rect(2880.,-1600.,5024.,352.)
set udg_rect18=Rect(-5440.,-1984.,-5120.,-1600.)
set we=AddWeatherEffect(udg_rect18,'MEds')
call EnableWeatherEffect(we,true)
set udg_rect19=Rect(-6144.,2688.,-2048.,5120.)
set we=AddWeatherEffect(udg_rect19,'FDwh')
call EnableWeatherEffect(we,true)
set udg_rect20=Rect(-4448.,-4288.,-2720.,-2624.)
set udg_rect21=Rect(-3680.,-2208.,-3072.,-1696.)
set udg_rect22=Rect(-4512.,-1376.,-2784.,480.)
set udg_rect23=Rect(2048.,2688.,6144.,5120.)
set we=AddWeatherEffect(udg_rect23,'FDrh')
call EnableWeatherEffect(we,true)
set udg_rect24=Rect(-2432.,4224.,-2240.,4416.)
set udg_rect25=Rect(-2432.,3968.,-2240.,4160.)
set udg_rect26=Rect(5824.,3712.,6016.,3904.)
set udg_rect27=Rect(5824.,3456.,6016.,3648.)
set udg_rect28=Rect(3648.,2944.,3840.,3136.)
set udg_rect29=Rect(-3328.,2944.,-3136.,3136.)
set udg_rect30=Rect(-2816.,2944.,-2624.,3136.)
set udg_rect31=Rect(-4352.,2944.,-4160.,3136.)
set udg_rect32=Rect(3904.,2944.,4096.,3136.)
set udg_rect33=Rect(-2432.,3200.,-2240.,3392.)
set udg_rect34=Rect(-2432.,3456.,-2240.,3648.)
set udg_rect35=Rect(-2432.,3712.,-2240.,3904.)
set udg_rect36=Rect(4160.,2944.,4352.,3136.)
set udg_rect37=Rect(4416.,2944.,4608.,3136.)
set udg_rect38=Rect(4672.,2944.,4864.,3136.)
set udg_rect39=Rect(5824.,3200.,6016.,3392.)
set udg_rect40=Rect(-4256.,3872.,-3904.,4192.)
set udg_rect41=Rect(3968.,3840.,4320.,4160.)
set udg_rect42=Rect(-6400.,-3584.,-6208.,-3392.)
set udg_rect43=Rect(6848.,-3840.,7040.,-3648.)
set udg_rect44=Rect(128.,-2144.,416.,-1824.)
set udg_rect45=Rect(5824.,-5248.,6784.,-4960.)
set udg_rect46=Rect(-4608.,2944.,-4416.,3136.)
set udg_rect47=Rect(2240.,3200.,2432.,3392.)
set udg_rect48=Rect(-1792.,-2176.,-1248.,-1728.)
set udg_rect49=Rect(1536.,-2112.,2016.,-1728.)
set udg_rect50=Rect(-4096.,2944.,-3904.,3136.)
set udg_rect51=Rect(2624.,2944.,2816.,3136.)
set udg_rect52=Rect(-4768.,-2208.,-3904.,-1568.)
set udg_rect53=Rect(-2752.,-2624.,-1728.,-1472.)
set we=AddWeatherEffect(udg_rect53,'LRma')
call EnableWeatherEffect(we,true)
set udg_rect54=Rect(2048.,-2496.,3136.,-1504.)
set udg_rect55=Rect(-3840.,2944.,-3648.,3136.)
set udg_rect56=Rect(-3584.,2944.,-3392.,3136.)
set udg_rect57=Rect(2880.,2944.,3072.,3136.)
set udg_rect58=Rect(3392.,2944.,3584.,3136.)
set udg_rect59=Rect(-5120.,2944.,-4928.,3136.)
set udg_rect60=Rect(2240.,3456.,2432.,3648.)
set udg_rect61=Rect(2240.,3712.,2432.,3904.)
set udg_rect62=Rect(-6016.,3200.,-5824.,3392.)
set udg_rect63=Rect(-4864.,2944.,-4672.,3136.)
set udg_rect64=Rect(3136.,2944.,3328.,3136.)
set udg_rect65=Rect(4672.,4736.,4864.,4928.)
set udg_rect66=Rect(-3584.,4736.,-3392.,4928.)
set udg_rect67=Rect(-2816.,4736.,-2624.,4928.)
set udg_rect68=Rect(5824.,3968.,6016.,4160.)
set udg_rect69=Rect(-6016.,3456.,-5824.,3648.)
set udg_rect70=Rect(6944.,-5088.,7104.,-4928.)
set udg_rect71=Rect(2240.,3968.,2432.,4160.)
set udg_rect72=Rect(-768.,-2048.,-480.,-1792.)
set udg_rect73=Rect(800.,-2112.,1120.,-1824.)
set udg_rect74=Rect(-5088.,-2016.,-4800.,-1728.)
set udg_rect75=Rect(-3328.,4736.,-3136.,4928.)
set udg_rect76=Rect(4928.,4736.,5120.,4928.)
set udg_rect77=Rect(5824.,4224.,6016.,4416.)
set udg_rect78=Rect(2240.,4224.,2432.,4416.)
set udg_rect79=Rect(-3072.,4736.,-2880.,4928.)
set udg_rect80=Rect(-6016.,3712.,-5824.,3904.)
set udg_rect81=Rect(-2432.,4480.,-2240.,4672.)
set udg_rect82=Rect(5824.,4480.,6016.,4672.)
set udg_rect83=Rect(-1344.,256.,-992.,576.)
set udg_rect84=Rect(-32.,384.,288.,704.)
set udg_rect85=Rect(1472.,128.,1792.,480.)
set udg_rect86=Rect(1472.,-4128.,1792.,-3808.)
set udg_rect87=Rect(-96.,-4256.,256.,-3904.)
set udg_rect88=Rect(-1536.,-4160.,-1184.,-3904.)
set udg_rect89=Rect(-8128.,-6144.,8000.,-5568.)
set udg_rect90=Rect(-5120.,4736.,-4928.,4928.)
set udg_rect91=Rect(-5376.,2944.,-5184.,3136.)
set udg_rect92=Rect(-96.,5888.,96.,6048.)
set udg_rect93=Rect(-448.,-2176.,128.,-1600.)
set udg_rect94=Rect(-5376.,4736.,-5184.,4928.)
set udg_rect95=Rect(-5632.,2944.,-5440.,3136.)
set udg_rect96=Rect(-5888.,2944.,-5696.,3136.)
set udg_rect97=Rect(-5888.,4736.,-5696.,4928.)
set udg_rect98=Rect(5184.,4736.,5376.,4928.)
set udg_rect99=Rect(5440.,4736.,5632.,4928.)
set udg_rect100=Rect(4928.,2944.,5120.,3136.)
set udg_rect101=Rect(5440.,2944.,5632.,3136.)
set udg_rect102=Rect(-2720.,-4064.,2880.,416.)
set udg_rect103=Rect(-2560.,4736.,-2368.,4928.)
set udg_rect104=Rect(-2560.,2944.,-2368.,3136.)
set udg_rect105=Rect(5696.,4736.,5888.,4928.)
set udg_rect106=Rect(5696.,2944.,5888.,3136.)
set udg_rect107=Rect(-5824.,3136.,-2432.,4736.)
set udg_rect108=Rect(2432.,3136.,5824.,4736.)
set udg_rect109=Rect(2368.,2944.,2560.,3136.)
set udg_rect110=Rect(-224.,5760.,224.,6144.)
set udg_rect111=Rect(2624.,4736.,2816.,4928.)
set udg_rect112=Rect(2368.,4736.,2560.,4928.)
set udg_rect113=Rect(2880.,4736.,3072.,4928.)
set udg_rect114=Rect(3136.,4736.,3328.,4928.)
set udg_rect115=Rect(4160.,4736.,4352.,4928.)
set udg_rect116=Rect(-3072.,2944.,-2880.,3136.)
set udg_rect117=Rect(-5632.,4736.,-5440.,4928.)
set udg_rect118=Rect(5184.,2944.,5376.,3136.)
set udg_rect119=Rect(-3104.,-4608.,3360.,1056.)
set udg_rect120=Rect(5440.,-3008.,5696.,-2752.)
set udg_rect121=Rect(5152.,-3008.,5408.,-2752.)
set udg_rect122=Rect(5760.,-1568.,6016.,-1312.)
set udg_rect123=Rect(-5088.,-2784.,-4832.,-2528.)
set udg_rect124=Rect(-4800.,-2784.,-4544.,-2528.)
set udg_rect125=Rect(-5248.,-1280.,-4992.,-1024.)
call SetPlayerTechResearched(Player(0),'Remg',1)
call SetPlayerTechResearched(Player(0),'Rhhb',1)
call SetPlayerTechResearched(Player(0),'Roen',1)
call SetPlayerTechResearched(Player(0),'Redc',2)
call SetPlayerTechResearched(Player(0),'Recb',1)
call SetPlayerTechResearched(Player(0),'Rost',2)
call SetPlayerTechResearched(Player(0),'Rhpm',1)
call SetPlayerTechResearched(Player(0),'Rhss',1)
call SetPlayerTechResearched(Player(0),'Robf',1)
call SetPlayerTechResearched(Player(1),'Remg',1)
call SetPlayerTechResearched(Player(1),'Roen',1)
call SetPlayerTechResearched(Player(1),'Redc',2)
call SetPlayerTechResearched(Player(1),'Recb',1)
call SetPlayerTechResearched(Player(1),'Rost',2)
call SetPlayerTechResearched(Player(1),'Rhpm',1)
call SetPlayerTechResearched(Player(1),'Rhss',1)
call SetPlayerTechResearched(Player(1),'Robf',1)
call SetPlayerTechResearched(Player(2),'Remg',1)
call SetPlayerTechResearched(Player(2),'Roen',1)
call SetPlayerTechResearched(Player(2),'Redc',2)
call SetPlayerTechResearched(Player(2),'Recb',1)
call SetPlayerTechResearched(Player(2),'Rost',2)
call SetPlayerTechResearched(Player(2),'Rhpm',1)
call SetPlayerTechResearched(Player(2),'Rhss',1)
call SetPlayerTechResearched(Player(2),'Robf',1)
call SetPlayerTechResearched(Player(3),'Remg',1)
call SetPlayerTechResearched(Player(3),'Roen',1)
call SetPlayerTechResearched(Player(3),'Redc',2)
call SetPlayerTechResearched(Player(3),'Recb',1)
call SetPlayerTechResearched(Player(3),'Rost',2)
call SetPlayerTechResearched(Player(3),'Rhpm',1)
call SetPlayerTechResearched(Player(3),'Rhss',1)
call SetPlayerTechResearched(Player(3),'Robf',1)
call SetPlayerTechResearched(Player(4),'Remg',1)
call SetPlayerTechResearched(Player(4),'Roen',1)
call SetPlayerTechResearched(Player(4),'Redc',2)
call SetPlayerTechResearched(Player(4),'Recb',1)
call SetPlayerTechResearched(Player(4),'Rost',2)
call SetPlayerTechResearched(Player(4),'Rhpm',1)
call SetPlayerTechResearched(Player(4),'Rhss',1)
call SetPlayerTechResearched(Player(4),'Robf',1)
call SetPlayerTechResearched(Player(5),'Redc',2)
call SetPlayerTechResearched(Player(5),'Rwdm',1)
call SetPlayerTechResearched(Player(5),'Recb',1)
call SetPlayerTechResearched(Player(5),'Robf',1)
call SetPlayerTechResearched(Player(6),'Rhhb',1)
call SetPlayerTechResearched(Player(6),'Ruac',1)
call SetPlayerTechResearched(Player(6),'Rusl',1)
call SetPlayerTechResearched(Player(6),'Rupc',1)
call SetPlayerTechResearched(Player(6),'Ruba',1)
call SetPlayerTechResearched(Player(6),'Roen',1)
call SetPlayerTechResearched(Player(6),'Redc',2)
call SetPlayerTechResearched(Player(6),'Rufb',1)
call SetPlayerTechResearched(Player(6),'Recb',1)
call SetPlayerTechResearched(Player(6),'Rost',2)
call SetPlayerTechResearched(Player(6),'Rune',2)
call SetPlayerTechResearched(Player(6),'Rowd',2)
call SetPlayerTechResearched(Player(6),'Rows',1)
call SetPlayerTechResearched(Player(6),'Rhpm',1)
call SetPlayerTechResearched(Player(6),'Rhss',1)
call SetPlayerTechResearched(Player(6),'Robf',1)
call SetPlayerTechResearched(Player(7),'Rhhb',1)
call SetPlayerTechResearched(Player(7),'Ruac',1)
call SetPlayerTechResearched(Player(7),'Rusl',1)
call SetPlayerTechResearched(Player(7),'Rupc',1)
call SetPlayerTechResearched(Player(7),'Ruba',1)
call SetPlayerTechResearched(Player(7),'Roen',1)
call SetPlayerTechResearched(Player(7),'Redc',2)
call SetPlayerTechResearched(Player(7),'Rufb',1)
call SetPlayerTechResearched(Player(7),'Recb',1)
call SetPlayerTechResearched(Player(7),'Rost',2)
call SetPlayerTechResearched(Player(7),'Rune',2)
call SetPlayerTechResearched(Player(7),'Rowd',2)
call SetPlayerTechResearched(Player(7),'Rows',1)
call SetPlayerTechResearched(Player(7),'Rhpm',1)
call SetPlayerTechResearched(Player(7),'Rhss',1)
call SetPlayerTechResearched(Player(7),'Robf',1)
call SetPlayerTechResearched(Player(8),'Rhhb',1)
call SetPlayerTechResearched(Player(8),'Ruac',1)
call SetPlayerTechResearched(Player(8),'Rusl',1)
call SetPlayerTechResearched(Player(8),'Rupc',1)
call SetPlayerTechResearched(Player(8),'Ruba',1)
call SetPlayerTechResearched(Player(8),'Roen',1)
call SetPlayerTechResearched(Player(8),'Redc',2)
call SetPlayerTechResearched(Player(8),'Rufb',1)
call SetPlayerTechResearched(Player(8),'Recb',1)
call SetPlayerTechResearched(Player(8),'Rost',2)
call SetPlayerTechResearched(Player(8),'Rune',2)
call SetPlayerTechResearched(Player(8),'Rowd',2)
call SetPlayerTechResearched(Player(8),'Rows',1)
call SetPlayerTechResearched(Player(8),'Rhpm',1)
call SetPlayerTechResearched(Player(8),'Rhss',1)
call SetPlayerTechResearched(Player(8),'Robf',1)
call SetPlayerTechResearched(Player(9),'Rhhb',1)
call SetPlayerTechResearched(Player(9),'Ruac',1)
call SetPlayerTechResearched(Player(9),'Rusl',1)
call SetPlayerTechResearched(Player(9),'Rupc',1)
call SetPlayerTechResearched(Player(9),'Ruba',1)
call SetPlayerTechResearched(Player(9),'Roen',1)
call SetPlayerTechResearched(Player(9),'Redc',2)
call SetPlayerTechResearched(Player(9),'Rufb',1)
call SetPlayerTechResearched(Player(9),'Recb',1)
call SetPlayerTechResearched(Player(9),'Rost',2)
call SetPlayerTechResearched(Player(9),'Rune',2)
call SetPlayerTechResearched(Player(9),'Rowd',2)
call SetPlayerTechResearched(Player(9),'Rows',1)
call SetPlayerTechResearched(Player(9),'Rhpm',1)
call SetPlayerTechResearched(Player(9),'Rhss',1)
call SetPlayerTechResearched(Player(9),'Robf',1)
call SetPlayerTechResearched(Player(10),'Rhhb',1)
call SetPlayerTechResearched(Player(10),'Ruac',1)
call SetPlayerTechResearched(Player(10),'Rusl',1)
call SetPlayerTechResearched(Player(10),'Rupc',1)
call SetPlayerTechResearched(Player(10),'Ruba',1)
call SetPlayerTechResearched(Player(10),'Roen',1)
call SetPlayerTechResearched(Player(10),'Redc',2)
call SetPlayerTechResearched(Player(10),'Rufb',1)
call SetPlayerTechResearched(Player(10),'Recb',1)
call SetPlayerTechResearched(Player(10),'Rost',2)
call SetPlayerTechResearched(Player(10),'Rune',2)
call SetPlayerTechResearched(Player(10),'Rowd',2)
call SetPlayerTechResearched(Player(10),'Rows',1)
call SetPlayerTechResearched(Player(10),'Rhpm',1)
call SetPlayerTechResearched(Player(10),'Rhss',1)
call SetPlayerTechResearched(Player(10),'Robf',1)
call SetPlayerTechResearched(Player(11),'Roen',1)
call SetPlayerTechResearched(Player(11),'Rwdm',1)
call SetPlayerTechResearched(Player(11),'Rufb',1)
call SetPlayerTechResearched(Player(11),'Recb',1)
call SetPlayerTechResearched(Player(11),'Robf',1)
set p=Player(15)
set udg_unit142=CreateUnit(p,'ncp2',-5536.,4832.,270.)
set udg_unit45=CreateUnit(p,'ncp2',-4512.,4832.,270.)
set udg_unit46=CreateUnit(p,'ncp2',-4256.,4832.,270.)
set udg_unit47=CreateUnit(p,'ncp2',-4000.,4832.,270.)
set udg_unit48=CreateUnit(p,'ncp2',-3744.,4832.,270.)
set udg_unit49=CreateUnit(p,'ncp2',-4768.,4832.,270.)
set udg_unit50=CreateUnit(p,'ncp2',-5920.,4576.,270.)
set udg_unit51=CreateUnit(p,'ncp2',-5920.,4320.,270.)
set udg_unit52=CreateUnit(p,'ncp2',-5920.,4064.,270.)
set udg_unit53=CreateUnit(p,'ncp2',3744.,4832.,270.)
set udg_unit54=CreateUnit(p,'ncp2',3488.,4832.,270.)
set udg_unit55=CreateUnit(p,'ncp2',3232.,4832.,270.)
set udg_unit56=CreateUnit(p,'ncp2',2976.,4832.,270.)
set udg_unit57=CreateUnit(p,'ncp2',2336.,4576.,270.)
set udg_unit58=CreateUnit(p,'ncp2',4000.,4832.,270.)
set udg_unit59=CreateUnit(p,'ncp2',4256.,4832.,270.)
set udg_unit60=CreateUnit(p,'ncp2',4512.,4832.,270.)
set udg_unit112=CreateUnit(p,'ncp2',-2336.,3296.,270.)
set udg_unit141=CreateUnit(p,'ncp2',2720.,4832.,270.)
set udg_unit140=CreateUnit(p,'ncp2',5280.,3040.,270.)
set udg_unit143=CreateUnit(p,'ncp2',-2976.,3040.,270.)
set udg_unit65=CreateUnit(p,'ncp2',4256.,3040.,270.)
set u=CreateUnit(p,'h01C',-5632.,-3392.,270.)
set u=CreateUnit(p,'h01D',6272.,-3648.,270.)
set udg_unit90=CreateUnit(p,'ncp2',-2336.,4320.,270.)
set udg_unit92=CreateUnit(p,'ncp2',-2336.,4064.,270.)
set udg_unit95=CreateUnit(p,'ncp2',5920.,3808.,270.)
set udg_unit97=CreateUnit(p,'ncp2',4512.,3040.,270.)
set udg_unit114=CreateUnit(p,'ncp2',-4512.,3040.,270.)
set udg_unit117=CreateUnit(p,'ncp2',-4000.,3040.,270.)
set udg_unit115=CreateUnit(p,'ncp2',2336.,3296.,270.)
set udg_unit119=CreateUnit(p,'ncp2',2720.,3040.,270.)
set udg_unit88=CreateUnit(p,'ncp2',4768.,3040.,270.)
set udg_unit105=CreateUnit(p,'ncp2',3744.,3040.,270.)
set udg_unit111=CreateUnit(p,'ncp2',-2336.,3552.,270.)
set udg_unit43=CreateUnit(p,'ncp2',-3232.,3040.,270.)
set u=CreateUnit(p,'ncop',-2240.,-2048.,270.)
set udg_unit41=CreateUnit(p,'ncp2',-5280.,3040.,270.)
set u=CreateUnit(p,'ncop',2624.,-1984.,270.)
set udg_unit107=CreateUnit(p,'ncp2',-2720.,3040.,270.)
set udg_unit106=CreateUnit(p,'ncp2',4000.,3040.,270.)
set udg_unit86=CreateUnit(p,'ncp2',5920.,3552.,270.)
set udg_unit121=CreateUnit(p,'npgf',5280.,-2912.,270.)
set udg_unit39=CreateUnit(p,'n02C',-4800.,-1920.,270.)
set udg_unit108=CreateUnit(p,'ncp2',-2336.,3808.,270.)
set udg_unit68=CreateUnit(p,'ncp2',-4256.,3040.,270.)
set udg_unit98=CreateUnit(p,'ncp2',5920.,3296.,270.)
set udg_unit133=CreateUnit(p,'ncp2',4768.,4832.,270.)
set udg_unit134=CreateUnit(p,'ncp2',-3488.,4832.,270.)
set udg_unit76=CreateUnit(p,'ncp2',-3744.,3040.,270.)
set udg_unit102=CreateUnit(p,'ncp2',-3488.,3040.,270.)
set udg_unit123=CreateUnit(p,'ncp2',2976.,3040.,270.)
set udg_unit100=CreateUnit(p,'ncp2',3488.,3040.,270.)
set udg_unit135=CreateUnit(p,'ncp2',-2720.,4832.,270.)
set udg_unit136=CreateUnit(p,'ncp2',5920.,4064.,270.)
set udg_unit137=CreateUnit(p,'ncp2',-5920.,3552.,270.)
set udg_unit138=CreateUnit(p,'ncp2',2336.,4064.,270.)
set udg_unit109=CreateUnit(p,'ncp2',-5024.,3040.,270.)
set udg_unit85=CreateUnit(p,'ncp2',2336.,3552.,270.)
set udg_unit104=CreateUnit(p,'ncp2',-3232.,4832.,270.)
set udg_unit87=CreateUnit(p,'ncp2',5024.,4832.,270.)
set udg_unit94=CreateUnit(p,'ncp2',-5920.,3808.,270.)
set udg_unit44=CreateUnit(p,'ncp2',-2976.,4832.,270.)
set udg_unit93=CreateUnit(p,'ncp2',2336.,4320.,270.)
set udg_unit40=CreateUnit(p,'ncp2',5920.,4320.,270.)
set udg_unit99=CreateUnit(p,'ncp2',-2336.,4576.,270.)
set udg_unit110=CreateUnit(p,'ncp2',5920.,4576.,270.)
set udg_unit38=CreateUnit(p,'ncp2',-5536.,3040.,270.)
set udg_unit63=CreateUnit(p,'ncp2',-5280.,4832.,270.)
set udg_unit66=CreateUnit(p,'ncp2',-5024.,4832.,270.)
set udg_unit77=CreateUnit(p,'ncp2',2464.,3040.,270.)
set udg_unit79=CreateUnit(p,'ncp2',2464.,4832.,270.)
set udg_unit131=CreateUnit(p,'ncp2',-4768.,3040.,270.)
set udg_unit130=CreateUnit(p,'ncp2',3232.,3040.,270.)
set udg_unit125=CreateUnit(p,'ncp2',2336.,3808.,270.)
set udg_unit126=CreateUnit(p,'ncp2',-5920.,3296.,270.)
set udg_unit84=CreateUnit(p,'ncp2',-5792.,3040.,270.)
set udg_unit116=CreateUnit(p,'ncp2',-5792.,4832.,270.)
set udg_unit124=CreateUnit(p,'ncp2',5024.,3040.,270.)
set udg_unit37=CreateUnit(p,'ncp2',5536.,3040.,270.)
set udg_unit103=CreateUnit(p,'ncp2',5280.,4832.,270.)
set udg_unit62=CreateUnit(p,'ncp2',5536.,4832.,270.)
set udg_unit91=CreateUnit(p,'n02D',5312.,-2048.,270.)
set udg_unit64=CreateUnit(p,'ncp2',-2464.,4832.,270.)
set udg_unit67=CreateUnit(p,'ncp2',5792.,4832.,270.)
set udg_unit42=CreateUnit(p,'ncp2',5792.,3040.,270.)
set udg_unit122=CreateUnit(p,'ncp2',-2464.,3040.,270.)
set udg_unit78=CreateUnit(p,'n02I',5568.,-2880.,270.)
set udg_unit89=CreateUnit(p,'n02J',-4960.,-2656.,270.)
set p=Player(5)
set u=CreateUnit(p,'hctw',-3776.,-1920.,270.)
set u=CreateUnit(p,'hctw',-4224.,-2432.,270.)
set u=CreateUnit(p,'nbfl',-5760.,-1728.,270.)
set udg_unit70=CreateUnit(p,'ngme',-5824.,-2496.,270.)
set u=CreateUnit(p,'ngad',-5696.,-1152.,270.)
set udg_unit71=CreateUnit(p,'nmer',-5120.,-1152.,270.)
call SetUnitColor(udg_unit71,ConvertPlayerColor(0))
set udg_unit72=CreateUnit(p,'hcas',-4288.,-1920.,270.)
set u=CreateUnit(p,'eden',-5312.,-2624.,270.)
set u=CreateUnit(p,'ndgt',-2752.,-3136.,270.)
set u=CreateUnit(p,'ndgt',-3264.,-4160.,270.)
set u=CreateUnit(p,'ndgt',-2816.,-2816.,270.)
set udg_unit73=CreateUnit(p,'hbar',-3968.,-704.,270.)
set udg_unit74=CreateUnit(p,'hbar',-3968.,-2880.,270.)
set u=CreateUnit(p,'ndgt',-2816.,-1280.,270.)
set u=CreateUnit(p,'ndgt',-2752.,-832.,270.)
set u=CreateUnit(p,'ndgt',-3328.,640.,270.)
set u=CreateUnit(p,'n00V',-3584.,192.,270.)
set u=CreateUnit(p,'ndgt',-3264.,-640.,270.)
set u=CreateUnit(p,'n00V',-3200.,-1344.,270.)
set u=CreateUnit(p,'n00V',-3136.,-2496.,270.)
set u=CreateUnit(p,'n00V',-3648.,-3584.,270.)
set u=CreateUnit(p,'ndgt',-3328.,-3072.,270.)
set u=CreateUnit(p,'hctw',-4224.,-1408.,270.)
set u=CreateUnit(p,'hctw',-4864.,-3200.,270.)
set u=CreateUnit(p,'ndgt',-4608.,-3008.,270.)
set u=CreateUnit(p,'ndgt',-4672.,-832.,270.)
set u=CreateUnit(p,'ndgt',-3776.,-2432.,270.)
set u=CreateUnit(p,'ndgt',-3776.,-1280.,270.)
set u=CreateUnit(p,'hgtw',-3904.,-3264.,270.)
set u=CreateUnit(p,'hgtw',-3648.,-2880.,270.)
set u=CreateUnit(p,'hgtw',-3648.,-704.,270.)
set u=CreateUnit(p,'hgtw',-3904.,-320.,270.)
set u=CreateUnit(p,'hgtw',-3456.,-1536.,270.)
set u=CreateUnit(p,'hgtw',-3392.,-2368.,270.)
set u=CreateUnit(p,'hgtw',-3008.,-3584.,270.)
set u=CreateUnit(p,'hgtw',-2560.,-4032.,270.)
set u=CreateUnit(p,'hgtw',-2368.,-3520.,270.)
set u=CreateUnit(p,'hgtw',-1600.,-3200.,270.)
set u=CreateUnit(p,'ndgt',-1984.,-2432.,270.)
set u=CreateUnit(p,'ndgt',-1984.,-1600.,270.)
set u=CreateUnit(p,'hgtw',-1600.,-4608.,270.)
set u=CreateUnit(p,'hgtw',-1984.,-3840.,270.)
set u=CreateUnit(p,'hgtw',-2944.,-1984.,270.)
set u=CreateUnit(p,'hgtw',-2240.,-1600.,270.)
set u=CreateUnit(p,'hgtw',-2240.,-2432.,270.)
set u=CreateUnit(p,'hgtw',-1536.,-1152.,270.)
set u=CreateUnit(p,'hgtw',-1408.,-2752.,270.)
set u=CreateUnit(p,'hgtw',-1856.,-1984.,270.)
set u=CreateUnit(p,'hgtw',-3072.,-64.,270.)
set u=CreateUnit(p,'hgtw',-2624.,448.,270.)
set u=CreateUnit(p,'hgtw',-2496.,-320.,270.)
set u=CreateUnit(p,'hgtw',-2048.,1024.,270.)
set u=CreateUnit(p,'hgtw',-1728.,-576.,270.)
set u=CreateUnit(p,'hgtw',-2112.,192.,270.)
set u=CreateUnit(p,'hgtw',-4800.,-448.,270.)
set udg_unit113=CreateUnit(p,'ncp2',-6304.,-3488.,270.)
set u=CreateUnit(p,'otrb',-6304.,-2016.,270.)
set u=CreateUnit(p,'otrb',-6304.,-1440.,270.)
set udg_unit127=CreateUnit(p,'n005',-5408.,-1120.,270.)
set u=CreateUnit(p,'hctw',-5120.,-832.,270.)
set udg_unit120=CreateUnit(p,'nefm',-4704.,-2656.,270.)
set u=CreateUnit(p,'n01X',-4800.,-1152.,270.)
set u=CreateUnit(p,'n00F',-5760.,-1408.,270.)
set u=CreateUnit(p,'hgtw',-2688.,768.,270.)
set u=CreateUnit(p,'hgtw',-2624.,-4416.,270.)
set u=CreateUnit(p,'hctw',-6464.,-1728.,270.)
set u=CreateUnit(p,'n00L',-6144.,-2304.,270.)
set u=CreateUnit(p,'n00L',-6144.,-1216.,270.)
set u=CreateUnit(p,'h009',-5760.,-2112.,270.)
set u=CreateUnit(p,'n00P',-4480.,-3136.,270.)
set u=CreateUnit(p,'n00P',-4544.,-640.,270.)
set u=CreateUnit(p,'e00I',-2944.,-3008.,270.)
set u=CreateUnit(p,'e00I',-2880.,-1024.,270.)
set u=CreateUnit(p,'e00I',-3136.,768.,270.)
set u=CreateUnit(p,'e00I',-3072.,-4288.,270.)
set p=Player(11)
set u=CreateUnit(p,'negf',3776.,-256.,270.)
set u=CreateUnit(p,'otrb',7008.,-2464.,270.)
set u=CreateUnit(p,'uzg1',4192.,-2080.,270.)
set u=CreateUnit(p,'ndfl',6528.,-2112.,270.)
set udg_unit80=CreateUnit(p,'ngme',6656.,-2880.,270.)
set u=CreateUnit(p,'ngad',6528.,-1344.,270.)
set udg_unit128=CreateUnit(p,'n01C',5888.,-1408.,270.)
call SetUnitColor(udg_unit128,ConvertPlayerColor(0))
set udg_unit81=CreateUnit(p,'unp2',4736.,-2112.,270.)
set udg_unit82=CreateUnit(p,'usep',4224.,-1024.,270.)
set udg_unit83=CreateUnit(p,'usep',4288.,-3328.,270.)
set u=CreateUnit(p,'uzg1',4512.,-2656.,270.)
set u=CreateUnit(p,'uzg1',4512.,-1568.,270.)
set u=CreateUnit(p,'negf',2944.,-3200.,270.)
set u=CreateUnit(p,'negf',3520.,-4352.,270.)
set u=CreateUnit(p,'negf',3072.,-2752.,270.)
set u=CreateUnit(p,'nntg',3200.,-1152.,270.)
set u=CreateUnit(p,'negf',3072.,-832.,270.)
set u=CreateUnit(p,'negf',3776.,192.,270.)
set u=CreateUnit(p,'negf',3776.,-3904.,270.)
set u=CreateUnit(p,'negf',3520.,-3328.,270.)
set u=CreateUnit(p,'negf',3584.,-896.,270.)
set u=CreateUnit(p,'n00T',3989.9,-416.7,270.)
set u=CreateUnit(p,'negf',3968.,-2688.,270.)
set u=CreateUnit(p,'negf',3968.,-1536.,270.)
set u=CreateUnit(p,'n00T',3648.,-2688.,270.)
set u=CreateUnit(p,'uzg1',5728.,-992.,270.)
set u=CreateUnit(p,'uzg1',5472.,-3424.,270.)
set u=CreateUnit(p,'negf',5120.,-960.,270.)
set u=CreateUnit(p,'owtw',3776.,-3136.,270.)
set u=CreateUnit(p,'n00T',4172.5,-3781.1,270.)
set u=CreateUnit(p,'n00T',3648.,-1536.,270.)
set u=CreateUnit(p,'owtw',3840.,-1152.,270.)
set u=CreateUnit(p,'owtw',4352.,-576.,270.)
set u=CreateUnit(p,'owtw',2944.,-448.,270.)
set u=CreateUnit(p,'owtw',3200.,192.,270.)
set u=CreateUnit(p,'owtw',2368.,832.,270.)
set u=CreateUnit(p,'owtw',2112.,-448.,270.)
set u=CreateUnit(p,'owtw',2432.,128.,270.)
set u=CreateUnit(p,'owtw',3584.,-448.,270.)
set u=CreateUnit(p,'owtw',3264.,-1984.,270.)
set u=CreateUnit(p,'owtw',2496.,-1600.,270.)
set u=CreateUnit(p,'owtw',2496.,-2368.,270.)
set u=CreateUnit(p,'owtw',1856.,-1216.,270.)
set u=CreateUnit(p,'owtw',1856.,-2624.,270.)
set u=CreateUnit(p,'owtw',3392.,-3776.,270.)
set u=CreateUnit(p,'owtw',2688.,-3584.,270.)
set u=CreateUnit(p,'owtw',2688.,-4224.,270.)
set u=CreateUnit(p,'owtw',2240.,-4672.,270.)
set u=CreateUnit(p,'owtw',2176.,-3328.,270.)
set u=CreateUnit(p,'owtw',2048.,-1984.,270.)
set u=CreateUnit(p,'owtw',2240.,-3904.,270.)
set u=CreateUnit(p,'owtw',5440.,-832.,270.)
set u=CreateUnit(p,'owtw',5184.,-3520.,270.)
set u=CreateUnit(p,'negf',2240.,-1600.,270.)
set u=CreateUnit(p,'negf',2240.,-2368.,270.)
set u=CreateUnit(p,'utom',5952.,-2880.,270.)
set u=CreateUnit(p,'otrb',7008.,-1888.,270.)
set udg_unit75=CreateUnit(p,'ncp2',6944.,-3744.,270.)
set udg_unit61=CreateUnit(p,'n01W',6240.,-1376.,270.)
set u=CreateUnit(p,'usap',6528.,-1728.,270.)
set u=CreateUnit(p,'owtw',3264.,576.,270.)
set u=CreateUnit(p,'owtw',3008.,-4544.,270.)
set u=CreateUnit(p,'negf',3136.,-1344.,270.)
set u=CreateUnit(p,'nntg',3328.,-4352.,270.)
set u=CreateUnit(p,'uzg1',7200.,-2144.,270.)
set u=CreateUnit(p,'n00L',6912.,-2688.,270.)
set u=CreateUnit(p,'n00L',6848.,-1536.,270.)
set u=CreateUnit(p,'o005',6528.,-2496.,270.)
set u=CreateUnit(p,'n00P',5184.,-3072.,270.)
set u=CreateUnit(p,'n00P',5248.,-1088.,270.)
set u=CreateUnit(p,'u00D',5504.,-1344.,270.)
set u=CreateUnit(p,'negf',5056.,-3200.,270.)
set u=CreateUnit(p,'nntg',3072.,-3008.,270.)
set u=CreateUnit(p,'nntg',3584.,384.,270.)
set p=Player(15)
set udg_unit129=CreateUnit(p,'N000',-168.2,5864.,270.)
call SetUnitState(udg_unit129,UNIT_STATE_MANA,255)
set udg_unit69=CreateUnit(p,'nech',-2.8,5846.1,270.)
set u=CreateUnit(p,'hprt',-2194.2,2838.2,135.)
set u=CreateUnit(p,'hprt',2197.1,2837.9,45.)
set udg_unit139=CreateUnit(p,'Otch',149.4,5846.1,270.)
set udg_unit132=CreateUnit(p,'O004',94.6,6025.8,270.)
call SetUnitState(udg_unit132,UNIT_STATE_MANA,240)
set udg_unit118=CreateUnit(p,'Eill',-111.8,5995.8,270.)
call SetUnitState(udg_unit118,UNIT_STATE_MANA,240)
set p=Player(0)
set u=CreateUnit(p,'nshe',-4077.6,3965.8,145.)
set p=Player(1)
set u=CreateUnit(p,'nshe',-4053.8,4011.2,145.)
set p=Player(2)
set u=CreateUnit(p,'nshe',-4034.9,4055.8,145.)
set p=Player(3)
set u=CreateUnit(p,'nshe',-4112.5,4021.1,145.)
set p=Player(4)
set u=CreateUnit(p,'nshe',-4088.7,4065.6,145.)
set p=Player(5)
set udg_unit101=CreateUnit(p,'Huth',-6082.7,-1772.4,.0)
call SetHeroLevel(udg_unit101,25,false)
call UnitAddItemToSlotById(udg_unit101,'nspi',0)
call UnitAddItemToSlotById(udg_unit101,'gemt',1)
set p=Player(6)
set u=CreateUnit(p,'npig',4139.8,3941.2,145.)
set p=Player(7)
set u=CreateUnit(p,'npig',4172.6,3983.2,145.)
set p=Player(8)
set u=CreateUnit(p,'npig',4205.9,4030.6,145.)
set p=Player(9)
set u=CreateUnit(p,'npig',4109.9,3997.2,145.)
set p=Player(10)
set u=CreateUnit(p,'npig',4143.4,4050.5,145.)
set p=Player(11)
set udg_unit96=CreateUnit(p,'Utic',6827.8,-2193.8,180.)
call SetHeroLevel(udg_unit96,25,false)
call UnitAddItemToSlotById(udg_unit96,'nspi',0)
call UnitAddItemToSlotById(udg_unit96,'gemt',1)
set i=0
set i=0
loop
exitwhen(i>12)
set udg_booleans01[i]=false
set udg_strings02[i]=""
set udg_integers01[i]=0
set udg_integers04[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>20)
set udg_strings01[i]=""
set udg_integers05[i]=0
set udg_booleans04[i]=true
set udg_booleans05[i]=false
set udg_booleans06[i]=false
set udg_integers06[i]=0
set udg_integers07[i]=0
set udg_booleans07[i]=false
set udg_booleans08[i]=false
set udg_integers12[i]=0
set i=i+1
endloop
set udg_dialog01=DialogCreate()
set i=0
loop
exitwhen(i>39)
set udg_booleans02[i]=false
set udg_integers02[i]=0
set udg_booleans03[i]=false
set udg_integers03[i]=0
set udg_booleans12[i]=true
set udg_booleans13[i]=true
set i=i+1
endloop
set udg_dialog02=DialogCreate()
set i=0
loop
exitwhen(i>1)
set udg_booleans09[i]=false
set udg_integers08[i]=0
set udg_booleans10[i]=false
set udg_triggers01[i]=CreateTrigger()
set udg_booleans11[i]=false
set udg_integers13[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>2)
set udg_integers11[i]=0
set i=i+1
endloop
call TriggerRegisterTimerEventSingle(udg_trigger02,1.)
call TriggerAddAction(udg_trigger02,function Trig_Message_Actions)
call TriggerAddAction(udg_trigger03,function Trig_Version_Information_Actions)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(0),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(1),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(2),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(3),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(4),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(6),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(7),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(8),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(9),EVENT_PLAYER_LEAVE)
call TriggerRegisterPlayerEvent(udg_trigger04,Player(10),EVENT_PLAYER_LEAVE)
call TriggerAddAction(udg_trigger04,function Trig_Update_LeaderBoard_Players_Leave_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger05,Player(11),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger05,Condition(function Trig_Update_LeaderBoard_GoodSide_Add_Conditions))
call TriggerAddAction(udg_trigger05,function Trig_Update_LeaderBoard_GoodSide_Add_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger06,Player(5),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger06,Condition(function Trig_Update_LeaderBoard_BadSide_Add_Conditions))
call TriggerAddAction(udg_trigger06,function Trig_Update_LeaderBoard_BadSide_Add_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger07,2.)
call TriggerAddAction(udg_trigger07,function Trig_Setup_LeaderBoard_Actions)
call TriggerAddAction(udg_trigger08,function Trig_TimerzBegin_Actions)
call TriggerAddAction(udg_trigger09,function Trig_TimerTourney_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger10,Player(0),"-rs",true)
call TriggerRegisterPlayerChatEvent(udg_trigger10,Player(6),"-rs",true)
call TriggerAddAction(udg_trigger10,function Trig_rs_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger11,15.)
call TriggerAddAction(udg_trigger11,function Trig_rs_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger12,Player(0),"-nr",true)
call TriggerRegisterPlayerChatEvent(udg_trigger12,Player(6),"-nr",true)
call TriggerAddAction(udg_trigger12,function Trig_nr_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger13,15.)
call TriggerAddAction(udg_trigger13,function Trig_nr_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger14,Player(0),"-nf",true)
call TriggerRegisterPlayerChatEvent(udg_trigger14,Player(6),"-nf",true)
call TriggerAddAction(udg_trigger14,function Trig_nf_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger15,15.)
call TriggerAddAction(udg_trigger15,function Trig_nf_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(0),"-tr",true)
call TriggerRegisterPlayerChatEvent(udg_trigger16,Player(6),"-tr",true)
call TriggerAddAction(udg_trigger16,function Trig_tr_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger17,20.)
call TriggerAddAction(udg_trigger17,function Trig_tr_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(0),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(1),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(2),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(3),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(4),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(6),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(7),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(8),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(9),"-ob",true)
call TriggerRegisterPlayerChatEvent(udg_trigger18,Player(10),"-ob",true)
call TriggerAddAction(udg_trigger18,function Trig_ob_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger19,15.)
call TriggerAddAction(udg_trigger19,function Trig_ob_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger20,Player(0),"-na",true)
call TriggerRegisterPlayerChatEvent(udg_trigger20,Player(6),"-na",true)
call TriggerAddAction(udg_trigger20,function Trig_na_mode_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger21,15.)
call TriggerAddAction(udg_trigger21,function Trig_na_off_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(0),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(1),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(2),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(3),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(4),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(6),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(7),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(8),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(9),"-mod",true)
call TriggerRegisterPlayerChatEvent(udg_trigger22,Player(10),"-mod",true)
call TriggerAddAction(udg_trigger22,function Trig_Moderator_Init_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(0),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(1),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(2),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(3),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(4),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(6),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(7),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(8),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(9),"-p1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger23,Player(10),"-p1",true)
call TriggerAddCondition(udg_trigger23,Condition(function Trig_P1_Resource_Conditions))
call TriggerAddAction(udg_trigger23,function Trig_P1_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(0),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(1),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(2),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(3),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(4),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(6),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(7),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(8),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(9),"-p2",true)
call TriggerRegisterPlayerChatEvent(udg_trigger24,Player(10),"-p2",true)
call TriggerAddCondition(udg_trigger24,Condition(function Trig_P2_Resource_Conditions))
call TriggerAddAction(udg_trigger24,function Trig_P2_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(0),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(1),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(2),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(3),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(4),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(6),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(7),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(8),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(9),"-p3",true)
call TriggerRegisterPlayerChatEvent(udg_trigger25,Player(10),"-p3",true)
call TriggerAddCondition(udg_trigger25,Condition(function Trig_P3_Resource_Conditions))
call TriggerAddAction(udg_trigger25,function Trig_P3_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(0),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(1),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(2),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(3),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(4),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(6),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(7),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(8),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(9),"-p4",true)
call TriggerRegisterPlayerChatEvent(udg_trigger26,Player(10),"-p4",true)
call TriggerAddCondition(udg_trigger26,Condition(function Trig_P4_Resource_Conditions))
call TriggerAddAction(udg_trigger26,function Trig_P4_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(0),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(1),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(2),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(3),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(4),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(6),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(7),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(8),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(9),"-p5",true)
call TriggerRegisterPlayerChatEvent(udg_trigger27,Player(10),"-p5",true)
call TriggerAddCondition(udg_trigger27,Condition(function Trig_P5_Resource_Conditions))
call TriggerAddAction(udg_trigger27,function Trig_P5_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(0),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(1),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(2),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(3),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(4),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(6),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(7),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(8),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(9),"-p7",true)
call TriggerRegisterPlayerChatEvent(udg_trigger28,Player(10),"-p7",true)
call TriggerAddCondition(udg_trigger28,Condition(function Trig_P7_Resource_Conditions))
call TriggerAddAction(udg_trigger28,function Trig_P7_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(0),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(1),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(2),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(3),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(4),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(6),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(7),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(8),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(9),"-p8",true)
call TriggerRegisterPlayerChatEvent(udg_trigger29,Player(10),"-p8",true)
call TriggerAddCondition(udg_trigger29,Condition(function Trig_P8_Resource_Conditions))
call TriggerAddAction(udg_trigger29,function Trig_P8_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(0),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(1),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(2),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(3),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(4),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(6),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(7),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(8),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(9),"-p9",true)
call TriggerRegisterPlayerChatEvent(udg_trigger30,Player(10),"-p9",true)
call TriggerAddCondition(udg_trigger30,Condition(function Trig_P9_Resource_Conditions))
call TriggerAddAction(udg_trigger30,function Trig_P9_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(0),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(1),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(2),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(3),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(4),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(6),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(7),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(8),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(9),"-p10",true)
call TriggerRegisterPlayerChatEvent(udg_trigger31,Player(10),"-p10",true)
call TriggerAddCondition(udg_trigger31,Condition(function Trig_P10_Resource_Conditions))
call TriggerAddAction(udg_trigger31,function Trig_P10_Resource_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(0),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(1),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(2),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(3),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(4),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(6),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(7),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(8),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(9),"-p11",true)
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(10),"-p11",true)
call TriggerAddCondition(udg_trigger32,Condition(function Trig_P11_Resource_Conditions))
call TriggerAddAction(udg_trigger32,function Trig_P11_Resource_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger33,30.)
call TriggerAddAction(udg_trigger33,function Trig_Moderator_Off_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger34,udg_rect110)
call TriggerAddAction(udg_trigger34,function Trig_Hero_Move_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger35,5.)
call TriggerAddAction(udg_trigger35,function Trig_Kill_Chicken_Actions)
call TriggerAddAction(udg_trigger36,function Trig_Inferno_Actions)
call TriggerAddAction(udg_trigger37,function Trig_Alliance_Actions)
call TriggerRegisterTimerEventPeriodic(udg_trigger38,1.)
call TriggerAddAction(udg_trigger38,function Trig_Global_Timer_Actions)
call TriggerAddAction(udg_trigger39,function Trig_Camera_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger40,55.)
call TriggerAddAction(udg_trigger40,function Trig_Count60_Actions)
call TriggerAddAction(udg_trigger41,function Trig_CountPlayers_Actions)
call TriggerAddAction(udg_trigger42,function Trig_VariablesInitialization_Actions)
call TriggerAddAction(udg_trigger43,function Trig_BountyON_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger44,.01)
call TriggerAddAction(udg_trigger45,function Trig_Visibility_Actions)
call TriggerAddAction(udg_trigger46,function Trig_HeroInit_Actions)
call TriggerAddAction(udg_trigger47,function Trig_UnlimitedFood_Actions)
call TriggerAddAction(udg_trigger48,function Trig_KillPlayerlessUnits_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger49,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger49,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger49,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger49,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger49,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger49,Condition(function Trig_Fast_Kills_Trig_Conditions2))
call TriggerAddAction(udg_trigger49,function Trig_Fast_Kills_Trig_Actions2)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger50,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger50,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger50,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger50,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger50,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger50,Condition(function Trig_Fast_Kills_Trig_Conditions))
call TriggerAddAction(udg_trigger50,function Trig_Fast_Kills_Trig_Actions)
call TriggerRegisterUnitEvent(udg_trigger51,udg_unit118,EVENT_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger51,Condition(function Trig_Cyborg_FS_Finish_Conditions))
call TriggerAddAction(udg_trigger51,function Trig_Cyborg_FS_Finish_Actions)
call TriggerRegisterUnitEvent(udg_trigger52,udg_unit118,EVENT_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger52,Condition(function Trig_Cyborg_FS_Finish_Copy_Conditions))
call TriggerAddAction(udg_trigger52,function Trig_Cyborg_FS_Finish_Copy_Actions)
call TriggerRegisterUnitEvent(udg_trigger53,udg_unit118,EVENT_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger53,Condition(function Trig_Cyborg_FS_Start_Conditions))
call TriggerAddAction(udg_trigger53,function Trig_Cyborg_FS_Start_Actions)
call TriggerRegisterUnitEvent(udg_trigger54,udg_unit132,EVENT_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger54,Condition(function Trig_Ninja_NS_Conditions))
call TriggerAddAction(udg_trigger54,function Trig_Ninja_NS_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger55,1920.)
call TriggerAddAction(udg_trigger55,function Trig_DLaser_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger56,1920.)
call TriggerAddAction(udg_trigger56,function Trig_GLaser_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger57,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger57,Condition(function Trig_Kills_Conditions))
call TriggerAddAction(udg_trigger57,function Trig_Kills_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger58,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger58,Condition(function Trig_No2Ankh_Conditions))
call TriggerAddAction(udg_trigger58,function Trig_No2Ankh_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger59,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger59,Condition(function Trig_No2TP_Conditions))
call TriggerAddAction(udg_trigger59,function Trig_No2TP_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger60,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger60,Condition(function Trig_NoSteelSkin_Conditions))
call TriggerAddAction(udg_trigger60,function Trig_NoSteelSkin_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger61,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger61,Condition(function Trig_NoFanatic_Conditions))
call TriggerAddAction(udg_trigger61,function Trig_NoFanatic_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger62,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger62,Condition(function Trig_NoWirt_Conditions))
call TriggerAddAction(udg_trigger62,function Trig_NoWirt_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger63,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger63,Condition(function Trig_NoGhoaul_Conditions))
call TriggerAddAction(udg_trigger63,function Trig_NoGhoaul_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger64,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger64,Condition(function Trig_NoSantex_Conditions))
call TriggerAddAction(udg_trigger64,function Trig_NoSantex_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger65,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger65,Condition(function Trig_NoNemesis_Conditions))
call TriggerAddAction(udg_trigger65,function Trig_NoNemesis_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger66,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger66,Condition(function Trig_NoToranaga_Conditions))
call TriggerAddAction(udg_trigger66,function Trig_NoToranaga_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger67,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger67,Condition(function Trig_NoAttila_Conditions))
call TriggerAddAction(udg_trigger67,function Trig_NoAttila_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger68,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger68,Condition(function Trig_NoMystical_Conditions))
call TriggerAddAction(udg_trigger68,function Trig_NoMystical_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger69,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger69,Condition(function Trig_NoFireLance_Conditions))
call TriggerAddAction(udg_trigger69,function Trig_NoFireLance_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger70,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger70,Condition(function Trig_NoFrostLance_Conditions))
call TriggerAddAction(udg_trigger70,function Trig_NoFrostLance_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger71,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger71,Condition(function Trig_NoMysticalShield_Conditions))
call TriggerAddAction(udg_trigger71,function Trig_NoMysticalShield_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger72,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger72,Condition(function Trig_NoZalmoxes_Conditions))
call TriggerAddAction(udg_trigger72,function Trig_NoZalmoxes_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger73,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger73,Condition(function Trig_NoArmourLight_Conditions))
call TriggerAddAction(udg_trigger73,function Trig_NoArmourLight_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger74,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger74,Condition(function Trig_NoArmourStrength_Conditions))
call TriggerAddAction(udg_trigger74,function Trig_NoArmourStrength_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger75,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger75,Condition(function Trig_NoArmourMages_Conditions))
call TriggerAddAction(udg_trigger75,function Trig_NoArmourMages_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger76,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger76,Condition(function Trig_NoArmourRock_Conditions))
call TriggerAddAction(udg_trigger76,function Trig_NoArmourRock_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger77,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger77,Condition(function Trig_NoArmourGods_Conditions))
call TriggerAddAction(udg_trigger77,function Trig_NoArmourGods_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger78,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger78,Condition(function Trig_NoClaws1_Conditions))
call TriggerAddAction(udg_trigger78,function Trig_NoClaws1_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger79,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger79,Condition(function Trig_NoClaws2_Conditions))
call TriggerAddAction(udg_trigger79,function Trig_NoClaws2_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger80,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger80,Condition(function Trig_NoClaws3_Conditions))
call TriggerAddAction(udg_trigger80,function Trig_NoClaws3_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger81,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger81,Condition(function Trig_NoRing1_Conditions))
call TriggerAddAction(udg_trigger81,function Trig_NoRing1_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger82,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger82,Condition(function Trig_NoRing2_Conditions))
call TriggerAddAction(udg_trigger82,function Trig_NoRing2_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger83,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger83,Condition(function Trig_NoRing3_Conditions))
call TriggerAddAction(udg_trigger83,function Trig_NoRing3_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger84,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger84,Condition(function Trig_NoOneRing1_Conditions))
call TriggerAddAction(udg_trigger84,function Trig_NoOneRing1_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger85,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger85,Condition(function Trig_NoMagiAmulet_Conditions))
call TriggerAddAction(udg_trigger85,function Trig_NoMagiAmulet_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger86,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger86,Condition(function Trig_NoOneRing3_Conditions))
call TriggerAddAction(udg_trigger86,function Trig_NoOneRing3_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger87,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger87,Condition(function Trig_NoMysClaws_Conditions))
call TriggerAddAction(udg_trigger87,function Trig_NoMysClaws_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger88,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger88,Condition(function Trig_NoAszune_Conditions))
call TriggerAddAction(udg_trigger88,function Trig_NoAszune_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger89,Player(0),EVENT_PLAYER_UNIT_SUMMON)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger89,Player(1),EVENT_PLAYER_UNIT_SUMMON)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger89,Player(2),EVENT_PLAYER_UNIT_SUMMON)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger89,Player(3),EVENT_PLAYER_UNIT_SUMMON)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger89,Player(4),EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger89,Condition(function Trig_Time_Stop_Conditions))
call TriggerAddAction(udg_trigger89,function Trig_Time_Stop_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger90,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger90,Condition(function Trig_Time_Stop_SFX_Conditions))
call TriggerAddAction(udg_trigger90,function Trig_Time_Stop_SFX_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger91,Player(0),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger91,Player(1),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger91,Player(2),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger91,Player(3),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger91,Player(4),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger91,Condition(function Trig_Resurrection_Conditions))
call TriggerAddAction(udg_trigger91,function Trig_Resurrection_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(6),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(7),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(8),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(9),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger92,Player(10),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger92,Condition(function Trig_Suicide_Conditions))
call TriggerAddAction(udg_trigger92,function Trig_Suicide_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(0),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(1),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(2),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(3),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger93,Player(4),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger93,Condition(function Trig_Suicide_Conditions2))
call TriggerAddAction(udg_trigger93,function Trig_Suicide_Actions2)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(6),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(7),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(8),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(9),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger94,Player(10),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger94,Condition(function Trig_Kaboom_Detect_Bad_Conditions))
call TriggerAddAction(udg_trigger94,function Trig_Kaboom_Detect_Bad_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(0),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(1),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(2),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(3),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger95,Player(4),EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger95,Condition(function Trig_Kaboom_Detect_Good_Conditions))
call TriggerAddAction(udg_trigger95,function Trig_Kaboom_Detect_Good_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger96,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger96,Condition(function Trig_Ravage_Conditions))
call TriggerAddAction(udg_trigger96,function Trig_Ravage_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger97,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger97,Condition(function Trig_Chronosphere_Conditions))
call TriggerAddAction(udg_trigger97,function Trig_Chronosphere_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger98,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger98,Condition(function Trig_Effect_Omnislash_Conditions))
call TriggerAddAction(udg_trigger98,function Trig_Effect_Omnislash_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger99,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger99,Condition(function Trig_Blink_Storm_Fast_JASS_Conditions))
call TriggerAddAction(udg_trigger99,function Trig_Blink_Storm_Fast_JASS_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(0),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(1),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(2),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(3),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger100,Player(4),EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger100,Condition(function Trig_Freezing_Breath_Conditions))
call TriggerAddAction(udg_trigger100,function Trig_Freezing_Breath_Actions)
call TriggerAddAction(udg_trigger101,function Trig_Freezing_Breath_Mana_Actions)
call TriggerAddAction(udg_trigger102,function Trig_Freezing_Breath_Stop_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger103,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger103,Condition(function Trig_Divine_Intervention_Conditions))
call TriggerAddAction(udg_trigger103,function Trig_Divine_Intervention_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger104,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger104,Condition(function Entrapment_Conditions))
call TriggerAddAction(udg_trigger104,function Entrapment_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger105,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger105,Condition(function Trig_Dark_Triumph_Conditions))
call TriggerAddAction(udg_trigger105,function Trig_Dark_Triumph_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger106,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger106,Condition(function Trig_Elemental_Fury_Conditions))
call TriggerAddAction(udg_trigger106,function Trig_Elemental_Fury_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger107,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger107,Condition(function Trig_Outraged_Ferocity_Conditions))
call TriggerAddAction(udg_trigger107,function Trig_Outraged_Ferocity_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger108,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger108,Condition(function Trig_Elemental_Fury_Saved_Point_Conditions))
call TriggerAddAction(udg_trigger108,function Trig_Elemental_Fury_Saved_Point_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger109,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger109,Condition(function Trig_Elemental_Fury_Saved_Point_2_Conditions))
call TriggerAddAction(udg_trigger109,function Trig_Elemental_Fury_Saved_Point_2_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger110,bj_mapInitialPlayableArea)
call TriggerAddCondition(udg_trigger110,Condition(function Trig_Lightning_Ball_Enters_Conditions))
call TriggerAddAction(udg_trigger110,function Trig_Lightning_Ball_Enters_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger111,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger111,Condition(function Trig_Guardian_Conditions))
call TriggerAddAction(udg_trigger111,function Trig_Guardian_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger112,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger112,Condition(function Trig_Flamer_Conditions))
call TriggerAddAction(udg_trigger112,function Trig_Flamer_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger113,bj_mapInitialPlayableArea)
call TriggerAddCondition(udg_trigger113,Condition(function Trig_Lightning_Ball_Enters_Copy_Conditions))
call TriggerAddAction(udg_trigger113,function Trig_Lightning_Ball_Enters_Copy_Actions)
set i=0
set t1=CreateTrigger()
set t2=CreateTrigger()
set g=CreateTrigger()
loop
exitwhen i>11
if(GetPlayerSlotState(Player(i))==PLAYER_SLOT_STATE_PLAYING)then
call TriggerRegisterPlayerUnitEventSimple(t1,Player(i),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerRegisterPlayerUnitEventSimple(t2,Player(i),EVENT_PLAYER_UNIT_SPELL_ENDCAST)
endif
set i=i+1
endloop
call TriggerRegisterAnyUnitEventBJ(udg_trigger115,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger115,Condition(function Trig_Elune_Conditions))
call TriggerAddAction(udg_trigger115,function Trig_Elune_Actions)
call DisableTrigger(udg_trigger116)
call TriggerRegisterTimerEventPeriodic(udg_trigger116,.03)
call TriggerAddAction(udg_trigger116,function Trig_Elune_Damage_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger117,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger117,Condition(function Trig_Scatter_Shot_Conditions))
call TriggerAddAction(udg_trigger117,function Trig_Scatter_Shot_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger118,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger118,Condition(function Trig_Tsunami_SFX_Conditions))
call TriggerAddAction(udg_trigger118,function Trig_Tsunami_SFX_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger119,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger119,Condition(function Trig_Oscillation_Conditions))
call TriggerAddAction(udg_trigger119,function Trig_Oscillation_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger120,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger120,Condition(function Trig_Oscillation_Image_Conditions))
call TriggerAddAction(udg_trigger120,function Trig_Oscillation_Image_Actions)
call TriggerAddAction(udg_trigger121,function Trig_Destroy_FX_Oscillation_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger122,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger123,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger123,Condition(function Trig_Light_Aura_Conditions))
call TriggerRegisterAnyUnitEventBJ(udg_trigger124,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger124,Condition(function Trig_Tome_Retain_Light_Conditions))
call TriggerAddAction(udg_trigger124,function Trig_Tome_Retain_Light_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger125,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger126,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger126,Condition(function Trig_Sagacity_Conditions))
call TriggerAddAction(udg_trigger126,function Trig_Sagacity_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger127,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger127,Condition(function Trig_Tome_Retain_Sagacity_Conditions))
call TriggerAddAction(udg_trigger127,function Trig_Tome_Retain_Sagacity_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger128,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger129,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger129,Condition(function Trig_Deadfall_Conditions))
call TriggerAddAction(udg_trigger129,function Trig_Deadfall_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger130,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger130,Condition(function Trig_Tome_Retain_Deadfall_Conditions))
call TriggerAddAction(udg_trigger130,function Trig_Tome_Retain_Deadfall_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger131,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger131,Condition(function Trig_Demonic_Fate_Conditions))
call TriggerAddAction(udg_trigger131,function Trig_Demonic_Fate_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger133,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger133,Condition(function Trig_Mana_Discharge_Conditions))
call TriggerAddAction(udg_trigger133,function Trig_Mana_Discharge_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger136,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger136,Condition(function Trig_Flame_Walk_Conditions))
call TriggerAddAction(udg_trigger136,function Trig_Flame_Walk_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger137,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger137,Condition(function Trig_Volcanic_Shard_Conditions))
call TriggerAddAction(udg_trigger137,function Trig_Volcanic_Shard_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger138,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger138,Condition(function Trig_Fulmination_Conditions))
call TriggerAddAction(udg_trigger138,function Trig_Fulmination_Actions)
call TriggerAddAction(udg_trigger139,function Trig_DestroyFX_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger140,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger141,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger141,Condition(function Trig_Impaler_Conditions))
call TriggerAddAction(udg_trigger141,function Trig_Impaler_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger142,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger142,Condition(function Trig_Tome_Retain_Impaler_Conditions))
call TriggerAddAction(udg_trigger142,function Trig_Tome_Retain_Impaler_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger143,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger143,Condition(function Trig_Oxidization_Conditions))
call TriggerAddAction(udg_trigger143,function Trig_Oxidization_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger148,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger148,Condition(function Trig_Voodoo_Shield_Conditions))
call TriggerAddAction(udg_trigger148,function Trig_Voodoo_Shield_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger149,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger149,Condition(function Trig_Savage_Conditions))
call TriggerAddAction(udg_trigger149,function Trig_Savage_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger150,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger150,Condition(function Trig_Sacrifice_Conditions))
call TriggerAddAction(udg_trigger150,function Trig_Sacrifice_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger151,EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger151,Condition(function Trig_Stardom_Conditions))
call TriggerAddAction(udg_trigger151,function Trig_Stardom_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger152,EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerAddCondition(udg_trigger152,Condition(function Trig_Nature_Wraith_Conditions))
call TriggerAddAction(udg_trigger152,function Trig_Nature_Wraith_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger153,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger153,Condition(function Trig_Enflame_1_Conditions))
call TriggerAddAction(udg_trigger153,function Trig_Enflame_1_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger154,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger154,Condition(function Trig_Enflame_2_Conditions))
call TriggerAddAction(udg_trigger154,function Trig_Enflame_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger155,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger155,Condition(function Trig_Enflame_3_Conditions))
call TriggerAddAction(udg_trigger155,function Trig_Enflame_3_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger156,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger156,Condition(function Trig_Enflame_4_Conditions))
call TriggerAddAction(udg_trigger156,function Trig_Enflame_4_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger157,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger157,Condition(function Trig_Plunder_1_Conditions))
call TriggerAddAction(udg_trigger157,function Trig_Plunder_1_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger158,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger158,Condition(function Trig_Plunder_2_Conditions))
call TriggerAddAction(udg_trigger158,function Trig_Plunder_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger159,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger159,Condition(function Trig_Plunder_3_Conditions))
call TriggerAddAction(udg_trigger159,function Trig_Plunder_3_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger160,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger160,Condition(function Trig_Plunder_4_Conditions))
call TriggerAddAction(udg_trigger160,function Trig_Plunder_4_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger161,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger161,Condition(function Trig_Meteorite_Conditions))
call TriggerAddAction(udg_trigger161,function Trig_Meteorite_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger162,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger162,Condition(function Trig_Meteorite_2_Conditions))
call TriggerAddAction(udg_trigger162,function Trig_Meteorite_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger163,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger163,Condition(function Trig_Fire_issueOrderPoint_Conditions))
call TriggerAddAction(udg_trigger163,function Trig_Fire_issueOrderPoint_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger164,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger164,Condition(function Trig_Fire_SFX_Conditions))
call TriggerAddAction(udg_trigger164,function Trig_Fire_SFX_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger165,EVENT_PLAYER_UNIT_SPELL_FINISH)
call TriggerAddCondition(udg_trigger165,Condition(function Trig_Divine_Meditation_Cast_Conditions))
call TriggerAddAction(udg_trigger165,function Trig_Divine_Meditation_Cast_Actions)
call TriggerRegisterTimerEventPeriodic(udg_trigger166,1.)
call TriggerAddCondition(udg_trigger166,Condition(function Trig_Divine_Meditation_Heal_Conditions))
call TriggerAddAction(udg_trigger166,function Trig_Divine_Meditation_Heal_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger167,EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger167,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger167,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger167,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger167,Condition(function Trig_Divine_Meditation_Stop_Conditions))
call TriggerAddAction(udg_trigger167,function Trig_Divine_Meditation_Stop_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger168,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger168,Condition(function Trig_Trapper_1_Conditions))
call TriggerAddAction(udg_trigger168,function Trig_Trapper_1_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger169,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger169,Condition(function Trig_Trapper_2_Conditions))
call TriggerAddAction(udg_trigger169,function Trig_Trapper_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger170,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger170,Condition(function Trig_Steal_Soul_Conditions))
call TriggerAddAction(udg_trigger170,function Trig_Steal_Soul_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger171,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger171,Condition(function Trig_Steal_Soul_2_Conditions))
call TriggerAddAction(udg_trigger171,function Trig_Steal_Soul_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger172,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger172,Condition(function Trig_Claws_Attack_1_Conditions))
call TriggerAddAction(udg_trigger172,function Trig_Claws_Attack_1_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger173,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger173,Condition(function Trig_Claws_Attack_2_Conditions))
call TriggerAddAction(udg_trigger173,function Trig_Claws_Attack_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger174,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger175,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger175,Condition(function Trig_Serenity_Aura_Conditions))
call TriggerAddAction(udg_trigger175,function Trig_Serenity_Aura_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger176,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger176,Condition(function Trig_Tome_Retain_Serenity_Conditions))
call TriggerAddAction(udg_trigger176,function Trig_Tome_Retain_Serenity_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger177,EVENT_PLAYER_HERO_SKILL)
call TriggerRegisterAnyUnitEventBJ(udg_trigger178,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger178,Condition(function Trig_Release_Soul_Level_1_Conditions))
call TriggerAddAction(udg_trigger178,function Trig_Release_Soul_Level_1_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger179,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger179,Condition(function Trig_Release_Soul_Level_2_Conditions))
call TriggerAddAction(udg_trigger179,function Trig_Release_Soul_Level_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger180,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger180,Condition(function Trig_Release_Soul_Level_3_Conditions))
call TriggerAddAction(udg_trigger180,function Trig_Release_Soul_Level_3_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger181,EVENT_PLAYER_UNIT_SUMMON)
call TriggerAddCondition(udg_trigger181,Condition(function Trig_Release_Soul_Level_4_Conditions))
call TriggerAddAction(udg_trigger181,function Trig_Release_Soul_Level_4_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger182,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(udg_trigger182,Condition(function Trig_Tome_Retain_Hell_Conditions))
call TriggerAddAction(udg_trigger182,function Trig_Tome_Retain_Hell_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger183,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger183,Condition(function Trig_Start_Unit_Storage_Conditions))
call TriggerAddAction(udg_trigger183,function Trig_Start_Unit_Storage_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger184,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger184,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger184,EVENT_PLAYER_UNIT_ISSUED_ORDER)
call TriggerRegisterAnyUnitEventBJ(udg_trigger184,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger184,Condition(function Trig_Spell_Check_Conditions))
call TriggerAddAction(udg_trigger184,function Trig_Spell_Check_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger185,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger185,Condition(function Trig_Spell_Cast_Conditions))
call TriggerAddAction(udg_trigger185,function Trig_Spell_Cast_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger186,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger186,Condition(function Trig_Spell_End_Conditions))
call TriggerAddAction(udg_trigger186,function Trig_Spell_End_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger187,EVENT_PLAYER_UNIT_SPELL_ENDCAST)
call TriggerAddCondition(udg_trigger187,Condition(function Trig_Invulnerable_Conditions))
call TriggerAddAction(udg_trigger187,function Trig_Invulnerable_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger188,EVENT_PLAYER_UNIT_SPELL_ENDCAST)
call TriggerAddCondition(udg_trigger188,Condition(function Trig_Create_Tentacles_Conditions))
call TriggerAddAction(udg_trigger188,function Trig_Create_Tentacles_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger189,bj_mapInitialPlayableArea)
call TriggerAddCondition(udg_trigger189,Condition(function Trig_Tentacle_Enters_Conditions))
call TriggerAddAction(udg_trigger189,function Trig_Tentacle_Enters_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger190,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerRegisterAnyUnitEventBJ(udg_trigger190,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger190,Condition(function Trig_Unburrow_begins_Conditions))
call TriggerAddAction(udg_trigger190,function Trig_Unburrow_begins_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger191,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger191,Condition(function Trig_Tentacle_Dies_Conditions))
call TriggerAddAction(udg_trigger191,function Trig_Tentacle_Dies_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger192,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger192,Condition(function Trig_Critical_Strike_X_Conditions))
call TriggerAddAction(udg_trigger192,function Trig_Critical_Strike_X_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger193,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger193,Condition(function Trig_Cloaking_Stealth_Conditions))
call TriggerAddAction(udg_trigger193,function Trig_Cloaking_Stealth_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger194,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger194,Condition(function Trig_Cloaking_Sobe_Conditions))
call TriggerAddAction(udg_trigger194,function Trig_Cloaking_Sobe_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger195,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger195,Condition(function Trig_Shock_Blaster_Conditions))
call TriggerAddAction(udg_trigger195,function Trig_Shock_Blaster_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger196,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger196,Condition(function Trig_Ambush_Conditions))
call TriggerAddAction(udg_trigger196,function Trig_Ambush_Actions)
call TriggerAddAction(udg_trigger197,function Trig_Start_Runes_Actions)
call TriggerRegisterTimerEventPeriodic(udg_trigger198,780.)
call TriggerAddAction(udg_trigger198,function Trig_Runes_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger199,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger199,Condition(function Trig_Rune_of_Bloodlust_Conditions))
call TriggerAddAction(udg_trigger199,function Trig_Rune_of_Bloodlust_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger200,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger200,Condition(function Trig_Rune_of_Inner_Fire_Conditions))
call TriggerAddAction(udg_trigger200,function Trig_Rune_of_Inner_Fire_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger201,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger201,Condition(function Trig_Rune_of_Invisibility_Conditions))
call TriggerAddAction(udg_trigger201,function Trig_Rune_of_Invisibility_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger202,EVENT_PLAYER_UNIT_SPELL_ENDCAST)
call TriggerAddAction(udg_trigger202,function Trig_UnitStops_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger203,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(udg_trigger203,Condition(function Trig_SaveUnitTarget_Conditions))
call TriggerAddAction(udg_trigger203,function Trig_SaveUnitTarget_Actions)
call DisableTrigger(udg_trigger204)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger204,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger204,Condition(function Trig_BuyFlagNFBad_Conditions))
call TriggerAddAction(udg_trigger204,function Trig_BuyFlagNFBad_Actions)
call DisableTrigger(udg_trigger205)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger205,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger205,Condition(function Trig_BuyFlagNFGd_Conditions))
call TriggerAddAction(udg_trigger205,function Trig_BuyFlagNFGd_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger206,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger206,Condition(function Trig_BuyFlagBad_Conditions))
call TriggerAddAction(udg_trigger206,function Trig_BuyFlagBad_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger207,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger207,Condition(function Trig_BuyFlagGd_Conditions))
call TriggerAddAction(udg_trigger207,function Trig_BuyFlagGd_Actions)
call TriggerAddAction(udg_trigger208,function Trig_GdTithe_Actions)
call TriggerAddAction(udg_trigger209,function Trig_BadTithe_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger210,210.)
call TriggerAddAction(udg_trigger210,function Trig_Alien_Level1_Attack_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger211,610.)
call TriggerAddAction(udg_trigger211,function Trig_Alien_Level2_Attack_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger212,1610.)
call TriggerAddAction(udg_trigger212,function Trig_Alien_Level3_Attack_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger213,2010.)
call TriggerAddAction(udg_trigger213,function Trig_Alien_Level4_Attack_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger214,2510.)
call TriggerAddAction(udg_trigger214,function Trig_Alien_Level5_Attack_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger215,15.)
call TriggerAddAction(udg_trigger215,function Trig_Wave0Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger216,70.)
call TriggerAddAction(udg_trigger216,function Trig_Wave1Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger217,120.)
call TriggerAddAction(udg_trigger217,function Trig_Wave2Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger218,350.)
call TriggerAddAction(udg_trigger218,function Trig_Wave3Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger219,500.)
call TriggerAddAction(udg_trigger219,function Trig_Wave4Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger220,700.)
call TriggerAddAction(udg_trigger220,function Trig_Wave5Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger221,900.)
call TriggerAddAction(udg_trigger221,function Trig_Wave6Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger222,1100.)
call TriggerAddAction(udg_trigger222,function Trig_Wave7Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger223,1300.)
call TriggerAddAction(udg_trigger223,function Trig_Wave8Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger224,15.)
call TriggerAddAction(udg_trigger224,function Trig_Wave0Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger225,70.)
call TriggerAddAction(udg_trigger225,function Trig_Wave1Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger226,120.)
call TriggerAddAction(udg_trigger226,function Trig_Wave2Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger227,350.)
call TriggerAddAction(udg_trigger227,function Trig_Wave3Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger228,500.)
call TriggerAddAction(udg_trigger228,function Trig_Wave4Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger229,700.)
call TriggerAddAction(udg_trigger229,function Trig_Wave5Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger230,900.)
call TriggerAddAction(udg_trigger230,function Trig_Wave6Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger231,1100.)
call TriggerAddAction(udg_trigger231,function Trig_Wave7Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger232,1300.)
call TriggerAddAction(udg_trigger232,function Trig_Wave8Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger233,1500.)
call TriggerAddAction(udg_trigger233,function Trig_JdayWave1_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger234,1800.)
call TriggerAddAction(udg_trigger234,function Trig_JdayWave2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger235,1805.)
call TriggerAddAction(udg_trigger235,function Trig_JdayWave2_Tithe_Both_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger236,2150.)
call TriggerAddAction(udg_trigger236,function Trig_JdayWave3_Judge_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger237,2300.)
call TriggerAddAction(udg_trigger237,function Trig_JdayAfterHoly1_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger238,2500.)
call TriggerAddAction(udg_trigger238,function Trig_JdayAfterHoly2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger239,2700.)
call TriggerAddAction(udg_trigger239,function Trig_JdayAfterHoly3_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger240,3000.)
call TriggerAddAction(udg_trigger240,function Trig_JdayAfterHoly4_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger241,2300.)
call TriggerAddAction(udg_trigger241,function Trig_JdayAfterDark1_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger242,2500.)
call TriggerAddAction(udg_trigger242,function Trig_JdayAfterDark2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger243,2700.)
call TriggerAddAction(udg_trigger243,function Trig_JdayAfterDark3_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger244,3000.)
call TriggerAddAction(udg_trigger244,function Trig_JdayAfterDark4_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger245,2600.)
call TriggerAddAction(udg_trigger245,function Trig_Sky_Tears_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger247,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger247,Condition(function Trig_Nuke_Conditions))
call TriggerAddAction(udg_trigger247,function Trig_Nuke_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger248,200.)
call TriggerAddAction(udg_trigger248,function Trig_Cannon_Holy_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger249,400.)
call TriggerAddAction(udg_trigger249,function Trig_Cannon_Holy_2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger250,200.)
call TriggerAddAction(udg_trigger250,function Trig_Cannon_Dark_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger251,400.)
call TriggerAddAction(udg_trigger251,function Trig_Cannon_Dark_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger252,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger252,Condition(function Trig_PowerGuardian_Holy_Conditions))
call TriggerAddAction(udg_trigger252,function Trig_PowerGuardian_Holy_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger253,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger253,Condition(function Trig_PowerGuardian_Damned_Conditions))
call TriggerAddAction(udg_trigger253,function Trig_PowerGuardian_Damned_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger254,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger254,Condition(function Trig_Biogenerator_Conditions))
call TriggerAddAction(udg_trigger254,function Trig_Biogenerator_Actions)
call TriggerAddAction(udg_trigger255,function Trig_RemoveFx_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger272,2250.)
call TriggerAddAction(udg_trigger272,function Trig_DDay_end41_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger273,1923.)
call TriggerAddAction(udg_trigger273,function Trig_DDay_start4_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger274,1910.)
call TriggerAddAction(udg_trigger274,function Trig_DDay_start4W_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger275,1800.)
call TriggerAddAction(udg_trigger275,function Trig_DDay_start3_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger276,1500.)
call TriggerAddAction(udg_trigger276,function Trig_DDay_start2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger277,1200.)
call TriggerAddAction(udg_trigger277,function Trig_DDay_end12_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger278,880.)
call TriggerAddAction(udg_trigger278,function Trig_DDay_end11_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger279,860.)
call TriggerAddAction(udg_trigger279,function Trig_DDay_start1_Actions)
call TriggerRegisterTimerEventPeriodic(udg_trigger280,20.)
call TriggerAddCondition(udg_trigger280,Condition(function Trig_CreepCount_Conditions))
call TriggerAddAction(udg_trigger280,function Trig_CreepCount_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger281,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger281,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger281,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger281,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger281,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger281,Condition(function Trig_AddLumberGood_Conditions))
call TriggerAddAction(udg_trigger281,function Trig_AddLumberGood_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger282,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger282,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger282,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger282,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger282,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger282,Condition(function Trig_AddGoldGood_Conditions))
call TriggerAddAction(udg_trigger282,function Trig_AddGoldGood_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger283,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger283,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger283,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger283,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger283,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger283,Condition(function Trig_AddLumberBad_Conditions))
call TriggerAddAction(udg_trigger283,function Trig_AddLumberBad_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger284,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger284,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger284,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger284,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger284,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger284,Condition(function Trig_AddGoldBad_Conditions))
call TriggerAddAction(udg_trigger284,function Trig_AddGoldBad_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger285,Player(11),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger285,Condition(function Trig_GiveLumberGood_Conditions))
call TriggerAddAction(udg_trigger285,function Trig_GiveLumberGood_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger286,Player(5),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger286,Condition(function Trig_GiveLumberEvil_Conditions))
call TriggerAddAction(udg_trigger286,function Trig_GiveLumberEvil_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger287,855.)
call TriggerAddAction(udg_trigger287,function Trig_DdayWarning_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger288,1725.)
call TriggerAddAction(udg_trigger288,function Trig_DdayWarning1_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger289,1755.)
call TriggerAddAction(udg_trigger289,function Trig_DdayWarning2_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger290,2355.)
call TriggerAddAction(udg_trigger290,function Trig_DdayWarning3_Actions)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(0),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(1),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(2),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(3),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(4),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(6),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(7),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(8),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(9),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger291,Player(10),PLAYER_STATE_RESOURCE_GOLD,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(0),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(1),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(2),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(3),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(4),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(6),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(7),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(8),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(9),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerStateEvent(udg_trigger292,Player(10),PLAYER_STATE_RESOURCE_LUMBER,GREATER_THAN,.0)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger293,Player(5),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger293,Condition(function Trig_BuildingDestroyedGood_Conditions))
call TriggerAddAction(udg_trigger293,function Trig_BuildingDestroyedGood_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger294,Player(11),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger294,Condition(function Trig_BuildingDestroyedEvil_Conditions))
call TriggerAddAction(udg_trigger294,function Trig_BuildingDestroyedEvil_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger295,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger295,Condition(function Trig_HeroBounty_Conditions))
call TriggerAddAction(udg_trigger295,function Trig_HeroBounty_Actions)
call DisableTrigger(udg_trigger296)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger296,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger296,Condition(function Trig_HeroBounty2_Conditions))
call TriggerAddAction(udg_trigger296,function Trig_HeroBounty2_Actions)
call TriggerRegisterTimerEventPeriodic(udg_trigger297,5.)
call TriggerAddAction(udg_trigger297,function Trig_CheckIfPlayersLeft_Actions)
call TriggerAddCondition(udg_trigger298,Condition(function Trig_RemoveTheLeavingPlayer_Conditions))
call TriggerAddAction(udg_trigger298,function Trig_RemoveTheLeavingPlayer_Actions)
call TriggerRegisterUnitEvent(udg_trigger299,udg_unit81,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger299,function Trig_Light_Victory_Actions)
call TriggerRegisterUnitEvent(udg_trigger300,udg_unit72,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger300,function Trig_Dark_Victory_Actions)
call TriggerRegisterUnitEvent(udg_trigger301,udg_unit73,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger301,function Trig_TopBarracksDestroyed_Actions)
call TriggerRegisterUnitEvent(udg_trigger302,udg_unit74,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger302,function Trig_BottomBarracksDestroyed_Actions)
call TriggerRegisterUnitEvent(udg_trigger303,udg_unit82,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger303,function Trig_TopCryptDestroyed_Actions)
call TriggerRegisterUnitEvent(udg_trigger304,udg_unit83,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger304,function Trig_BottomCryptDestroyed_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger305,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger305,Condition(function Trig_Summon_Holy_Banzai_Conditions))
call TriggerAddAction(udg_trigger305,function Trig_Summon_Holy_Banzai_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger306,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger306,Condition(function Trig_Summon_Damned_Abdominals_Conditions))
call TriggerAddAction(udg_trigger306,function Trig_Summon_Damned_Abdominals_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger307,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger307,Condition(function Trig_Exchange_gold_for_wood_Conditions))
call TriggerAddAction(udg_trigger307,function Trig_Exchange_gold_for_wood_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger308,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger308,Condition(function Trig_Spell_Of_Revival_2_Conditions))
call TriggerAddAction(udg_trigger308,function Trig_Spell_Of_Revival_2_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger309,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger309,Condition(function Trig_Exchange_wood_for_gold_Conditions))
call TriggerAddAction(udg_trigger309,function Trig_Exchange_wood_for_gold_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger310,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger310,Condition(function Trig_Summon_Holy_Lieutenant_Conditions))
call TriggerAddAction(udg_trigger310,function Trig_Summon_Holy_Lieutenant_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger311,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger311,Condition(function Trig_Summon_Damned_Dark_Lieutenant_Conditions))
call TriggerAddAction(udg_trigger311,function Trig_Summon_Damned_Dark_Lieutenant_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger312,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger312,Condition(function Trig_Summon_Holy_Nether_Birds_Conditions))
call TriggerAddAction(udg_trigger312,function Trig_Summon_Holy_Nether_Birds_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger313,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger313,Condition(function Trig_Summon_Damned_Sapphirons_Conditions))
call TriggerAddAction(udg_trigger313,function Trig_Summon_Damned_Sapphirons_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger314,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger314,Condition(function Trig_Summon_Holy_Infernal_Juggernauts_Conditions))
call TriggerAddAction(udg_trigger314,function Trig_Summon_Holy_Infernal_Juggernauts_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger315,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddCondition(udg_trigger315,Condition(function Trig_Summon_Damned_VoidWalkers_Conditions))
call TriggerAddAction(udg_trigger315,function Trig_Summon_Damned_VoidWalkers_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger316,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger316,Condition(function Trig_HeroDied1_Conditions))
call TriggerAddAction(udg_trigger316,function Trig_HeroDied1_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger317,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger317,Condition(function Trig_HeroDied2_Conditions))
call TriggerAddAction(udg_trigger317,function Trig_HeroDied2_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger318,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger318,Condition(function Trig_HeroDied3_Conditions))
call TriggerAddAction(udg_trigger318,function Trig_HeroDied3_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger319,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger319,Condition(function Trig_HeroDied4_Conditions))
call TriggerAddAction(udg_trigger319,function Trig_HeroDied4_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger320,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger320,Condition(function Trig_HeroDied5_Conditions))
call TriggerAddAction(udg_trigger320,function Trig_HeroDied5_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger321,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger321,Condition(function Trig_HeroDied7_Conditions))
call TriggerAddAction(udg_trigger321,function Trig_HeroDied7_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger322,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger322,Condition(function Trig_HeroDied8_Conditions))
call TriggerAddAction(udg_trigger322,function Trig_HeroDied8_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger323,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger323,Condition(function Trig_HeroDied9_Conditions))
call TriggerAddAction(udg_trigger323,function Trig_HeroDied9_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger324,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger324,Condition(function Trig_HeroDied10_Conditions))
call TriggerAddAction(udg_trigger324,function Trig_HeroDied10_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger325,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger325,Condition(function Trig_HeroDied11_Conditions))
call TriggerAddAction(udg_trigger325,function Trig_HeroDied11_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger326,udg_timer02)
call TriggerAddAction(udg_trigger326,function Trig_ReviveHero1_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger327,udg_timer03)
call TriggerAddAction(udg_trigger327,function Trig_ReviveHero2_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger328,udg_timer04)
call TriggerAddAction(udg_trigger328,function Trig_ReviveHero3_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger329,udg_timer05)
call TriggerAddAction(udg_trigger329,function Trig_ReviveHero4_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger330,udg_timer06)
call TriggerAddAction(udg_trigger330,function Trig_ReviveHero5_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger331,udg_timer07)
call TriggerAddAction(udg_trigger331,function Trig_ReviveHero7_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger332,udg_timer08)
call TriggerAddAction(udg_trigger332,function Trig_ReviveHero8_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger333,udg_timer09)
call TriggerAddAction(udg_trigger333,function Trig_ReviveHero9_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger334,udg_timer10)
call TriggerAddAction(udg_trigger334,function Trig_ReviveHero10_Actions)
call TriggerRegisterTimerExpireEvent(udg_trigger335,udg_timer11)
call TriggerAddAction(udg_trigger335,function Trig_ReviveHero11_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger336,200.,udg_unit64)
call TriggerAddAction(udg_trigger336,function Trig_HeroGoodTinker_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger337,200.,udg_unit122)
call TriggerAddAction(udg_trigger337,function Trig_HeroGoodWarmaster_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger338,200.,udg_unit67)
call TriggerAddAction(udg_trigger338,function Trig_HeroBadAlien_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger339,200.,udg_unit42)
call TriggerAddAction(udg_trigger339,function Trig_HeroBadNightmare_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger340,200.,udg_unit141)
call TriggerAddAction(udg_trigger340,function Trig_HeroBadNazgrel_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger341,200.,udg_unit140)
call TriggerAddAction(udg_trigger341,function Trig_HeroBadDamar_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger342,200.,udg_unit124)
call TriggerAddAction(udg_trigger342,function Trig_HeroBadRaptor_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger343,200.,udg_unit37)
call TriggerAddAction(udg_trigger343,function Trig_HeroBadSobe_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger344,200.,udg_unit103)
call TriggerAddAction(udg_trigger344,function Trig_HeroBadBlake_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger345,200.,udg_unit62)
call TriggerAddAction(udg_trigger345,function Trig_HeroBadArraka_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger346,200.,udg_unit38)
call TriggerAddAction(udg_trigger346,function Trig_HeroGoodMooouren_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger347,200.,udg_unit84)
call TriggerAddAction(udg_trigger347,function Trig_HeroGoodKimahri_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger348,200.,udg_unit116)
call TriggerAddAction(udg_trigger348,function Trig_HeroGoodMoonBlade_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger349,200.,udg_unit63)
call TriggerAddAction(udg_trigger349,function Trig_HeroGoodStealth_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger350,200.,udg_unit134)
call TriggerAddAction(udg_trigger350,function Trig_HeroGoodLulu_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger351,200.,udg_unit48)
call TriggerAddAction(udg_trigger351,function Trig_Hero8Hulk_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger352,200.,udg_unit77)
call TriggerAddAction(udg_trigger352,function Trig_HeroBadXBioDread_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger353,200.,udg_unit79)
call TriggerAddAction(udg_trigger353,function Trig_HeroBadXOrcki_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger354,200.,udg_unit41)
call TriggerAddAction(udg_trigger354,function Trig_HeroGoodXMercury_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger355,200.,udg_unit143)
call TriggerAddAction(udg_trigger355,function Trig_HeroGoodXBlazefury_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger356,200.,udg_unit142)
call TriggerAddAction(udg_trigger356,function Trig_HeroGoodXCalifax_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger357,200.,udg_unit66)
call TriggerAddAction(udg_trigger357,function Trig_HeroGoodXWolverine_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger358,200.,udg_unit99)
call TriggerAddAction(udg_trigger358,function Trig_HeroGoodXStAnger_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger359,200.,udg_unit133)
call TriggerAddAction(udg_trigger359,function Trig_HeroBadXTakada_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger360,200.,udg_unit110)
call TriggerAddAction(udg_trigger360,function Trig_HeroBadXHellnar_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger361,200.,udg_unit100)
call TriggerAddAction(udg_trigger361,function Trig_HeroBadXHellFire_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger362,200.,udg_unit130)
call TriggerAddAction(udg_trigger362,function Trig_HeroBadXDiabolist_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger363,200.,udg_unit123)
call TriggerAddAction(udg_trigger363,function Trig_HeroBadXMannoroth_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger364,200.,udg_unit119)
call TriggerAddAction(udg_trigger364,function Trig_HeroBadXZolt_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger365,200.,udg_unit115)
call TriggerAddAction(udg_trigger365,function Trig_HeroBadXKiljaden_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger366,200.,udg_unit85)
call TriggerAddAction(udg_trigger366,function Trig_HeroBadXPOL_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger367,200.,udg_unit125)
call TriggerAddAction(udg_trigger367,function Trig_HeroBadXTerminator_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger368,200.,udg_unit135)
call TriggerAddAction(udg_trigger368,function Trig_HeroGoodDendroidKing_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger369,200.,udg_unit137)
call TriggerAddAction(udg_trigger369,function Trig_HeroGoodXAngeline_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger370,200.,udg_unit104)
call TriggerAddAction(udg_trigger370,function Trig_HeroGoodXBeastmaster_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger371,200.,udg_unit94)
call TriggerAddAction(udg_trigger371,function Trig_HeroGoodXStoner_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger372,200.,udg_unit44)
call TriggerAddAction(udg_trigger372,function Trig_HeroGoodXGaran_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger373,200.,udg_unit136)
call TriggerAddAction(udg_trigger373,function Trig_HeroBadXKryton_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger374,200.,udg_unit138)
call TriggerAddAction(udg_trigger374,function Trig_HeroBadXInferno_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger375,200.,udg_unit87)
call TriggerAddAction(udg_trigger375,function Trig_HeroBadX1Zagg_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger376,200.,udg_unit93)
call TriggerAddAction(udg_trigger376,function Trig_HeroBadX1Dendrodeath_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger377,200.,udg_unit40)
call TriggerAddAction(udg_trigger377,function Trig_HeroBadX1Buzzdook_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger378,200.,udg_unit102)
call TriggerAddAction(udg_trigger378,function Trig_HeroGoodXMedic_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger379,200.,udg_unit76)
call TriggerAddAction(udg_trigger379,function Trig_HeroGoodXCyrax_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger380,200.,udg_unit117)
call TriggerAddAction(udg_trigger380,function Trig_HeroGoodXGhost_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger381,200.,udg_unit114)
call TriggerAddAction(udg_trigger381,function Trig_HeroGoodXProudmoore_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger382,200.,udg_unit131)
call TriggerAddAction(udg_trigger382,function Trig_HeroGoodXAngel_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger383,200.,udg_unit109)
call TriggerAddAction(udg_trigger383,function Trig_HeroGoodXDuke_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger384,200.,udg_unit126)
call TriggerAddAction(udg_trigger384,function Trig_HeroGoodXCptAmerica_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger385,200.,udg_unit105)
call TriggerAddAction(udg_trigger385,function Trig_Hero11Blaster_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger386,200.,udg_unit106)
call TriggerRegisterUnitInRangeSimple(udg_trigger386,200.,udg_unit68)
call TriggerAddAction(udg_trigger386,function Trig_HeroRand_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger387,200.,udg_unit75)
call TriggerRegisterUnitInRangeSimple(udg_trigger387,200.,udg_unit113)
call TriggerAddAction(udg_trigger387,function Trig_HeroRe_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger388,200.,udg_unit65)
call TriggerAddAction(udg_trigger388,function Trig_Hero13Naga_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger389,200.,udg_unit97)
call TriggerAddAction(udg_trigger389,function Trig_Hero14Ranger_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger390,200.,udg_unit88)
call TriggerAddAction(udg_trigger390,function Trig_Hero15Shadow_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger391,200.,udg_unit98)
call TriggerAddAction(udg_trigger391,function Trig_Hero16Crypt_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger392,200.,udg_unit107)
call TriggerAddAction(udg_trigger392,function Trig_Hero12Bear_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger393,200.,udg_unit112)
call TriggerAddAction(udg_trigger393,function Trig_Hero13Kael_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger394,200.,udg_unit111)
call TriggerAddAction(udg_trigger394,function Trig_Hero14Warden_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger395,200.,udg_unit108)
call TriggerAddAction(udg_trigger395,function Trig_Hero16Panda_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger396,200.,udg_unit43)
call TriggerAddAction(udg_trigger396,function Trig_Hero11Garithos_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger397,200.,udg_unit86)
call TriggerAddAction(udg_trigger397,function Trig_Hero10Orc_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger398,200.,udg_unit95)
call TriggerAddAction(udg_trigger398,function Trig_Hero9Murloc_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger399,200.,udg_unit92)
call TriggerAddAction(udg_trigger399,function Trig_Hero10Marine_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger400,200.,udg_unit90)
call TriggerAddAction(udg_trigger400,function Trig_Hero9Medivh_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger401,200.,udg_unit52)
call TriggerAddAction(udg_trigger401,function Trig_Hero1Paladin_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger402,200.,udg_unit51)
call TriggerAddAction(udg_trigger402,function Trig_Hero2IceMage_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger403,200.,udg_unit50)
call TriggerAddAction(udg_trigger403,function Trig_Hero3MKing_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger404,200.,udg_unit49)
call TriggerAddAction(udg_trigger404,function Trig_Hero4KoTG_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger405,200.,udg_unit45)
call TriggerAddAction(udg_trigger405,function Trig_Hero5PoTM_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger406,200.,udg_unit46)
call TriggerAddAction(udg_trigger406,function Trig_Hero6Demon_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger407,200.,udg_unit47)
call TriggerAddAction(udg_trigger407,function Trig_Hero7Ranger_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger408,200.,udg_unit57)
call TriggerAddAction(udg_trigger408,function Trig_Hero1Tauren_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger409,200.,udg_unit56)
call TriggerAddAction(udg_trigger409,function Trig_Hero2Warlock_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger410,200.,udg_unit55)
call TriggerAddAction(udg_trigger410,function Trig_Hero3Grom_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger411,200.,udg_unit54)
call TriggerAddAction(udg_trigger411,function Trig_Hero4Thrall_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger412,200.,udg_unit53)
call TriggerAddAction(udg_trigger412,function Trig_Hero5DK_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger413,200.,udg_unit58)
call TriggerAddAction(udg_trigger413,function Trig_Hero6Lich_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger414,200.,udg_unit59)
call TriggerAddAction(udg_trigger414,function Trig_Hero7DL_Actions)
call TriggerRegisterUnitInRangeSimple(udg_trigger415,200.,udg_unit60)
call TriggerAddAction(udg_trigger415,function Trig_Hero8Arch_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger418,udg_rect31)
call TriggerAddCondition(udg_trigger418,Condition(function Trig_Light_Randomiser_Conditions))
call TriggerAddAction(udg_trigger418,function Trig_Light_Randomiser_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger419,1.)
call TriggerAddAction(udg_trigger419,function Trig_Light_RandomStart_Actions)
call TriggerAddAction(udg_trigger420,function Trig_Light_RandomCheck_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger421,udg_rect32)
call TriggerAddCondition(udg_trigger421,Condition(function Trig_Damn_Randomiser_Conditions))
call TriggerAddAction(udg_trigger421,function Trig_Damn_Randomiser_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger422,1.)
call TriggerAddAction(udg_trigger422,function Trig_Damn_RandomStart_Actions)
call TriggerAddAction(udg_trigger423,function Trig_Damn_RandomCheck_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger424,udg_rect42)
call TriggerAddCondition(udg_trigger424,Condition(function Trig_GoodRe_Conditions))
call TriggerAddAction(udg_trigger424,function Trig_GoodRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger425,udg_rect43)
call TriggerAddCondition(udg_trigger425,Condition(function Trig_BadRe_Conditions))
call TriggerAddAction(udg_trigger425,function Trig_BadRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger426,udg_rect19)
call TriggerRegisterEnterRectSimple(udg_trigger426,udg_rect23)
call TriggerAddCondition(udg_trigger426,Condition(function Trig_Check_Conditions))
call TriggerAddAction(udg_trigger426,function Trig_Check_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger427,udg_rect96)
call TriggerAddCondition(udg_trigger427,Condition(function Trig_Hero1Select_Kimahri_Conditions))
call TriggerAddAction(udg_trigger427,function Trig_Hero1Select_Kimahri_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger428,udg_rect95)
call TriggerAddCondition(udg_trigger428,Condition(function Trig_Hero2Select_Mooouren_Conditions))
call TriggerAddAction(udg_trigger428,function Trig_Hero2Select_Mooouren_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger429,udg_rect91)
call TriggerAddCondition(udg_trigger429,Condition(function Trig_Hero3Select_Mercury_Conditions))
call TriggerAddAction(udg_trigger429,function Trig_Hero3Select_Mercury_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger430,udg_rect59)
call TriggerAddCondition(udg_trigger430,Condition(function Trig_Hero4Select_Duke_Conditions))
call TriggerAddAction(udg_trigger430,function Trig_Hero4Select_Duke_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger431,udg_rect63)
call TriggerAddCondition(udg_trigger431,Condition(function Trig_Hero5Select_Angel_Conditions))
call TriggerAddAction(udg_trigger431,function Trig_Hero5Select_Angel_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger432,udg_rect46)
call TriggerAddCondition(udg_trigger432,Condition(function Trig_Hero6Select_Admiral_Conditions))
call TriggerAddAction(udg_trigger432,function Trig_Hero6Select_Admiral_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger433,udg_rect50)
call TriggerAddCondition(udg_trigger433,Condition(function Trig_Hero7Select_Ghost_Conditions))
call TriggerAddAction(udg_trigger433,function Trig_Hero7Select_Ghost_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger434,udg_rect55)
call TriggerAddCondition(udg_trigger434,Condition(function Trig_Hero8Select_Cyrax_Conditions))
call TriggerAddAction(udg_trigger434,function Trig_Hero8Select_Cyrax_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger435,udg_rect56)
call TriggerAddCondition(udg_trigger435,Condition(function Trig_Hero9Select_Medic_Conditions))
call TriggerAddAction(udg_trigger435,function Trig_Hero9Select_Medic_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger436,udg_rect29)
call TriggerAddCondition(udg_trigger436,Condition(function Trig_Hero10Select_Garithos_Conditions))
call TriggerAddAction(udg_trigger436,function Trig_Hero10Select_Garithos_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger437,udg_rect116)
call TriggerAddCondition(udg_trigger437,Condition(function Trig_Hero11Select_Blazefury_Conditions))
call TriggerAddAction(udg_trigger437,function Trig_Hero11Select_Blazefury_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger438,udg_rect30)
call TriggerAddCondition(udg_trigger438,Condition(function Trig_Hero12Select_Yogi_Conditions))
call TriggerAddAction(udg_trigger438,function Trig_Hero12Select_Yogi_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger439,udg_rect104)
call TriggerAddCondition(udg_trigger439,Condition(function Trig_Hero13Select_Warmaster_Conditions))
call TriggerAddAction(udg_trigger439,function Trig_Hero13Select_Warmaster_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger440,udg_rect33)
call TriggerAddCondition(udg_trigger440,Condition(function Trig_Hero14Select_Kael_Conditions))
call TriggerAddAction(udg_trigger440,function Trig_Hero14Select_Kael_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger441,udg_rect34)
call TriggerAddCondition(udg_trigger441,Condition(function Trig_Hero15Select_Maiev_Conditions))
call TriggerAddAction(udg_trigger441,function Trig_Hero15Select_Maiev_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger442,udg_rect35)
call TriggerAddCondition(udg_trigger442,Condition(function Trig_Hero16Select_Sinjo_Conditions))
call TriggerAddAction(udg_trigger442,function Trig_Hero16Select_Sinjo_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger443,udg_rect25)
call TriggerAddCondition(udg_trigger443,Condition(function Trig_Hero17Select_Jim_Conditions))
call TriggerAddAction(udg_trigger443,function Trig_Hero17Select_Jim_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger444,udg_rect24)
call TriggerAddCondition(udg_trigger444,Condition(function Trig_Hero18Select_Medivh_Conditions))
call TriggerAddAction(udg_trigger444,function Trig_Hero18Select_Medivh_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger445,udg_rect81)
call TriggerAddCondition(udg_trigger445,Condition(function Trig_Hero19Select_StAnger_Conditions))
call TriggerAddAction(udg_trigger445,function Trig_Hero19Select_StAnger_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger446,udg_rect103)
call TriggerAddCondition(udg_trigger446,Condition(function Trig_Hero20Select_Tinker_Conditions))
call TriggerAddAction(udg_trigger446,function Trig_Hero20Select_Tinker_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger447,udg_rect67)
call TriggerAddCondition(udg_trigger447,Condition(function Trig_Hero21Select_Dendroid_Conditions))
call TriggerAddAction(udg_trigger447,function Trig_Hero21Select_Dendroid_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger448,udg_rect79)
call TriggerAddCondition(udg_trigger448,Condition(function Trig_Hero22Select_Garan_Conditions))
call TriggerAddAction(udg_trigger448,function Trig_Hero22Select_Garan_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger449,udg_rect75)
call TriggerAddCondition(udg_trigger449,Condition(function Trig_Hero23Select_Kabal_Conditions))
call TriggerAddAction(udg_trigger449,function Trig_Hero23Select_Kabal_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger450,udg_rect66)
call TriggerAddCondition(udg_trigger450,Condition(function Trig_Hero24Select_Lulu_Conditions))
call TriggerAddAction(udg_trigger450,function Trig_Hero24Select_Lulu_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger451,udg_rect13)
call TriggerAddCondition(udg_trigger451,Condition(function Trig_Hero25Select_Hulk_Conditions))
call TriggerAddAction(udg_trigger451,function Trig_Hero25Select_Hulk_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger452,udg_rect12)
call TriggerAddCondition(udg_trigger452,Condition(function Trig_Hero26Select_Sylvanas_Conditions))
call TriggerAddAction(udg_trigger452,function Trig_Hero26Select_Sylvanas_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger453,udg_rect11)
call TriggerAddCondition(udg_trigger453,Condition(function Trig_Hero27Select_Illidan_Conditions))
call TriggerAddAction(udg_trigger453,function Trig_Hero27Select_Illidan_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger454,udg_rect10)
call TriggerAddCondition(udg_trigger454,Condition(function Trig_Hero28Select_Tyrande_Conditions))
call TriggerAddAction(udg_trigger454,function Trig_Hero28Select_Tyrande_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger455,udg_rect09)
call TriggerAddCondition(udg_trigger455,Condition(function Trig_Hero29Select_Malfurion_Conditions))
call TriggerAddAction(udg_trigger455,function Trig_Hero29Select_Malfurion_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger456,udg_rect90)
call TriggerAddCondition(udg_trigger456,Condition(function Trig_Hero30Select_Wolverine_Conditions))
call TriggerAddAction(udg_trigger456,function Trig_Hero30Select_Wolverine_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger457,udg_rect94)
call TriggerAddCondition(udg_trigger457,Condition(function Trig_Hero31Select_Stealth_Conditions))
call TriggerAddAction(udg_trigger457,function Trig_Hero31Select_Stealth_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger458,udg_rect117)
call TriggerAddCondition(udg_trigger458,Condition(function Trig_Hero32Select_Califax_Conditions))
call TriggerAddAction(udg_trigger458,function Trig_Hero32Select_Califax_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger459,udg_rect97)
call TriggerAddCondition(udg_trigger459,Condition(function Trig_Hero33Select_Moonblade_Conditions))
call TriggerAddAction(udg_trigger459,function Trig_Hero33Select_Moonblade_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger460,udg_rect08)
call TriggerAddCondition(udg_trigger460,Condition(function Trig_Hero34Select_Muradin_Conditions))
call TriggerAddAction(udg_trigger460,function Trig_Hero34Select_Muradin_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger461,udg_rect07)
call TriggerAddCondition(udg_trigger461,Condition(function Trig_Hero35Select_Jaina_Conditions))
call TriggerAddAction(udg_trigger461,function Trig_Hero35Select_Jaina_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger462,udg_rect02)
call TriggerAddCondition(udg_trigger462,Condition(function Trig_Hero36Select_Uther_Conditions))
call TriggerAddAction(udg_trigger462,function Trig_Hero36Select_Uther_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger463,udg_rect80)
call TriggerAddCondition(udg_trigger463,Condition(function Trig_Hero37Select_Stoner_Conditions))
call TriggerAddAction(udg_trigger463,function Trig_Hero37Select_Stoner_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger464,udg_rect69)
call TriggerAddCondition(udg_trigger464,Condition(function Trig_Hero38Select_Angeline_Conditions))
call TriggerAddAction(udg_trigger464,function Trig_Hero38Select_Angeline_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger465,udg_rect62)
call TriggerAddCondition(udg_trigger465,Condition(function Trig_Hero39Select_Captain_Conditions))
call TriggerAddAction(udg_trigger465,function Trig_Hero39Select_Captain_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger466,udg_rect109)
call TriggerAddCondition(udg_trigger466,Condition(function Trig_Hero1Select_Biodread_Conditions))
call TriggerAddAction(udg_trigger466,function Trig_Hero1Select_Biodread_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger467,udg_rect51)
call TriggerAddCondition(udg_trigger467,Condition(function Trig_Hero2Select_Zloto_Conditions))
call TriggerAddAction(udg_trigger467,function Trig_Hero2Select_Zloto_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger468,udg_rect57)
call TriggerAddCondition(udg_trigger468,Condition(function Trig_Hero3Select_Mannoroth_Conditions))
call TriggerAddAction(udg_trigger468,function Trig_Hero3Select_Mannoroth_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger469,udg_rect64)
call TriggerAddCondition(udg_trigger469,Condition(function Trig_Hero4Select_Diablolist_Conditions))
call TriggerAddAction(udg_trigger469,function Trig_Hero4Select_Diablolist_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger470,udg_rect58)
call TriggerAddCondition(udg_trigger470,Condition(function Trig_Hero5Select_Hellfire_Conditions))
call TriggerAddAction(udg_trigger470,function Trig_Hero5Select_Hellfire_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger471,udg_rect28)
call TriggerAddCondition(udg_trigger471,Condition(function Trig_Hero6Select_Sammy_Conditions))
call TriggerAddAction(udg_trigger471,function Trig_Hero6Select_Sammy_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger472,udg_rect36)
call TriggerAddCondition(udg_trigger472,Condition(function Trig_Hero7Select_Lady_Conditions))
call TriggerAddAction(udg_trigger472,function Trig_Hero7Select_Lady_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger473,udg_rect37)
call TriggerAddCondition(udg_trigger473,Condition(function Trig_Hero8Select_DarkRanger_Conditions))
call TriggerAddAction(udg_trigger473,function Trig_Hero8Select_DarkRanger_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger474,udg_rect38)
call TriggerAddCondition(udg_trigger474,Condition(function Trig_Hero9Select_Shaka_Conditions))
call TriggerAddAction(udg_trigger474,function Trig_Hero9Select_Shaka_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger475,udg_rect100)
call TriggerAddCondition(udg_trigger475,Condition(function Trig_Hero10Select_Raptor_Conditions))
call TriggerAddAction(udg_trigger475,function Trig_Hero10Select_Raptor_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger476,udg_rect118)
call TriggerAddCondition(udg_trigger476,Condition(function Trig_Hero11Select_Damar_Conditions))
call TriggerAddAction(udg_trigger476,function Trig_Hero11Select_Damar_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger477,udg_rect101)
call TriggerAddCondition(udg_trigger477,Condition(function Trig_Hero12Select_Sobe_Conditions))
call TriggerAddAction(udg_trigger477,function Trig_Hero12Select_Sobe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger478,udg_rect106)
call TriggerAddCondition(udg_trigger478,Condition(function Trig_Hero13Select_Nightmare_Conditions))
call TriggerAddAction(udg_trigger478,function Trig_Hero13Select_Nightmare_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger479,udg_rect39)
call TriggerAddCondition(udg_trigger479,Condition(function Trig_Hero14Select_Arak_Conditions))
call TriggerAddAction(udg_trigger479,function Trig_Hero14Select_Arak_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger480,udg_rect27)
call TriggerAddCondition(udg_trigger480,Condition(function Trig_Hero15Select_Zuhx_Conditions))
call TriggerAddAction(udg_trigger480,function Trig_Hero15Select_Zuhx_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger481,udg_rect26)
call TriggerAddCondition(udg_trigger481,Condition(function Trig_Hero16Select_Mur_Conditions))
call TriggerAddAction(udg_trigger481,function Trig_Hero16Select_Mur_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger482,udg_rect68)
call TriggerAddCondition(udg_trigger482,Condition(function Trig_Hero17Select_Kryton_Conditions))
call TriggerAddAction(udg_trigger482,function Trig_Hero17Select_Kryton_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger483,udg_rect77)
call TriggerAddCondition(udg_trigger483,Condition(function Trig_Hero18Select_Buzzdook_Conditions))
call TriggerAddAction(udg_trigger483,function Trig_Hero18Select_Buzzdook_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger484,udg_rect82)
call TriggerAddCondition(udg_trigger484,Condition(function Trig_Hero19Select_Hellnar_Conditions))
call TriggerAddAction(udg_trigger484,function Trig_Hero19Select_Hellnar_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger485,udg_rect105)
call TriggerAddCondition(udg_trigger485,Condition(function Trig_Hero20Select_Alien_Conditions))
call TriggerAddAction(udg_trigger485,function Trig_Hero20Select_Alien_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger486,udg_rect99)
call TriggerAddCondition(udg_trigger486,Condition(function Trig_Hero21Select_Arraka_Conditions))
call TriggerAddAction(udg_trigger486,function Trig_Hero21Select_Arraka_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger487,udg_rect98)
call TriggerAddCondition(udg_trigger487,Condition(function Trig_Hero22Select_Blake_Conditions))
call TriggerAddAction(udg_trigger487,function Trig_Hero22Select_Blake_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger488,udg_rect76)
call TriggerAddCondition(udg_trigger488,Condition(function Trig_Hero23Select_Zagg_Conditions))
call TriggerAddAction(udg_trigger488,function Trig_Hero23Select_Zagg_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger489,udg_rect65)
call TriggerAddCondition(udg_trigger489,Condition(function Trig_Hero24Select_Takada_Conditions))
call TriggerAddAction(udg_trigger489,function Trig_Hero24Select_Takada_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger490,udg_rect06)
call TriggerAddCondition(udg_trigger490,Condition(function Trig_Hero25Select_Archimonde_Conditions))
call TriggerAddAction(udg_trigger490,function Trig_Hero25Select_Archimonde_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger491,udg_rect115)
call TriggerAddCondition(udg_trigger491,Condition(function Trig_Hero26Select_Malganis_Conditions))
call TriggerAddAction(udg_trigger491,function Trig_Hero26Select_Malganis_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger492,udg_rect05)
call TriggerAddCondition(udg_trigger492,Condition(function Trig_Hero27Select_Lich_Conditions))
call TriggerAddAction(udg_trigger492,function Trig_Hero27Select_Lich_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger493,udg_rect04)
call TriggerAddCondition(udg_trigger493,Condition(function Trig_Hero28Select_Arthas_Conditions))
call TriggerAddAction(udg_trigger493,function Trig_Hero28Select_Arthas_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger494,udg_rect03)
call TriggerAddCondition(udg_trigger494,Condition(function Trig_Hero29Select_Thrall_Conditions))
call TriggerAddAction(udg_trigger494,function Trig_Hero29Select_Thrall_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger495,udg_rect114)
call TriggerAddCondition(udg_trigger495,Condition(function Trig_Hero30Select_Grom_Conditions))
call TriggerAddAction(udg_trigger495,function Trig_Hero30Select_Grom_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger496,udg_rect113)
call TriggerAddCondition(udg_trigger496,Condition(function Trig_Hero31Select_Guldan_Conditions))
call TriggerAddAction(udg_trigger496,function Trig_Hero31Select_Guldan_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger497,udg_rect111)
call TriggerAddCondition(udg_trigger497,Condition(function Trig_Hero32Select_Nazgrel_Conditions))
call TriggerAddAction(udg_trigger497,function Trig_Hero32Select_Nazgrel_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger498,udg_rect112)
call TriggerAddCondition(udg_trigger498,Condition(function Trig_Hero33Select_Orcki_Conditions))
call TriggerAddAction(udg_trigger498,function Trig_Hero33Select_Orcki_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger499,udg_rect14)
call TriggerAddCondition(udg_trigger499,Condition(function Trig_Hero34Select_Cairne_Conditions))
call TriggerAddAction(udg_trigger499,function Trig_Hero34Select_Cairne_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger500,udg_rect78)
call TriggerAddCondition(udg_trigger500,Condition(function Trig_Hero35Select_Dendrodeath_Conditions))
call TriggerAddAction(udg_trigger500,function Trig_Hero35Select_Dendrodeath_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger501,udg_rect71)
call TriggerAddCondition(udg_trigger501,Condition(function Trig_Hero36Select_Inferno_Conditions))
call TriggerAddAction(udg_trigger501,function Trig_Hero36Select_Inferno_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger502,udg_rect61)
call TriggerAddCondition(udg_trigger502,Condition(function Trig_Hero37Select_Terminator_Conditions))
call TriggerAddAction(udg_trigger502,function Trig_Hero37Select_Terminator_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger503,udg_rect60)
call TriggerAddCondition(udg_trigger503,Condition(function Trig_Hero38Select_Prince_Conditions))
call TriggerAddAction(udg_trigger503,function Trig_Hero38Select_Prince_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger504,udg_rect47)
call TriggerAddCondition(udg_trigger504,Condition(function Trig_Hero39Select_Kiljaeden_Conditions))
call TriggerAddAction(udg_trigger504,function Trig_Hero39Select_Kiljaeden_Actions)
call TriggerRegisterTimerEventSingle(udg_trigger505,15.)
call TriggerAddAction(udg_trigger505,function Trig_Disable_RG_Actions)
call TriggerRegisterPlayerChatEvent(udg_trigger506,Player(0),"-rg",false)
call TriggerRegisterPlayerChatEvent(udg_trigger506,Player(6),"-rg",false)
call TriggerAddAction(udg_trigger506,function Trig_Random_Game_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger507,udg_rect53)
call TriggerAddCondition(udg_trigger507,Condition(function Trig_LightCommander_Conditions))
call TriggerAddAction(udg_trigger507,function Trig_LightCommander_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger508,udg_rect48)
call TriggerAddCondition(udg_trigger508,Condition(function Trig_LightDemiGod_Conditions))
call TriggerAddAction(udg_trigger508,function Trig_LightDemiGod_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger509,udg_rect22)
call TriggerAddCondition(udg_trigger509,Condition(function Trig_LightTopRe_Conditions))
call TriggerAddAction(udg_trigger509,function Trig_LightTopRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger510,udg_rect20)
call TriggerAddCondition(udg_trigger510,Condition(function Trig_LightBottRe_Conditions))
call TriggerAddAction(udg_trigger510,function Trig_LightBottRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger511,udg_rect21)
call TriggerAddCondition(udg_trigger511,Condition(function Trig_LightMiddleRe_Conditions))
call TriggerAddAction(udg_trigger511,function Trig_LightMiddleRe_Actions)
call TriggerAddAction(udg_trigger512,function Trig_LightMiddle_Actions)
call TriggerAddAction(udg_trigger513,function Trig_LightBottom_Actions)
call TriggerAddAction(udg_trigger514,function Trig_LightTop_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger515,udg_rect17)
call TriggerRegisterEnterRectSimple(udg_trigger515,udg_rect15)
call TriggerAddCondition(udg_trigger515,Condition(function Trig_AttackDarkCastle_Conditions))
call TriggerAddAction(udg_trigger515,function Trig_AttackDarkCastle_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger516,udg_rect54)
call TriggerAddCondition(udg_trigger516,Condition(function Trig_DarkCommander_Conditions))
call TriggerAddAction(udg_trigger516,function Trig_DarkCommander_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger517,udg_rect49)
call TriggerAddCondition(udg_trigger517,Condition(function Trig_DarkMagtheridon_Conditions))
call TriggerAddAction(udg_trigger517,function Trig_DarkMagtheridon_Actions)
call TriggerAddAction(udg_trigger518,function Trig_DarkMiddle_Actions)
call TriggerAddAction(udg_trigger519,function Trig_DarkTop_Actions)
call TriggerAddAction(udg_trigger520,function Trig_DarkBottom_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger521,udg_rect22)
call TriggerRegisterEnterRectSimple(udg_trigger521,udg_rect20)
call TriggerAddCondition(udg_trigger521,Condition(function Trig_AttackLightCastle_Conditions))
call TriggerAddAction(udg_trigger521,function Trig_AttackLightCastle_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger522,udg_rect16)
call TriggerAddCondition(udg_trigger522,Condition(function Trig_DarkMiddleRe_Conditions))
call TriggerAddAction(udg_trigger522,function Trig_DarkMiddleRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger523,udg_rect15)
call TriggerAddCondition(udg_trigger523,Condition(function Trig_DarkBottRe_Conditions))
call TriggerAddAction(udg_trigger523,function Trig_DarkBottRe_Actions)
call TriggerRegisterEnterRectSimple(udg_trigger524,udg_rect17)
call TriggerAddCondition(udg_trigger524,Condition(function Trig_DarkTopRe_Conditions))
call TriggerAddAction(udg_trigger524,function Trig_DarkTopRe_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger525,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger525,Condition(function Trig_Hammer_Bought_Conditions))
call TriggerAddAction(udg_trigger525,function Trig_Hammer_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger526,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger526,Condition(function Trig_Attila_Bought_Conditions))
call TriggerAddAction(udg_trigger526,function Trig_Attila_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger527,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger527,Condition(function Trig_Revival_Spell_Used_Conditions))
call TriggerAddAction(udg_trigger527,function Trig_Revival_Spell_Used_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger528,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger528,Condition(function Trig_Gods_Armour_Bought_Conditions))
call TriggerAddAction(udg_trigger528,function Trig_Gods_Armour_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger529,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger529,Condition(function Trig_Rock_Armour_Bought_Conditions))
call TriggerAddAction(udg_trigger529,function Trig_Rock_Armour_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger530,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger530,Condition(function Trig_Steelskin_Bought_Conditions))
call TriggerAddAction(udg_trigger530,function Trig_Steelskin_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger531,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger531,Condition(function Trig_Fanaticism_Bought_Conditions))
call TriggerAddAction(udg_trigger531,function Trig_Fanaticism_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger532,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger532,Condition(function Trig_Wirt_Leg_Bought_Conditions))
call TriggerAddAction(udg_trigger532,function Trig_Wirt_Leg_Bought_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger533,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger533,Condition(function Trig_Vampiric_Bought_Conditions))
call TriggerAddAction(udg_trigger533,function Trig_Vampiric_Bought_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger534,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger534,Condition(function Trig_Mystical_Lance_Conditions))
call TriggerAddAction(udg_trigger534,function Trig_Mystical_Lance_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger535,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger535,Condition(function Trig_Fire_Lance_Conditions))
call TriggerAddAction(udg_trigger535,function Trig_Fire_Lance_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger536,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger536,Condition(function Trig_Frost_Lance_Conditions))
call TriggerAddAction(udg_trigger536,function Trig_Frost_Lance_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger537,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger537,Condition(function Trig_The_One_Ring_Conditions))
call TriggerAddAction(udg_trigger537,function Trig_The_One_Ring_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger538,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger538,Condition(function Trig_Magi_Amulet_Conditions))
call TriggerAddAction(udg_trigger538,function Trig_Magi_Amulet_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger539,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger539,Condition(function Trig_Orb_of_the_Darkmoon_Conditions))
call TriggerAddAction(udg_trigger539,function Trig_Orb_of_the_Darkmoon_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger540,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger540,Condition(function Trig_Mystical_Shield_Conditions))
call TriggerAddAction(udg_trigger540,function Trig_Mystical_Shield_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger541,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger541,Condition(function Trig_Fury_Visor_Conditions))
call TriggerAddAction(udg_trigger541,function Trig_Fury_Visor_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger542,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger542,Condition(function Trig_Mystical_Claws_Conditions))
call TriggerAddAction(udg_trigger542,function Trig_Mystical_Claws_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger543,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger543,Condition(function Trig_Heart_of_Aszune_Conditions))
call TriggerAddAction(udg_trigger543,function Trig_Heart_of_Aszune_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger544,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger544,Condition(function Trig_Kildins_Boots_Conditions))
call TriggerAddAction(udg_trigger544,function Trig_Kildins_Boots_Actions)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(0),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(1),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(2),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(3),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(4),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(5),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(6),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(7),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(8),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(9),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(10),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger545,Player(11),EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger545,Condition(function Trig_KelThuzads_Boots_Conditions))
call TriggerAddAction(udg_trigger545,function Trig_KelThuzads_Boots_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger546,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger546,Condition(function Trig_Uplevel_Claw_Conditions))
call TriggerAddAction(udg_trigger546,function Trig_Uplevel_Claw_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger547,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger547,Condition(function Trig_Uplevel_Cloak_of_Flames_Conditions))
call TriggerAddAction(udg_trigger547,function Trig_Uplevel_Cloak_of_Flames_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger548,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger548,Condition(function Trig_Uplevel_Orb_of_Light_Conditions))
call TriggerAddAction(udg_trigger548,function Trig_Uplevel_Orb_of_Light_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger549,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger549,Condition(function Trig_Uplevel_Orb_of_Fire_Conditions))
call TriggerAddAction(udg_trigger549,function Trig_Uplevel_Orb_of_Fire_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger550,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger550,Condition(function Trig_Uplevel_Orb_of_Frost_Conditions))
call TriggerAddAction(udg_trigger550,function Trig_Uplevel_Orb_of_Frost_Actions)
call TriggerRegisterAnyUnitEventBJ(udg_trigger551,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(udg_trigger551,Condition(function Trig_Uplevel_Orb_of_Corruption_Conditions))
call TriggerAddAction(udg_trigger551,function Trig_Uplevel_Orb_of_Corruption_Actions)
call ConditionalTriggerExecute(udg_trigger03)
call ConditionalTriggerExecute(udg_trigger08)
call ConditionalTriggerExecute(udg_trigger09)
call ConditionalTriggerExecute(udg_trigger36)
call ConditionalTriggerExecute(udg_trigger37)
call ConditionalTriggerExecute(udg_trigger39)
call ConditionalTriggerExecute(udg_trigger41)
call ConditionalTriggerExecute(udg_trigger42)
call ConditionalTriggerExecute(udg_trigger43)
call ConditionalTriggerExecute(udg_trigger45)
call ConditionalTriggerExecute(udg_trigger46)
call ConditionalTriggerExecute(udg_trigger47)
call ConditionalTriggerExecute(udg_trigger48)
call ConditionalTriggerExecute(udg_trigger197)
endfunction
function InitTrig_init takes nothing returns nothing
set udg_trigger01 = CreateTrigger()
set udg_trigger02 = CreateTrigger()
set udg_trigger03 = CreateTrigger()
set udg_trigger04 = CreateTrigger()
set udg_trigger05 = CreateTrigger()
set udg_trigger06 = CreateTrigger()
set udg_trigger07 = CreateTrigger()
set udg_trigger08 = CreateTrigger()
set udg_trigger09 = CreateTrigger()
set udg_trigger10 = CreateTrigger()
set udg_trigger11 = CreateTrigger()
set udg_trigger12 = CreateTrigger()
set udg_trigger13 = CreateTrigger()
set udg_trigger14 = CreateTrigger()
set udg_trigger15 = CreateTrigger()
set udg_trigger16 = CreateTrigger()
set udg_trigger17 = CreateTrigger()
set udg_trigger18 = CreateTrigger()
set udg_trigger19 = CreateTrigger()
set udg_trigger20 = CreateTrigger()
set udg_trigger21 = CreateTrigger()
set udg_trigger22 = CreateTrigger()
set udg_trigger23 = CreateTrigger()
set udg_trigger24 = CreateTrigger()
set udg_trigger25 = CreateTrigger()
set udg_trigger26 = CreateTrigger()
set udg_trigger27 = CreateTrigger()
set udg_trigger28 = CreateTrigger()
set udg_trigger29 = CreateTrigger()
set udg_trigger30 = CreateTrigger()
set udg_trigger31 = CreateTrigger()
set udg_trigger32 = CreateTrigger()
set udg_trigger33 = CreateTrigger()
set udg_trigger34 = CreateTrigger()
set udg_trigger35 = CreateTrigger()
set udg_trigger36 = CreateTrigger()
set udg_trigger37 = CreateTrigger()
set udg_trigger38 = CreateTrigger()
set udg_trigger39 = CreateTrigger()
set udg_trigger40 = CreateTrigger()
set udg_trigger41 = CreateTrigger()
set udg_trigger42 = CreateTrigger()
set udg_trigger43 = CreateTrigger()
set udg_trigger44 = CreateTrigger()
set udg_trigger45 = CreateTrigger()
set udg_trigger46 = CreateTrigger()
set udg_trigger47 = CreateTrigger()
set udg_trigger48 = CreateTrigger()
set udg_trigger49 = CreateTrigger()
set udg_trigger50 = CreateTrigger()
set udg_trigger51 = CreateTrigger()
set udg_trigger52 = CreateTrigger()
set udg_trigger53 = CreateTrigger()
set udg_trigger54 = CreateTrigger()
set udg_trigger55 = CreateTrigger()
set udg_trigger56 = CreateTrigger()
set udg_trigger57 = CreateTrigger()
set udg_trigger58 = CreateTrigger()
set udg_trigger59 = CreateTrigger()
set udg_trigger60 = CreateTrigger()
set udg_trigger61 = CreateTrigger()
set udg_trigger62 = CreateTrigger()
set udg_trigger63 = CreateTrigger()
set udg_trigger64 = CreateTrigger()
set udg_trigger65 = CreateTrigger()
set udg_trigger66 = CreateTrigger()
set udg_trigger67 = CreateTrigger()
set udg_trigger68 = CreateTrigger()
set udg_trigger69 = CreateTrigger()
set udg_trigger70 = CreateTrigger()
set udg_trigger71 = CreateTrigger()
set udg_trigger72 = CreateTrigger()
set udg_trigger73 = CreateTrigger()
set udg_trigger74 = CreateTrigger()
set udg_trigger75 = CreateTrigger()
set udg_trigger76 = CreateTrigger()
set udg_trigger77 = CreateTrigger()
set udg_trigger78 = CreateTrigger()
set udg_trigger79 = CreateTrigger()
set udg_trigger80 = CreateTrigger()
set udg_trigger81 = CreateTrigger()
set udg_trigger82 = CreateTrigger()
set udg_trigger83 = CreateTrigger()
set udg_trigger84 = CreateTrigger()
set udg_trigger85 = CreateTrigger()
set udg_trigger86 = CreateTrigger()
set udg_trigger87 = CreateTrigger()
set udg_trigger88 = CreateTrigger()
set udg_trigger89 = CreateTrigger()
set udg_trigger90 = CreateTrigger()
set udg_trigger91 = CreateTrigger()
set udg_trigger92 = CreateTrigger()
set udg_trigger93 = CreateTrigger()
set udg_trigger94 = CreateTrigger()
set udg_trigger95 = CreateTrigger()
set udg_trigger96 = CreateTrigger()
set udg_trigger97 = CreateTrigger()
set udg_trigger98 = CreateTrigger()
set udg_trigger99 = CreateTrigger()
set udg_trigger100 = CreateTrigger()
set udg_trigger101 = CreateTrigger()
set udg_trigger102 = CreateTrigger()
set udg_trigger103 = CreateTrigger()
set udg_trigger104 = CreateTrigger()
set udg_trigger105 = CreateTrigger()
set udg_trigger106 = CreateTrigger()
set udg_trigger107 = CreateTrigger()
set udg_trigger108 = CreateTrigger()
set udg_trigger109 = CreateTrigger()
set udg_trigger110 = CreateTrigger()
set udg_trigger111 = CreateTrigger()
set udg_trigger112 = CreateTrigger()
set udg_trigger113 = CreateTrigger()
set udg_trigger115 = CreateTrigger()
set udg_trigger116 = CreateTrigger()
set udg_trigger117 = CreateTrigger()
set udg_trigger118 = CreateTrigger()
set udg_trigger119 = CreateTrigger()
set udg_trigger120 = CreateTrigger()
set udg_trigger121 = CreateTrigger()
set udg_trigger122 = CreateTrigger()
set udg_trigger123 = CreateTrigger()
set udg_trigger124 = CreateTrigger()
set udg_trigger125 = CreateTrigger()
set udg_trigger126 = CreateTrigger()
set udg_trigger127 = CreateTrigger()
set udg_trigger128 = CreateTrigger()
set udg_trigger129 = CreateTrigger()
set udg_trigger130 = CreateTrigger()
set udg_trigger131 = CreateTrigger()
set udg_trigger133 = CreateTrigger()
set udg_trigger136 = CreateTrigger()
set udg_trigger137 = CreateTrigger()
set udg_trigger138 = CreateTrigger()
set udg_trigger139 = CreateTrigger()
set udg_trigger140 = CreateTrigger()
set udg_trigger141 = CreateTrigger()
set udg_trigger142 = CreateTrigger()
set udg_trigger143 = CreateTrigger()
set udg_trigger148 = CreateTrigger()
set udg_trigger149 = CreateTrigger()
set udg_trigger150 = CreateTrigger()
set udg_trigger151 = CreateTrigger()
set udg_trigger152 = CreateTrigger()
set udg_trigger153 = CreateTrigger()
set udg_trigger154 = CreateTrigger()
set udg_trigger155 = CreateTrigger()
set udg_trigger156 = CreateTrigger()
set udg_trigger157 = CreateTrigger()
set udg_trigger158 = CreateTrigger()
set udg_trigger159 = CreateTrigger()
set udg_trigger160 = CreateTrigger()
set udg_trigger161 = CreateTrigger()
set udg_trigger162 = CreateTrigger()
set udg_trigger163 = CreateTrigger()
set udg_trigger164 = CreateTrigger()
set udg_trigger165 = CreateTrigger()
set udg_trigger166 = CreateTrigger()
set udg_trigger167 = CreateTrigger()
set udg_trigger168 = CreateTrigger()
set udg_trigger169 = CreateTrigger()
set udg_trigger170 = CreateTrigger()
set udg_trigger171 = CreateTrigger()
set udg_trigger172 = CreateTrigger()
set udg_trigger173 = CreateTrigger()
set udg_trigger174 = CreateTrigger()
set udg_trigger175 = CreateTrigger()
set udg_trigger176 = CreateTrigger()
set udg_trigger177 = CreateTrigger()
set udg_trigger178 = CreateTrigger()
set udg_trigger179 = CreateTrigger()
set udg_trigger180 = CreateTrigger()
set udg_trigger181 = CreateTrigger()
set udg_trigger182 = CreateTrigger()
set udg_trigger183 = CreateTrigger()
set udg_trigger184 = CreateTrigger()
set udg_trigger185 = CreateTrigger()
set udg_trigger186 = CreateTrigger()
set udg_trigger187 = CreateTrigger()
set udg_trigger188 = CreateTrigger()
set udg_trigger189 = CreateTrigger()
set udg_trigger190 = CreateTrigger()
set udg_trigger191 = CreateTrigger()
set udg_trigger192 = CreateTrigger()
set udg_trigger193 = CreateTrigger()
set udg_trigger194 = CreateTrigger()
set udg_trigger195 = CreateTrigger()
set udg_trigger196 = CreateTrigger()
set udg_trigger197 = CreateTrigger()
set udg_trigger198 = CreateTrigger()
set udg_trigger199 = CreateTrigger()
set udg_trigger200 = CreateTrigger()
set udg_trigger201 = CreateTrigger()
set udg_trigger202 = CreateTrigger()
set udg_trigger203 = CreateTrigger()
set udg_trigger204 = CreateTrigger()
set udg_trigger205 = CreateTrigger()
set udg_trigger206 = CreateTrigger()
set udg_trigger207 = CreateTrigger()
set udg_trigger208 = CreateTrigger()
set udg_trigger209 = CreateTrigger()
set udg_trigger210 = CreateTrigger()
set udg_trigger211 = CreateTrigger()
set udg_trigger212 = CreateTrigger()
set udg_trigger213 = CreateTrigger()
set udg_trigger214 = CreateTrigger()
set udg_trigger215 = CreateTrigger()
set udg_trigger216 = CreateTrigger()
set udg_trigger217 = CreateTrigger()
set udg_trigger218 = CreateTrigger()
set udg_trigger219 = CreateTrigger()
set udg_trigger220 = CreateTrigger()
set udg_trigger221 = CreateTrigger()
set udg_trigger222 = CreateTrigger()
set udg_trigger223 = CreateTrigger()
set udg_trigger224 = CreateTrigger()
set udg_trigger225 = CreateTrigger()
set udg_trigger226 = CreateTrigger()
set udg_trigger227 = CreateTrigger()
set udg_trigger228 = CreateTrigger()
set udg_trigger229 = CreateTrigger()
set udg_trigger230 = CreateTrigger()
set udg_trigger231 = CreateTrigger()
set udg_trigger232 = CreateTrigger()
set udg_trigger233 = CreateTrigger()
set udg_trigger234 = CreateTrigger()
set udg_trigger235 = CreateTrigger()
set udg_trigger236 = CreateTrigger()
set udg_trigger237 = CreateTrigger()
set udg_trigger238 = CreateTrigger()
set udg_trigger239 = CreateTrigger()
set udg_trigger240 = CreateTrigger()
set udg_trigger241 = CreateTrigger()
set udg_trigger242 = CreateTrigger()
set udg_trigger243 = CreateTrigger()
set udg_trigger244 = CreateTrigger()
set udg_trigger245 = CreateTrigger()
set udg_trigger247 = CreateTrigger()
set udg_trigger248 = CreateTrigger()
set udg_trigger249 = CreateTrigger()
set udg_trigger250 = CreateTrigger()
set udg_trigger251 = CreateTrigger()
set udg_trigger252 = CreateTrigger()
set udg_trigger253 = CreateTrigger()
set udg_trigger254 = CreateTrigger()
set udg_trigger255 = CreateTrigger()
set udg_trigger272 = CreateTrigger()
set udg_trigger273 = CreateTrigger()
set udg_trigger274 = CreateTrigger()
set udg_trigger275 = CreateTrigger()
set udg_trigger276 = CreateTrigger()
set udg_trigger277 = CreateTrigger()
set udg_trigger278 = CreateTrigger()
set udg_trigger279 = CreateTrigger()
set udg_trigger280 = CreateTrigger()
set udg_trigger281 = CreateTrigger()
set udg_trigger282 = CreateTrigger()
set udg_trigger283 = CreateTrigger()
set udg_trigger284 = CreateTrigger()
set udg_trigger285 = CreateTrigger()
set udg_trigger286 = CreateTrigger()
set udg_trigger287 = CreateTrigger()
set udg_trigger288 = CreateTrigger()
set udg_trigger289 = CreateTrigger()
set udg_trigger290 = CreateTrigger()
set udg_trigger291 = CreateTrigger()
set udg_trigger292 = CreateTrigger()
set udg_trigger293 = CreateTrigger()
set udg_trigger294 = CreateTrigger()
set udg_trigger295 = CreateTrigger()
set udg_trigger296 = CreateTrigger()
set udg_trigger297 = CreateTrigger()
set udg_trigger298 = CreateTrigger()
set udg_trigger299 = CreateTrigger()
set udg_trigger300 = CreateTrigger()
set udg_trigger301 = CreateTrigger()
set udg_trigger302 = CreateTrigger()
set udg_trigger303 = CreateTrigger()
set udg_trigger304 = CreateTrigger()
set udg_trigger305 = CreateTrigger()
set udg_trigger306 = CreateTrigger()
set udg_trigger307 = CreateTrigger()
set udg_trigger308 = CreateTrigger()
set udg_trigger309 = CreateTrigger()
set udg_trigger310 = CreateTrigger()
set udg_trigger311 = CreateTrigger()
set udg_trigger312 = CreateTrigger()
set udg_trigger313 = CreateTrigger()
set udg_trigger314 = CreateTrigger()
set udg_trigger315 = CreateTrigger()
set udg_trigger316 = CreateTrigger()
set udg_trigger317 = CreateTrigger()
set udg_trigger318 = CreateTrigger()
set udg_trigger319 = CreateTrigger()
set udg_trigger320 = CreateTrigger()
set udg_trigger321 = CreateTrigger()
set udg_trigger322 = CreateTrigger()
set udg_trigger323 = CreateTrigger()
set udg_trigger324 = CreateTrigger()
set udg_trigger325 = CreateTrigger()
set udg_trigger326 = CreateTrigger()
set udg_trigger327 = CreateTrigger()
set udg_trigger328 = CreateTrigger()
set udg_trigger329 = CreateTrigger()
set udg_trigger330 = CreateTrigger()
set udg_trigger331 = CreateTrigger()
set udg_trigger332 = CreateTrigger()
set udg_trigger333 = CreateTrigger()
set udg_trigger334 = CreateTrigger()
set udg_trigger335 = CreateTrigger()
set udg_trigger336 = CreateTrigger()
set udg_trigger337 = CreateTrigger()
set udg_trigger338 = CreateTrigger()
set udg_trigger339 = CreateTrigger()
set udg_trigger340 = CreateTrigger()
set udg_trigger341 = CreateTrigger()
set udg_trigger342 = CreateTrigger()
set udg_trigger343 = CreateTrigger()
set udg_trigger344 = CreateTrigger()
set udg_trigger345 = CreateTrigger()
set udg_trigger346 = CreateTrigger()
set udg_trigger347 = CreateTrigger()
set udg_trigger348 = CreateTrigger()
set udg_trigger349 = CreateTrigger()
set udg_trigger350 = CreateTrigger()
set udg_trigger351 = CreateTrigger()
set udg_trigger352 = CreateTrigger()
set udg_trigger353 = CreateTrigger()
set udg_trigger354 = CreateTrigger()
set udg_trigger355 = CreateTrigger()
set udg_trigger356 = CreateTrigger()
set udg_trigger357 = CreateTrigger()
set udg_trigger358 = CreateTrigger()
set udg_trigger359 = CreateTrigger()
set udg_trigger360 = CreateTrigger()
set udg_trigger361 = CreateTrigger()
set udg_trigger362 = CreateTrigger()
set udg_trigger363 = CreateTrigger()
set udg_trigger364 = CreateTrigger()
set udg_trigger365 = CreateTrigger()
set udg_trigger366 = CreateTrigger()
set udg_trigger367 = CreateTrigger()
set udg_trigger368 = CreateTrigger()
set udg_trigger369 = CreateTrigger()
set udg_trigger370 = CreateTrigger()
set udg_trigger371 = CreateTrigger()
set udg_trigger372 = CreateTrigger()
set udg_trigger373 = CreateTrigger()
set udg_trigger374 = CreateTrigger()
set udg_trigger375 = CreateTrigger()
set udg_trigger376 = CreateTrigger()
set udg_trigger377 = CreateTrigger()
set udg_trigger378 = CreateTrigger()
set udg_trigger379 = CreateTrigger()
set udg_trigger380 = CreateTrigger()
set udg_trigger381 = CreateTrigger()
set udg_trigger382 = CreateTrigger()
set udg_trigger383 = CreateTrigger()
set udg_trigger384 = CreateTrigger()
set udg_trigger385 = CreateTrigger()
set udg_trigger386 = CreateTrigger()
set udg_trigger387 = CreateTrigger()
set udg_trigger388 = CreateTrigger()
set udg_trigger389 = CreateTrigger()
set udg_trigger390 = CreateTrigger()
set udg_trigger391 = CreateTrigger()
set udg_trigger392 = CreateTrigger()
set udg_trigger393 = CreateTrigger()
set udg_trigger394 = CreateTrigger()
set udg_trigger395 = CreateTrigger()
set udg_trigger396 = CreateTrigger()
set udg_trigger397 = CreateTrigger()
set udg_trigger398 = CreateTrigger()
set udg_trigger399 = CreateTrigger()
set udg_trigger400 = CreateTrigger()
set udg_trigger401 = CreateTrigger()
set udg_trigger402 = CreateTrigger()
set udg_trigger403 = CreateTrigger()
set udg_trigger404 = CreateTrigger()
set udg_trigger405 = CreateTrigger()
set udg_trigger406 = CreateTrigger()
set udg_trigger407 = CreateTrigger()
set udg_trigger408 = CreateTrigger()
set udg_trigger409 = CreateTrigger()
set udg_trigger410 = CreateTrigger()
set udg_trigger411 = CreateTrigger()
set udg_trigger412 = CreateTrigger()
set udg_trigger413 = CreateTrigger()
set udg_trigger414 = CreateTrigger()
set udg_trigger415 = CreateTrigger()
set udg_trigger418 = CreateTrigger()
set udg_trigger419 = CreateTrigger()
set udg_trigger420 = CreateTrigger()
set udg_trigger421 = CreateTrigger()
set udg_trigger422 = CreateTrigger()
set udg_trigger423 = CreateTrigger()
set udg_trigger424 = CreateTrigger()
set udg_trigger425 = CreateTrigger()
set udg_trigger426 = CreateTrigger()
set udg_trigger427 = CreateTrigger()
set udg_trigger428 = CreateTrigger()
set udg_trigger429 = CreateTrigger()
set udg_trigger430 = CreateTrigger()
set udg_trigger431 = CreateTrigger()
set udg_trigger432 = CreateTrigger()
set udg_trigger433 = CreateTrigger()
set udg_trigger434 = CreateTrigger()
set udg_trigger435 = CreateTrigger()
set udg_trigger436 = CreateTrigger()
set udg_trigger437 = CreateTrigger()
set udg_trigger438 = CreateTrigger()
set udg_trigger439 = CreateTrigger()
set udg_trigger440 = CreateTrigger()
set udg_trigger441 = CreateTrigger()
set udg_trigger442 = CreateTrigger()
set udg_trigger443 = CreateTrigger()
set udg_trigger444 = CreateTrigger()
set udg_trigger445 = CreateTrigger()
set udg_trigger446 = CreateTrigger()
set udg_trigger447 = CreateTrigger()
set udg_trigger448 = CreateTrigger()
set udg_trigger449 = CreateTrigger()
set udg_trigger450 = CreateTrigger()
set udg_trigger451 = CreateTrigger()
set udg_trigger452 = CreateTrigger()
set udg_trigger453 = CreateTrigger()
set udg_trigger454 = CreateTrigger()
set udg_trigger455 = CreateTrigger()
set udg_trigger456 = CreateTrigger()
set udg_trigger457 = CreateTrigger()
set udg_trigger458 = CreateTrigger()
set udg_trigger459 = CreateTrigger()
set udg_trigger460 = CreateTrigger()
set udg_trigger461 = CreateTrigger()
set udg_trigger462 = CreateTrigger()
set udg_trigger463 = CreateTrigger()
set udg_trigger464 = CreateTrigger()
set udg_trigger465 = CreateTrigger()
set udg_trigger466 = CreateTrigger()
set udg_trigger467 = CreateTrigger()
set udg_trigger468 = CreateTrigger()
set udg_trigger469 = CreateTrigger()
set udg_trigger470 = CreateTrigger()
set udg_trigger471 = CreateTrigger()
set udg_trigger472 = CreateTrigger()
set udg_trigger473 = CreateTrigger()
set udg_trigger474 = CreateTrigger()
set udg_trigger475 = CreateTrigger()
set udg_trigger476 = CreateTrigger()
set udg_trigger477 = CreateTrigger()
set udg_trigger478 = CreateTrigger()
set udg_trigger479 = CreateTrigger()
set udg_trigger480 = CreateTrigger()
set udg_trigger481 = CreateTrigger()
set udg_trigger482 = CreateTrigger()
set udg_trigger483 = CreateTrigger()
set udg_trigger484 = CreateTrigger()
set udg_trigger485 = CreateTrigger()
set udg_trigger486 = CreateTrigger()
set udg_trigger487 = CreateTrigger()
set udg_trigger488 = CreateTrigger()
set udg_trigger489 = CreateTrigger()
set udg_trigger490 = CreateTrigger()
set udg_trigger491 = CreateTrigger()
set udg_trigger492 = CreateTrigger()
set udg_trigger493 = CreateTrigger()
set udg_trigger494 = CreateTrigger()
set udg_trigger495 = CreateTrigger()
set udg_trigger496 = CreateTrigger()
set udg_trigger497 = CreateTrigger()
set udg_trigger498 = CreateTrigger()
set udg_trigger499 = CreateTrigger()
set udg_trigger500 = CreateTrigger()
set udg_trigger501 = CreateTrigger()
set udg_trigger502 = CreateTrigger()
set udg_trigger503 = CreateTrigger()
set udg_trigger504 = CreateTrigger()
set udg_trigger505 = CreateTrigger()
set udg_trigger506 = CreateTrigger()
set udg_trigger507 = CreateTrigger()
set udg_trigger508 = CreateTrigger()
set udg_trigger509 = CreateTrigger()
set udg_trigger510 = CreateTrigger()
set udg_trigger511 = CreateTrigger()
set udg_trigger512 = CreateTrigger()
set udg_trigger513 = CreateTrigger()
set udg_trigger514 = CreateTrigger()
set udg_trigger515 = CreateTrigger()
set udg_trigger516 = CreateTrigger()
set udg_trigger517 = CreateTrigger()
set udg_trigger518 = CreateTrigger()
set udg_trigger519 = CreateTrigger()
set udg_trigger520 = CreateTrigger()
set udg_trigger521 = CreateTrigger()
set udg_trigger522 = CreateTrigger()
set udg_trigger523 = CreateTrigger()
set udg_trigger524 = CreateTrigger()
set udg_trigger525 = CreateTrigger()
set udg_trigger526 = CreateTrigger()
set udg_trigger527 = CreateTrigger()
set udg_trigger528 = CreateTrigger()
set udg_trigger529 = CreateTrigger()
set udg_trigger530 = CreateTrigger()
set udg_trigger531 = CreateTrigger()
set udg_trigger532 = CreateTrigger()
set udg_trigger533 = CreateTrigger()
set udg_trigger534 = CreateTrigger()
set udg_trigger535 = CreateTrigger()
set udg_trigger536 = CreateTrigger()
set udg_trigger537 = CreateTrigger()
set udg_trigger538 = CreateTrigger()
set udg_trigger539 = CreateTrigger()
set udg_trigger540 = CreateTrigger()
set udg_trigger541 = CreateTrigger()
set udg_trigger542 = CreateTrigger()
set udg_trigger543 = CreateTrigger()
set udg_trigger544 = CreateTrigger()
set udg_trigger545 = CreateTrigger()
set udg_trigger546 = CreateTrigger()
set udg_trigger547 = CreateTrigger()
set udg_trigger548 = CreateTrigger()
set udg_trigger549 = CreateTrigger()
set udg_trigger550 = CreateTrigger()
set udg_trigger551 = CreateTrigger()
call ExecuteFunc("main2")
endfunction