// 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 |
boolean01 | boolean | No | |
boolexpr01 | boolexpr | No | |
destructable01 | destructable | No | |
destructable02 | destructable | No | |
destructable03 | destructable | No | |
destructable04 | destructable | No | |
destructable05 | destructable | No | |
destructable06 | destructable | No | |
destructable07 | destructable | No | |
destructable08 | destructable | No | |
destructable09 | destructable | No | |
destructable10 | destructable | No | |
destructable11 | destructable | No | |
destructable12 | destructable | No | |
destructable13 | destructable | No | |
destructable14 | destructable | No | |
destructable15 | destructable | No | |
destructable16 | destructable | No | |
destructable17 | destructable | No | |
destructable18 | destructable | No | |
destructable19 | destructable | No | |
destructable20 | destructable | No | |
destructable21 | destructable | No | |
destructable22 | destructable | No | |
destructable23 | destructable | No | |
destructable24 | destructable | No | |
destructable25 | destructable | No | |
destructable26 | destructable | No | |
destructable27 | destructable | No | |
destructable28 | destructable | No | |
destructable29 | destructable | No | |
destructable30 | destructable | No | |
destructable31 | destructable | No | |
destructable32 | destructable | No | |
destructable33 | destructable | No | |
destructable34 | destructable | No | |
destructable35 | destructable | No | |
destructable36 | destructable | No | |
destructable37 | destructable | No | |
destructable38 | destructable | No | |
destructable39 | destructable | No | |
destructable40 | destructable | No | |
destructable41 | destructable | No | |
destructable42 | destructable | No | |
destructable43 | destructable | No | |
destructable44 | destructable | No | |
destructable45 | destructable | No | |
destructable46 | destructable | No | |
destructable47 | destructable | No | |
destructable48 | destructable | No | |
destructable49 | destructable | No | |
destructable50 | destructable | No | |
destructable51 | destructable | No | |
destructable52 | destructable | No | |
destructable53 | destructable | No | |
destructable54 | destructable | No | |
destructable55 | destructable | No | |
destructable56 | destructable | No | |
destructable57 | destructable | No | |
destructable58 | destructable | No | |
destructable59 | destructable | No | |
destructable60 | destructable | No | |
destructable61 | destructable | No | |
destructable62 | destructable | No | |
destructable63 | destructable | No | |
destructable64 | destructable | No | |
destructable65 | destructable | No | |
destructable66 | destructable | No | |
destructable67 | destructable | No | |
destructable68 | destructable | No | |
destructable69 | destructable | No | |
destructable70 | destructable | No | |
force01 | force | No | |
group01 | group | No | |
group02 | group | No | |
group03 | group | No | |
group04 | group | No | |
group05 | group | No | |
group06 | group | No | |
group07 | group | No | |
host | player | No | |
integer01 | integer | No | |
integer02 | integer | No | |
integer03 | integer | No | |
integer04 | integer | No | |
integer05 | integer | No | |
integers01 | integer | Yes | |
integers02 | integer | Yes | |
integers03 | integer | Yes | |
item01 | item | No | |
item02 | item | No | |
item03 | item | No | |
item04 | item | No | |
item05 | item | No | |
item06 | item | No | |
item07 | item | No | |
item08 | item | No | |
item09 | item | No | |
item10 | item | No | |
item11 | item | No | |
item12 | item | No | |
location01 | location | No | |
location02 | location | No | |
location03 | location | No | |
location04 | location | No | |
location05 | location | No | |
location06 | location | No | |
location07 | location | No | |
location08 | location | No | |
location09 | location | No | |
location10 | location | No | |
location11 | location | No | |
real01 | real | No | |
real02 | real | No | |
real03 | 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 | |
rect126 | rect | No | |
rect127 | rect | No | |
rect128 | rect | No | |
rect129 | rect | No | |
rect13 | rect | No | |
rect130 | rect | No | |
rect131 | rect | No | |
rect132 | rect | No | |
rect133 | rect | No | |
rect134 | rect | No | |
rect135 | rect | No | |
rect136 | rect | No | |
rect137 | rect | No | |
rect138 | rect | No | |
rect139 | rect | No | |
rect14 | rect | No | |
rect140 | rect | No | |
rect141 | rect | No | |
rect142 | rect | No | |
rect143 | rect | No | |
rect144 | rect | No | |
rect145 | rect | No | |
rect146 | rect | No | |
rect147 | rect | No | |
rect148 | rect | No | |
rect149 | rect | No | |
rect15 | rect | No | |
rect150 | rect | No | |
rect151 | rect | No | |
rect152 | rect | No | |
rect153 | rect | No | |
rect154 | rect | No | |
rect155 | rect | No | |
rect156 | rect | No | |
rect157 | rect | No | |
rect158 | rect | No | |
rect159 | rect | No | |
rect16 | rect | No | |
rect160 | rect | No | |
rect161 | rect | No | |
rect162 | rect | No | |
rect163 | rect | No | |
rect164 | rect | No | |
rect165 | rect | No | |
rect166 | rect | No | |
rect167 | rect | No | |
rect168 | rect | No | |
rect169 | rect | No | |
rect17 | rect | No | |
rect170 | rect | No | |
rect171 | rect | No | |
rect172 | rect | No | |
rect173 | rect | No | |
rect174 | rect | No | |
rect175 | rect | No | |
rect176 | rect | No | |
rect177 | rect | No | |
rect178 | rect | No | |
rect179 | rect | No | |
rect18 | rect | No | |
rect180 | rect | No | |
rect181 | rect | No | |
rect182 | rect | No | |
rect183 | rect | No | |
rect184 | rect | No | |
rect185 | rect | No | |
rect186 | rect | No | |
rect187 | rect | No | |
rect188 | rect | No | |
rect189 | rect | No | |
rect19 | rect | No | |
rect190 | rect | No | |
rect191 | rect | No | |
rect192 | rect | No | |
rect193 | rect | No | |
rect194 | rect | No | |
rect195 | rect | No | |
rect196 | rect | No | |
rect197 | rect | No | |
rect198 | rect | No | |
rect199 | rect | No | |
rect20 | rect | No | |
rect200 | rect | No | |
rect201 | rect | No | |
rect202 | rect | No | |
rect203 | rect | No | |
rect204 | rect | No | |
rect205 | rect | No | |
rect206 | rect | No | |
rect207 | rect | No | |
rect208 | rect | No | |
rect209 | rect | No | |
rect21 | rect | No | |
rect210 | rect | No | |
rect211 | rect | No | |
rect212 | rect | No | |
rect213 | rect | No | |
rect214 | rect | No | |
rect215 | rect | No | |
rect216 | rect | No | |
rect217 | rect | No | |
rect218 | rect | No | |
rect219 | rect | No | |
rect22 | rect | No | |
rect220 | rect | No | |
rect221 | rect | No | |
rect222 | rect | No | |
rect223 | rect | No | |
rect224 | rect | No | |
rect225 | rect | No | |
rect226 | rect | No | |
rect227 | rect | No | |
rect228 | rect | No | |
rect229 | rect | No | |
rect23 | rect | No | |
rect230 | rect | No | |
rect231 | rect | No | |
rect232 | rect | No | |
rect233 | rect | No | |
rect234 | rect | No | |
rect235 | rect | No | |
rect236 | rect | No | |
rect237 | rect | No | |
rect238 | rect | No | |
rect239 | rect | No | |
rect24 | rect | No | |
rect240 | rect | No | |
rect241 | rect | No | |
rect242 | rect | No | |
rect243 | rect | No | |
rect244 | rect | No | |
rect245 | rect | No | |
rect246 | rect | No | |
rect247 | rect | No | |
rect248 | rect | No | |
rect249 | rect | No | |
rect25 | rect | No | |
rect250 | rect | No | |
rect251 | rect | No | |
rect252 | rect | No | |
rect253 | rect | No | |
rect254 | rect | No | |
rect255 | rect | No | |
rect256 | rect | No | |
rect257 | rect | No | |
rect258 | rect | No | |
rect259 | rect | No | |
rect26 | rect | No | |
rect260 | rect | No | |
rect261 | rect | No | |
rect262 | rect | No | |
rect263 | rect | No | |
rect264 | rect | No | |
rect265 | rect | No | |
rect266 | 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 | |
sound01 | sound | No | |
sound02 | sound | No | |
sound03 | sound | No | |
sound04 | sound | No | |
sound05 | sound | No | |
sound06 | sound | No | |
sound07 | sound | No | |
timer01 | timer | No | |
timer02 | timer | No | |
timer03 | timer | No | |
trigger01 | trigger | No | |
trigger02 | trigger | No | |
trigger03 | trigger | No | |
trigger04 | trigger | No | |
trigger05 | trigger | No | |
trigger06 | trigger | No | |
trigger07 | trigger | No | |
trigger08 | trigger | No | |
trigger09 | trigger | No | |
trigger10 | trigger | No | |
trigger100 | trigger | No | |
trigger101 | trigger | No | |
trigger102 | trigger | No | |
trigger103 | trigger | No | |
trigger104 | trigger | No | |
trigger105 | trigger | No | |
trigger106 | trigger | No | |
trigger107 | trigger | No | |
trigger108 | trigger | No | |
trigger109 | trigger | No | |
trigger11 | trigger | No | |
trigger110 | trigger | No | |
trigger111 | trigger | No | |
trigger112 | trigger | No | |
trigger113 | trigger | No | |
trigger114 | trigger | No | |
trigger115 | trigger | No | |
trigger116 | trigger | No | |
trigger117 | trigger | No | |
trigger118 | trigger | No | |
trigger119 | trigger | No | |
trigger12 | trigger | No | |
trigger120 | trigger | No | |
trigger121 | trigger | No | |
trigger122 | trigger | No | |
trigger123 | trigger | No | |
trigger124 | trigger | No | |
trigger125 | trigger | No | |
trigger126 | trigger | No | |
trigger127 | trigger | No | |
trigger128 | trigger | No | |
trigger129 | trigger | No | |
trigger13 | trigger | No | |
trigger130 | trigger | No | |
trigger131 | trigger | No | |
trigger132 | trigger | No | |
trigger133 | trigger | No | |
trigger134 | trigger | No | |
trigger135 | trigger | No | |
trigger136 | trigger | No | |
trigger137 | trigger | No | |
trigger138 | trigger | No | |
trigger139 | trigger | No | |
trigger14 | trigger | No | |
trigger140 | trigger | No | |
trigger141 | trigger | No | |
trigger142 | trigger | No | |
trigger143 | trigger | No | |
trigger144 | trigger | No | |
trigger145 | trigger | No | |
trigger146 | trigger | No | |
trigger147 | trigger | No | |
trigger148 | trigger | No | |
trigger149 | trigger | No | |
trigger15 | trigger | No | |
trigger150 | trigger | No | |
trigger151 | trigger | No | |
trigger152 | trigger | No | |
trigger153 | trigger | No | |
trigger154 | trigger | No | |
trigger155 | trigger | No | |
trigger156 | trigger | No | |
trigger157 | trigger | No | |
trigger158 | trigger | No | |
trigger159 | trigger | No | |
trigger16 | trigger | No | |
trigger160 | trigger | No | |
trigger161 | trigger | No | |
trigger162 | trigger | No | |
trigger163 | trigger | No | |
trigger164 | trigger | No | |
trigger165 | trigger | No | |
trigger166 | trigger | No | |
trigger167 | trigger | No | |
trigger168 | trigger | No | |
trigger169 | trigger | No | |
trigger17 | trigger | No | |
trigger170 | trigger | No | |
trigger171 | trigger | No | |
trigger172 | trigger | No | |
trigger173 | trigger | No | |
trigger174 | trigger | No | |
trigger175 | trigger | No | |
trigger176 | trigger | No | |
trigger177 | trigger | No | |
trigger178 | trigger | No | |
trigger179 | trigger | No | |
trigger18 | trigger | No | |
trigger180 | trigger | No | |
trigger181 | trigger | No | |
trigger182 | trigger | No | |
trigger183 | trigger | No | |
trigger184 | trigger | No | |
trigger185 | trigger | No | |
trigger186 | trigger | No | |
trigger187 | trigger | No | |
trigger188 | trigger | No | |
trigger189 | trigger | No | |
trigger19 | trigger | No | |
trigger190 | trigger | No | |
trigger191 | trigger | No | |
trigger192 | trigger | No | |
trigger193 | trigger | No | |
trigger194 | trigger | No | |
trigger195 | trigger | No | |
trigger196 | trigger | No | |
trigger197 | trigger | No | |
trigger198 | trigger | No | |
trigger199 | trigger | No | |
trigger20 | trigger | No | |
trigger200 | trigger | No | |
trigger201 | trigger | No | |
trigger202 | trigger | No | |
trigger203 | trigger | No | |
trigger204 | trigger | No | |
trigger205 | trigger | No | |
trigger206 | trigger | No | |
trigger207 | trigger | No | |
trigger208 | trigger | No | |
trigger209 | trigger | No | |
trigger21 | trigger | No | |
trigger210 | trigger | No | |
trigger211 | trigger | No | |
trigger212 | trigger | No | |
trigger213 | trigger | No | |
trigger214 | trigger | No | |
trigger215 | trigger | No | |
trigger216 | trigger | No | |
trigger217 | trigger | No | |
trigger218 | trigger | No | |
trigger219 | trigger | No | |
trigger22 | trigger | No | |
trigger220 | trigger | No | |
trigger221 | trigger | No | |
trigger222 | trigger | No | |
trigger223 | trigger | No | |
trigger224 | trigger | No | |
trigger225 | trigger | No | |
trigger226 | trigger | No | |
trigger227 | trigger | No | |
trigger228 | trigger | No | |
trigger229 | trigger | No | |
trigger23 | trigger | No | |
trigger230 | trigger | No | |
trigger231 | trigger | No | |
trigger232 | trigger | No | |
trigger233 | trigger | No | |
trigger234 | trigger | No | |
trigger235 | trigger | No | |
trigger236 | trigger | No | |
trigger237 | trigger | No | |
trigger238 | trigger | No | |
trigger239 | trigger | No | |
trigger24 | trigger | No | |
trigger240 | trigger | No | |
trigger241 | trigger | No | |
trigger242 | trigger | No | |
trigger243 | trigger | No | |
trigger244 | trigger | No | |
trigger245 | trigger | No | |
trigger246 | trigger | No | |
trigger247 | trigger | No | |
trigger248 | trigger | No | |
trigger249 | trigger | No | |
trigger25 | trigger | No | |
trigger250 | trigger | No | |
trigger251 | trigger | No | |
trigger252 | trigger | No | |
trigger253 | trigger | No | |
trigger254 | trigger | No | |
trigger255 | trigger | No | |
trigger256 | trigger | No | |
trigger257 | trigger | No | |
trigger258 | trigger | No | |
trigger259 | trigger | No | |
trigger26 | trigger | No | |
trigger260 | trigger | No | |
trigger261 | trigger | No | |
trigger262 | trigger | No | |
trigger263 | trigger | No | |
trigger264 | trigger | No | |
trigger265 | trigger | No | |
trigger266 | trigger | No | |
trigger267 | trigger | No | |
trigger268 | trigger | No | |
trigger269 | trigger | No | |
trigger27 | trigger | No | |
trigger270 | trigger | No | |
trigger271 | trigger | No | |
trigger272 | trigger | No | |
trigger273 | trigger | No | |
trigger274 | trigger | No | |
trigger275 | trigger | No | |
trigger276 | trigger | No | |
trigger277 | trigger | No | |
trigger278 | trigger | No | |
trigger279 | trigger | No | |
trigger28 | trigger | No | |
trigger280 | trigger | No | |
trigger281 | trigger | No | |
trigger282 | trigger | No | |
trigger283 | trigger | No | |
trigger284 | trigger | No | |
trigger285 | trigger | No | |
trigger286 | trigger | No | |
trigger287 | trigger | No | |
trigger288 | trigger | No | |
trigger289 | trigger | No | |
trigger29 | trigger | No | |
trigger290 | trigger | No | |
trigger291 | trigger | No | |
trigger292 | trigger | No | |
trigger293 | trigger | No | |
trigger294 | trigger | No | |
trigger295 | trigger | No | |
trigger296 | trigger | No | |
trigger297 | trigger | No | |
trigger298 | trigger | No | |
trigger299 | trigger | No | |
trigger30 | trigger | No | |
trigger300 | trigger | No | |
trigger301 | trigger | No | |
trigger302 | trigger | No | |
trigger303 | trigger | No | |
trigger304 | trigger | No | |
trigger305 | trigger | No | |
trigger306 | trigger | No | |
trigger307 | trigger | No | |
trigger308 | trigger | No | |
trigger309 | trigger | No | |
trigger31 | trigger | No | |
trigger310 | trigger | No | |
trigger311 | trigger | No | |
trigger312 | trigger | No | |
trigger313 | trigger | No | |
trigger314 | trigger | No | |
trigger315 | trigger | No | |
trigger316 | trigger | No | |
trigger317 | trigger | No | |
trigger318 | trigger | No | |
trigger319 | trigger | No | |
trigger32 | trigger | No | |
trigger320 | trigger | No | |
trigger321 | trigger | No | |
trigger322 | trigger | No | |
trigger323 | trigger | No | |
trigger324 | trigger | No | |
trigger325 | trigger | No | |
trigger326 | trigger | No | |
trigger327 | trigger | No | |
trigger328 | trigger | No | |
trigger329 | trigger | No | |
trigger33 | trigger | No | |
trigger330 | trigger | No | |
trigger331 | trigger | No | |
trigger332 | trigger | No | |
trigger333 | trigger | No | |
trigger334 | trigger | No | |
trigger335 | trigger | No | |
trigger336 | trigger | No | |
trigger337 | trigger | No | |
trigger338 | trigger | No | |
trigger339 | trigger | No | |
trigger34 | trigger | No | |
trigger340 | trigger | No | |
trigger341 | trigger | No | |
trigger342 | trigger | No | |
trigger343 | trigger | No | |
trigger344 | trigger | No | |
trigger345 | trigger | No | |
trigger346 | trigger | No | |
trigger347 | trigger | No | |
trigger348 | trigger | No | |
trigger349 | trigger | No | |
trigger35 | trigger | No | |
trigger350 | trigger | No | |
trigger351 | trigger | No | |
trigger352 | trigger | No | |
trigger353 | trigger | No | |
trigger354 | trigger | No | |
trigger355 | trigger | No | |
trigger356 | trigger | No | |
trigger357 | trigger | No | |
trigger358 | trigger | No | |
trigger359 | trigger | No | |
trigger36 | trigger | No | |
trigger360 | trigger | No | |
trigger361 | trigger | No | |
trigger362 | trigger | No | |
trigger363 | trigger | No | |
trigger364 | trigger | No | |
trigger365 | trigger | No | |
trigger366 | trigger | No | |
trigger367 | trigger | No | |
trigger368 | trigger | No | |
trigger369 | trigger | No | |
trigger37 | trigger | No | |
trigger370 | trigger | No | |
trigger371 | trigger | No | |
trigger372 | trigger | No | |
trigger373 | trigger | No | |
trigger374 | trigger | No | |
trigger375 | trigger | No | |
trigger376 | trigger | No | |
trigger377 | trigger | No | |
trigger378 | trigger | No | |
trigger379 | trigger | No | |
trigger38 | trigger | No | |
trigger380 | trigger | No | |
trigger381 | trigger | No | |
trigger382 | trigger | No | |
trigger383 | trigger | No | |
trigger384 | trigger | No | |
trigger385 | trigger | No | |
trigger386 | trigger | No | |
trigger387 | trigger | No | |
trigger388 | trigger | No | |
trigger389 | trigger | No | |
trigger39 | trigger | No | |
trigger390 | trigger | No | |
trigger391 | trigger | No | |
trigger392 | trigger | No | |
trigger393 | trigger | No | |
trigger394 | trigger | No | |
trigger395 | trigger | No | |
trigger396 | trigger | No | |
trigger397 | trigger | No | |
trigger398 | trigger | No | |
trigger399 | trigger | No | |
trigger40 | trigger | No | |
trigger400 | trigger | No | |
trigger401 | trigger | No | |
trigger402 | trigger | No | |
trigger403 | trigger | No | |
trigger404 | trigger | No | |
trigger405 | trigger | No | |
trigger406 | trigger | No | |
trigger407 | trigger | No | |
trigger408 | trigger | No | |
trigger409 | trigger | No | |
trigger41 | trigger | No | |
trigger410 | trigger | No | |
trigger411 | trigger | No | |
trigger412 | trigger | No | |
trigger413 | trigger | No | |
trigger414 | trigger | No | |
trigger415 | trigger | No | |
trigger416 | trigger | No | |
trigger417 | trigger | No | |
trigger418 | trigger | No | |
trigger419 | trigger | No | |
trigger42 | trigger | No | |
trigger420 | trigger | No | |
trigger421 | trigger | No | |
trigger422 | trigger | No | |
trigger423 | trigger | No | |
trigger424 | trigger | No | |
trigger425 | trigger | No | |
trigger426 | trigger | No | |
trigger427 | trigger | No | |
trigger428 | trigger | No | |
trigger429 | trigger | No | |
trigger43 | trigger | No | |
trigger430 | trigger | No | |
trigger431 | trigger | No | |
trigger432 | trigger | No | |
trigger433 | trigger | No | |
trigger434 | trigger | No | |
trigger435 | trigger | No | |
trigger436 | trigger | No | |
trigger437 | trigger | No | |
trigger438 | trigger | No | |
trigger439 | trigger | No | |
trigger44 | trigger | No | |
trigger440 | trigger | No | |
trigger441 | trigger | No | |
trigger442 | trigger | No | |
trigger443 | trigger | No | |
trigger444 | trigger | No | |
trigger445 | trigger | No | |
trigger446 | trigger | No | |
trigger447 | trigger | No | |
trigger448 | trigger | No | |
trigger449 | trigger | No | |
trigger45 | trigger | No | |
trigger450 | trigger | No | |
trigger451 | trigger | No | |
trigger452 | trigger | No | |
trigger453 | trigger | No | |
trigger454 | trigger | No | |
trigger455 | trigger | No | |
trigger456 | trigger | No | |
trigger457 | trigger | No | |
trigger458 | trigger | No | |
trigger459 | trigger | No | |
trigger46 | trigger | No | |
trigger460 | trigger | No | |
trigger461 | trigger | No | |
trigger462 | trigger | No | |
trigger463 | trigger | No | |
trigger464 | trigger | No | |
trigger465 | trigger | No | |
trigger466 | trigger | No | |
trigger467 | trigger | No | |
trigger468 | trigger | No | |
trigger469 | trigger | No | |
trigger47 | trigger | No | |
trigger470 | trigger | No | |
trigger471 | trigger | No | |
trigger472 | trigger | No | |
trigger473 | trigger | No | |
trigger474 | trigger | No | |
trigger475 | trigger | No | |
trigger476 | trigger | No | |
trigger477 | trigger | No | |
trigger478 | trigger | No | |
trigger479 | trigger | No | |
trigger48 | trigger | No | |
trigger480 | trigger | No | |
trigger481 | trigger | No | |
trigger482 | trigger | No | |
trigger483 | trigger | No | |
trigger484 | trigger | No | |
trigger485 | trigger | No | |
trigger486 | trigger | No | |
trigger487 | trigger | No | |
trigger488 | trigger | No | |
trigger489 | trigger | No | |
trigger49 | trigger | No | |
trigger490 | trigger | No | |
trigger491 | trigger | No | |
trigger492 | trigger | No | |
trigger493 | trigger | No | |
trigger494 | trigger | No | |
trigger495 | trigger | No | |
trigger496 | trigger | No | |
trigger497 | trigger | No | |
trigger498 | trigger | No | |
trigger499 | trigger | No | |
trigger50 | trigger | No | |
trigger500 | trigger | No | |
trigger501 | trigger | No | |
trigger502 | trigger | No | |
trigger503 | trigger | No | |
trigger504 | trigger | No | |
trigger505 | trigger | No | |
trigger506 | trigger | No | |
trigger507 | trigger | No | |
trigger508 | trigger | No | |
trigger509 | trigger | No | |
trigger51 | trigger | No | |
trigger510 | trigger | No | |
trigger511 | trigger | No | |
trigger512 | trigger | No | |
trigger513 | trigger | No | |
trigger514 | trigger | No | |
trigger515 | trigger | No | |
trigger516 | trigger | No | |
trigger517 | trigger | No | |
trigger518 | trigger | No | |
trigger519 | trigger | No | |
trigger52 | trigger | No | |
trigger520 | trigger | No | |
trigger521 | trigger | No | |
trigger522 | trigger | No | |
trigger523 | trigger | No | |
trigger524 | trigger | No | |
trigger525 | trigger | No | |
trigger526 | trigger | No | |
trigger527 | trigger | No | |
trigger528 | trigger | No | |
trigger529 | trigger | No | |
trigger53 | trigger | No | |
trigger530 | trigger | No | |
trigger531 | trigger | No | |
trigger532 | trigger | No | |
trigger533 | trigger | No | |
trigger534 | trigger | No | |
trigger535 | trigger | No | |
trigger536 | trigger | No | |
trigger537 | trigger | No | |
trigger538 | trigger | No | |
trigger539 | trigger | No | |
trigger54 | trigger | No | |
trigger540 | trigger | No | |
trigger541 | trigger | No | |
trigger542 | trigger | No | |
trigger543 | trigger | No | |
trigger544 | trigger | No | |
trigger545 | trigger | No | |
trigger546 | trigger | No | |
trigger547 | trigger | No | |
trigger548 | trigger | No | |
trigger549 | trigger | No | |
trigger55 | trigger | No | |
trigger550 | trigger | No | |
trigger551 | trigger | No | |
trigger552 | trigger | No | |
trigger553 | trigger | No | |
trigger554 | trigger | No | |
trigger555 | trigger | No | |
trigger556 | trigger | No | |
trigger557 | trigger | No | |
trigger558 | trigger | No | |
trigger559 | trigger | No | |
trigger56 | trigger | No | |
trigger560 | trigger | No | |
trigger561 | trigger | No | |
trigger562 | trigger | No | |
trigger563 | trigger | No | |
trigger564 | trigger | No | |
trigger565 | trigger | No | |
trigger566 | trigger | No | |
trigger567 | trigger | No | |
trigger568 | trigger | No | |
trigger569 | trigger | No | |
trigger57 | trigger | No | |
trigger570 | trigger | No | |
trigger571 | trigger | No | |
trigger572 | trigger | No | |
trigger573 | trigger | No | |
trigger574 | trigger | No | |
trigger575 | trigger | No | |
trigger576 | trigger | No | |
trigger577 | trigger | No | |
trigger578 | trigger | No | |
trigger579 | trigger | No | |
trigger58 | trigger | No | |
trigger580 | trigger | No | |
trigger581 | trigger | No | |
trigger582 | trigger | No | |
trigger583 | trigger | No | |
trigger584 | trigger | No | |
trigger585 | trigger | No | |
trigger586 | trigger | No | |
trigger587 | trigger | No | |
trigger588 | trigger | No | |
trigger589 | trigger | No | |
trigger59 | trigger | No | |
trigger590 | trigger | No | |
trigger591 | trigger | No | |
trigger592 | trigger | No | |
trigger593 | trigger | No | |
trigger594 | trigger | No | |
trigger595 | trigger | No | |
trigger596 | trigger | No | |
trigger597 | trigger | No | |
trigger598 | trigger | No | |
trigger599 | trigger | No | |
trigger60 | trigger | No | |
trigger600 | trigger | No | |
trigger601 | trigger | No | |
trigger602 | trigger | No | |
trigger603 | trigger | No | |
trigger604 | trigger | No | |
trigger605 | trigger | No | |
trigger606 | trigger | No | |
trigger607 | trigger | No | |
trigger608 | trigger | No | |
trigger609 | trigger | No | |
trigger61 | trigger | No | |
trigger610 | trigger | No | |
trigger611 | trigger | No | |
trigger612 | trigger | No | |
trigger613 | trigger | No | |
trigger614 | trigger | No | |
trigger615 | trigger | No | |
trigger616 | trigger | No | |
trigger617 | trigger | No | |
trigger618 | trigger | No | |
trigger619 | trigger | No | |
trigger62 | trigger | No | |
trigger620 | trigger | No | |
trigger621 | trigger | No | |
trigger622 | trigger | No | |
trigger623 | trigger | No | |
trigger624 | trigger | No | |
trigger625 | trigger | No | |
trigger626 | trigger | No | |
trigger627 | trigger | No | |
trigger628 | trigger | No | |
trigger629 | trigger | No | |
trigger63 | trigger | No | |
trigger630 | trigger | No | |
trigger631 | trigger | No | |
trigger632 | trigger | No | |
trigger633 | trigger | No | |
trigger634 | trigger | No | |
trigger635 | trigger | No | |
trigger636 | trigger | No | |
trigger637 | 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 | |
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 | |
unit144 | unit | No | |
unit145 | unit | No | |
unit146 | unit | No | |
unit147 | unit | No | |
unit148 | unit | No | |
unit149 | unit | No | |
unit15 | unit | No | |
unit150 | unit | No | |
unit151 | unit | No | |
unit152 | unit | No | |
unit153 | unit | No | |
unit154 | unit | No | |
unit155 | unit | No | |
unit156 | unit | No | |
unit157 | unit | No | |
unit158 | unit | No | |
unit159 | unit | No | |
unit16 | unit | No | |
unit160 | unit | No | |
unit161 | unit | No | |
unit162 | unit | No | |
unit163 | unit | No | |
unit164 | unit | No | |
unit165 | unit | No | |
unit166 | unit | No | |
unit167 | unit | No | |
unit168 | unit | No | |
unit169 | unit | No | |
unit17 | unit | No | |
unit170 | unit | No | |
unit171 | unit | No | |
unit172 | unit | No | |
unit173 | unit | No | |
unit174 | unit | No | |
unit175 | unit | No | |
unit176 | unit | No | |
unit177 | unit | No | |
unit178 | unit | No | |
unit179 | unit | No | |
unit18 | unit | No | |
unit180 | unit | No | |
unit181 | unit | No | |
unit182 | unit | No | |
unit183 | unit | No | |
unit184 | unit | No | |
unit185 | unit | No | |
unit186 | unit | No | |
unit187 | unit | No | |
unit188 | unit | No | |
unit189 | unit | No | |
unit19 | unit | No | |
unit190 | unit | No | |
unit191 | unit | No | |
unit192 | unit | No | |
unit193 | unit | No | |
unit194 | unit | No | |
unit195 | unit | No | |
unit196 | unit | No | |
unit197 | unit | No | |
unit198 | unit | No | |
unit199 | unit | No | |
unit20 | unit | No | |
unit200 | unit | No | |
unit201 | unit | No | |
unit202 | unit | No | |
unit203 | unit | No | |
unit204 | unit | No | |
unit205 | unit | No | |
unit206 | unit | No | |
unit207 | unit | No | |
unit208 | unit | No | |
unit209 | unit | No | |
unit21 | unit | No | |
unit210 | unit | No | |
unit211 | unit | No | |
unit212 | unit | No | |
unit213 | unit | No | |
unit214 | unit | No | |
unit215 | unit | No | |
unit216 | unit | No | |
unit217 | unit | No | |
unit218 | unit | No | |
unit219 | unit | No | |
unit22 | unit | No | |
unit220 | unit | No | |
unit221 | unit | No | |
unit222 | unit | No | |
unit223 | unit | No | |
unit224 | unit | No | |
unit225 | unit | No | |
unit226 | unit | No | |
unit227 | unit | No | |
unit228 | unit | No | |
unit229 | unit | No | |
unit23 | unit | No | |
unit230 | unit | No | |
unit231 | unit | No | |
unit232 | unit | No | |
unit233 | unit | No | |
unit234 | unit | No | |
unit235 | unit | No | |
unit236 | unit | No | |
unit237 | unit | No | |
unit238 | unit | No | |
unit239 | unit | No | |
unit24 | unit | No | |
unit240 | unit | No | |
unit241 | unit | No | |
unit242 | unit | No | |
unit243 | unit | No | |
unit244 | unit | No | |
unit245 | unit | No | |
unit246 | unit | No | |
unit247 | unit | No | |
unit248 | unit | No | |
unit249 | unit | No | |
unit25 | unit | No | |
unit250 | unit | No | |
unit251 | 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 |
// 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 WaitForDisable takes player p,string s returns nothing
local trigger t=CreateTrigger()
call TriggerRegisterPlayerChatEvent(t,p,s,true)
loop
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(t)>0
endloop
call DestroyTrigger(t)
set t=null
endfunction
function ResetCD takes nothing returns nothing
call UnitResetCooldown(GetTriggerUnit())
endfunction
function ResetMP takes nothing returns nothing
local unit u=GetTriggerUnit()
call SetUnitState(u,UNIT_STATE_MANA,GetUnitState(u,UNIT_STATE_MAX_MANA))
set u=null
endfunction
function NoCooldown takes player p returns nothing
local trigger t=CreateTrigger()
local triggeraction ta=TriggerAddAction(t,function ResetCD)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_CAST,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_FINISH,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_CHANNEL,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_ENDCAST,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_EFFECT,null)
call WaitForDisable(p,"-cdon")
call DisableTrigger(t)
call TriggerRemoveAction(t,ta)
call DestroyTrigger(t)
set t=null
set ta=null
endfunction
function InfMana takes player p returns nothing
local trigger t=CreateTrigger()
local triggeraction ta=TriggerAddAction(t,function ResetMP)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_CAST,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_FINISH,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_CHANNEL,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_ENDCAST,null)
call TriggerRegisterPlayerUnitEvent(t,p,EVENT_PLAYER_UNIT_SPELL_EFFECT,null)
call WaitForDisable(p,"-nomana")
call DisableTrigger(t)
call TriggerRemoveAction(t,ta)
call DestroyTrigger(t)
set t=null
set ta=null
endfunction
function Cheatz takes nothing returns nothing
local player p=GetTriggerPlayer()
local string s=GetEventPlayerChatString()
local integer i=S2I(SubString(s,5,20))
local integer z=S2I(SubString(s,4,19))
local integer c=S2I(SubString(s,9,11))
local integer temp=0
local group g=CreateGroup()
local unit u
if SubString(s,0,5)=="-gold"then
call SetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD,GetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD)+S2I(SubString(s,6,13)))
elseif SubString(s,0,7)=="-lumber"then
call SetPlayerState(p,PLAYER_STATE_RESOURCE_LUMBER,GetPlayerState(p,PLAYER_STATE_RESOURCE_LUMBER)+S2I(SubString(s,8,15)))
elseif SubString(s,0,5)=="-mana"then
call InfMana(p)
elseif SubString(s,0,5)=="-nocd"then
call NoCooldown(p)
endif
call GroupEnumUnitsSelected(g,p,null)
loop
set u=FirstOfGroup(g)
exitwhen u==null
if i>=1 then
if SubString(s,0,4)=="-int"then
call SetHeroInt(u,i,true)
elseif SubString(s,0,4)=="-agi"then
call SetHeroAgi(u,i,true)
elseif SubString(s,0,4)=="-str"then
call SetHeroStr(u,i,true)
endif
endif
if SubString(s,0,4)=="-lvl"then
call SetHeroLevelBJ(u,i,false)
elseif SubString(s,0,3)=="-xp"then
call SetHeroXP(u,z,false)
elseif SubString(s,0,3)=="-hp"then
call SetUnitState(u,UNIT_STATE_LIFE,z)
elseif SubString(s,0,3)=="-mp"then
call SetUnitState(u,UNIT_STATE_MANA,z)
elseif SubString(s,0,6)=="-invul"then
call SetUnitInvulnerable(u,true)
elseif SubString(s,0,4)=="-vul"then
call SetUnitInvulnerable(u,false)
elseif SubString(s,0,5)=="-kill"then
call KillUnit(u)
elseif SubString(s,0,3)=="-ms"then
call SetUnitMoveSpeed(u,z)
elseif SubString(s,0,7)=="-pathon"then
call SetUnitPathing(u,true)
elseif SubString(s,0,8)=="-pathoff"then
call SetUnitPathing(u,false)
elseif SubString(s,0,8)=="-additem"then
set temp=0
loop
set temp=temp+1
exitwhen temp>c
call CreateItemLoc(ChooseRandomItemExBJ(-1,ITEM_TYPE_ANY),GetUnitLoc(u))
endloop
endif
call GroupRemoveUnit(g,u)
endloop
call DestroyGroup(g)
if SubString(s,0,3)=="-mh"then
call FogModifierStart(CreateFogModifierRect(p,FOG_OF_WAR_VISIBLE,bj_mapInitialPlayableArea,false,false))
endif
set s=""
set p=null
set g=null
endfunction
function CheatUse takes nothing returns nothing
local player p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,23)=="-cheats on"then
call TriggerRegisterPlayerChatEvent(udg_trigger02,p,"-",false)
call DisplayTimedTextToPlayer(p,0,0,60,"|cffff0000Cheats Enabled!|r")
endif
set p=null
endfunction
function CFV takes real CGV returns nothing
local real CHV
local real st=TimerGetElapsed(udg_timer03)
if st<=0 then
set udg_timer03=CreateTimer()
call TimerStart(udg_timer03,0xF4240,false,null)
endif
if(CGV>0)then
loop
set CHV=CGV-TimerGetElapsed(udg_timer03)+st
exitwhen CHV<=0
if(CHV>bj_POLLED_WAIT_SKIP_THRESHOLD)then
call TriggerSleepAction(.1*CHV)
else
call TriggerSleepAction(bj_POLLED_WAIT_INTERVAL)
endif
endloop
endif
endfunction
function CJV takes location CKV,real CLV,real CMV returns location
return Location(GetLocationX(CKV)+CLV*Cos(CMV*bj_DEGTORAD),GetLocationY(CKV)+CLV*Sin(CMV*bj_DEGTORAD))
endfunction
function CPV takes nothing returns boolean
local destructable d=GetFilterDestructable()
local real dx=GetDestructableX(d)-udg_real02
local real dy=GetDestructableY(d)-udg_real03
return(dx*dx+dy*dy<=bj_enumDestructableRadius)
endfunction
function CQV takes real CSV,location CTV,code CUV returns nothing
local rect r
if(CSV>=0)then
set udg_real02=GetLocationX(CTV)
set udg_real03=GetLocationX(CTV)
set bj_enumDestructableRadius=CSV*CSV
set r=GetRectFromCircleBJ(CTV,CSV)
call EnumDestructablesInRect(r,filterEnumDestructablesInCircleBJ,CUV)
call RemoveLocation(udg_location11)
call RemoveRect(r)
set r=null
endif
endfunction
function CWV takes rect r,boolexpr CYV returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsInRect(udg_group07,r,CYV)
call DestroyBoolExpr(CYV)
return udg_group07
endfunction
function CZV takes rect r returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsInRect(udg_group07,r,udg_boolexpr01)
return udg_group07
endfunction
function C_V takes rect r,player C0V returns group
set udg_group07=CreateGroup()
set bj_groupEnumOwningPlayer=C0V
call GroupEnumUnitsInRect(udg_group07,r,filterGetUnitsInRectOfPlayer)
return udg_group07
endfunction
function C1V takes real CSV,location C2V,boolexpr CYV returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsInRangeOfLoc(udg_group07,C2V,CSV,CYV)
return udg_group07
endfunction
function C3V takes real CSV,location C2V returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsInRangeOfLoc(udg_group07,C2V,CSV,udg_boolexpr01)
return udg_group07
endfunction
function C4V takes integer C5V returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsOfType(udg_group07,UnitId2String(C5V),udg_boolexpr01)
return udg_group07
endfunction
function C6V takes player C0V returns group
set udg_group07=CreateGroup()
call GroupEnumUnitsOfPlayer(udg_group07,C0V,udg_boolexpr01)
return udg_group07
endfunction
function C7V takes player C0V,integer C5V returns group
set udg_group07=CreateGroup()
set bj_groupEnumTypeId=C5V
call GroupEnumUnitsOfPlayer(udg_group07,C0V,filterGetUnitsOfPlayerAndTypeId)
return udg_group07
endfunction
function C8V takes player C0V returns force
set udg_force01=CreateForce()
call ForceAddPlayer(udg_force01,C0V)
return udg_force01
endfunction
function C9V takes boolexpr CYV returns force
set udg_force01=CreateForce()
call ForceEnumPlayers(udg_force01,CYV)
call DestroyBoolExpr(CYV)
return udg_force01
endfunction
function DVV takes itemtype DEV,integer DXV returns nothing
local group g
set bj_stockPickedItemType=DEV
set bj_stockPickedItemLevel=DXV
set g=CreateGroup()
call GroupEnumUnitsOfType(g,"marketplace",udg_boolexpr01)
call ForGroup(g,function UpdateEachStockBuildingEnum)
call DestroyGroup(g)
set g=null
endfunction
function DOV takes nothing returns nothing
local integer pickedItemId
local itemtype DRV
local integer DIV=0
local integer DAV=0
local integer DXV
set DXV=1
loop
if(bj_stockAllowedPermanent[DXV])then
set DAV=DAV+1
if(GetRandomInt(1,DAV)==1)then
set DRV=ITEM_TYPE_PERMANENT
set DIV=DXV
endif
endif
if(bj_stockAllowedCharged[DXV])then
set DAV=DAV+1
if(GetRandomInt(1,DAV)==1)then
set DRV=ITEM_TYPE_CHARGED
set DIV=DXV
endif
endif
if(bj_stockAllowedArtifact[DXV])then
set DAV=DAV+1
if(GetRandomInt(1,DAV)==1)then
set DRV=ITEM_TYPE_ARTIFACT
set DIV=DXV
endif
endif
set DXV=DXV+1
exitwhen DXV>10
endloop
if(DAV==0)then
set DRV=null
return
endif
call DVV(DRV,DIV)
set DRV=null
endfunction
function DNV takes nothing returns nothing
call DOV()
call TimerStart(bj_stockUpdateTimer,bj_STOCK_RESTOCK_INTERVAL,true,function DOV)
endfunction
function DBV takes nothing returns boolean
return true
endfunction
function DCV takes nothing returns boolean
return(GetPlayerController(Player(0))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(8))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(9))==MAP_CONTROL_COMPUTER)
endfunction
function DDV takes nothing returns boolean
return(DCV())
endfunction
function DFV takes nothing returns nothing
call DisableTrigger(udg_trigger438)
call DisableTrigger(udg_trigger416)
call DisableTrigger(udg_trigger418)
call DisableTrigger(udg_trigger402)
endfunction
function DGV takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)or(GetPlayerSlotState(Player(8))==PLAYER_SLOT_STATE_EMPTY)or(GetPlayerSlotState(Player(9))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function DHV takes nothing returns boolean
return(DGV())
endfunction
function DJV takes nothing returns nothing
call DisableTrigger(udg_trigger438)
call DisableTrigger(udg_trigger416)
call DisableTrigger(udg_trigger418)
call DisableTrigger(udg_trigger402)
endfunction
function DKV takes nothing returns boolean
return(IsPlayerAlly(Player(8),Player(0)))or(IsPlayerAlly(Player(8),Player(9)))
endfunction
function DLV takes nothing returns boolean
return(DKV())
endfunction
function DMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function DPV takes nothing returns nothing
call DisplayTextToForce(C8V(GetTriggerPlayer()),"Police Force had been removed because of ally his enemy.")
call ForGroupBJ(C6V(Player(8)),function DMV)
endfunction
function DQV takes nothing returns boolean
return(IsPlayerAlly(Player(0),Player(8)))
endfunction
function DSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function DTV takes nothing returns nothing
call DisplayTextToForce(C8V(GetTriggerPlayer()),"Mafia Force had been removed because of ally his enemy.")
call ForGroupBJ(C6V(Player(0)),function DSV)
endfunction
function DUV takes nothing returns boolean
return(IsPlayerAlly(Player(9),Player(8)))
endfunction
function DWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function DYV takes nothing returns nothing
call DisplayTextToForce(C8V(GetTriggerPlayer()),"Drug Dealer Force had been removed because of ally his enemy.")
call ForGroupBJ(C6V(Player(9)),function DWV)
endfunction
function DZV takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_PLAYER[9],"Cut down lumber, Buy drugs, Sell Drugs. Simple")
call ModifyGateBJ(1,udg_destructable08)
call ModifyGateBJ(1,udg_destructable02)
call ModifyGateBJ(1,udg_destructable07)
call ModifyGateBJ(1,udg_destructable23)
call ModifyGateBJ(1,udg_destructable09)
call ModifyGateBJ(1,udg_destructable15)
call ModifyGateBJ(1,udg_destructable12)
call ModifyGateBJ(1,udg_destructable41)
call ModifyGateBJ(1,udg_destructable11)
call ModifyGateBJ(1,udg_destructable22)
call ModifyGateBJ(1,udg_destructable06)
call ModifyGateBJ(1,udg_destructable25)
call ModifyGateBJ(1,udg_destructable29)
call ModifyGateBJ(1,udg_destructable34)
call ModifyGateBJ(1,udg_destructable37)
call ModifyGateBJ(1,udg_destructable38)
call ModifyGateBJ(1,udg_destructable40)
call ModifyGateBJ(1,udg_destructable42)
call ModifyGateBJ(1,udg_destructable49)
call ModifyGateBJ(1,udg_destructable52)
call ModifyGateBJ(1,udg_destructable51)
call ModifyGateBJ(1,udg_destructable50)
endfunction
function D_V takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function D0V takes nothing returns nothing
call DisplayTextToForce(C8V(GetOwningPlayer(GetDyingUnit())),"Wait 40 seconds to be revived.")
call TriggerSleepAction(40.)
call ReviveHeroLoc(GetTriggerUnit(),GetRectCenter(udg_rect210),true)
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)/2))
call DisplayTextToForce(C8V(GetOwningPlayer(GetDyingUnit())),"You have been revived by cost half of your money.")
endfunction
function D1V takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function D2V takes nothing returns nothing
call DisplayTextToForce(C8V(GetOwningPlayer(GetDyingUnit())),"Wait 40 seconds to be revived.")
call TriggerSleepAction(40.)
call ReviveHeroLoc(GetTriggerUnit(),GetRectCenter(udg_rect210),true)
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)-1000))
call DisplayTextToForce(C8V(GetOwningPlayer(GetDyingUnit())),"You have been revived by cost 1000 money.")
endfunction
function D3V takes nothing returns boolean
return(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function D4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function D5V takes nothing returns boolean
return(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function D6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function D7V takes nothing returns boolean
return(GetPlayerSlotState(Player(3))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function D8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function D9V takes nothing returns boolean
return(GetPlayerSlotState(Player(4))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function FVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FEV takes nothing returns boolean
return(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function FXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FOV takes nothing returns boolean
return(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function FRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FIV takes nothing returns boolean
return(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function FAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FNV takes nothing returns boolean
return(GetPlayerSlotState(Player(10))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function FBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FCV takes nothing returns nothing
if(D3V())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(1)),function D4V)
endif
if(D5V())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(2)),function D6V)
endif
if(D7V())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(3)),function D8V)
endif
if(D9V())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(4)),function FVV)
endif
if(FEV())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(5)),function FXV)
endif
if(FOV())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(6)),function FRV)
endif
if(FIV())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(7)),function FAV)
endif
if(FNV())then
call ForGroupBJ(C_V(bj_mapInitialPlayableArea,Player(10)),function FBV)
endif
endfunction
function FDV takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
endfunction
function FFV takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_3304")
call TriggerSleepAction(4.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_304")
call TriggerSleepAction(4.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff00ff00Type the command of game mode now ,or the command code will not work after 160 seconds.")
call TriggerSleepAction(4.)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cffFF0000SELECTOR WILL REMOVE IN 160 SECONDS.|r")
call SetDestructableInvulnerable(udg_destructable39,true)
call SetDestructableInvulnerable(udg_destructable35,true)
call ForGroupBJ(C_V(udg_rect15,Player(11)),function FDV)
call SetTimeOfDay(5.)
call SetPlayerHandicapXPBJ(Player(0),150.)
call SetPlayerHandicapXPBJ(Player(1),150.)
call SetPlayerHandicapXPBJ(Player(2),150.)
call SetPlayerHandicapXPBJ(Player(3),150.)
call SetPlayerHandicapXPBJ(Player(4),150.)
call SetPlayerHandicapXPBJ(Player(5),150.)
call SetPlayerHandicapXPBJ(Player(6),150.)
call SetPlayerHandicapXPBJ(Player(7),150.)
call SetPlayerHandicapXPBJ(Player(8),150.)
call SetPlayerHandicapXPBJ(Player(9),150.)
call SetPlayerHandicapXPBJ(Player(10),150.)
call CreateFogModifierRectBJ(true,Player(8),FOG_OF_WAR_VISIBLE,udg_rect40)
set udg_unit01=udg_unit86
endfunction
function FGV takes nothing returns nothing
call AdjustPlayerStateBJ(1500,Player(1),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(1),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(2),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(2),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(3),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(3),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(4),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(4),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(5),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(5),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(6),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(6),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(7),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(7),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(1500,Player(10),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(1000,Player(10),PLAYER_STATE_RESOURCE_LUMBER)
endfunction
function FHV takes nothing returns nothing
call SetMapFlag(MAP_LOCK_ALLIANCE_CHANGES,false)
call SetMapFlag(MAP_RESOURCE_TRADING_ALLIES_ONLY,false)
call SetPlayerAllianceStateBJ(Player(0),Player(8),0)
call SetPlayerAllianceStateBJ(Player(1),Player(8),3)
call SetPlayerAllianceStateBJ(Player(10),Player(8),3)
call SetPlayerAllianceStateBJ(Player(2),Player(8),3)
call SetPlayerAllianceStateBJ(Player(3),Player(8),3)
call SetPlayerAllianceStateBJ(Player(4),Player(8),3)
call SetPlayerAllianceStateBJ(Player(5),Player(8),3)
call SetPlayerAllianceStateBJ(Player(6),Player(8),3)
call SetPlayerAllianceStateBJ(Player(7),Player(8),3)
call SetPlayerAllianceStateBJ(Player(8),Player(0),0)
call SetPlayerAllianceStateBJ(Player(8),Player(1),3)
call SetPlayerAllianceStateBJ(Player(8),Player(10),3)
call SetPlayerAllianceStateBJ(Player(8),Player(2),3)
call SetPlayerAllianceStateBJ(Player(8),Player(3),3)
call SetPlayerAllianceStateBJ(Player(8),Player(4),3)
call SetPlayerAllianceStateBJ(Player(8),Player(5),3)
call SetPlayerAllianceStateBJ(Player(8),Player(6),3)
call SetPlayerAllianceStateBJ(Player(8),Player(7),3)
call SetPlayerAllianceStateBJ(Player(9),Player(0),2)
call SetPlayerAllianceStateBJ(Player(9),Player(1),3)
call SetPlayerAllianceStateBJ(Player(9),Player(10),3)
call SetPlayerAllianceStateBJ(Player(9),Player(2),3)
call SetPlayerAllianceStateBJ(Player(9),Player(3),3)
call SetPlayerAllianceStateBJ(Player(9),Player(4),3)
call SetPlayerAllianceStateBJ(Player(9),Player(5),3)
call SetPlayerAllianceStateBJ(Player(9),Player(6),3)
call SetPlayerAllianceStateBJ(Player(9),Player(7),3)
call SetPlayerAllianceStateBJ(Player(0),Player(9),2)
call SetPlayerAllianceStateBJ(Player(1),Player(9),3)
call SetPlayerAllianceStateBJ(Player(2),Player(9),3)
call SetPlayerAllianceStateBJ(Player(3),Player(9),3)
call SetPlayerAllianceStateBJ(Player(4),Player(9),3)
call SetPlayerAllianceStateBJ(Player(5),Player(9),3)
call SetPlayerAllianceStateBJ(Player(6),Player(9),3)
call SetPlayerAllianceStateBJ(Player(7),Player(9),3)
call SetPlayerAllianceStateBJ(Player(0),Player(1),3)
call SetPlayerAllianceStateBJ(Player(0),Player(10),3)
call SetPlayerAllianceStateBJ(Player(0),Player(2),3)
call SetPlayerAllianceStateBJ(Player(0),Player(3),3)
call SetPlayerAllianceStateBJ(Player(0),Player(4),3)
call SetPlayerAllianceStateBJ(Player(0),Player(5),3)
call SetPlayerAllianceStateBJ(Player(0),Player(6),3)
call SetPlayerAllianceStateBJ(Player(0),Player(7),3)
call SetPlayerAllianceStateBJ(Player(1),Player(0),3)
call SetPlayerAllianceStateBJ(Player(10),Player(0),3)
call SetPlayerAllianceStateBJ(Player(2),Player(0),3)
call SetPlayerAllianceStateBJ(Player(3),Player(0),3)
call SetPlayerAllianceStateBJ(Player(4),Player(0),3)
call SetPlayerAllianceStateBJ(Player(5),Player(0),3)
call SetPlayerAllianceStateBJ(Player(6),Player(0),3)
call SetPlayerAllianceStateBJ(Player(7),Player(0),3)
endfunction
function FJV takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function FKV takes nothing returns nothing
call CreateItemLoc('gopr',GetUnitLoc(GetTriggerUnit()))
endfunction
function FLV takes nothing returns boolean
return(GetUnitTypeId(GetDyingUnit())=='h008')
endfunction
function FMV takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h008',Player(11),GetRandomLocInRect(bj_mapInitialPlayableArea),bj_UNIT_FACING)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851990,GetRandomLocInRect(bj_mapInitialPlayableArea))
endfunction
function FPV takes nothing returns nothing
call ShowDestructableBJ(false,udg_destructable67)
call ShowDestructableBJ(false,udg_destructable66)
call ShowDestructableBJ(false,udg_destructable65)
call ShowDestructableBJ(false,udg_destructable68)
call ShowDestructableBJ(false,udg_destructable69)
call ShowDestructableBJ(false,udg_destructable70)
call ShowDestructableBJ(false,udg_destructable58)
call ShowDestructableBJ(false,udg_destructable60)
call ShowDestructableBJ(false,udg_destructable59)
call ShowDestructableBJ(false,udg_destructable57)
call ShowDestructableBJ(false,udg_destructable62)
call ShowDestructableBJ(false,udg_destructable64)
call ShowDestructableBJ(false,udg_destructable63)
call ShowDestructableBJ(false,udg_destructable61)
call ShowUnitHide(udg_unit248)
call ShowUnitHide(udg_unit251)
call ShowUnitHide(udg_unit250)
call ShowUnitHide(udg_unit249)
call ShowUnitHide(udg_unit240)
call ShowUnitHide(udg_unit223)
call ShowUnitHide(udg_unit221)
call ShowUnitHide(udg_unit219)
call ShowUnitHide(udg_unit216)
call ShowUnitHide(udg_unit215)
call ShowUnitHide(udg_unit212)
call ShowUnitHide(udg_unit211)
call ShowUnitHide(udg_unit209)
call ShowUnitHide(udg_unit207)
call ShowUnitHide(udg_unit205)
call ShowUnitHide(udg_unit203)
call ShowUnitHide(udg_unit200)
call ShowUnitHide(udg_unit199)
call ShowUnitHide(udg_unit196)
call ShowUnitHide(udg_unit227)
call ShowUnitHide(udg_unit195)
call ShowUnitHide(udg_unit194)
call ShowUnitHide(udg_unit176)
call ShowUnitHide(udg_unit230)
call ShowUnitHide(udg_unit189)
call ShowUnitHide(udg_unit225)
call ShowUnitHide(udg_unit222)
call ShowUnitHide(udg_unit220)
call ShowUnitHide(udg_unit218)
call ShowUnitHide(udg_unit217)
call ShowUnitHide(udg_unit214)
call ShowUnitHide(udg_unit213)
call ShowUnitHide(udg_unit210)
call ShowUnitHide(udg_unit208)
call ShowUnitHide(udg_unit206)
call ShowUnitHide(udg_unit204)
call ShowUnitHide(udg_unit202)
call ShowUnitHide(udg_unit201)
call ShowUnitHide(udg_unit198)
call ShowUnitHide(udg_unit197)
call ShowUnitHide(udg_unit193)
call ShowUnitHide(udg_unit179)
call ShowUnitHide(udg_unit232)
call ShowUnitHide(udg_unit231)
call ShowUnitHide(udg_unit237)
call ShowUnitHide(udg_unit243)
call ShowUnitHide(udg_unit244)
call ShowUnitHide(udg_unit245)
call ShowUnitHide(udg_unit246)
call ShowUnitHide(udg_unit247)
call ShowUnitHide(udg_unit242)
endfunction
function FQV takes nothing returns nothing
call SetPlayerTechResearchedSwap('Rhme',0,Player(0))
call SetPlayerTechResearchedSwap('Rhar',0,Player(0))
endfunction
function FSV takes nothing returns nothing
call RemoveUnit(udg_unit74)
call RemoveUnit(udg_unit23)
call RemoveUnit(udg_unit107)
call RemoveUnit(udg_unit24)
call RemoveUnit(udg_unit26)
call RemoveUnit(udg_unit27)
call RemoveUnit(udg_unit25)
call RemoveUnit(udg_unit119)
call RemoveUnit(udg_unit44)
call RemoveUnit(udg_unit20)
call RemoveUnit(udg_unit29)
call RemoveUnit(udg_unit59)
call RemoveUnit(udg_unit121)
call RemoveUnit(udg_unit226)
call DisableTrigger(udg_trigger32)
call DisableTrigger(udg_trigger50)
call DisableTrigger(udg_trigger34)
call DisableTrigger(udg_trigger33)
endfunction
function FTV takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function FUV takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect170))
endfunction
function FWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function FZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F_V takes nothing returns nothing
call ForGroupBJ(C7V(Player(0),'Hpal'),function FWV)
call ForGroupBJ(C7V(Player(0),'Odrt'),function FYV)
call ForGroupBJ(C7V(Player(0),'O00H'),function FZV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(0))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function F0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function F9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function GZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function G9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function HVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function HEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HHV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HJV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HKV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HLV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HMV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HPV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HQV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HSV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HTV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HUV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HWV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function HYV takes nothing returns nothing
call ForGroupBJ(C7V(Player(1),'Hmkg'),function F0V)
call ForGroupBJ(C7V(Player(1),'Nklj'),function F1V)
call ForGroupBJ(C7V(Player(1),'Uwar'),function F2V)
call ForGroupBJ(C7V(Player(1),'Nman'),function F3V)
call ForGroupBJ(C7V(Player(1),'Udre'),function F4V)
call ForGroupBJ(C7V(Player(1),'Ucrl'),function F5V)
call ForGroupBJ(C7V(Player(1),'E002'),function F6V)
call ForGroupBJ(C7V(Player(1),'E003'),function F7V)
call ForGroupBJ(C7V(Player(1),'E001'),function F8V)
call ForGroupBJ(C7V(Player(1),'E004'),function F9V)
call ForGroupBJ(C7V(Player(1),'Hamg'),function GVV)
call ForGroupBJ(C7V(Player(1),'H00B'),function GEV)
call ForGroupBJ(C7V(Player(1),'HC13'),function GXV)
call ForGroupBJ(C7V(Player(1),'HC03'),function GOV)
call ForGroupBJ(C7V(Player(1),'HC02'),function GRV)
call ForGroupBJ(C7V(Player(1),'Hgam'),function GIV)
call ForGroupBJ(C7V(Player(1),'Harf'),function GAV)
call ForGroupBJ(C7V(Player(1),'Hant'),function GNV)
call ForGroupBJ(C7V(Player(1),'Hvwd'),function GBV)
call ForGroupBJ(C7V(Player(1),'Hapm'),function GCV)
call ForGroupBJ(C7V(Player(1),'Hmbr'),function GDV)
call ForGroupBJ(C7V(Player(1),'Hpb2'),function GFV)
call ForGroupBJ(C7V(Player(1),'Hpb1'),function GGV)
call ForGroupBJ(C7V(Player(1),'Huth'),function GHV)
call ForGroupBJ(C7V(Player(1),'Hkal'),function GJV)
call ForGroupBJ(C7V(Player(1),'Hlgr'),function GKV)
call ForGroupBJ(C7V(Player(1),'Hmgd'),function GLV)
call ForGroupBJ(C7V(Player(1),'Hhkl'),function GMV)
call ForGroupBJ(C7V(Player(1),'Hdgo'),function GPV)
call ForGroupBJ(C7V(Player(1),'Hjai'),function GQV)
call ForGroupBJ(C7V(Player(1),'H00P'),function GSV)
call ForGroupBJ(C7V(Player(1),'H00S'),function GTV)
call ForGroupBJ(C7V(Player(1),'Obla'),function GUV)
call ForGroupBJ(C7V(Player(1),'Ofar'),function GWV)
call ForGroupBJ(C7V(Player(1),'Otch'),function GYV)
call ForGroupBJ(C7V(Player(1),'Oshd'),function GZV)
call ForGroupBJ(C7V(Player(1),'Ocbh'),function G_V)
call ForGroupBJ(C7V(Player(1),'Nbbc'),function G0V)
call ForGroupBJ(C7V(Player(1),'Othr'),function G1V)
call ForGroupBJ(C7V(Player(1),'Osam'),function G2V)
call ForGroupBJ(C7V(Player(1),'Orex'),function G3V)
call ForGroupBJ(C7V(Player(1),'Orkn'),function G4V)
call ForGroupBJ(C7V(Player(1),'Ogrh'),function G5V)
call ForGroupBJ(C7V(Player(1),'Opgh'),function G6V)
call ForGroupBJ(C7V(Player(1),'Nsjs'),function G7V)
call ForGroupBJ(C7V(Player(1),'Hvsh'),function G8V)
call ForGroupBJ(C7V(Player(1),'Udea'),function G9V)
call ForGroupBJ(C7V(Player(1),'Ulic'),function HVV)
call ForGroupBJ(C7V(Player(1),'n00G'),function HEV)
call ForGroupBJ(C7V(Player(1),'n009'),function HXV)
call ForGroupBJ(C7V(Player(1),'n007'),function HOV)
call ForGroupBJ(C7V(Player(1),'n003'),function HRV)
call ForGroupBJ(C7V(Player(1),'nC11'),function HIV)
call ForGroupBJ(C7V(Player(1),'n005'),function HAV)
call ForGroupBJ(C7V(Player(1),'n001'),function HNV)
call ForGroupBJ(C7V(Player(1),'n006'),function HBV)
call ForGroupBJ(C7V(Player(1),'nef2'),function HCV)
call ForGroupBJ(C7V(Player(1),'nef0'),function HDV)
call ForGroupBJ(C7V(Player(1),'nheb'),function HFV)
call ForGroupBJ(C7V(Player(1),'nmgv'),function HGV)
call ForGroupBJ(C7V(Player(1),'nbt2'),function HHV)
call ForGroupBJ(C7V(Player(1),'haro'),function HJV)
call ForGroupBJ(C7V(Player(1),'n00D'),function HKV)
call ForGroupBJ(C7V(Player(1),'n013'),function HLV)
call ForGroupBJ(C7V(Player(1),'n015'),function HMV)
call ForGroupBJ(C7V(Player(1),'n014'),function HPV)
call ForGroupBJ(C7V(Player(1),'n016'),function HQV)
call ForGroupBJ(C7V(Player(1),'n01B'),function HSV)
call ForGroupBJ(C7V(Player(1),'n01D'),function HTV)
call ForGroupBJ(C7V(Player(1),'n01F'),function HUV)
call ForGroupBJ(C7V(Player(1),'n005'),function HWV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(1))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function HZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function H9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function JZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function J9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KHV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KJV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KKV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KLV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KMV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KPV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KQV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KSV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KTV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function KUV takes nothing returns nothing
call ForGroupBJ(C7V(Player(2),'Nklj'),function HZV)
call ForGroupBJ(C7V(Player(2),'Uwar'),function H_V)
call ForGroupBJ(C7V(Player(2),'Nman'),function H0V)
call ForGroupBJ(C7V(Player(2),'Udre'),function H1V)
call ForGroupBJ(C7V(Player(2),'Ucrl'),function H2V)
call ForGroupBJ(C7V(Player(2),'E002'),function H3V)
call ForGroupBJ(C7V(Player(2),'E003'),function H4V)
call ForGroupBJ(C7V(Player(2),'E001'),function H5V)
call ForGroupBJ(C7V(Player(2),'Ulic'),function H6V)
call ForGroupBJ(C7V(Player(2),'Udea'),function H7V)
call ForGroupBJ(C7V(Player(2),'Hvsh'),function H8V)
call ForGroupBJ(C7V(Player(2),'Hmkg'),function H9V)
call ForGroupBJ(C7V(Player(2),'Hamg'),function JVV)
call ForGroupBJ(C7V(Player(2),'HC13'),function JEV)
call ForGroupBJ(C7V(Player(2),'H00B'),function JXV)
call ForGroupBJ(C7V(Player(2),'HC03'),function JOV)
call ForGroupBJ(C7V(Player(2),'HC02'),function JRV)
call ForGroupBJ(C7V(Player(2),'Hgam'),function JIV)
call ForGroupBJ(C7V(Player(2),'Harf'),function JAV)
call ForGroupBJ(C7V(Player(2),'Hant'),function JNV)
call ForGroupBJ(C7V(Player(2),'Hvwd'),function JBV)
call ForGroupBJ(C7V(Player(2),'Hapm'),function JCV)
call ForGroupBJ(C7V(Player(2),'Hmbr'),function JDV)
call ForGroupBJ(C7V(Player(2),'Hpb2'),function JFV)
call ForGroupBJ(C7V(Player(2),'Hpb1'),function JGV)
call ForGroupBJ(C7V(Player(2),'Huth'),function JHV)
call ForGroupBJ(C7V(Player(2),'Hkal'),function JJV)
call ForGroupBJ(C7V(Player(2),'E004'),function JKV)
call ForGroupBJ(C7V(Player(2),'Hlgr'),function JLV)
call ForGroupBJ(C7V(Player(2),'Hmgd'),function JMV)
call ForGroupBJ(C7V(Player(2),'Hhkl'),function JPV)
call ForGroupBJ(C7V(Player(2),'Hdgo'),function JQV)
call ForGroupBJ(C7V(Player(2),'Hjai'),function JSV)
call ForGroupBJ(C7V(Player(2),'H00P'),function JTV)
call ForGroupBJ(C7V(Player(2),'H00S'),function JUV)
call ForGroupBJ(C7V(Player(2),'Obla'),function JWV)
call ForGroupBJ(C7V(Player(2),'Ofar'),function JYV)
call ForGroupBJ(C7V(Player(2),'Otch'),function JZV)
call ForGroupBJ(C7V(Player(2),'Oshd'),function J_V)
call ForGroupBJ(C7V(Player(2),'Ocbh'),function J0V)
call ForGroupBJ(C7V(Player(2),'Nbbc'),function J1V)
call ForGroupBJ(C7V(Player(2),'Othr'),function J2V)
call ForGroupBJ(C7V(Player(2),'Osam'),function J3V)
call ForGroupBJ(C7V(Player(2),'Orex'),function J4V)
call ForGroupBJ(C7V(Player(2),'Orkn'),function J5V)
call ForGroupBJ(C7V(Player(2),'Ogrh'),function J6V)
call ForGroupBJ(C7V(Player(2),'Opgh'),function J7V)
call ForGroupBJ(C7V(Player(2),'Nsjs'),function J8V)
call ForGroupBJ(C7V(Player(2),'n00G'),function J9V)
call ForGroupBJ(C7V(Player(2),'n009'),function KVV)
call ForGroupBJ(C7V(Player(2),'n007'),function KEV)
call ForGroupBJ(C7V(Player(2),'n003'),function KXV)
call ForGroupBJ(C7V(Player(2),'nC11'),function KOV)
call ForGroupBJ(C7V(Player(2),'n005'),function KRV)
call ForGroupBJ(C7V(Player(2),'n001'),function KIV)
call ForGroupBJ(C7V(Player(2),'n006'),function KAV)
call ForGroupBJ(C7V(Player(2),'nef2'),function KNV)
call ForGroupBJ(C7V(Player(2),'nef0'),function KBV)
call ForGroupBJ(C7V(Player(2),'nheb'),function KCV)
call ForGroupBJ(C7V(Player(2),'nmgv'),function KDV)
call ForGroupBJ(C7V(Player(2),'nbt2'),function KFV)
call ForGroupBJ(C7V(Player(2),'haro'),function KGV)
call ForGroupBJ(C7V(Player(2),'n00D'),function KHV)
call ForGroupBJ(C7V(Player(2),'n013'),function KJV)
call ForGroupBJ(C7V(Player(2),'n015'),function KKV)
call ForGroupBJ(C7V(Player(2),'n014'),function KLV)
call ForGroupBJ(C7V(Player(2),'n016'),function KMV)
call ForGroupBJ(C7V(Player(2),'n01B'),function KPV)
call ForGroupBJ(C7V(Player(2),'n01D'),function KQV)
call ForGroupBJ(C7V(Player(2),'n01F'),function KSV)
call ForGroupBJ(C7V(Player(2),'n005'),function KTV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(2))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function KWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function KYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function KZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function K9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function LZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L7V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function L8V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function L9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MHV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MJV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MKV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MLV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MMV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MPV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MQV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function MSV takes nothing returns nothing
call ForGroupBJ(C7V(Player(3),'Nklj'),function KWV)
call ForGroupBJ(C7V(Player(3),'Uwar'),function KYV)
call ForGroupBJ(C7V(Player(3),'Nman'),function KZV)
call ForGroupBJ(C7V(Player(3),'Udre'),function K_V)
call ForGroupBJ(C7V(Player(3),'Ucrl'),function K0V)
call ForGroupBJ(C7V(Player(3),'E002'),function K1V)
call ForGroupBJ(C7V(Player(3),'E003'),function K2V)
call ForGroupBJ(C7V(Player(3),'E001'),function K3V)
call ForGroupBJ(C7V(Player(3),'E004'),function K4V)
call ForGroupBJ(C7V(Player(3),'Ulic'),function K5V)
call ForGroupBJ(C7V(Player(3),'Udea'),function K6V)
call ForGroupBJ(C7V(Player(3),'Hvsh'),function K7V)
call ForGroupBJ(C7V(Player(3),'Nsjs'),function K8V)
call ForGroupBJ(C7V(Player(3),'Ogrh'),function K9V)
call ForGroupBJ(C7V(Player(3),'Opgh'),function LVV)
call ForGroupBJ(C7V(Player(3),'Hmkg'),function LEV)
call ForGroupBJ(C7V(Player(3),'Hamg'),function LXV)
call ForGroupBJ(C7V(Player(3),'H00B'),function LOV)
call ForGroupBJ(C7V(Player(3),'HC13'),function LRV)
call ForGroupBJ(C7V(Player(3),'HC03'),function LIV)
call ForGroupBJ(C7V(Player(3),'HC02'),function LAV)
call ForGroupBJ(C7V(Player(3),'Hgam'),function LNV)
call ForGroupBJ(C7V(Player(3),'Harf'),function LBV)
call ForGroupBJ(C7V(Player(3),'Hant'),function LCV)
call ForGroupBJ(C7V(Player(3),'Hvwd'),function LDV)
call ForGroupBJ(C7V(Player(3),'Hapm'),function LFV)
call ForGroupBJ(C7V(Player(3),'Hmbr'),function LGV)
call ForGroupBJ(C7V(Player(3),'Hpb2'),function LHV)
call ForGroupBJ(C7V(Player(3),'Hpb1'),function LJV)
call ForGroupBJ(C7V(Player(3),'Huth'),function LKV)
call ForGroupBJ(C7V(Player(3),'Hkal'),function LLV)
call ForGroupBJ(C7V(Player(3),'Hlgr'),function LMV)
call ForGroupBJ(C7V(Player(3),'Hmgd'),function LPV)
call ForGroupBJ(C7V(Player(3),'Hhkl'),function LQV)
call ForGroupBJ(C7V(Player(3),'Hdgo'),function LSV)
call ForGroupBJ(C7V(Player(3),'Hjai'),function LTV)
call ForGroupBJ(C7V(Player(3),'H00P'),function LUV)
call ForGroupBJ(C7V(Player(3),'H00S'),function LWV)
call ForGroupBJ(C7V(Player(3),'Obla'),function LYV)
call ForGroupBJ(C7V(Player(3),'Ofar'),function LZV)
call ForGroupBJ(C7V(Player(3),'Otch'),function L_V)
call ForGroupBJ(C7V(Player(3),'Oshd'),function L0V)
call ForGroupBJ(C7V(Player(3),'Ocbh'),function L1V)
call ForGroupBJ(C7V(Player(3),'Nbbc'),function L2V)
call ForGroupBJ(C7V(Player(3),'Othr'),function L3V)
call ForGroupBJ(C7V(Player(3),'Osam'),function L4V)
call ForGroupBJ(C7V(Player(3),'Orex'),function L5V)
call ForGroupBJ(C7V(Player(3),'Orkn'),function L6V)
call ForGroupBJ(C7V(Player(3),'n00G'),function L7V)
call ForGroupBJ(C7V(Player(3),'n009'),function L8V)
call ForGroupBJ(C7V(Player(3),'n007'),function L9V)
call ForGroupBJ(C7V(Player(3),'n003'),function MVV)
call ForGroupBJ(C7V(Player(3),'nC11'),function MEV)
call ForGroupBJ(C7V(Player(3),'n005'),function MXV)
call ForGroupBJ(C7V(Player(3),'n001'),function MOV)
call ForGroupBJ(C7V(Player(3),'n006'),function MRV)
call ForGroupBJ(C7V(Player(3),'nef2'),function MIV)
call ForGroupBJ(C7V(Player(3),'nef0'),function MAV)
call ForGroupBJ(C7V(Player(3),'nheb'),function MNV)
call ForGroupBJ(C7V(Player(3),'nmgv'),function MBV)
call ForGroupBJ(C7V(Player(3),'nbt2'),function MCV)
call ForGroupBJ(C7V(Player(3),'haro'),function MDV)
call ForGroupBJ(C7V(Player(3),'n00D'),function MFV)
call ForGroupBJ(C7V(Player(3),'n013'),function MGV)
call ForGroupBJ(C7V(Player(3),'n01D'),function MHV)
call ForGroupBJ(C7V(Player(3),'n015'),function MJV)
call ForGroupBJ(C7V(Player(3),'n014'),function MKV)
call ForGroupBJ(C7V(Player(3),'n016'),function MLV)
call ForGroupBJ(C7V(Player(3),'n01B'),function MMV)
call ForGroupBJ(C7V(Player(3),'n01F'),function MPV)
call ForGroupBJ(C7V(Player(3),'n005'),function MQV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(3))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function MTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function POV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function PZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function P5V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function P6V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function P7V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function P8V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function P9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QHV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QJV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QKV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QLV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QMV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function QPV takes nothing returns nothing
call ForGroupBJ(C7V(Player(4),'Nklj'),function MTV)
call ForGroupBJ(C7V(Player(4),'Uwar'),function MUV)
call ForGroupBJ(C7V(Player(4),'Nman'),function MWV)
call ForGroupBJ(C7V(Player(4),'Udre'),function MYV)
call ForGroupBJ(C7V(Player(4),'Ucrl'),function MZV)
call ForGroupBJ(C7V(Player(4),'E002'),function M_V)
call ForGroupBJ(C7V(Player(4),'E003'),function M0V)
call ForGroupBJ(C7V(Player(4),'E001'),function M1V)
call ForGroupBJ(C7V(Player(4),'E004'),function M2V)
call ForGroupBJ(C7V(Player(4),'Ulic'),function M3V)
call ForGroupBJ(C7V(Player(4),'Udea'),function M4V)
call ForGroupBJ(C7V(Player(4),'Hvsh'),function M5V)
call ForGroupBJ(C7V(Player(4),'Nsjs'),function M6V)
call ForGroupBJ(C7V(Player(4),'Ogrh'),function M7V)
call ForGroupBJ(C7V(Player(4),'Opgh'),function M8V)
call ForGroupBJ(C7V(Player(4),'Hmkg'),function M9V)
call ForGroupBJ(C7V(Player(4),'Hamg'),function PVV)
call ForGroupBJ(C7V(Player(4),'H00B'),function PEV)
call ForGroupBJ(C7V(Player(4),'HC13'),function PXV)
call ForGroupBJ(C7V(Player(4),'HC03'),function POV)
call ForGroupBJ(C7V(Player(4),'HC02'),function PRV)
call ForGroupBJ(C7V(Player(4),'Hgam'),function PIV)
call ForGroupBJ(C7V(Player(4),'Harf'),function PAV)
call ForGroupBJ(C7V(Player(4),'Hant'),function PNV)
call ForGroupBJ(C7V(Player(4),'Hvwd'),function PBV)
call ForGroupBJ(C7V(Player(4),'Hapm'),function PCV)
call ForGroupBJ(C7V(Player(4),'Hmbr'),function PDV)
call ForGroupBJ(C7V(Player(4),'Hpb2'),function PFV)
call ForGroupBJ(C7V(Player(4),'Hpb1'),function PGV)
call ForGroupBJ(C7V(Player(4),'Huth'),function PHV)
call ForGroupBJ(C7V(Player(4),'Hkal'),function PJV)
call ForGroupBJ(C7V(Player(4),'Hlgr'),function PKV)
call ForGroupBJ(C7V(Player(4),'Hmgd'),function PLV)
call ForGroupBJ(C7V(Player(4),'Hhkl'),function PMV)
call ForGroupBJ(C7V(Player(4),'Hdgo'),function PPV)
call ForGroupBJ(C7V(Player(4),'Hjai'),function PQV)
call ForGroupBJ(C7V(Player(4),'H00P'),function PSV)
call ForGroupBJ(C7V(Player(4),'H00S'),function PTV)
call ForGroupBJ(C7V(Player(4),'Obla'),function PUV)
call ForGroupBJ(C7V(Player(4),'Ofar'),function PWV)
call ForGroupBJ(C7V(Player(4),'Otch'),function PYV)
call ForGroupBJ(C7V(Player(4),'Oshd'),function PZV)
call ForGroupBJ(C7V(Player(4),'Ocbh'),function P_V)
call ForGroupBJ(C7V(Player(4),'Nbbc'),function P0V)
call ForGroupBJ(C7V(Player(4),'Othr'),function P1V)
call ForGroupBJ(C7V(Player(4),'Osam'),function P2V)
call ForGroupBJ(C7V(Player(4),'Orex'),function P3V)
call ForGroupBJ(C7V(Player(4),'Orkn'),function P4V)
call ForGroupBJ(C7V(Player(4),'n00G'),function P5V)
call ForGroupBJ(C7V(Player(4),'n009'),function P6V)
call ForGroupBJ(C7V(Player(4),'n007'),function P7V)
call ForGroupBJ(C7V(Player(4),'n003'),function P8V)
call ForGroupBJ(C7V(Player(4),'nC11'),function P9V)
call ForGroupBJ(C7V(Player(4),'n005'),function QVV)
call ForGroupBJ(C7V(Player(4),'n001'),function QEV)
call ForGroupBJ(C7V(Player(4),'n006'),function QXV)
call ForGroupBJ(C7V(Player(4),'nef2'),function QOV)
call ForGroupBJ(C7V(Player(4),'nef0'),function QRV)
call ForGroupBJ(C7V(Player(4),'nheb'),function QIV)
call ForGroupBJ(C7V(Player(4),'nmgv'),function QAV)
call ForGroupBJ(C7V(Player(4),'nbt2'),function QNV)
call ForGroupBJ(C7V(Player(4),'haro'),function QBV)
call ForGroupBJ(C7V(Player(4),'n00D'),function QCV)
call ForGroupBJ(C7V(Player(4),'n013'),function QDV)
call ForGroupBJ(C7V(Player(4),'n015'),function QFV)
call ForGroupBJ(C7V(Player(4),'n014'),function QGV)
call ForGroupBJ(C7V(Player(4),'n005'),function QHV)
call ForGroupBJ(C7V(Player(4),'n01F'),function QJV)
call ForGroupBJ(C7V(Player(4),'n016'),function QKV)
call ForGroupBJ(C7V(Player(4),'n01B'),function QLV)
call ForGroupBJ(C7V(Player(4),'n01D'),function QMV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(4))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function QQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function QZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Q9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function STV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function SZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function S_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function S0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function S1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function S2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function S3V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S4V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S5V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S6V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S7V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S8V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function S9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function THV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TJV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TKV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function TLV takes nothing returns nothing
call ForGroupBJ(C7V(Player(5),'Nklj'),function QQV)
call ForGroupBJ(C7V(Player(5),'Uwar'),function QSV)
call ForGroupBJ(C7V(Player(5),'Nman'),function QTV)
call ForGroupBJ(C7V(Player(5),'Udre'),function QUV)
call ForGroupBJ(C7V(Player(5),'Ucrl'),function QWV)
call ForGroupBJ(C7V(Player(5),'E002'),function QYV)
call ForGroupBJ(C7V(Player(5),'E003'),function QZV)
call ForGroupBJ(C7V(Player(5),'E001'),function Q_V)
call ForGroupBJ(C7V(Player(5),'E004'),function Q0V)
call ForGroupBJ(C7V(Player(5),'Ulic'),function Q1V)
call ForGroupBJ(C7V(Player(5),'Udea'),function Q2V)
call ForGroupBJ(C7V(Player(5),'Hvsh'),function Q3V)
call ForGroupBJ(C7V(Player(5),'Nsjs'),function Q4V)
call ForGroupBJ(C7V(Player(5),'Ogrh'),function Q5V)
call ForGroupBJ(C7V(Player(5),'Opgh'),function Q6V)
call ForGroupBJ(C7V(Player(5),'Hmkg'),function Q7V)
call ForGroupBJ(C7V(Player(5),'Hamg'),function Q8V)
call ForGroupBJ(C7V(Player(5),'H00B'),function Q9V)
call ForGroupBJ(C7V(Player(5),'HC13'),function SVV)
call ForGroupBJ(C7V(Player(5),'HC03'),function SEV)
call ForGroupBJ(C7V(Player(5),'HC02'),function SXV)
call ForGroupBJ(C7V(Player(5),'Hgam'),function SOV)
call ForGroupBJ(C7V(Player(5),'Harf'),function SRV)
call ForGroupBJ(C7V(Player(5),'Hant'),function SIV)
call ForGroupBJ(C7V(Player(5),'Hvwd'),function SAV)
call ForGroupBJ(C7V(Player(5),'Hapm'),function SNV)
call ForGroupBJ(C7V(Player(5),'Hmbr'),function SBV)
call ForGroupBJ(C7V(Player(5),'Hpb2'),function SCV)
call ForGroupBJ(C7V(Player(5),'Hpb1'),function SDV)
call ForGroupBJ(C7V(Player(5),'Huth'),function SFV)
call ForGroupBJ(C7V(Player(5),'Hkal'),function SGV)
call ForGroupBJ(C7V(Player(5),'Hlgr'),function SHV)
call ForGroupBJ(C7V(Player(5),'Hmgd'),function SJV)
call ForGroupBJ(C7V(Player(5),'Hhkl'),function SKV)
call ForGroupBJ(C7V(Player(5),'Hdgo'),function SLV)
call ForGroupBJ(C7V(Player(5),'Hjai'),function SMV)
call ForGroupBJ(C7V(Player(5),'H00P'),function SPV)
call ForGroupBJ(C7V(Player(5),'H00S'),function SQV)
call ForGroupBJ(C7V(Player(5),'Obla'),function SSV)
call ForGroupBJ(C7V(Player(5),'Ofar'),function STV)
call ForGroupBJ(C7V(Player(5),'Otch'),function SUV)
call ForGroupBJ(C7V(Player(5),'Oshd'),function SWV)
call ForGroupBJ(C7V(Player(5),'Ocbh'),function SYV)
call ForGroupBJ(C7V(Player(5),'Nbbc'),function SZV)
call ForGroupBJ(C7V(Player(5),'Othr'),function S_V)
call ForGroupBJ(C7V(Player(5),'Osam'),function S0V)
call ForGroupBJ(C7V(Player(5),'Orex'),function S1V)
call ForGroupBJ(C7V(Player(5),'Orkn'),function S2V)
call ForGroupBJ(C7V(Player(5),'n00G'),function S3V)
call ForGroupBJ(C7V(Player(5),'n009'),function S4V)
call ForGroupBJ(C7V(Player(5),'n007'),function S5V)
call ForGroupBJ(C7V(Player(5),'n003'),function S6V)
call ForGroupBJ(C7V(Player(5),'nC11'),function S7V)
call ForGroupBJ(C7V(Player(5),'n005'),function S8V)
call ForGroupBJ(C7V(Player(5),'n001'),function S9V)
call ForGroupBJ(C7V(Player(5),'n006'),function TVV)
call ForGroupBJ(C7V(Player(5),'n01F'),function TEV)
call ForGroupBJ(C7V(Player(5),'nef2'),function TXV)
call ForGroupBJ(C7V(Player(5),'nef0'),function TOV)
call ForGroupBJ(C7V(Player(5),'n005'),function TRV)
call ForGroupBJ(C7V(Player(5),'nheb'),function TIV)
call ForGroupBJ(C7V(Player(5),'nmgv'),function TAV)
call ForGroupBJ(C7V(Player(5),'n01D'),function TNV)
call ForGroupBJ(C7V(Player(5),'nbt2'),function TBV)
call ForGroupBJ(C7V(Player(5),'haro'),function TCV)
call ForGroupBJ(C7V(Player(5),'n00D'),function TDV)
call ForGroupBJ(C7V(Player(5),'n013'),function TFV)
call ForGroupBJ(C7V(Player(5),'n015'),function TGV)
call ForGroupBJ(C7V(Player(5),'n014'),function THV)
call ForGroupBJ(C7V(Player(5),'n016'),function TJV)
call ForGroupBJ(C7V(Player(5),'n01B'),function TKV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(5))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function TMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function TZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function URV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ULV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function USV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U1V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U2V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U3V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U4V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U5V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U6V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U7V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U8V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function U9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WGV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WHV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function WJV takes nothing returns nothing
call ForGroupBJ(C7V(Player(6),'Nklj'),function TMV)
call ForGroupBJ(C7V(Player(6),'Uwar'),function TPV)
call ForGroupBJ(C7V(Player(6),'Nman'),function TQV)
call ForGroupBJ(C7V(Player(6),'Udre'),function TSV)
call ForGroupBJ(C7V(Player(6),'Ucrl'),function TTV)
call ForGroupBJ(C7V(Player(6),'E002'),function TUV)
call ForGroupBJ(C7V(Player(6),'E003'),function TWV)
call ForGroupBJ(C7V(Player(6),'E001'),function TYV)
call ForGroupBJ(C7V(Player(6),'E004'),function TZV)
call ForGroupBJ(C7V(Player(6),'Ulic'),function T_V)
call ForGroupBJ(C7V(Player(6),'Udea'),function T0V)
call ForGroupBJ(C7V(Player(6),'Hvsh'),function T1V)
call ForGroupBJ(C7V(Player(6),'Nsjs'),function T2V)
call ForGroupBJ(C7V(Player(6),'Ogrh'),function T3V)
call ForGroupBJ(C7V(Player(6),'Opgh'),function T4V)
call ForGroupBJ(C7V(Player(6),'Hmkg'),function T5V)
call ForGroupBJ(C7V(Player(6),'Hamg'),function T6V)
call ForGroupBJ(C7V(Player(6),'H00B'),function T7V)
call ForGroupBJ(C7V(Player(6),'HC13'),function T8V)
call ForGroupBJ(C7V(Player(6),'HC03'),function T9V)
call ForGroupBJ(C7V(Player(6),'HC02'),function UVV)
call ForGroupBJ(C7V(Player(6),'Hgam'),function UEV)
call ForGroupBJ(C7V(Player(6),'Harf'),function UXV)
call ForGroupBJ(C7V(Player(6),'Hant'),function UOV)
call ForGroupBJ(C7V(Player(6),'Hvwd'),function URV)
call ForGroupBJ(C7V(Player(6),'Hapm'),function UIV)
call ForGroupBJ(C7V(Player(6),'Hmbr'),function UAV)
call ForGroupBJ(C7V(Player(6),'Hpb2'),function UNV)
call ForGroupBJ(C7V(Player(6),'Hpb1'),function UBV)
call ForGroupBJ(C7V(Player(6),'Huth'),function UCV)
call ForGroupBJ(C7V(Player(6),'Hkal'),function UDV)
call ForGroupBJ(C7V(Player(6),'Hlgr'),function UFV)
call ForGroupBJ(C7V(Player(6),'Hmgd'),function UGV)
call ForGroupBJ(C7V(Player(6),'Hhkl'),function UHV)
call ForGroupBJ(C7V(Player(6),'Hdgo'),function UJV)
call ForGroupBJ(C7V(Player(6),'Hjai'),function UKV)
call ForGroupBJ(C7V(Player(6),'H00P'),function ULV)
call ForGroupBJ(C7V(Player(6),'H00S'),function UMV)
call ForGroupBJ(C7V(Player(6),'Obla'),function UPV)
call ForGroupBJ(C7V(Player(6),'Ofar'),function UQV)
call ForGroupBJ(C7V(Player(6),'Otch'),function USV)
call ForGroupBJ(C7V(Player(6),'Oshd'),function UTV)
call ForGroupBJ(C7V(Player(6),'Ocbh'),function UUV)
call ForGroupBJ(C7V(Player(6),'Nbbc'),function UWV)
call ForGroupBJ(C7V(Player(6),'Othr'),function UYV)
call ForGroupBJ(C7V(Player(6),'Osam'),function UZV)
call ForGroupBJ(C7V(Player(6),'Orex'),function U_V)
call ForGroupBJ(C7V(Player(6),'Orkn'),function U0V)
call ForGroupBJ(C7V(Player(6),'n00G'),function U1V)
call ForGroupBJ(C7V(Player(6),'n009'),function U2V)
call ForGroupBJ(C7V(Player(6),'n007'),function U3V)
call ForGroupBJ(C7V(Player(6),'n003'),function U4V)
call ForGroupBJ(C7V(Player(6),'n01D'),function U5V)
call ForGroupBJ(C7V(Player(6),'nC11'),function U6V)
call ForGroupBJ(C7V(Player(6),'n005'),function U7V)
call ForGroupBJ(C7V(Player(6),'n001'),function U8V)
call ForGroupBJ(C7V(Player(6),'n006'),function U9V)
call ForGroupBJ(C7V(Player(6),'nef2'),function WVV)
call ForGroupBJ(C7V(Player(6),'nef0'),function WEV)
call ForGroupBJ(C7V(Player(6),'nheb'),function WXV)
call ForGroupBJ(C7V(Player(6),'nmgv'),function WOV)
call ForGroupBJ(C7V(Player(6),'nbt2'),function WRV)
call ForGroupBJ(C7V(Player(6),'haro'),function WIV)
call ForGroupBJ(C7V(Player(6),'n00D'),function WAV)
call ForGroupBJ(C7V(Player(6),'n013'),function WNV)
call ForGroupBJ(C7V(Player(6),'n015'),function WBV)
call ForGroupBJ(C7V(Player(6),'n014'),function WCV)
call ForGroupBJ(C7V(Player(6),'n016'),function WDV)
call ForGroupBJ(C7V(Player(6),'n01F'),function WFV)
call ForGroupBJ(C7V(Player(6),'n01B'),function WGV)
call ForGroupBJ(C7V(Player(6),'n005'),function WHV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(6))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function WKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function WZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function W9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YVV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YEV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YXV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YOV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YRV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YIV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YAV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YNV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YBV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YCV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YDV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YFV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YGV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YLV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YQV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Y_V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y0V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y1V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y2V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y3V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y4V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y5V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y6V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y7V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y8V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function Y9V takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZVV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZEV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZXV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZOV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZRV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZIV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZAV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZNV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZBV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZCV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZDV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZFV takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ZGV takes nothing returns nothing
call ForGroupBJ(C7V(Player(7),'Nklj'),function WKV)
call ForGroupBJ(C7V(Player(7),'Uwar'),function WLV)
call ForGroupBJ(C7V(Player(7),'Nman'),function WMV)
call ForGroupBJ(C7V(Player(7),'Udre'),function WPV)
call ForGroupBJ(C7V(Player(7),'Ucrl'),function WQV)
call ForGroupBJ(C7V(Player(7),'E002'),function WSV)
call ForGroupBJ(C7V(Player(7),'E003'),function WTV)
call ForGroupBJ(C7V(Player(7),'E001'),function WUV)
call ForGroupBJ(C7V(Player(7),'E004'),function WWV)
call ForGroupBJ(C7V(Player(7),'Ulic'),function WYV)
call ForGroupBJ(C7V(Player(7),'Udea'),function WZV)
call ForGroupBJ(C7V(Player(7),'Hvsh'),function W_V)
call ForGroupBJ(C7V(Player(7),'Nsjs'),function W0V)
call ForGroupBJ(C7V(Player(7),'Ogrh'),function W1V)
call ForGroupBJ(C7V(Player(7),'Opgh'),function W2V)
call ForGroupBJ(C7V(Player(7),'Hmkg'),function W3V)
call ForGroupBJ(C7V(Player(7),'Hamg'),function W4V)
call ForGroupBJ(C7V(Player(7),'H00B'),function W5V)
call ForGroupBJ(C7V(Player(7),'HC13'),function W6V)
call ForGroupBJ(C7V(Player(7),'HC03'),function W7V)
call ForGroupBJ(C7V(Player(7),'HC02'),function W8V)
call ForGroupBJ(C7V(Player(7),'Hgam'),function W9V)
call ForGroupBJ(C7V(Player(7),'Harf'),function YVV)
call ForGroupBJ(C7V(Player(7),'Hant'),function YEV)
call ForGroupBJ(C7V(Player(7),'Hvwd'),function YXV)
call ForGroupBJ(C7V(Player(7),'Hapm'),function YOV)
call ForGroupBJ(C7V(Player(7),'Hmbr'),function YRV)
call ForGroupBJ(C7V(Player(7),'Hpb2'),function YIV)
call ForGroupBJ(C7V(Player(7),'Hpb1'),function YAV)
call ForGroupBJ(C7V(Player(7),'Huth'),function YNV)
call ForGroupBJ(C7V(Player(7),'Hkal'),function YBV)
call ForGroupBJ(C7V(Player(7),'Hlgr'),function YCV)
call ForGroupBJ(C7V(Player(7),'Hmgd'),function YDV)
call ForGroupBJ(C7V(Player(7),'Hhkl'),function YFV)
call ForGroupBJ(C7V(Player(7),'Hdgo'),function YGV)
call ForGroupBJ(C7V(Player(7),'Hjai'),function YHV)
call ForGroupBJ(C7V(Player(7),'H00P'),function YJV)
call ForGroupBJ(C7V(Player(7),'H00S'),function YKV)
call ForGroupBJ(C7V(Player(7),'Obla'),function YLV)
call ForGroupBJ(C7V(Player(7),'Ofar'),function YMV)
call ForGroupBJ(C7V(Player(7),'Otch'),function YPV)
call ForGroupBJ(C7V(Player(7),'Oshd'),function YQV)
call ForGroupBJ(C7V(Player(7),'Ocbh'),function YSV)
call ForGroupBJ(C7V(Player(7),'Nbbc'),function YTV)
call ForGroupBJ(C7V(Player(7),'Othr'),function YUV)
call ForGroupBJ(C7V(Player(7),'Osam'),function YWV)
call ForGroupBJ(C7V(Player(7),'Orex'),function YYV)
call ForGroupBJ(C7V(Player(7),'Orkn'),function YZV)
call ForGroupBJ(C7V(Player(7),'n00G'),function Y_V)
call ForGroupBJ(C7V(Player(7),'n009'),function Y0V)
call ForGroupBJ(C7V(Player(7),'n007'),function Y1V)
call ForGroupBJ(C7V(Player(7),'n003'),function Y2V)
call ForGroupBJ(C7V(Player(7),'nC11'),function Y3V)
call ForGroupBJ(C7V(Player(7),'n005'),function Y4V)
call ForGroupBJ(C7V(Player(7),'n001'),function Y5V)
call ForGroupBJ(C7V(Player(7),'n006'),function Y6V)
call ForGroupBJ(C7V(Player(7),'nef2'),function Y7V)
call ForGroupBJ(C7V(Player(7),'nef0'),function Y8V)
call ForGroupBJ(C7V(Player(7),'nheb'),function Y9V)
call ForGroupBJ(C7V(Player(7),'nmgv'),function ZVV)
call ForGroupBJ(C7V(Player(7),'nbt2'),function ZEV)
call ForGroupBJ(C7V(Player(7),'haro'),function ZXV)
call ForGroupBJ(C7V(Player(7),'n00D'),function ZOV)
call ForGroupBJ(C7V(Player(7),'n013'),function ZRV)
call ForGroupBJ(C7V(Player(7),'n015'),function ZIV)
call ForGroupBJ(C7V(Player(7),'n01F'),function ZAV)
call ForGroupBJ(C7V(Player(7),'n014'),function ZNV)
call ForGroupBJ(C7V(Player(7),'n01D'),function ZBV)
call ForGroupBJ(C7V(Player(7),'n016'),function ZCV)
call ForGroupBJ(C7V(Player(7),'n005'),function ZDV)
call ForGroupBJ(C7V(Player(7),'n01B'),function ZFV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(7))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function ZHV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZJV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZKV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZLV takes nothing returns nothing
call ForGroupBJ(C7V(Player(8),'H006'),function ZHV)
call ForGroupBJ(C7V(Player(8),'Ogld'),function ZJV)
call ForGroupBJ(C7V(Player(8),'Ogld'),function ZKV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(8))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function ZMV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZPV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZQV takes nothing returns nothing
call ForGroupBJ(C7V(Player(9),'H003'),function ZMV)
call ForGroupBJ(C7V(Player(9),'Ocb2'),function ZPV)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(9))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function ZSV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZTV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZUV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZWV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZYV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function ZZV takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z_V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z0V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z1V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z2V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z3V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z4V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z5V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z6V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z7V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z8V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Z9V takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VVE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VEE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VXE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VOE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VRE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VIE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VAE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VNE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VBE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VCE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VDE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VFE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VGE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VHE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VJE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VKE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VLE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VME takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VPE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VQE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VSE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VTE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VUE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VWE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VYE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function VZE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V_E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V0E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V1E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V2E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function V3E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function V4E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V5E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function V6E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function V7E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function V8E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function V9E takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EVE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EEE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EXE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EOE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ERE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EIE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EAE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ENE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EBE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ECE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EDE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EFE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EGE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EHE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EJE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EKE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function ELE takes nothing returns nothing
call SetUnitOwner(GetEnumUnit(),Player(11),true)
endfunction
function EME takes nothing returns nothing
call ForGroupBJ(C7V(Player(10),'Nklj'),function ZSV)
call ForGroupBJ(C7V(Player(10),'Uwar'),function ZTV)
call ForGroupBJ(C7V(Player(10),'Nman'),function ZUV)
call ForGroupBJ(C7V(Player(10),'Udre'),function ZWV)
call ForGroupBJ(C7V(Player(10),'Ucrl'),function ZYV)
call ForGroupBJ(C7V(Player(10),'E002'),function ZZV)
call ForGroupBJ(C7V(Player(10),'E003'),function Z_V)
call ForGroupBJ(C7V(Player(10),'E001'),function Z0V)
call ForGroupBJ(C7V(Player(10),'E004'),function Z1V)
call ForGroupBJ(C7V(Player(10),'Ulic'),function Z2V)
call ForGroupBJ(C7V(Player(10),'Udea'),function Z3V)
call ForGroupBJ(C7V(Player(10),'Hvsh'),function Z4V)
call ForGroupBJ(C7V(Player(10),'Nsjs'),function Z5V)
call ForGroupBJ(C7V(Player(10),'Ogrh'),function Z6V)
call ForGroupBJ(C7V(Player(10),'Opgh'),function Z7V)
call ForGroupBJ(C7V(Player(10),'Hmkg'),function Z8V)
call ForGroupBJ(C7V(Player(10),'Hamg'),function Z9V)
call ForGroupBJ(C7V(Player(10),'H00B'),function VVE)
call ForGroupBJ(C7V(Player(10),'HC13'),function VEE)
call ForGroupBJ(C7V(Player(10),'Hgam'),function VXE)
call ForGroupBJ(C7V(Player(10),'Harf'),function VOE)
call ForGroupBJ(C7V(Player(10),'Hant'),function VRE)
call ForGroupBJ(C7V(Player(10),'Hvwd'),function VIE)
call ForGroupBJ(C7V(Player(10),'Hapm'),function VAE)
call ForGroupBJ(C7V(Player(10),'Hmbr'),function VNE)
call ForGroupBJ(C7V(Player(10),'Hpb2'),function VBE)
call ForGroupBJ(C7V(Player(10),'Hpb1'),function VCE)
call ForGroupBJ(C7V(Player(10),'Huth'),function VDE)
call ForGroupBJ(C7V(Player(10),'Hkal'),function VFE)
call ForGroupBJ(C7V(Player(10),'Hlgr'),function VGE)
call ForGroupBJ(C7V(Player(10),'Hmgd'),function VHE)
call ForGroupBJ(C7V(Player(10),'Hhkl'),function VJE)
call ForGroupBJ(C7V(Player(10),'Hdgo'),function VKE)
call ForGroupBJ(C7V(Player(10),'Hjai'),function VLE)
call ForGroupBJ(C7V(Player(10),'H00P'),function VME)
call ForGroupBJ(C7V(Player(10),'H00S'),function VPE)
call ForGroupBJ(C7V(Player(10),'Obla'),function VQE)
call ForGroupBJ(C7V(Player(10),'Ofar'),function VSE)
call ForGroupBJ(C7V(Player(10),'Otch'),function VTE)
call ForGroupBJ(C7V(Player(10),'Oshd'),function VUE)
call ForGroupBJ(C7V(Player(10),'Nbbc'),function VWE)
call ForGroupBJ(C7V(Player(10),'Ocbh'),function VYE)
call ForGroupBJ(C7V(Player(10),'Othr'),function VZE)
call ForGroupBJ(C7V(Player(10),'Osam'),function V_E)
call ForGroupBJ(C7V(Player(10),'Orex'),function V0E)
call ForGroupBJ(C7V(Player(10),'Orkn'),function V1E)
call ForGroupBJ(C7V(Player(10),'n00G'),function V2E)
call ForGroupBJ(C7V(Player(10),'n009'),function V3E)
call ForGroupBJ(C7V(Player(10),'HC03'),function V4E)
call ForGroupBJ(C7V(Player(10),'HC02'),function V5E)
call ForGroupBJ(C7V(Player(10),'n007'),function V6E)
call ForGroupBJ(C7V(Player(10),'n003'),function V7E)
call ForGroupBJ(C7V(Player(10),'nC11'),function V8E)
call ForGroupBJ(C7V(Player(10),'n005'),function V9E)
call ForGroupBJ(C7V(Player(10),'n001'),function EVE)
call ForGroupBJ(C7V(Player(10),'n006'),function EEE)
call ForGroupBJ(C7V(Player(10),'nef2'),function EXE)
call ForGroupBJ(C7V(Player(10),'nef0'),function EOE)
call ForGroupBJ(C7V(Player(10),'nheb'),function ERE)
call ForGroupBJ(C7V(Player(10),'nmgv'),function EIE)
call ForGroupBJ(C7V(Player(10),'nbt2'),function EAE)
call ForGroupBJ(C7V(Player(10),'haro'),function ENE)
call ForGroupBJ(C7V(Player(10),'n00D'),function EBE)
call ForGroupBJ(C7V(Player(10),'n013'),function ECE)
call ForGroupBJ(C7V(Player(10),'n015'),function EDE)
call ForGroupBJ(C7V(Player(10),'n01D'),function EFE)
call ForGroupBJ(C7V(Player(10),'n014'),function EGE)
call ForGroupBJ(C7V(Player(10),'n01F'),function EHE)
call ForGroupBJ(C7V(Player(10),'n016'),function EJE)
call ForGroupBJ(C7V(Player(10),'n01B'),function EKE)
call ForGroupBJ(C7V(Player(10),'n005'),function ELE)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(Player(10))+" has left the game!"))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function EPE takes nothing returns nothing
call SetMapFlag(MAP_LOCK_ALLIANCE_CHANGES,true)
call SetMapFlag(MAP_RESOURCE_TRADING_ALLIES_ONLY,true)
call SetForceAllianceStateBJ(bj_FORCE_ALL_PLAYERS,bj_FORCE_ALL_PLAYERS,0)
call SetPlayerAllianceStateBJ(Player(11),Player(0),3)
call SetPlayerAllianceStateBJ(Player(11),Player(1),3)
call SetPlayerAllianceStateBJ(Player(11),Player(2),3)
call SetPlayerAllianceStateBJ(Player(11),Player(3),3)
call SetPlayerAllianceStateBJ(Player(11),Player(4),3)
call SetPlayerAllianceStateBJ(Player(11),Player(5),3)
call SetPlayerAllianceStateBJ(Player(11),Player(6),3)
call SetPlayerAllianceStateBJ(Player(11),Player(7),3)
call SetPlayerAllianceStateBJ(Player(11),Player(8),3)
call SetPlayerAllianceStateBJ(Player(11),Player(9),3)
call SetPlayerAllianceStateBJ(Player(11),Player(10),3)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Death Match Mode has been started.There is no job you can employ and no alliance you can set ,every player need to kill each other and fight to the end!")
call DisableTrigger(udg_trigger278)
call DisableTrigger(udg_trigger357)
call DisableTrigger(udg_trigger342)
call DisableTrigger(udg_trigger316)
call DisableTrigger(udg_trigger272)
call DisableTrigger(udg_trigger305)
call DisableTrigger(udg_trigger300)
call DisableTrigger(udg_trigger309)
call DisableTrigger(udg_trigger236)
call DisableTrigger(udg_trigger237)
call DisableTrigger(udg_trigger238)
call DisableTrigger(udg_trigger351)
call DisableTrigger(udg_trigger346)
call DisableTrigger(udg_trigger320)
call DisableTrigger(udg_trigger329)
call DisableTrigger(udg_trigger282)
call DisableTrigger(udg_trigger291)
call DisableTrigger(udg_trigger229)
call DisableTrigger(udg_trigger325)
call DisableTrigger(udg_trigger337)
call DisableTrigger(udg_trigger50)
endfunction
function EQE takes nothing returns nothing
call RemoveUnit(udg_unit44)
call RemoveUnit(udg_unit20)
call RemoveUnit(udg_unit59)
call RemoveUnit(udg_unit121)
call RemoveUnit(udg_unit226)
call CreateNUnitsAtLoc(1,'ntav',Player(15),GetRectCenter(udg_rect234),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntav',Player(15),GetRectCenter(udg_rect235),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntav',Player(15),GetRectCenter(udg_rect236),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntav',Player(15),GetRectCenter(udg_rect237),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'ntav',Player(15),GetRectCenter(udg_rect238),bj_UNIT_FACING)
call DisableTrigger(udg_trigger32)
endfunction
function ESE takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),10.)
endfunction
function ETE takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function EUE takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),10.)
endfunction
function EWE takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function EYE takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),10.)
endfunction
function EZE takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function E_E takes nothing returns nothing
call ShowUnitShow(udg_unit237)
call ShowUnitShow(udg_unit243)
call ShowUnitShow(udg_unit244)
call ShowUnitShow(udg_unit245)
call ShowUnitShow(udg_unit246)
call ShowUnitShow(udg_unit247)
call ShowUnitShow(udg_unit242)
call PlaySoundBJ(udg_sound07)
call EnableTrigger(udg_trigger35)
call EnableTrigger(udg_trigger38)
call DisableTrigger(udg_trigger32)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_6257")
call TriggerSleepAction(900.)
call ForForce(bj_FORCE_ALL_PLAYERS,function ESE)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group02),"Ancient Worker",null,"For so long we have wait ...",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group02),"Ancient Worker",null,"It is time to start our invasion!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group02),"Ancient Worker",null,"Kill all the gods and goddesses in town.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group02),"Ancient Worker",null,"And once again we will own this land!",0,0,true)
call ForForce(bj_FORCE_ALL_PLAYERS,function ETE)
call CreateNUnitsAtLoc(1,'nfgo',Player(12),GetRectCenter(udg_rect254),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nfgo',Player(12),GetRectCenter(udg_rect256),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nfgo',Player(12),GetRectCenter(udg_rect257),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'nfgo',Player(12),GetRectCenter(udg_rect258),bj_UNIT_FACING)
call EnableTrigger(udg_trigger36)
call EnableTrigger(udg_trigger39)
call EnableTrigger(udg_trigger41)
call EnableTrigger(udg_trigger43)
call TriggerSleepAction(900.)
call ForForce(bj_FORCE_ALL_PLAYERS,function EUE)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group03),"Ancient Soilder",null,"The defense of this town is tough ...",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group03),"Ancient Soilder",null,"I think we should wake up the Guardians.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group03),"Ancient Soilder",null,"That will be more quick to destroy this town with their help.",0,0,true)
call TriggerSleepAction(2.)
call ForForce(bj_FORCE_ALL_PLAYERS,function EWE)
call CreateNUnitsAtLoc(1,'n01J',Player(12),GetRectCenter(udg_rect259),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01J',Player(12),GetRectCenter(udg_rect260),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01J',Player(12),GetRectCenter(udg_rect261),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01J',Player(12),GetRectCenter(udg_rect262),bj_UNIT_FACING)
call EnableTrigger(udg_trigger37)
call EnableTrigger(udg_trigger40)
call EnableTrigger(udg_trigger42)
call EnableTrigger(udg_trigger44)
call TriggerSleepAction(900.)
call ForForce(bj_FORCE_ALL_PLAYERS,function EYE)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group04),"Ancient Guardian",null,"This is the time to wake up our lord!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group04),"Ancient Guardian",null,"For the name of our Ancient Kingdom.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group04),"Ancient Guardian",null,"Please ,wake up!Lord of Saraja!",0,0,true)
call TriggerSleepAction(2.)
call CreateNUnitsAtLoc(1,'nmmu',Player(12),GetRectCenter(udg_rect263),bj_UNIT_FACING)
set udg_unit11=bj_lastCreatedUnit
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"How dare you woke me up!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group04),"Ancient Guardian",null,"Sorry to interrupt your sleep ,my lord.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,GroupPickRandomUnit(udg_group04),"Ancient Guardian",null,"But that is the time to get back our land.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"Nevermind ,let us show them our power of Saraja!",0,0,true)
call TriggerSleepAction(2.)
call CreateNUnitsAtLoc(1,'Hjai',Player(11),GetRectCenter(udg_rect264),bj_UNIT_FACING)
set udg_unit12=bj_lastCreatedUnit
call SetHeroLevelBJ(udg_unit12,25,false)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call UnitAddItemByIdSwapped('k3m2',udg_unit12)
call ModifyHeroStat(0,udg_unit12,2,1000)
call ModifyHeroStat(1,udg_unit12,2,1000)
call ModifyHeroStat(2,udg_unit12,2,1000)
call UnitAddAbility(udg_unit12,'ACrn')
call SetUnitVertexColorBJ(udg_unit12,'d','d','d',50.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"I am not letting you and your army destroy our land!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"Muhahaha ,do you think I will be defeated like last time we met?",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"I will trap you in this place with me forever.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"Don't try to avoid the battle between you and me!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"Damn you dead shrew!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"Let start our eternal battle ,again!",0,0,true)
call ForForce(bj_FORCE_ALL_PLAYERS,function EZE)
call EnableTrigger(udg_trigger45)
call EnableTrigger(udg_trigger46)
call TriggerSleepAction(900.)
call ShowUnitShow(udg_unit248)
call ShowUnitShow(udg_unit251)
call ShowUnitShow(udg_unit250)
call ShowUnitShow(udg_unit249)
call ShowDestructableBJ(true,udg_destructable67)
call ShowDestructableBJ(true,udg_destructable66)
call ShowDestructableBJ(true,udg_destructable65)
call ShowDestructableBJ(true,udg_destructable68)
call ShowDestructableBJ(true,udg_destructable69)
call ShowDestructableBJ(true,udg_destructable70)
call ShowDestructableBJ(true,udg_destructable58)
call ShowDestructableBJ(true,udg_destructable60)
call ShowDestructableBJ(true,udg_destructable59)
call ShowDestructableBJ(true,udg_destructable57)
call ShowDestructableBJ(true,udg_destructable62)
call ShowDestructableBJ(true,udg_destructable64)
call ShowDestructableBJ(true,udg_destructable63)
call ShowDestructableBJ(true,udg_destructable61)
call EnableTrigger(udg_trigger47)
call EnableTrigger(udg_trigger48)
call SetUnitPositionLoc(udg_unit11,GetRectCenter(udg_rect256))
call SetUnitPositionLoc(udg_unit12,GetRectCenter(udg_rect258))
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"Got you!",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"You cannot cage me forever ,Violent.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit11,"Lord Of Saraja",null,"The one must be wake ,and you will not success to stop the wheel of destiny.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"There is not only me fighting all of you.",0,0,true)
call TriggerSleepAction(2.)
call TransmissionFromUnitWithNameBJ(bj_FORCE_ALL_PLAYERS,udg_unit12,"Violent-Power",null,"My people will seal you and your evil army once again.",0,0,true)
call EnableTrigger(udg_trigger49)
endfunction
function E0E takes nothing returns nothing
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call CreateNUnitsAtLoc(1,'nspd',Player(12),udg_location09,bj_UNIT_FACING)
call RemoveLocation(udg_location09)
endfunction
function E1E takes nothing returns nothing
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call CreateNUnitsAtLoc(1,'nfgo',Player(12),udg_location09,bj_UNIT_FACING)
call RemoveLocation(udg_location09)
endfunction
function E2E takes nothing returns nothing
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call CreateNUnitsAtLoc(1,'n01J',Player(12),udg_location09,bj_UNIT_FACING)
call RemoveLocation(udg_location09)
endfunction
function E3E takes nothing returns nothing
set udg_group02=C7V(Player(12),'nspd')
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call GroupPointOrderByIdLoc(udg_group02,851983,udg_location09)
call DestroyGroup(udg_group02)
call RemoveLocation(udg_location09)
endfunction
function E4E takes nothing returns nothing
set udg_group02=C7V(Player(12),'nspd')
set udg_unit13=GroupPickRandomUnit(udg_group02)
set udg_location10=GetUnitLoc(udg_unit13)
call IssueBuildOrderByIdLocBJ(udg_unit13,'nfgo',udg_location10)
call DestroyGroup(udg_group02)
call RemoveLocation(udg_location10)
endfunction
function E5E takes nothing returns nothing
set udg_group02=C7V(Player(12),'nspd')
set udg_unit13=GroupPickRandomUnit(udg_group02)
set udg_location10=GetUnitLoc(udg_unit13)
call IssueBuildOrderByIdLocBJ(udg_unit13,'n01J',udg_location10)
call DestroyGroup(udg_group02)
call RemoveLocation(udg_location10)
endfunction
function E6E takes nothing returns nothing
set udg_group03=C7V(Player(12),'nnwl')
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call GroupPointOrderByIdLoc(udg_group03,851983,udg_location09)
call DestroyGroup(udg_group03)
call RemoveLocation(udg_location09)
endfunction
function E7E takes nothing returns nothing
set udg_group04=C7V(Player(12),'nnwa')
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call GroupPointOrderByIdLoc(udg_group04,851983,udg_location09)
call DestroyGroup(udg_group04)
call RemoveLocation(udg_location09)
endfunction
function E8E takes nothing returns nothing
set udg_group05=C7V(Player(12),'nfgo')
call GroupImmediateOrderById(udg_group05,852097)
call DestroyGroup(udg_group05)
endfunction
function E9E takes nothing returns nothing
set udg_group06=C7V(Player(12),'n01J')
call GroupImmediateOrderById(udg_group06,852097)
call DestroyGroup(udg_group06)
endfunction
function XVE takes nothing returns nothing
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call IssuePointOrderByIdLoc(udg_unit11,851983,udg_location09)
call RemoveLocation(udg_location09)
endfunction
function XEE takes nothing returns nothing
set udg_location09=GetRandomLocInRect(bj_mapInitialPlayableArea)
call IssuePointOrderByIdLoc(udg_unit12,851983,udg_location09)
call RemoveLocation(udg_location09)
endfunction
function XXE takes nothing returns boolean
return(GetEnteringUnit()!=udg_unit11)and(GetEnteringUnit()!=udg_unit12)
endfunction
function XOE takes nothing returns nothing
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect266))
call DisplayTextToForce(C8V(GetOwningPlayer(GetEnteringUnit())),"The force shield is too strong ,you can't get in any dierections.")
endfunction
function XRE takes nothing returns boolean
return(GetEnteringUnit()==udg_unit11)and(GetEnteringUnit()==udg_unit12)
endfunction
function XIE takes nothing returns nothing
call SetUnitPositionLoc(GetEnteringUnit(),GetRectCenter(udg_rect265))
endfunction
function XAE takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetEnumPlayer(),10.)
endfunction
function XNE takes nothing returns nothing
call CameraClearNoiseForPlayer(GetEnumPlayer())
endfunction
function XBE takes nothing returns nothing
call ForForce(bj_FORCE_ALL_PLAYERS,function XAE)
call TriggerSleepAction(10.)
call ForForce(bj_FORCE_ALL_PLAYERS,function XNE)
endfunction
function XCE takes nothing returns nothing
call ShowUnitShow(udg_unit240)
call ShowUnitShow(udg_unit223)
call ShowUnitShow(udg_unit221)
call ShowUnitShow(udg_unit219)
call ShowUnitShow(udg_unit216)
call ShowUnitShow(udg_unit215)
call ShowUnitShow(udg_unit212)
call ShowUnitShow(udg_unit211)
call ShowUnitShow(udg_unit209)
call ShowUnitShow(udg_unit207)
call ShowUnitShow(udg_unit205)
call ShowUnitShow(udg_unit203)
call ShowUnitShow(udg_unit200)
call ShowUnitShow(udg_unit199)
call ShowUnitShow(udg_unit196)
call ShowUnitShow(udg_unit227)
call ShowUnitShow(udg_unit195)
call ShowUnitShow(udg_unit194)
call ShowUnitShow(udg_unit176)
call ShowUnitShow(udg_unit230)
call ShowUnitShow(udg_unit225)
call ShowUnitShow(udg_unit222)
call ShowUnitShow(udg_unit220)
call ShowUnitShow(udg_unit218)
call ShowUnitShow(udg_unit217)
call ShowUnitShow(udg_unit214)
call ShowUnitShow(udg_unit213)
call ShowUnitShow(udg_unit210)
call ShowUnitShow(udg_unit208)
call ShowUnitShow(udg_unit206)
call ShowUnitShow(udg_unit204)
call ShowUnitShow(udg_unit202)
call ShowUnitShow(udg_unit201)
call ShowUnitShow(udg_unit198)
call ShowUnitShow(udg_unit197)
call ShowUnitShow(udg_unit189)
call ShowUnitShow(udg_unit193)
call ShowUnitShow(udg_unit179)
call ShowUnitShow(udg_unit232)
call ShowUnitShow(udg_unit231)
call RemoveUnit(udg_unit89)
call CreateNUnitsAtLoc(1,'n019',Player(15),GetRectCenter(udg_rect182),bj_UNIT_FACING)
call RemoveUnit(udg_unit37)
call CreateNUnitsAtLoc(1,'n019',Player(15),GetRectCenter(udg_rect181),bj_UNIT_FACING)
call RemoveUnit(udg_unit84)
call CreateNUnitsAtLoc(1,'n01A',Player(15),GetRectCenter(udg_rect189),bj_UNIT_FACING)
call RemoveUnit(udg_unit241)
call CreateNUnitsAtLoc(1,'n01A',Player(15),GetRectCenter(udg_rect253),bj_UNIT_FACING)
call RemoveUnit(udg_unit142)
call CreateNUnitsAtLoc(1,'h01F',Player(15),GetRectCenter(udg_rect239),bj_UNIT_FACING)
call EnableTrigger(udg_trigger51)
call EnableTrigger(udg_trigger52)
call EnableTrigger(udg_trigger53)
call EnableTrigger(udg_trigger54)
call EnableTrigger(udg_trigger55)
call EnableTrigger(udg_trigger56)
call EnableTrigger(udg_trigger57)
call EnableTrigger(udg_trigger58)
call EnableTrigger(udg_trigger59)
call EnableTrigger(udg_trigger60)
call EnableTrigger(udg_trigger61)
call EnableTrigger(udg_trigger62)
call EnableTrigger(udg_trigger63)
call EnableTrigger(udg_trigger64)
call EnableTrigger(udg_trigger65)
call EnableTrigger(udg_trigger66)
call EnableTrigger(udg_trigger67)
call EnableTrigger(udg_trigger68)
call EnableTrigger(udg_trigger69)
call EnableTrigger(udg_trigger70)
call EnableTrigger(udg_trigger71)
call EnableTrigger(udg_trigger72)
call EnableTrigger(udg_trigger73)
call EnableTrigger(udg_trigger74)
call EnableTrigger(udg_trigger75)
call EnableTrigger(udg_trigger76)
call EnableTrigger(udg_trigger77)
call EnableTrigger(udg_trigger78)
call EnableTrigger(udg_trigger79)
call EnableTrigger(udg_trigger80)
call EnableTrigger(udg_trigger81)
call EnableTrigger(udg_trigger82)
call EnableTrigger(udg_trigger83)
call EnableTrigger(udg_trigger84)
call EnableTrigger(udg_trigger85)
call EnableTrigger(udg_trigger86)
call EnableTrigger(udg_trigger91)
call EnableTrigger(udg_trigger92)
call EnableTrigger(udg_trigger93)
call EnableTrigger(udg_trigger94)
call DisableTrigger(udg_trigger32)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_6133")
endfunction
function XDE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit197)==Player(11))
endfunction
function XFE takes nothing returns nothing
call SetUnitOwner(udg_unit197,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit196,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function XGE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit197)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function XHE takes nothing returns nothing
call SetUnitOwner(udg_unit197,Player(11),true)
call SetUnitOwner(udg_unit196,Player(11),true)
endfunction
function XJE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit201)==Player(11))
endfunction
function XKE takes nothing returns nothing
call SetUnitOwner(udg_unit201,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit200,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function XLE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit201)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function XME takes nothing returns nothing
call SetUnitOwner(udg_unit201,Player(11),true)
call SetUnitOwner(udg_unit200,Player(11),true)
endfunction
function XPE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit202)==Player(11))
endfunction
function XQE takes nothing returns nothing
call SetUnitOwner(udg_unit202,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit203,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function XSE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit202)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function XTE takes nothing returns nothing
call SetUnitOwner(udg_unit202,Player(11),true)
call SetUnitOwner(udg_unit203,Player(11),true)
endfunction
function XUE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit204)==Player(11))
endfunction
function XWE takes nothing returns nothing
call SetUnitOwner(udg_unit204,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit205,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function XYE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit204)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function XZE takes nothing returns nothing
call SetUnitOwner(udg_unit204,Player(11),true)
call SetUnitOwner(udg_unit205,Player(11),true)
endfunction
function X_E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit206)==Player(11))
endfunction
function X0E takes nothing returns nothing
call SetUnitOwner(udg_unit206,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit207,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function X1E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit206)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function X2E takes nothing returns nothing
call SetUnitOwner(udg_unit206,Player(11),true)
call SetUnitOwner(udg_unit207,Player(11),true)
endfunction
function X3E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit208)==Player(11))
endfunction
function X4E takes nothing returns nothing
call SetUnitOwner(udg_unit208,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit209,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function X5E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit208)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function X6E takes nothing returns nothing
call SetUnitOwner(udg_unit208,Player(11),true)
call SetUnitOwner(udg_unit209,Player(11),true)
endfunction
function X7E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit198)==Player(11))
endfunction
function X8E takes nothing returns nothing
call SetUnitOwner(udg_unit198,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit199,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function X9E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit198)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OVE takes nothing returns nothing
call SetUnitOwner(udg_unit198,Player(11),true)
call SetUnitOwner(udg_unit199,Player(11),true)
endfunction
function OEE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit210)==Player(11))
endfunction
function OXE takes nothing returns nothing
call SetUnitOwner(udg_unit210,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit211,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function OOE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit210)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function ORE takes nothing returns nothing
call SetUnitOwner(udg_unit210,Player(11),true)
call SetUnitOwner(udg_unit211,Player(11),true)
endfunction
function OIE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit213)==Player(11))
endfunction
function OAE takes nothing returns nothing
call SetUnitOwner(udg_unit213,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit212,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function ONE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit213)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OBE takes nothing returns nothing
call SetUnitOwner(udg_unit213,Player(11),true)
call SetUnitOwner(udg_unit212,Player(11),true)
endfunction
function OCE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit214)==Player(11))
endfunction
function ODE takes nothing returns nothing
call SetUnitOwner(udg_unit214,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit215,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function OFE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit214)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OGE takes nothing returns nothing
call SetUnitOwner(udg_unit214,Player(11),true)
call SetUnitOwner(udg_unit215,Player(11),true)
endfunction
function OHE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit217)==Player(11))
endfunction
function OJE takes nothing returns nothing
call SetUnitOwner(udg_unit217,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit216,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function OKE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit217)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OLE takes nothing returns nothing
call SetUnitOwner(udg_unit217,Player(11),true)
call SetUnitOwner(udg_unit216,Player(11),true)
endfunction
function OME takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit218)==Player(11))
endfunction
function OPE takes nothing returns nothing
call SetUnitOwner(udg_unit218,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit219,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function OQE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit218)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OSE takes nothing returns nothing
call SetUnitOwner(udg_unit218,Player(11),true)
call SetUnitOwner(udg_unit219,Player(11),true)
endfunction
function OTE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit220)==Player(11))
endfunction
function OUE takes nothing returns nothing
call SetUnitOwner(udg_unit220,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit221,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function OWE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit220)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function OYE takes nothing returns nothing
call SetUnitOwner(udg_unit220,Player(11),true)
call SetUnitOwner(udg_unit221,Player(11),true)
endfunction
function OZE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit222)==Player(11))
endfunction
function O_E takes nothing returns nothing
call SetUnitOwner(udg_unit222,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit223,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function O0E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit222)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function O1E takes nothing returns nothing
call SetUnitOwner(udg_unit222,Player(11),true)
call SetUnitOwner(udg_unit223,Player(11),true)
endfunction
function O2E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit225)==Player(11))
endfunction
function O3E takes nothing returns nothing
call SetUnitOwner(udg_unit225,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit240,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function O4E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit225)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function O5E takes nothing returns nothing
call SetUnitOwner(udg_unit225,Player(11),true)
call SetUnitOwner(udg_unit240,Player(11),true)
endfunction
function O6E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit189)==Player(11))
endfunction
function O7E takes nothing returns nothing
call SetUnitOwner(udg_unit189,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit227,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function O8E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit189)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function O9E takes nothing returns nothing
call SetUnitOwner(udg_unit189,Player(11),true)
call SetUnitOwner(udg_unit227,Player(11),true)
endfunction
function RVE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit193)==Player(11))
endfunction
function REE takes nothing returns nothing
call SetUnitOwner(udg_unit193,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit195,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RXE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit193)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function ROE takes nothing returns nothing
call SetUnitOwner(udg_unit193,Player(11),true)
call SetUnitOwner(udg_unit195,Player(11),true)
endfunction
function RRE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit179)==Player(11))
endfunction
function RIE takes nothing returns nothing
call SetUnitOwner(udg_unit179,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit194,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RAE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit179)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function RNE takes nothing returns nothing
call SetUnitOwner(udg_unit179,Player(11),true)
call SetUnitOwner(udg_unit194,Player(11),true)
endfunction
function RBE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit228)==Player(11))
endfunction
function RCE takes nothing returns nothing
call SetUnitOwner(udg_unit228,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit190,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RDE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit228)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function RFE takes nothing returns nothing
call SetUnitOwner(udg_unit228,Player(11),true)
call SetUnitOwner(udg_unit190,Player(11),true)
endfunction
function RGE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit229)==Player(11))
endfunction
function RHE takes nothing returns nothing
call SetUnitOwner(udg_unit229,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit191,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RJE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit229)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function RKE takes nothing returns nothing
call SetUnitOwner(udg_unit229,Player(11),true)
call SetUnitOwner(udg_unit191,Player(11),true)
endfunction
function RLE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit232)==Player(11))
endfunction
function RME takes nothing returns nothing
call SetUnitOwner(udg_unit232,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit176,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RPE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit232)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function RQE takes nothing returns nothing
call SetUnitOwner(udg_unit232,Player(11),true)
call SetUnitOwner(udg_unit176,Player(11),true)
endfunction
function RSE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit231)==Player(11))
endfunction
function RTE takes nothing returns nothing
call SetUnitOwner(udg_unit231,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit230,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function RUE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit231)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function RWE takes nothing returns nothing
call SetUnitOwner(udg_unit231,Player(11),true)
call SetUnitOwner(udg_unit230,Player(11),true)
endfunction
function RYE takes nothing returns nothing
call SetDestructableInvulnerable(null,true)
call SetDestructableInvulnerable(udg_destructable33,true)
call SetDestructableInvulnerable(udg_destructable31,true)
call SetDestructableInvulnerable(udg_destructable04,true)
call SetDestructableInvulnerable(udg_destructable03,true)
call SetDestructableInvulnerable(udg_destructable46,true)
endfunction
function RZE takes nothing returns nothing
call SetUnitInvulnerable(udg_unit147,true)
call SetUnitInvulnerable(udg_unit148,true)
call SetUnitInvulnerable(udg_unit143,true)
call SetUnitInvulnerable(udg_unit144,true)
endfunction
function R_E takes nothing returns nothing
call CreateQuestBJ(0,"Police Commands","TRIGSTR_441","ReplaceableTextures\\CommandButtons\\BTNmarine.blp")
call CreateQuestBJ(0,"Drug Dealer Commands","TRIGSTR_443","ReplaceableTextures\\CommandButtons\\BTNMedivh.blp")
call CreateQuestBJ(0,"Mafia Commands","TRIGSTR_445","ReplaceableTextures\\CommandButtons\\BTNHeroPaladin.tga")
call CreateQuestBJ(0,"Other Commands","TRIGSTR_447","ReplaceableTextures\\CommandButtons\\BTNVillagerMan.blp")
call CreateQuestBJ(2,"Updates","TRIGSTR_480","ReplaceableTextures\\CommandButtons\\BTNAmbush.blp")
call CreateQuestBJ(2,"Goal & Rules","TRIGSTR_482","ReplaceableTextures\\CommandButtons\\BTNAmbush.blp")
call CreateQuestBJ(2,"Tips","TRIGSTR_484","ReplaceableTextures\\CommandButtons\\BTNAmbush.blp")
call CreateQuestBJ(2,"Death Match","TRIGSTR_5944","ReplaceableTextures\\CommandButtons\\BTNMaskOfDeath.blp")
call CreateQuestBJ(2,"Battle Field","TRIGSTR_5946","ReplaceableTextures\\CommandButtons\\BTNDarkSummoning.blp")
call CreateQuestBJ(2,"Bug Invasion","TRIGSTR_6256","ReplaceableTextures\\CommandButtons\\BTNNerubian.blp")
call CreateQuestBJ(2,"Real Life","This game mode will remove all rigged characters ,only normal peasant can be choose in game.But you can still allow to play other game mode.Except Death Match game mode.","ReplaceableTextures\\CommandButtons\\BTNVillagerMan.tga")
endfunction
function R0E takes nothing returns boolean
return('H000'==GetUnitTypeId(GetTriggerUnit()))
endfunction
function R1E takes nothing returns nothing
if(R0E())then
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(bj_mapInitialPlayableArea))
endif
endfunction
function R2E takes nothing returns boolean
return('H000'==GetUnitTypeId(GetTriggerUnit()))
endfunction
function R3E takes nothing returns nothing
if(R2E())then
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect227))
endif
endfunction
function R4E takes nothing returns boolean
return('H000'==GetUnitTypeId(GetTriggerUnit()))
endfunction
function R5E takes nothing returns nothing
if(R4E())then
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect60))
endif
endfunction
function R6E takes nothing returns boolean
return(GetSpellAbilityId()=='A04D')
endfunction
function R7E takes nothing returns boolean
return(IsUnitType(GetSpellAbilityUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function R8E takes nothing returns boolean
return(IsUnitType(GetSpellAbilityUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function R9E takes nothing returns nothing
call DisplayTextToForce(C9V(Condition(function R7E)),"*You put your penis in to her anus*")
call TriggerSleepAction(1.)
call DisplayTextToForce(C9V(Condition(function R8E)),"*You cum and she is groaning*")
set udg_integer01=(udg_integer01+1)
call SetUnitAnimation(GetSpellTargetUnit(),"death")
endfunction
function IVE takes nothing returns boolean
return(GetSpellAbilityId()=='AIuf')
endfunction
function IEE takes nothing returns boolean
return(IsUnitType(udg_unit04,UNIT_TYPE_HERO)!=null)
endfunction
function IXE takes nothing returns boolean
return(IsUnitType(udg_unit04,UNIT_TYPE_HERO)!=null)
endfunction
function IOE takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_location08=GetUnitLoc(udg_unit04)
call DisplayTextToForce(C9V(Condition(function IEE)),"*You put some lubricant inside you*")
call TriggerSleepAction(1.)
call DisplayTextToForce(C9V(Condition(function IXE)),"*Your finger keep putting inside and you cannot stop it*")
call EnableTrigger(udg_trigger103)
call TriggerSleepAction(20.)
call DisableTrigger(udg_trigger103)
endfunction
function IRE takes nothing returns nothing
set udg_location08=GetUnitLoc(udg_unit04)
call AddSpecialEffectLocBJ(udg_location08,"Objects\\Spawnmodels\\NightElf\\NightElfBlood\\NightElfBloodChimaera.mdl")
call TriggerSleepAction(1.5)
call DestroyEffect(bj_lastCreatedEffect)
call RemoveLocation(udg_location08)
endfunction
function IIE takes nothing returns boolean
return(GetSpellAbilityId()=='A01D')
endfunction
function IAE takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'A05U')
call TriggerSleepAction(60.)
call UnitRemoveAbility(GetTriggerUnit(),'A05U')
endfunction
function INE takes nothing returns boolean
return(GetTriggerUnit()==udg_unit71)
endfunction
function IBE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AEsv',GetOwningPlayer(GetTriggerUnit()))
endfunction
function ICE takes nothing returns boolean
return(GetTriggerUnit()==udg_unit33)
endfunction
function IDE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AUin',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IFE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC03')
endfunction
function IGE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHfs',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IHE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC02')
endfunction
function IJE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHwe',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IKE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Hmkg')
endfunction
function ILE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHbz',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IME takes nothing returns boolean
return(GetTriggerUnit()==udg_unit71)
endfunction
function IPE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AEsv',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IQE takes nothing returns boolean
return(GetTriggerUnit()==udg_unit33)
endfunction
function ISE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AUin',GetOwningPlayer(GetTriggerUnit()))
endfunction
function ITE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC03')
endfunction
function IUE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHfs',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IWE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC02')
endfunction
function IYE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHwe',GetOwningPlayer(GetTriggerUnit()))
endfunction
function IZE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Hmkg')
endfunction
function I_E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHbz',GetOwningPlayer(GetTriggerUnit()))
endfunction
function I0E takes nothing returns boolean
return(GetTriggerUnit()==udg_unit71)
endfunction
function I1E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AEsv',GetOwningPlayer(GetTriggerUnit()))
endfunction
function I2E takes nothing returns boolean
return(GetTriggerUnit()==udg_unit33)
endfunction
function I3E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AUin',GetOwningPlayer(GetTriggerUnit()))
endfunction
function I4E takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC03')
endfunction
function I5E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHfs',GetOwningPlayer(GetTriggerUnit()))
endfunction
function I6E takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC02')
endfunction
function I7E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHwe',GetOwningPlayer(GetTriggerUnit()))
endfunction
function I8E takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Hmkg')
endfunction
function I9E takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(false,'AHbz',GetOwningPlayer(GetTriggerUnit()))
endfunction
function AVE takes nothing returns boolean
return(GetTriggerUnit()==udg_unit71)
endfunction
function AEE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AEsv',GetOwningPlayer(GetTriggerUnit()))
endfunction
function AXE takes nothing returns boolean
return(GetTriggerUnit()==udg_unit33)
endfunction
function AOE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AUin',GetOwningPlayer(GetTriggerUnit()))
endfunction
function ARE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC03')
endfunction
function AIE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHfs',GetOwningPlayer(GetTriggerUnit()))
endfunction
function AAE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='HC02')
endfunction
function ANE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHwe',GetOwningPlayer(GetTriggerUnit()))
endfunction
function ABE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Hmkg')
endfunction
function ACE takes nothing returns nothing
call SetPlayerAbilityAvailableBJ(true,'AHbz',GetOwningPlayer(GetTriggerUnit()))
endfunction
function ADE takes nothing returns boolean
return(GetOwningPlayer(udg_unit166)==GetTriggerPlayer())
endfunction
function AFE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable54)
endfunction
function AGE takes nothing returns boolean
return(GetOwningPlayer(udg_unit166)==GetTriggerPlayer())
endfunction
function AHE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable54)
endfunction
function AJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit167)==GetTriggerPlayer())
endfunction
function AKE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable55)
endfunction
function ALE takes nothing returns boolean
return(GetOwningPlayer(udg_unit167)==GetTriggerPlayer())
endfunction
function AME takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable55)
endfunction
function APE takes nothing returns boolean
return(GetOwningPlayer(udg_unit100)==GetTriggerPlayer())
endfunction
function AQE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable13)
endfunction
function ASE takes nothing returns boolean
return(GetOwningPlayer(udg_unit100)==GetTriggerPlayer())
endfunction
function ATE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable47)
endfunction
function AUE takes nothing returns boolean
return(GetOwningPlayer(udg_unit100)==GetTriggerPlayer())
endfunction
function AWE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable13)
endfunction
function AYE takes nothing returns boolean
return(GetOwningPlayer(udg_unit100)==GetTriggerPlayer())
endfunction
function AZE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable47)
endfunction
function A_E takes nothing returns boolean
return(GetOwningPlayer(udg_unit101)==GetTriggerPlayer())
endfunction
function A0E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable24)
endfunction
function A1E takes nothing returns boolean
return(GetOwningPlayer(udg_unit101)==GetTriggerPlayer())
endfunction
function A2E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable24)
endfunction
function A3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit101)==GetTriggerPlayer())
endfunction
function A4E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable48)
endfunction
function A5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit101)==GetTriggerPlayer())
endfunction
function A6E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable48)
endfunction
function A7E takes nothing returns boolean
return(GetOwningPlayer(udg_unit103)==GetTriggerPlayer())
endfunction
function A8E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable17)
endfunction
function A9E takes nothing returns boolean
return(GetOwningPlayer(udg_unit103)==GetTriggerPlayer())
endfunction
function NVE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable17)
endfunction
function NEE takes nothing returns boolean
return(GetOwningPlayer(udg_unit102)==GetTriggerPlayer())
endfunction
function NXE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable16)
endfunction
function NOE takes nothing returns boolean
return(GetOwningPlayer(udg_unit102)==GetTriggerPlayer())
endfunction
function NRE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable16)
endfunction
function NIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit105)==GetTriggerPlayer())
endfunction
function NAE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable20)
endfunction
function NNE takes nothing returns boolean
return(GetOwningPlayer(udg_unit105)==GetTriggerPlayer())
endfunction
function NBE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable20)
endfunction
function NCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit104)==GetTriggerPlayer())
endfunction
function NDE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable21)
endfunction
function NFE takes nothing returns boolean
return(GetOwningPlayer(udg_unit104)==GetTriggerPlayer())
endfunction
function NGE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable21)
endfunction
function NHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit28)==GetTriggerPlayer())
endfunction
function NJE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable19)
endfunction
function NKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit28)==GetTriggerPlayer())
endfunction
function NLE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable19)
endfunction
function NME takes nothing returns boolean
return(GetOwningPlayer(udg_unit106)==GetTriggerPlayer())
endfunction
function NPE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable18)
endfunction
function NQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit106)==GetTriggerPlayer())
endfunction
function NSE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable18)
endfunction
function NTE takes nothing returns boolean
return(GetOwningPlayer(udg_unit116)==GetTriggerPlayer())
endfunction
function NUE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable26)
endfunction
function NWE takes nothing returns boolean
return(GetOwningPlayer(udg_unit116)==GetTriggerPlayer())
endfunction
function NYE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable26)
endfunction
function NZE takes nothing returns boolean
return(GetOwningPlayer(udg_unit123)==GetTriggerPlayer())
endfunction
function N_E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable27)
endfunction
function N0E takes nothing returns boolean
return(GetOwningPlayer(udg_unit123)==GetTriggerPlayer())
endfunction
function N1E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable27)
endfunction
function N2E takes nothing returns boolean
return(GetOwningPlayer(udg_unit123)==GetTriggerPlayer())
endfunction
function N3E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable32)
endfunction
function N4E takes nothing returns boolean
return(GetOwningPlayer(udg_unit123)==GetTriggerPlayer())
endfunction
function N5E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable32)
endfunction
function N6E takes nothing returns boolean
return(GetOwningPlayer(udg_unit137)==GetTriggerPlayer())
endfunction
function N7E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable43)
endfunction
function N8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit137)==GetTriggerPlayer())
endfunction
function N9E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable43)
endfunction
function BVE takes nothing returns boolean
return(GetOwningPlayer(udg_unit137)==GetTriggerPlayer())
endfunction
function BEE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable45)
call ModifyGateBJ(1,udg_destructable44)
endfunction
function BXE takes nothing returns boolean
return(GetOwningPlayer(udg_unit137)==GetTriggerPlayer())
endfunction
function BOE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable45)
call ModifyGateBJ(0,udg_destructable44)
endfunction
function BRE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable14)
call ModifyGateBJ(1,udg_destructable10)
endfunction
function BIE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable14)
call ModifyGateBJ(0,udg_destructable10)
endfunction
function BAE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable10)
endfunction
function BNE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable10)
endfunction
function BBE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable14)
endfunction
function BCE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable14)
endfunction
function BDE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable53)
endfunction
function BFE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable53)
endfunction
function BGE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable30)
endfunction
function BHE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable30)
endfunction
function BJE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable09)
endfunction
function BKE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable09)
endfunction
function BLE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable01)
endfunction
function BME takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable01)
endfunction
function BPE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable03)
endfunction
function BQE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable03)
endfunction
function BSE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable04)
endfunction
function BTE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable04)
endfunction
function BUE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable05)
endfunction
function BWE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable05)
endfunction
function BYE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable36)
endfunction
function BZE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable35)
endfunction
function B_E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable35)
endfunction
function B0E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable36)
endfunction
function B1E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable36)
call ModifyGateBJ(1,udg_destructable35)
endfunction
function B2E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable36)
call ModifyGateBJ(0,udg_destructable35)
endfunction
function B3E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable56)
endfunction
function B4E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable56)
endfunction
function B5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetTriggerPlayer())
endfunction
function B6E takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable46)
endfunction
function B7E takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetTriggerPlayer())
endfunction
function B8E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable46)
endfunction
function B9E takes nothing returns boolean
return(GetOwningPlayer(udg_unit45)==GetTriggerPlayer())
endfunction
function CVE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable12)
endfunction
function CEE takes nothing returns boolean
return(GetOwningPlayer(udg_unit45)==GetTriggerPlayer())
endfunction
function CXE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable12)
endfunction
function COE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)==GetTriggerPlayer())
endfunction
function CRE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable22)
endfunction
function CIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)==GetTriggerPlayer())
endfunction
function CAE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable22)
endfunction
function CNE takes nothing returns boolean
return(GetOwningPlayer(udg_unit45)==GetTriggerPlayer())
endfunction
function CBE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable11)
endfunction
function CCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit45)==GetTriggerPlayer())
endfunction
function CDE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable11)
endfunction
function CFE takes nothing returns boolean
return(GetOwningPlayer(udg_unit39)==GetTriggerPlayer())
endfunction
function CGE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable25)
endfunction
function CHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit39)==GetTriggerPlayer())
endfunction
function CJE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable25)
endfunction
function CKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit46)==GetTriggerPlayer())
endfunction
function CLE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable29)
endfunction
function CME takes nothing returns boolean
return(GetOwningPlayer(udg_unit46)==GetTriggerPlayer())
endfunction
function CPE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable29)
endfunction
function CQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit120)==GetTriggerPlayer())
endfunction
function CSE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable34)
endfunction
function CTE takes nothing returns boolean
return(GetOwningPlayer(udg_unit120)==GetTriggerPlayer())
endfunction
function CUE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable34)
endfunction
function CWE takes nothing returns boolean
return(GetOwningPlayer(udg_unit108)==GetTriggerPlayer())
endfunction
function CYE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable09)
endfunction
function CZE takes nothing returns boolean
return(GetOwningPlayer(udg_unit108)==GetTriggerPlayer())
endfunction
function C_E takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable09)
endfunction
function C0E takes nothing returns boolean
return(GetSellingUnit()==udg_unit52)and(GetUnitTypeId(GetSoldUnit())=='nbee')
endfunction
function C1E takes nothing returns nothing
call SetUnitOwner(udg_unit52,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit57,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit35,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit38,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit93,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit100,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit145,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitColor(udg_unit87,GetPlayerColor(GetOwningPlayer(GetSoldUnit())))
call ShowUnitHide(udg_unit52)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Large House.")
call RemoveUnit(GetSoldUnit())
endfunction
function C2E takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function C3E takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_unit100),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit52,Player(11),true)
call SetUnitOwner(udg_unit57,Player(11),true)
call SetUnitOwner(udg_unit35,Player(11),true)
call SetUnitOwner(udg_unit38,Player(11),true)
call SetUnitOwner(udg_unit93,Player(11),true)
call SetUnitOwner(udg_unit100,Player(15),true)
call SetUnitColor(udg_unit87,PLAYER_COLOR_BROWN)
call ShowUnitShow(udg_unit52)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit100),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function C4E takes nothing returns boolean
return(GetSellingUnit()==udg_unit99)and(GetUnitTypeId(GetSoldUnit())=='nbee')
endfunction
function C5E takes nothing returns nothing
call SetUnitOwner(udg_unit99,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit96,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit146,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit94,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit95,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit98,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit101,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitColor(udg_unit97,GetPlayerColor(GetOwningPlayer(GetSoldUnit())))
call ShowUnitHide(udg_unit99)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Large House.")
call RemoveUnit(GetSoldUnit())
endfunction
function C6E takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function C7E takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_unit101),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit99,Player(11),true)
call SetUnitOwner(udg_unit96,Player(11),true)
call SetUnitOwner(udg_unit94,Player(11),true)
call SetUnitOwner(udg_unit95,Player(11),true)
call SetUnitOwner(udg_unit98,Player(11),true)
call SetUnitOwner(udg_unit101,Player(15),true)
call SetUnitColor(udg_unit97,PLAYER_COLOR_BROWN)
call ShowUnitShow(udg_unit99)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit101),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function C8E takes nothing returns boolean
return(GetSellingUnit()==udg_unit55)and(GetUnitTypeId(GetSoldUnit())=='nws1')
endfunction
function C9E takes nothing returns nothing
call SetUnitOwner(udg_unit55,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit103,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit55)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Small House.")
call RemoveUnit(GetSoldUnit())
endfunction
function DVE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DEE takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(udg_unit103),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit55,Player(11),true)
call SetUnitOwner(udg_unit103,Player(15),true)
call ShowUnitShow(udg_unit55)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit103),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DXE takes nothing returns boolean
return(GetSellingUnit()==udg_unit56)and(GetUnitTypeId(GetSoldUnit())=='nws1')
endfunction
function DOE takes nothing returns nothing
call SetUnitOwner(udg_unit56,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit102,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit56)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Small House.")
call RemoveUnit(GetSoldUnit())
endfunction
function DRE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DIE takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(udg_unit102),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit56,Player(11),true)
call SetUnitOwner(udg_unit102,Player(15),true)
call ShowUnitShow(udg_unit56)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit102),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DAE takes nothing returns boolean
return(GetSellingUnit()==udg_unit53)and(GetUnitTypeId(GetSoldUnit())=='njks')
endfunction
function DNE takes nothing returns nothing
call SetUnitOwner(udg_unit53,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit105,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit53)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Medium House.")
call RemoveUnit(GetSoldUnit())
endfunction
function DBE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DCE takes nothing returns nothing
call AdjustPlayerStateBJ(750,GetOwningPlayer(udg_unit105),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit53,Player(11),true)
call SetUnitOwner(udg_unit105,Player(15),true)
call ShowUnitShow(udg_unit53)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit105),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DDE takes nothing returns boolean
return(GetSellingUnit()==udg_unit54)and(GetUnitTypeId(GetSoldUnit())=='njks')
endfunction
function DFE takes nothing returns nothing
call SetUnitOwner(udg_unit54,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit104,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit54)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought Medium House.")
call RemoveUnit(GetSoldUnit())
endfunction
function DGE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DHE takes nothing returns nothing
call AdjustPlayerStateBJ(750,GetOwningPlayer(udg_unit104),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit54,Player(11),true)
call SetUnitOwner(udg_unit104,Player(15),true)
call ShowUnitShow(udg_unit54)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit104),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DJE takes nothing returns boolean
return(GetSellingUnit()==udg_unit50)and(GetUnitTypeId(GetSoldUnit())=='hhdl')
endfunction
function DKE takes nothing returns nothing
call SetUnitOwner(udg_unit50,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit28,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit50)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought an Apartment.")
call RemoveUnit(GetSoldUnit())
endfunction
function DLE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DME takes nothing returns nothing
call AdjustPlayerStateBJ(250,GetOwningPlayer(udg_unit28),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit50,Player(11),true)
call SetUnitOwner(udg_unit28,Player(15),true)
call ShowUnitShow(udg_unit50)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit28),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DPE takes nothing returns boolean
return(GetSellingUnit()==udg_unit51)and(GetUnitTypeId(GetSoldUnit())=='hhdl')
endfunction
function DQE takes nothing returns nothing
call SetUnitOwner(udg_unit51,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit106,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit51)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought an Apartment.")
call RemoveUnit(GetSoldUnit())
endfunction
function DSE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DTE takes nothing returns nothing
call AdjustPlayerStateBJ(250,GetOwningPlayer(udg_unit106),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit51,Player(11),true)
call SetUnitOwner(udg_unit106,Player(15),true)
call ShowUnitShow(udg_unit51)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit106),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function DUE takes nothing returns boolean
return(GetSellingUnit()==udg_unit117)and(GetUnitTypeId(GetSoldUnit())=='nchp')
endfunction
function DWE takes nothing returns nothing
call SetUnitOwner(udg_unit117,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit109,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit110,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit113,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit114,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit115,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit111,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit112,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit116,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit117)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought a Mansion.")
call RemoveUnit(GetSoldUnit())
endfunction
function DYE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function DZE takes nothing returns nothing
call AdjustPlayerStateBJ(1500,GetOwningPlayer(udg_unit100),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit117,Player(11),true)
call SetUnitOwner(udg_unit109,Player(11),true)
call SetUnitOwner(udg_unit110,Player(11),true)
call SetUnitOwner(udg_unit113,Player(11),true)
call SetUnitOwner(udg_unit114,Player(11),true)
call SetUnitOwner(udg_unit115,Player(11),true)
call SetUnitOwner(udg_unit111,Player(11),true)
call SetUnitOwner(udg_unit112,Player(11),true)
call SetUnitOwner(udg_unit116,Player(15),true)
call ShowUnitShow(udg_unit117)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit116),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function D_E takes nothing returns boolean
return(GetSellingUnit()==udg_unit118)and(GetUnitTypeId(GetSoldUnit())=='nhea')
endfunction
function D0E takes nothing returns nothing
call SetUnitOwner(udg_unit125,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit22,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit123,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit126,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit122,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit16,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit72,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit124,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit118,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit118)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought a Mansion.")
call RemoveUnit(GetSoldUnit())
endfunction
function D1E takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function D2E takes nothing returns nothing
call AdjustPlayerStateBJ(1750,GetOwningPlayer(udg_unit123),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit125,Player(11),true)
call SetUnitOwner(udg_unit22,Player(11),true)
call SetUnitOwner(udg_unit123,Player(15),true)
call SetUnitOwner(udg_unit126,Player(11),true)
call SetUnitOwner(udg_unit122,Player(11),true)
call SetUnitOwner(udg_unit16,Player(11),true)
call SetUnitOwner(udg_unit72,Player(11),true)
call SetUnitOwner(udg_unit124,Player(11),true)
call SetUnitOwner(udg_unit118,Player(11),true)
call ShowUnitShow(udg_unit118)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit116),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function D3E takes nothing returns boolean
return(GetSellingUnit()==udg_unit138)and(GetUnitTypeId(GetSoldUnit())=='n00O')
endfunction
function D4E takes nothing returns nothing
call SetUnitOwner(udg_unit132,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit137,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit131,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit133,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit79,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit135,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit134,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit136,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit138,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit138)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought a Mansion.")
call RemoveUnit(GetSoldUnit())
endfunction
function D5E takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function D6E takes nothing returns nothing
call AdjustPlayerStateBJ(2250,GetOwningPlayer(udg_unit123),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit132,Player(11),true)
call SetUnitOwner(udg_unit137,Player(15),true)
call SetUnitOwner(udg_unit131,Player(11),true)
call SetUnitOwner(udg_unit133,Player(11),true)
call SetUnitOwner(udg_unit79,Player(11),true)
call SetUnitOwner(udg_unit135,Player(11),true)
call SetUnitOwner(udg_unit134,Player(11),true)
call SetUnitOwner(udg_unit136,Player(11),true)
call SetUnitOwner(udg_unit138,Player(11),true)
call ShowUnitShow(udg_unit138)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit116),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function D7E takes nothing returns boolean
return(GetSellingUnit()==udg_unit164)and(GetUnitTypeId(GetSoldUnit())=='n010')
endfunction
function D8E takes nothing returns nothing
call SetUnitOwner(udg_unit152,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit166,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit151,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit156,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit150,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit153,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit155,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit154,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit164,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit164)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought a Mansion.")
call RemoveUnit(GetSoldUnit())
endfunction
function D9E takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function FVE takes nothing returns nothing
call AdjustPlayerStateBJ(2250,GetOwningPlayer(udg_unit166),PLAYER_STATE_RESOURCE_GOLD)
call SetUnitOwner(udg_unit152,Player(11),true)
call SetUnitOwner(udg_unit166,Player(11),true)
call SetUnitOwner(udg_unit151,Player(11),true)
call SetUnitOwner(udg_unit156,Player(11),true)
call SetUnitOwner(udg_unit153,Player(11),true)
call SetUnitOwner(udg_unit155,Player(11),true)
call SetUnitOwner(udg_unit154,Player(11),true)
call SetUnitOwner(udg_unit164,Player(11),true)
call ShowUnitShow(udg_unit138)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit166),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function FEE takes nothing returns boolean
return(GetSellingUnit()==udg_unit165)and(GetUnitTypeId(GetSoldUnit())=='n012')
endfunction
function FXE takes nothing returns nothing
call SetUnitOwner(udg_unit159,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit167,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit158,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit163,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit157,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit160,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit162,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit161,GetOwningPlayer(GetSoldUnit()),true)
call SetUnitOwner(udg_unit165,GetOwningPlayer(GetSoldUnit()),true)
call ShowUnitHide(udg_unit165)
call DisplayTextToForce(C8V(GetOwningPlayer(GetSoldUnit())),"Bought a Mansion.")
call RemoveUnit(GetSoldUnit())
endfunction
function FOE takes nothing returns boolean
return(GetSpellAbilityId()=='A001')
endfunction
function FRE takes nothing returns nothing
call SetUnitOwner(udg_unit159,Player(11),true)
call SetUnitOwner(udg_unit167,Player(11),true)
call SetUnitOwner(udg_unit158,Player(11),true)
call SetUnitOwner(udg_unit163,Player(11),true)
call SetUnitOwner(udg_unit157,Player(11),true)
call SetUnitOwner(udg_unit160,Player(11),true)
call SetUnitOwner(udg_unit162,Player(11),true)
call SetUnitOwner(udg_unit161,Player(11),true)
call SetUnitOwner(udg_unit165,Player(11),true)
call ShowUnitShow(udg_unit165)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit167),"Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl")
endfunction
function FIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function FAE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Mayor. He makes money from taxes that are collected automatically"))
call SetUnitOwner(udg_unit19,GetOwningPlayer(GetTriggerUnit()),true)
set udg_integers01[(1+GetPlayerId(GetTriggerPlayer()))]=0
endfunction
function FNE takes nothing returns nothing
call AdjustPlayerStateBJ('d',GetOwningPlayer(udg_unit19),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function FBE takes nothing returns boolean
return(GetOwningPlayer(udg_unit19)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function FCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit19)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function FDE takes nothing returns nothing
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit19,Player(11),true)
call DisplayTextToForce(C9V(Condition(function FCE)),"You are no longer the Mayor")
endfunction
function FFE takes nothing returns nothing
call AdjustPlayerStateBJ(25,GetOwningPlayer(udg_unit60),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(25,GetOwningPlayer(udg_unit36),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(25,GetOwningPlayer(udg_unit61),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function FGE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function FHE takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function FJE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FKE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FLE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FME takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FPE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FQE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FSE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function FTE takes nothing returns nothing
call EnumItemsInRectBJ(udg_rect43,function FHE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FJE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FKE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FLE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FME)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FPE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit36)),function FQE)
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit36,Player(11),true)
call DisplayTextToForce(C9V(Condition(function FSE)),"You have quit being a Mailman")
endfunction
function FUE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function FWE takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function FYE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function FZE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F_E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F0E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F1E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F2E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function F4E takes nothing returns nothing
call EnumItemsInRectBJ(udg_rect44,function FWE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function FYE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function FZE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function F_E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function F0E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function F1E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit60)),function F2E)
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit60,Player(11),true)
call DisplayTextToForce(C9V(Condition(function F3E)),"You have quit being a Mailman")
endfunction
function F5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function F6E takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function F7E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F8E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function F9E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function GVE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function GEE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function GXE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'IC04'))
endfunction
function GOE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GRE takes nothing returns nothing
call EnumItemsInRectBJ(udg_rect45,function F6E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function F7E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function F8E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function F9E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function GVE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function GEE)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit61)),function GXE)
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit61,Player(11),true)
call DisplayTextToForce(C9V(Condition(function GOE)),"You have quit being a Mailman")
endfunction
function GIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))
endfunction
function GAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GNE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GBE takes nothing returns nothing
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit36,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(C9V(Condition(function GAE)),"Deliver mail to peoples mailboxs (in the up left cornor)")
call DisplayTextToForce(C9V(Condition(function GNE)),"You are now a mail man ")
endfunction
function GCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))
endfunction
function GDE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GFE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GGE takes nothing returns nothing
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call CreateItemLoc('IC04',GetRectCenter(udg_rect44))
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit60,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(C9V(Condition(function GDE)),"Deliver mail to peoples mailboxs (in the upp left cornor)")
call DisplayTextToForce(C9V(Condition(function GFE)),"You are now a mail man")
endfunction
function GHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function GJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GLE takes nothing returns nothing
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call CreateItemLoc('IC04',GetRectCenter(udg_rect45))
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit61,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(C9V(Condition(function GJE)),"Deliver mail to peoples mailboxs (in the upp left cornor)")
call DisplayTextToForce(C9V(Condition(function GKE)),"You are now a mail man")
endfunction
function GME takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function GPE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function GQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function GSE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function GTE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function GUE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call TriggerSleepAction(30.)
endfunction
function GWE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function GYE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function GZE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G_E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function G0E takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G1E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function G2E takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G3E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function G4E takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G5E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function G6E takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G7E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function G8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function G9E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HVE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HEE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HXE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HOE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HRE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HIE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HNE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HBE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HCE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HDE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HFE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HGE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HHE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HKE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HLE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HME takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HPE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HQE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HSE takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HTE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HUE takes nothing returns boolean
return(GetOwningPlayer(udg_unit36)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HWE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function HYE takes nothing returns boolean
return(GetOwningPlayer(udg_unit60)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function HZE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function H_E takes nothing returns boolean
return(GetOwningPlayer(udg_unit61)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'IC04'))
endfunction
function H0E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Mail Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC04'))
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('IC04',GetRectCenter(udg_rect43))
call TriggerSleepAction(30.)
endfunction
function H1E takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit14),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit65),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function H2E takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)==Player(11))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))
endfunction
function H3E takes nothing returns nothing
call SetUnitOwner(udg_unit21,GetOwningPlayer(GetTriggerUnit()),true)
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit14,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Garbageman. He makes money by collecting garbage and bring it to the dump."))
endfunction
function H4E takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))
endfunction
function H5E takes nothing returns nothing
call SetUnitOwner(udg_unit66,GetOwningPlayer(GetTriggerUnit()),true)
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit65,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Garbageman. He makes money by collecting garbage and bring it to the dump."))
endfunction
function H6E takes nothing returns boolean
return(GetOwningPlayer(udg_unit65)!=Player(11))
endfunction
function H7E takes nothing returns nothing
call CreateItemLoc('I007',GetRectCenter(udg_rect95))
call CreateItemLoc('I007',GetRectCenter(udg_rect99))
call CreateItemLoc('I007',GetRectCenter(udg_rect100))
call CreateItemLoc('I007',GetRectCenter(udg_rect101))
call CreateItemLoc('I007',GetRectCenter(udg_rect102))
call CreateItemLoc('I007',GetRectCenter(udg_rect103))
call CreateItemLoc('I007',GetRectCenter(udg_rect104))
call CreateItemLoc('I007',GetRectCenter(udg_rect105))
endfunction
function H8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit14)!=Player(11))
endfunction
function H9E takes nothing returns nothing
call CreateItemLoc('I007',GetRectCenter(udg_rect95))
call CreateItemLoc('I007',GetRectCenter(udg_rect99))
call CreateItemLoc('I007',GetRectCenter(udg_rect100))
call CreateItemLoc('I007',GetRectCenter(udg_rect101))
call CreateItemLoc('I007',GetRectCenter(udg_rect102))
call CreateItemLoc('I007',GetRectCenter(udg_rect103))
call CreateItemLoc('I007',GetRectCenter(udg_rect104))
call CreateItemLoc('I007',GetRectCenter(udg_rect105))
endfunction
function JVE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007'))and(GetUnitTypeId(GetTriggerUnit())=='umtw')
endfunction
function JEE takes nothing returns nothing
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
endfunction
function JXE takes nothing returns boolean
return(GetOwningPlayer(udg_unit14)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function JOE takes nothing returns boolean
return(GetOwningPlayer(udg_unit65)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function JRE takes nothing returns nothing
call SetUnitOwner(udg_unit21,Player(11),true)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit14,Player(11),true)
call DisplayTextToForce(C9V(Condition(function JOE)),"You have quit being a garbage man.")
endfunction
function JIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit65)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function JAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit14)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function JNE takes nothing returns nothing
call SetUnitOwner(udg_unit66,Player(11),true)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit65,Player(11),true)
call DisplayTextToForce(C9V(Condition(function JAE)),"You have quit being a garbage man.")
endfunction
function JBE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit40),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function JCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function JDE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Doctor. He makes money by killing germs and selling health."))
call TriggerSleepAction(1.)
call SetUnitOwner(udg_unit40,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function JFE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetUnitTypeId(GetEnteringUnit())!='z000')
endfunction
function JGE takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect56))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You must be a doctor to work here.")
endfunction
function JHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function JJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function JKE takes nothing returns nothing
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit40,Player(11),true)
call DisplayTextToForce(C9V(Condition(function JJE)),"You have quit being a Doctor")
endfunction
function JLE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='z000')
endfunction
function JME takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit40),PLAYER_STATE_RESOURCE_GOLD)
call TriggerSleepAction(5.)
call CreateNUnitsAtLoc(1,'z000',Player(12),GetRandomLocInRect(udg_rect109),bj_UNIT_FACING)
endfunction
function JPE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=true)
endfunction
function JQE takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect109))
endfunction
function JSE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit45),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function JTE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit45)==Player(11))
endfunction
function JUE takes nothing returns nothing
call CreateItemLoc('IC08',GetRectCenter(udg_rect17))
set udg_item02=bj_lastCreatedItem
call SetUnitOwner(udg_unit45,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Bank Manager. He makes money by putting checks in the vault."))
endfunction
function JWE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'IC08'))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit45)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function JYE takes nothing returns nothing
call AdjustPlayerStateBJ(300,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'IC08'))
call CreateItemLoc('IC08',GetRectCenter(udg_rect17))
set udg_item02=bj_lastCreatedItem
endfunction
function JZE takes nothing returns boolean
return(GetOwningPlayer(GetEnteringUnit())!=Player(8))and(GetOwningPlayer(GetEnteringUnit())!=GetOwningPlayer(udg_unit45))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))
endfunction
function J_E takes nothing returns nothing
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call IssueTargetOrderById(udg_unit78,851983,GetEnteringUnit())
call IssueTargetOrderById(udg_unit130,851983,GetEnteringUnit())
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit45)),GetRectCenter(udg_rect18),1)
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit45)),"|cffFF0000Warning!Someone is robbing the bank ,bring your security and go check out what happen.")
endfunction
function J0E takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit45)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function J1E takes nothing returns boolean
return(GetOwningPlayer(udg_unit45)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function J2E takes nothing returns nothing
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit45,Player(11),true)
call DisplayTextToForce(C9V(Condition(function J1E)),"You are no longer the Bank Manager.")
call RemoveItem(udg_item02)
endfunction
function J3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit77)==Player(11))
endfunction
function J4E takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function J5E takes nothing returns nothing
call SetUnitOwner(udg_unit15,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit31,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit77,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit67,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit68,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit48,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(C9V(Condition(function J4E)),"TRIGSTR_2644")
call EnableTrigger(udg_trigger286)
endfunction
function J6E takes nothing returns nothing
call AdjustPlayerStateBJ(150,GetOwningPlayer(udg_unit77),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function J7E takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00Q')
endfunction
function J8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function J9E takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect163))
call DisplayTextToForce(C9V(Condition(function J8E)),"Security Guard is on duty ,they can't get out side.")
endfunction
function KVE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00Q')
endfunction
function KEE takes nothing returns nothing
call RemoveUnit(GetTriggerUnit())
endfunction
function KXE takes nothing returns boolean
return(CountUnitsInGroup(CZV(udg_rect93))==0)
endfunction
function KOE takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function KRE takes nothing returns nothing
call CreateNUnitsAtLoc(1,'ogru',Player(12),GetRectCenter(udg_rect93),bj_UNIT_FACING)
call DisplayTextToForce(C9V(Condition(function KOE)),"Here Gangster come!Arrest him and take him to jail immediately!")
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,GetRectCenter(udg_rect94))
endfunction
function KIE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='ogru')
endfunction
function KAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function KNE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call DisplayTextToForce(C9V(Condition(function KAE)),"You let the ganster escape ,you loser!")
endfunction
function KBE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='ogru')
endfunction
function KCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function KDE takes nothing returns nothing
call TriggerSleepAction(3.)
call KillUnit(GetEnteringUnit())
call AdjustPlayerStateBJ(500,GetOwningPlayer(udg_unit77),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTextToForce(C9V(Condition(function KCE)),"Good job but the gangster had suicide in the jail...")
endfunction
function KFE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00Q')
endfunction
function KGE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable46)
endfunction
function KHE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function KJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit77)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function KKE takes nothing returns nothing
call TriggerSleepAction(2)
call SetUnitOwner(udg_unit15,Player(11),true)
call SetUnitOwner(udg_unit31,Player(11),true)
call SetUnitOwner(udg_unit77,Player(11),true)
call SetUnitOwner(udg_unit67,Player(11),true)
call SetUnitOwner(udg_unit68,Player(11),true)
call SetUnitOwner(udg_unit48,Player(11),true)
call DisplayTextToForce(C9V(Condition(function KJE)),"You are no longer the Shop Keeper.")
call DisableTrigger(udg_trigger286)
endfunction
function KLE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)==Player(11))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function KME takes nothing returns nothing
call CreateItemLoc('IC04',GetRandomLocInRect(udg_rect43))
call CreateItemLoc('IC04',GetRandomLocInRect(udg_rect44))
call CreateItemLoc('IC04',GetRandomLocInRect(udg_rect45))
call CreateItemLoc('IC08',GetRectCenter(udg_rect17))
set udg_item03=bj_lastCreatedItem
call SetUnitOwner(udg_unit92,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Thief. He makes money by stealing checks, mail, and drugs."))
endfunction
function KPE takes nothing returns nothing
call AdjustPlayerStateBJ(75,GetOwningPlayer(udg_unit92),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function KQE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'IC08'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function KSE takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'IC08'))
call CreateItemLoc('IC08',GetRectCenter(udg_rect17))
set udg_item03=bj_lastCreatedItem
endfunction
function KTE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'IC04'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function KUE takes nothing returns nothing
call AdjustPlayerStateBJ(200,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'IC04'))
call CreateItemLoc('IC04',GetRandomLocInRect(udg_rect43))
endfunction
function KWE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'manh'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function KYE takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'manh'))
endfunction
function KZE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tstr'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function K_E takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tstr'))
endfunction
function K0E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tst2'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function K1E takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tst2'))
endfunction
function K2E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tkno'))and(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function K3E takes nothing returns nothing
call AdjustPlayerStateBJ(500,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tkno'))
endfunction
function K4E takes nothing returns boolean
return(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function K5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit92)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function K6E takes nothing returns nothing
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit92,Player(11),true)
call DisplayTextToForce(C9V(Condition(function K5E)),"You are no longer a Thief.")
call RemoveItem(udg_item03)
endfunction
function K7E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)==Player(11))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function K8E takes nothing returns nothing
call SetUnitOwner(udg_unit01,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit39,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Firefighter. He makes money by putting out fires."))
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit39),1)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit39),Player(14),0)
call SetPlayerAllianceStateBJ(Player(8),Player(14),2)
call CreateNUnitsAtLoc(1,'nhew',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
set udg_unit03=bj_lastCreatedUnit
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit39)),GetUnitLoc(udg_unit03),10.)
endfunction
function K9E takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit39),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function LVE takes nothing returns boolean
return(GetDyingUnit()==udg_unit01)
endfunction
function LEE takes nothing returns nothing
call CreateNUnitsAtLoc(1,'hrtt',GetOwningPlayer(udg_unit39),GetRectCenter(udg_rect89),90.)
set udg_unit01=bj_lastCreatedUnit
endfunction
function LXE takes nothing returns boolean
return(GetDyingUnit()==udg_unit03)
endfunction
function LOE takes nothing returns boolean
return(GetKillingUnit()==udg_unit01)
endfunction
function LRE takes nothing returns nothing
if(LOE())then
call AdjustPlayerStateBJ(500,GetOwningPlayer(udg_unit39),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit39)),"Another fire has broken out!")
call CreateNUnitsAtLoc(1,'nhew',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
set udg_unit03=bj_lastCreatedUnit
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit39)),GetUnitLoc(bj_lastCreatedUnit),10.)
else
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit39)),"Another fire has broken out!")
call CreateNUnitsAtLoc(1,'nhew',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
set udg_unit03=bj_lastCreatedUnit
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit39)),GetUnitLoc(bj_lastCreatedUnit),10.)
endif
endfunction
function LIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit39)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function LAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit39)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function LNE takes nothing returns nothing
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit39),0)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit39),Player(14),2)
call RemoveUnit(udg_unit03)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit39,Player(11),true)
call SetUnitOwner(udg_unit01,Player(11),true)
call DisplayTextToForce(C9V(Condition(function LAE)),"You are no longer a Firefighter.")
endfunction
function LBE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)==Player(11))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function LCE takes nothing returns nothing
call CreateItemLoc('engs',GetRandomLocInRect(udg_rect16))
set udg_item01=bj_lastCreatedItem
call SetUnitOwner(udg_unit108,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Drug Runner. He makes money by bringing drugs to the Drug Barn from the Cartel Helicopter."))
call SetPlayerAllianceStateBJ(Player(9),GetOwningPlayer(udg_unit108),3)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit108),Player(9),3)
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit108)),GetRectCenter(udg_rect16),10.)
endfunction
function LDE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit108),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function LFE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'engs'))and(GetOwningPlayer(udg_unit108)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function LGE takes nothing returns nothing
call AdjustPlayerStateBJ(750,GetOwningPlayer(GetEnteringUnit()),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(300,Player(9),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'engs'))
call CreateItemLoc('engs',GetRandomLocInRect(udg_rect16))
set udg_item01=bj_lastCreatedItem
call DisplayTextToForce(C8V(GetOwningPlayer(GetEnteringUnit())),"Drugs delivered!")
endfunction
function LHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit108)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function LJE takes nothing returns nothing
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit108,Player(11),true)
call RemoveItem(udg_item01)
endfunction
function LKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function LLE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='H00B')
endfunction
function LME takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='HC02')
endfunction
function LPE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='HC13')
endfunction
function LQE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='Hamg')
endfunction
function LSE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='Hmkg')
endfunction
function LTE takes nothing returns boolean
return(GetUnitTypeId(GetEnteringUnit())=='HC03')
endfunction
function LUE takes nothing returns nothing
call SetUnitOwner(udg_unit46,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Hooker/Gigalo. He makes money by killing clients and bringing their wallets to the Pimp."))
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit46),1)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit46),Player(14),0)
call SetPlayerAllianceStateBJ(Player(8),Player(14),2)
if(LLE())then
call CreateNUnitsAtLoc(1,'nbel',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
if(LME())then
call CreateNUnitsAtLoc(1,'nbel',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
if(LPE())then
call CreateNUnitsAtLoc(1,'nvlw',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
if(LQE())then
call CreateNUnitsAtLoc(1,'nvlw',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
if(LSE())then
call CreateNUnitsAtLoc(1,'nvlw',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
if(LTE())then
call CreateNUnitsAtLoc(1,'nvlw',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
endif
call PingMinimapLocForForceEx(C8V(GetOwningPlayer(udg_unit46)),GetUnitLoc(bj_lastCreatedUnit),10.,0,'d','d','d')
endfunction
function LWE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit108),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function LYE takes nothing returns boolean
return(GetUnitTypeId(GetDyingUnit())=='nvlw')
endfunction
function LZE takes nothing returns nothing
call CreateItemLoc('ches',GetUnitLoc(GetDyingUnit()))
endfunction
function L_E takes nothing returns boolean
return(GetUnitTypeId(GetDyingUnit())=='nbel')
endfunction
function L0E takes nothing returns nothing
call CreateItemLoc('bzbe',GetUnitLoc(GetDyingUnit()))
endfunction
function L1E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'ches'))and(GetOwningPlayer(udg_unit46)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function L2E takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_unit46),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ches'))
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit46)),"The Pimp is proud of you. Go find your next client.")
call CreateNUnitsAtLoc(1,'nvlw',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
call PingMinimapLocForForceEx(C8V(GetOwningPlayer(udg_unit46)),GetUnitLoc(bj_lastCreatedUnit),10.,0,'d','d','d')
endfunction
function L3E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'bzbe'))and(GetOwningPlayer(udg_unit46)==GetOwningPlayer(GetEnteringUnit()))
endfunction
function L4E takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_unit46),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'bzbe'))
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit46)),"The Pimp is proud of you. Go find your next client.")
call CreateNUnitsAtLoc(1,'nbel',Player(14),GetRandomLocInRect(udg_rect127),bj_UNIT_FACING)
call PingMinimapLocForForceEx(C8V(GetOwningPlayer(udg_unit46)),GetUnitLoc(bj_lastCreatedUnit),10.,0,'d','d','d')
endfunction
function L5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit46)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function L6E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L7E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function L8E takes nothing returns nothing
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit46),0)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit46),Player(14),2)
call ForGroupBJ(C7V(Player(14),'nvlw'),function L6E)
call ForGroupBJ(C7V(Player(14),'nbel'),function L7E)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit46,Player(11),true)
endfunction
function L9E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function MVE takes nothing returns nothing
call SetUnitOwner(udg_unit120,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a Crypt Keeper. He makes money by clearing the graveyard of ghosts."))
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit120),1)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit120),Player(14),0)
call SetPlayerAllianceStateBJ(Player(8),Player(14),2)
call CreateNUnitsAtLoc(1,'uktg',Player(14),GetRandomLocInRect(udg_rect111),bj_UNIT_FACING)
set udg_unit02=bj_lastCreatedUnit
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit120)),GetUnitLoc(bj_lastCreatedUnit),5.)
endfunction
function MEE takes nothing returns nothing
call AdjustPlayerStateBJ(75,GetOwningPlayer(udg_unit120),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function MXE takes nothing returns boolean
return(GetDyingUnit()==udg_unit02)
endfunction
function MOE takes nothing returns nothing
call AdjustPlayerStateBJ(150,GetOwningPlayer(udg_unit120),PLAYER_STATE_RESOURCE_GOLD)
call TriggerSleepAction(2.)
call CreateNUnitsAtLoc(1,'uktg',Player(14),GetRandomLocInRect(udg_rect111),bj_UNIT_FACING)
set udg_unit02=bj_lastCreatedUnit
call PingMinimapLocForForce(C8V(GetOwningPlayer(udg_unit120)),GetUnitLoc(udg_unit02),5.)
endfunction
function MRE takes nothing returns boolean
return(GetOwningPlayer(udg_unit120)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function MIE takes nothing returns nothing
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit120),0)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit120),Player(14),2)
call RemoveUnit(udg_unit02)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit120,Player(11),true)
endfunction
function MAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)==Player(11))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function MNE takes nothing returns nothing
call SetUnitOwner(udg_unit129,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a School Principal. He makes money by protecting the lower classmen from the bullies at recess, while school is in session (10am-4pm)."))
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit129),Player(14),0)
call SetPlayerAllianceStateBJ(GetOwningPlayer(udg_unit129),Player(13),2)
call SetPlayerAllianceStateBJ(Player(14),GetOwningPlayer(udg_unit129),2)
endfunction
function MBE takes nothing returns nothing
call AdjustPlayerStateBJ('d',GetOwningPlayer(udg_unit129),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function MCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit129)!=Player(11))
endfunction
function MDE takes nothing returns nothing
call IssueTargetOrderById(bj_lastCreatedUnit,851983,GetEnumUnit())
endfunction
function MFE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MGE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MHE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MJE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MKE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MLE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MME takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MPE takes nothing returns nothing
call GroupTargetOrderById(C4V('n002'),851983,GetEnumUnit())
endfunction
function MQE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MSE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function MTE takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',Player(13),GetRectCenter(udg_rect172),180.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MDE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MFE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MGE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MHE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MJE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MKE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MLE)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MME)
call TriggerSleepAction(20.)
call CreateNUnitsAtLoc(1,'n002',Player(14),GetRandomLocInRect(udg_rect171),bj_UNIT_FACING)
call ForGroupBJ(C4V('n000'),function MPE)
call TriggerSleepAction(20.)
call ForGroupBJ(C7V(Player(13),'n000'),function MQE)
call ForGroupBJ(C7V(Player(14),'n002'),function MSE)
endfunction
function MUE takes nothing returns boolean
return(GetUnitTypeId(GetDyingUnit())=='n000')
endfunction
function MWE takes nothing returns nothing
call AdjustPlayerStateBJ(-500,GetOwningPlayer(udg_unit129),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTextToForce(C8V(GetOwningPlayer(udg_unit129)),"You have let the kid be brutally beaten. The parents have sued you for 500 gold.")
endfunction
function MYE takes nothing returns boolean
return(GetOwningPlayer(udg_unit129)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function MZE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M_E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function M0E takes nothing returns nothing
call ForGroupBJ(C7V(Player(14),'n002'),function MZE)
call ForGroupBJ(C7V(Player(13),'n000'),function M_E)
call TriggerSleepAction(.5)
call SetUnitOwner(udg_unit129,Player(11),true)
endfunction
function M1E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function M2E takes nothing returns boolean
return(GetOwningPlayer(udg_unit128)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function M3E takes nothing returns nothing
call SetUnitOwner(udg_unit128,GetOwningPlayer(GetTriggerUnit()),true)
call CreateFogModifierRectBJ(true,GetOwningPlayer(udg_unit128),FOG_OF_WAR_VISIBLE,udg_rect155)
call CreateFogModifierRectBJ(true,GetOwningPlayer(udg_unit128),FOG_OF_WAR_VISIBLE,udg_rect156)
call SetUnitOwner(udg_unit127,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a cook. He runs McStankys fast food restaurant and makes burgers to sell to other players."))
call DisplayTextToForce(C9V(Condition(function M2E)),"Wait 3 minutes for a shipment of Buns and Meat to begin cooking. To cook, walk near the tables with a Bun and Meat. A new shipment of Buns and Meat will be delivered every 3 min and only if you use your previous Buns and Meat.")
call TriggerSleepAction(180.)
call CreateItemLoc('afac',GetRectCenter(udg_rect155))
set udg_item05=bj_lastCreatedItem
call CreateItemLoc('amrc',GetRectCenter(udg_rect156))
set udg_item04=bj_lastCreatedItem
endfunction
function M4E takes nothing returns nothing
call AdjustPlayerStateBJ(75,GetOwningPlayer(udg_unit128),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function M5E takes nothing returns boolean
return(UnitHasItem(GetTriggerUnit(),udg_item04))and(UnitHasItem(GetTriggerUnit(),udg_item05))and(GetOwningPlayer(udg_unit128)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function M6E takes nothing returns nothing
call RemoveItem(udg_item04)
call RemoveItem(udg_item05)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect158),"Abilities\\Spells\\Human\\FlameStrike\\FlameStrikeEmbers.mdl")
call TriggerSleepAction(15.)
call DestroyEffect(bj_lastCreatedEffect)
call CreateItemLoc('axas',GetRectCenter(udg_rect158))
call TriggerSleepAction(180.)
call CreateItemLoc('afac',GetRectCenter(udg_rect155))
set udg_item05=bj_lastCreatedItem
call CreateItemLoc('amrc',GetRectCenter(udg_rect156))
set udg_item04=bj_lastCreatedItem
endfunction
function M7E takes nothing returns boolean
return(GetOwningPlayer(udg_unit128)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function M8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit128)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function M9E takes nothing returns nothing
call TriggerSleepAction(.5)
call RemoveItem(udg_item04)
call RemoveItem(udg_item05)
call DisplayTextToForce(C9V(Condition(function M8E)),"You are no longer a Cook.")
call SetUnitOwner(udg_unit128,Player(11),true)
call SetUnitOwner(udg_unit127,Player(11),true)
endfunction
function PVE takes nothing returns boolean
return(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)==Player(11))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function PEE takes nothing returns nothing
call SetUnitOwner(udg_unit73,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit88,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now a shierff. He runs the headquarter to keep the town safe."))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_5535")
endfunction
function PXE takes nothing returns nothing
call AdjustPlayerStateBJ(300,GetOwningPlayer(udg_unit73),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function POE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetTriggerPlayer())
endfunction
function PRE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable42)
endfunction
function PIE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetTriggerPlayer())
endfunction
function PAE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable42)
endfunction
function PNE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetTriggerPlayer())
endfunction
function PBE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable33)
endfunction
function PCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetTriggerPlayer())
endfunction
function PDE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable33)
endfunction
function PFE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hmtt')
endfunction
function PGE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable33)
endfunction
function PHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetOwningPlayer(GetEnteringUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function PJE takes nothing returns boolean
return(GetOwningPlayer(udg_unit73)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function PKE takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function PJE)),"You are no longer a Shierff.")
call SetUnitOwner(udg_unit73,Player(11),true)
call SetUnitOwner(udg_unit88,Player(11),true)
endfunction
function PLE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit80)==Player(11))
endfunction
function PME takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the President. He makes money from taxes that are collected automatically."))
call SetUnitOwner(udg_unit80,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit58,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit70,GetOwningPlayer(GetTriggerUnit()),true)
set udg_integers01[(1+GetPlayerId(GetTriggerPlayer()))]=0
endfunction
function PPE takes nothing returns nothing
call AdjustPlayerStateBJ(225,GetOwningPlayer(udg_unit80),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function PQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit80)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function PSE takes nothing returns boolean
return(GetOwningPlayer(udg_unit19)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function PTE takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function PSE)),"You are no longer the President.")
call SetUnitOwner(udg_unit80,Player(11),true)
call SetUnitOwner(udg_unit58,Player(11),true)
call SetUnitOwner(udg_unit70,Player(11),true)
endfunction
function PUE takes nothing returns boolean
return(GetOwningPlayer(udg_unit80)==GetTriggerPlayer())
endfunction
function PWE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable15)
endfunction
function PYE takes nothing returns boolean
return(GetOwningPlayer(udg_unit80)==GetTriggerPlayer())
endfunction
function PZE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable15)
endfunction
function P_E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit180)==Player(11))
endfunction
function P0E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+"is now a cook.He makes money by cooking food in the kitchen."))
call SetUnitOwner(udg_unit180,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function P1E takes nothing returns nothing
call AdjustPlayerStateBJ('d',GetOwningPlayer(udg_unit180),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function P2E takes nothing returns boolean
return(GetOwningPlayer(udg_unit180)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function P3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit180)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function P4E takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function P3E)),"You are no longer the Cook.")
call SetUnitOwner(udg_unit180,Player(11),true)
endfunction
function P5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit180)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function P6E takes nothing returns boolean
return(GetOwningPlayer(udg_unit180)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function P7E takes nothing returns nothing
call DisplayTextToForce(C9V(Condition(function P6E)),"You are no longer the Cook.")
call SetUnitOwner(udg_unit180,Player(11),true)
endfunction
function P8E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit181)==Player(11))
endfunction
function P9E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+"is now a pornographer.He makes money by capture stunning photo."))
call SetUnitOwner(udg_unit181,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('ssil',GetTriggerUnit())
endfunction
function QVE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit181),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function QEE takes nothing returns boolean
return(GetSpellTargetUnit()==udg_unit183)or(GetSpellTargetUnit()==udg_unit184)or(GetSpellTargetUnit()==udg_unit182)or(GetSpellTargetUnit()==udg_unit185)
endfunction
function QXE takes nothing returns boolean
return(GetSpellAbilityId()=='A04C')and(QEE())
endfunction
function QOE takes nothing returns nothing
call UnitAddItemByIdSwapped('evtl',GetSpellAbilityUnit())
endfunction
function QRE takes nothing returns boolean
return(GetOwningPlayer(udg_unit181)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'evtl'))
endfunction
function QIE takes nothing returns nothing
call AdjustPlayerStateBJ(400,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'evtl'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Porn Delivery.")
endfunction
function QAE takes nothing returns boolean
return(GetOwningPlayer(udg_unit181)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function QNE takes nothing returns boolean
return(GetOwningPlayer(udg_unit181)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function QBE takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ssil'))
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function QNE)),"You are no longer the Pornographer.")
call SetUnitOwner(udg_unit181,Player(11),true)
endfunction
function QCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit186)==Player(11))
endfunction
function QDE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+"is now a porno sales.He makes money by selling sex toy to other people."))
call SetUnitOwner(udg_unit186,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit187,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function QFE takes nothing returns nothing
call AdjustPlayerStateBJ(75,GetOwningPlayer(udg_unit186),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function QGE takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='ncer')
endfunction
function QHE takes nothing returns nothing
call CreateItemLoc('brac',GetUnitLoc(GetTriggerUnit()))
endfunction
function QJE takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='ncea')
endfunction
function QKE takes nothing returns nothing
call CreateItemLoc('rwiz',GetUnitLoc(GetTriggerUnit()))
endfunction
function QLE takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='ncim')
endfunction
function QME takes nothing returns nothing
call CreateItemLoc('penr',GetUnitLoc(GetTriggerUnit()))
endfunction
function QPE takes nothing returns boolean
return(GetOwningPlayer(udg_unit186)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function QQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit186)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function QSE takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function QQE)),"You are no longer the Porno Sales.")
call SetUnitOwner(udg_unit186,Player(11),true)
call SetUnitOwner(udg_unit187,Player(11),true)
endfunction
function QTE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit188)==Player(11))
endfunction
function QUE takes nothing returns nothing
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+"is now a container car driver .He makes money by delivery the goods to destination."))
call SetUnitOwner(udg_unit188,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit149,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function QWE takes nothing returns nothing
call AdjustPlayerStateBJ(175,GetOwningPlayer(udg_unit188),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function QYE takes nothing returns boolean
return(GetOwningPlayer(udg_unit188)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'k3m1'))and(GetUnitTypeId(GetTriggerUnit())=='h013')
endfunction
function QZE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Container Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'k3m1'))
call AdjustPlayerStateBJ(250,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('k3m1',GetRectCenter(udg_rect20))
endfunction
function Q_E takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h013')
endfunction
function Q0E takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h013',GetOwningPlayer(udg_unit188),GetRectCenter(udg_rect22),bj_UNIT_FACING)
endfunction
function Q1E takes nothing returns boolean
return(GetOwningPlayer(udg_unit188)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function Q2E takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function Q3E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q4E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q5E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q6E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q7E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q8E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'k3m1'))
endfunction
function Q9E takes nothing returns boolean
return(GetOwningPlayer(udg_unit188)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SVE takes nothing returns nothing
call EnumItemsInRectBJ(udg_rect20,function Q2E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q3E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q4E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q5E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q6E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q7E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit188)),function Q8E)
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function Q9E)),"You are no longer the Container Driver.")
call SetUnitOwner(udg_unit188,Player(11),true)
call SetUnitOwner(udg_unit149,Player(11),true)
endfunction
function SEE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SXE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_6522")
endfunction
function SOE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SRE takes nothing returns nothing
call KillUnit(udg_unit10)
call SetUnitPositionLocFacingBJ(udg_unit09,GetRectCenter(udg_rect41),.0)
call SetUserControlForceOff(C8V(GetOwningPlayer(udg_unit09)))
call TriggerExecute(udg_trigger364)
endfunction
function SIE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable35)
call ModifyGateBJ(1,udg_destructable36)
call IssuePointOrderByIdLoc(udg_unit09,851986,GetRectCenter(udg_rect242))
call EnableTrigger(udg_trigger365)
endfunction
function SAE takes nothing returns boolean
return(GetEnteringUnit()==udg_unit09)
endfunction
function SNE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable35)
call ModifyGateBJ(0,udg_destructable36)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Now the prisoner can speak for himself ,and the judge will make decision after 60 seconds.")
call StartTimerBJ(udg_timer01,false,60.)
call CreateTimerDialogBJ(bj_lastStartedTimer,"Jury decides in:")
call TimerDialogDisplay(bj_lastCreatedTimerDialog,true)
endfunction
function SBE takes nothing returns nothing
call DestroyTimerDialog(bj_lastCreatedTimerDialog)
call EnableTrigger(udg_trigger367)
call EnableTrigger(udg_trigger368)
endfunction
function SCE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SDE takes nothing returns nothing
call DisableTrigger(udg_trigger368)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"The prisoner is guility ,now the judge can burn him in fire and bring him to hell.")
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit192),GetRectCenter(udg_rect242),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07R')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,udg_unit09)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call SetUserControlForceOn(C8V(GetOwningPlayer(udg_unit09)))
endfunction
function SFE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SGE takes nothing returns nothing
call DisableTrigger(udg_trigger367)
call ModifyGateBJ(1,udg_destructable36)
call ModifyGateBJ(1,udg_destructable35)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"The prisoner is innocent ,he has release for the love of god.")
call SetUserControlForceOn(C8V(GetOwningPlayer(udg_unit09)))
endfunction
function SHE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SJE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable36)
endfunction
function SKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SLE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable36)
endfunction
function SME takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SPE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable35)
endfunction
function SQE takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function SSE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable35)
endfunction
function STE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hmtt')
endfunction
function SUE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable35)
endfunction
function SWE takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit192)==Player(11))
endfunction
function SYE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"TRIGSTR_6240")
call SetUnitOwner(udg_unit192,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function SZE takes nothing returns nothing
call AdjustPlayerStateBJ('d',GetOwningPlayer(udg_unit192),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function S_E takes nothing returns boolean
return(GetOwningPlayer(udg_unit192)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function S0E takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You are no longer a Judge.")
call SetUnitOwner(udg_unit192,Player(11),true)
endfunction
function S1E takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit175)==Player(11))
endfunction
function S2E takes nothing returns nothing
call CreateItemLoc('I00W',GetRectCenter(udg_rect214))
set udg_item06=bj_lastCreatedItem
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Morgue Manager.He makes money by drop off the corpse and sell ashes."))
call SetUnitOwner(udg_unit175,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function S3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))
endfunction
function S4E takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect56))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You must be a doctor to work here.")
endfunction
function S5E takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00W'))
endfunction
function S6E takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Corpse Delivered")
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00W'))
call AdjustPlayerStateBJ(150,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('I00W',GetRectCenter(udg_rect214))
set udg_item06=bj_lastCreatedItem
endfunction
function S7E takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)==GetOwningPlayer(GetTriggerUnit()))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'gopr'))
endfunction
function S8E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'gopr'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You put the skull into the fire.")
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect211),"Abilities\\Spells\\Human\\FlameStrike\\FlameStrikeEmbers.mdl")
call TriggerSleepAction(10.)
call DestroyEffect(bj_lastCreatedEffect)
call CreateItemLoc('shwd',GetRectCenter(udg_rect211))
endfunction
function S9E takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit175),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function TVE takes nothing returns boolean
return(GetOwningPlayer(udg_unit175)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function TEE takes nothing returns nothing
call TriggerSleepAction(.5)
call RemoveItem(udg_item06)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You are no longer Morgue Manager.")
call SetUnitOwner(udg_unit175,Player(11),true)
endfunction
function TXE takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit172)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit174)==Player(11))
endfunction
function TOE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Medic.He makes money by driving ambulance to save Victim."))
call SetUnitOwner(udg_unit174,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit173,GetOwningPlayer(GetTriggerUnit()),true)
call CreateNUnitsAtLoc(1,'h01E',Player(15),GetRandomLocInRect(udg_rect218),bj_UNIT_FACING)
call PingMinimapLocForForceEx(C8V(GetOwningPlayer(udg_unit174)),GetUnitLoc(bj_lastCreatedUnit),10.,0,'d','d','d')
endfunction
function TRE takes nothing returns nothing
call AdjustPlayerStateBJ(50,GetOwningPlayer(udg_unit174),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function TIE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h01E')
endfunction
function TAE takes nothing returns nothing
call SetUnitOwner(GetTriggerUnit(),Player(15),true)
call IssuePointOrderByIdLoc(GetTriggerUnit(),851986,GetRectCenter(udg_rect56))
call SetUnitInvulnerable(GetTriggerUnit(),true)
endfunction
function TNE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h01E')
endfunction
function TBE takes nothing returns nothing
call SetUnitInvulnerable(GetTriggerUnit(),false)
call KillUnit(GetTriggerUnit())
call AdjustPlayerStateBJ(500,GetOwningPlayer(udg_unit174),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function TCE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h01E')
endfunction
function TDE takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h01E',Player(15),GetRandomLocInRect(udg_rect218),bj_UNIT_FACING)
call PingMinimapLocForForceEx(C8V(GetOwningPlayer(udg_unit174)),GetUnitLoc(bj_lastCreatedUnit),10.,0,'d','d','d')
endfunction
function TFE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00V')
endfunction
function TGE takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h00V',GetOwningPlayer(udg_unit174),GetRectCenter(udg_rect216),180.)
endfunction
function THE takes nothing returns boolean
return(GetSpellAbilityId()=='ACfb')and(GetUnitTypeId(GetSpellTargetUnit())=='h01E')
endfunction
function TJE takes nothing returns nothing
call SetUnitOwner(GetSpellTargetUnit(),GetOwningPlayer(GetSpellAbilityUnit()),true)
endfunction
function TKE takes nothing returns boolean
return(GetOwningPlayer(udg_unit174)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function TLE takes nothing returns nothing
call TriggerSleepAction(.5)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"You are no longer Medic.")
call SetUnitOwner(udg_unit174,Player(11),true)
call SetUnitOwner(udg_unit173,Player(11),true)
endfunction
function TME takes nothing returns boolean
return(GetOwningPlayer(udg_unit40)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit108)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit129)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit73)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit45)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit128)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit36)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit120)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit41)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit17)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit32)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit46)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit60)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit61)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit14)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit65)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit92)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit39)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit19)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit77)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit80)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit181)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit180)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit186)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit188)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit192)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit175)!=GetOwningPlayer(GetTriggerUnit()))and(GetOwningPlayer(udg_unit174)!=GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit172)==Player(11))
endfunction
function TPE takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,(GetPlayerName(GetOwningPlayer(GetEnteringUnit()))+" is now the Zoo Worker.He makes money by feeding animals."))
call SetUnitOwner(udg_unit172,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit75,GetOwningPlayer(GetTriggerUnit()),true)
call CreateItemLoc('sclp',GetRectCenter(udg_rect226))
endfunction
function TQE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'sclp'))and(GetUnitTypeId(GetTriggerUnit())=='opeo')
endfunction
function TSE takes nothing returns boolean
return(GetRandomInt(1,6)==6)
endfunction
function TTE takes nothing returns boolean
return(GetRandomInt(1,6)==5)
endfunction
function TUE takes nothing returns boolean
return(GetRandomInt(1,6)==4)
endfunction
function TWE takes nothing returns boolean
return(GetRandomInt(1,6)==3)
endfunction
function TYE takes nothing returns boolean
return(GetRandomInt(1,6)==2)
endfunction
function TZE takes nothing returns boolean
return(GetRandomInt(1,6)==1)
endfunction
function T_E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'sclp'))
call AdjustPlayerStateBJ(300,GetOwningPlayer(udg_unit172),PLAYER_STATE_RESOURCE_GOLD)
call CreateItemLoc('sclp',GetRectCenter(udg_rect226))
if(TZE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect219),270.)
else
if(TYE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect220),270.)
else
if(TWE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect221),180.)
else
if(TUE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect222),270.)
else
if(TTE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect223),313.93)
else
if(TSE())then
call SetUnitPositionLocFacingBJ(GetTriggerUnit(),GetRectCenter(udg_rect224),90.)
endif
endif
endif
endif
endif
endif
endfunction
function T0E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function T1E takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function T2E takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnumUnit(),'sclp'))
endfunction
function T3E takes nothing returns boolean
return(GetOwningPlayer(udg_unit172)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function T4E takes nothing returns nothing
call EnumItemsInRectBJ(udg_rect226,function T1E)
call ForGroupBJ(C6V(GetOwningPlayer(udg_unit172)),function T2E)
call TriggerSleepAction(.5)
call DisplayTextToForce(C9V(Condition(function T3E)),"You are no longer the Zoo Worker.")
call SetUnitOwner(udg_unit172,Player(11),true)
call SetUnitOwner(udg_unit75,Player(11),true)
endfunction
function T5E takes nothing returns boolean
return(GetPlayerSlotState(Player(9))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function T6E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T7E takes nothing returns boolean
return(GetPlayerSlotState(Player(9))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function T8E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function T9E takes nothing returns boolean
return(GetPlayerController(Player(9))==MAP_CONTROL_COMPUTER)
endfunction
function UVE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UEE takes nothing returns boolean
return(GetPlayerController(Player(9))==MAP_CONTROL_COMPUTER)
endfunction
function UXE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function UOE takes nothing returns nothing
if(T5E())then
call ForGroupBJ(C4V('H003'),function T6E)
endif
if(T7E())then
call ForGroupBJ(C4V('Ocb2'),function T8E)
endif
if(T9E())then
call ForGroupBJ(C4V('H003'),function UVE)
endif
if(UEE())then
call ForGroupBJ(C4V('Ocb2'),function UXE)
endif
endfunction
function URE takes nothing returns nothing
call TriggerSleepAction(20.)
call DisplayTextToForce(bj_FORCE_PLAYER[9],"|cffFFFF00As the Drug Dealer you must sell drugs. To do this first harvest lumber in the back of drug house, then purchase drugs at the Drug Barn and sell them to other players. (Don't jack the price up too high though)|r")
call TriggerSleepAction(8.)
call DisplayTextToForce(bj_FORCE_PLAYER[9],"|cffFFFF00You should sell your drugs to the thug located in the park in the middle of the map ,this is the only way you can earn money without other buyers.|r")
endfunction
function UIE takes nothing returns nothing
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect191),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect192),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect193),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect194),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect195),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect196),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect197),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect198),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect199),GetRandomReal(0,360),1,0)
call CreateDestructableLoc('ATtr',GetRectCenter(udg_rect200),GetRandomReal(0,360),1,0)
endfunction
function UAE takes nothing returns nothing
call AdjustPlayerStateBJ(275,Player(9),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function UNE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'manh'))
endfunction
function UBE takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'manh'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Here you go.")
endfunction
function UCE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tstr'))
endfunction
function UDE takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tstr'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Here you go.")
endfunction
function UFE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tkno'))
endfunction
function UGE takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tkno'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Here you go.")
endfunction
function UHE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'tst2'))
endfunction
function UJE takes nothing returns nothing
call AdjustPlayerStateBJ(1000,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
call RemoveItem(GetItemOfTypeFromUnitBJ(GetEnteringUnit(),'tst2'))
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"Here you go.")
endfunction
function UKE takes nothing returns nothing
call CreateNUnitsAtLoc(5,'hrif',Player(9),GetRectCenter(udg_rect63),bj_UNIT_FACING)
call GroupPointOrderByIdLoc(CZV(udg_rect63),851983,GetRectCenter(udg_rect62))
endfunction
function ULE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hrif')
endfunction
function UME takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect150))
endfunction
function UPE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hrif')
endfunction
function UQE takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect04))
endfunction
function USE takes nothing returns nothing
call DisableTrigger(udg_trigger402)
endfunction
function UTE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_GROUND))and(GetUnitTypeId(GetTriggerUnit())=='hrif')
endfunction
function UUE takes nothing returns nothing
call ClearSelectionForPlayer(Player(9))
call RemoveUnit(GetTriggerUnit())
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,0)
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER,0)
call DisplayTextToForce(bj_FORCE_PLAYER[9],"|cffFF0000This unit have limited the control.|r")
endfunction
function UWE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='H003')
endfunction
function UYE takes nothing returns nothing
call RemoveUnit(udg_unit141)
call RemoveItem(udg_item12)
call RemoveItem(udg_item11)
endfunction
function UZE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Ocb2')
endfunction
function U_E takes nothing returns nothing
call RemoveUnit(udg_unit33)
call RemoveItem(udg_item12)
call RemoveItem(udg_item11)
endfunction
function U0E takes nothing returns boolean
return(GetPlayerSlotState(Player(8))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function U1E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U2E takes nothing returns boolean
return(GetPlayerSlotState(Player(8))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function U3E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U4E takes nothing returns boolean
return(GetPlayerController(Player(8))==MAP_CONTROL_COMPUTER)
endfunction
function U5E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U6E takes nothing returns boolean
return(GetPlayerController(Player(8))==MAP_CONTROL_COMPUTER)
endfunction
function U7E takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function U8E takes nothing returns nothing
if(U0E())then
call ForGroupBJ(C4V('H006'),function U1E)
endif
if(U2E())then
call ForGroupBJ(C4V('Ogld'),function U3E)
endif
if(U4E())then
call ForGroupBJ(C4V('H006'),function U5E)
endif
if(U6E())then
call ForGroupBJ(C4V('Ogld'),function U7E)
endif
endfunction
function U9E takes nothing returns nothing
call TriggerSleepAction(20.)
call DisplayTextToForce(bj_FORCE_PLAYER[8],"|cffFFFF00You are the cop.your goal is to defeat the drug dealer and maintain peace and order. you have the power to imprison people with your prison van.|r")
call TriggerSleepAction(5.)
call DisplayTextToForce(bj_FORCE_PLAYER[8],"|cffFFFF00Use the Prison van to capture people. Then move it into back of a jail to imprison them.|r")
endfunction
function WVE takes nothing returns nothing
call AdjustPlayerStateBJ(275,Player(8),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function WEE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hmtt')
endfunction
function WXE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable04)
endfunction
function WOE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='hmtt')
endfunction
function WRE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable03)
endfunction
function WIE takes nothing returns boolean
return(GetSpellAbilityId()=='A000')and(udg_boolean01==false)
endfunction
function WAE takes nothing returns nothing
set udg_unit10=GetSpellAbilityUnit()
set udg_unit09=GetSpellTargetUnit()
set udg_boolean01=true
endfunction
function WNE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetTriggerUnit())!=Player(8))
endfunction
function WBE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable04)
call ModifyGateBJ(1,udg_destructable03)
endfunction
function WCE takes nothing returns nothing
call CreateNUnitsAtLoc(5,'h00H',Player(8),GetRectCenter(udg_rect151),bj_UNIT_FACING)
call GroupPointOrderByIdLoc(CZV(udg_rect151),851983,GetRectCenter(udg_rect128))
endfunction
function WDE takes nothing returns nothing
call DisableTrigger(udg_trigger416)
endfunction
function WFE takes nothing returns nothing
call CreateNUnitsAtLoc(5,'h00H',Player(8),GetRectCenter(udg_rect152),bj_UNIT_FACING)
call GroupPointOrderByIdLoc(CZV(udg_rect152),851983,GetRectCenter(udg_rect150))
endfunction
function WGE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00H')
endfunction
function WHE takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect62))
endfunction
function WJE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='h00H')
endfunction
function WKE takes nothing returns nothing
call IssuePointOrderByIdLoc(GetTriggerUnit(),851983,GetRectCenter(udg_rect63))
endfunction
function WLE takes nothing returns nothing
call DisableTrigger(udg_trigger418)
endfunction
function WME takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_GROUND))and(GetUnitTypeId(GetTriggerUnit())=='h00H')
endfunction
function WPE takes nothing returns nothing
call ClearSelectionForPlayer(Player(8))
call RemoveUnit(GetTriggerUnit())
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(C8V(Player(8)),"|cffFF0000This unit have limited the control.|r")
endfunction
function WQE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ratc'))
endfunction
function WSE takes nothing returns nothing
call SetUnitOwner(udg_unit168,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit169,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function WTE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00U'))
endfunction
function WUE takes nothing returns nothing
call SetUnitOwner(udg_unit171,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit170,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function WWE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='H006')
endfunction
function WYE takes nothing returns nothing
call RemoveUnit(udg_unit85)
call RemoveItem(udg_item08)
call RemoveItem(udg_item10)
endfunction
function WZE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Ogld')
endfunction
function W_E takes nothing returns nothing
call RemoveUnit(udg_unit30)
call RemoveItem(udg_item08)
call RemoveItem(udg_item10)
endfunction
function W0E takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function W1E takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect231))
call PauseUnit(GetEnumUnit(),true)
endfunction
function W2E takes nothing returns nothing
call ForGroupBJ(CWV(udg_rect51,Condition(function W0E)),function W1E)
endfunction
function W3E takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function W4E takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect232))
call PauseUnit(GetEnumUnit(),true)
endfunction
function W5E takes nothing returns nothing
call ForGroupBJ(CWV(udg_rect51,Condition(function W3E)),function W4E)
endfunction
function W6E takes nothing returns boolean
return(IsUnitType(GetFilterUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function W7E takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect233))
call PauseUnit(GetEnumUnit(),true)
endfunction
function W8E takes nothing returns nothing
call ForGroupBJ(CWV(udg_rect51,Condition(function W6E)),function W7E)
endfunction
function W9E takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function YVE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YEE takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function YXE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YOE takes nothing returns boolean
return(GetPlayerController(Player(0))==MAP_CONTROL_COMPUTER)
endfunction
function YRE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YIE takes nothing returns boolean
return(GetPlayerController(Player(0))==MAP_CONTROL_COMPUTER)
endfunction
function YAE takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function YNE takes nothing returns nothing
if(W9E())then
call ForGroupBJ(C4V('Hpal'),function YVE)
endif
if(YEE())then
call ForGroupBJ(C4V('Odrt'),function YXE)
endif
if(YOE())then
call ForGroupBJ(C4V('Hpal'),function YRE)
endif
if(YIE())then
call ForGroupBJ(C4V('Odrt'),function YAE)
endif
endfunction
function YBE takes nothing returns nothing
call TriggerSleepAction(20.)
call DisplayTextToForce(bj_FORCE_PLAYER[0],"|cffFFFF00As the Mafia Godfather ,you should make lot of crime and troubles in town ,but free spawn army may not allow you to do that ,you can try to make special units in your base that you can control them.|r")
endfunction
function YCE takes nothing returns nothing
call AdjustPlayerStateBJ(275,Player(0),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function YDE takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable31)
endfunction
function YFE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='o003')
endfunction
function YGE takes nothing returns nothing
call KillUnit(GetTriggerUnit())
call ModifyGateBJ(0,udg_destructable31)
endfunction
function YHE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable31)
endfunction
function YJE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetTriggerUnit())!=Player(0))
endfunction
function YKE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable31)
endfunction
function YLE takes nothing returns nothing
call ModifyGateBJ(1,udg_destructable28)
endfunction
function YME takes nothing returns nothing
call CreateNUnitsAtLoc(5,'h002',Player(0),GetRectCenter(udg_rect128),bj_UNIT_FACING)
call GroupPointOrderByIdLoc(CZV(udg_rect128),851983,GetRectCenter(udg_rect04))
endfunction
function YPE takes nothing returns nothing
call DisableTrigger(udg_trigger438)
endfunction
function YQE takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_GROUND))and(GetUnitTypeId(GetTriggerUnit())=='h002')
endfunction
function YSE takes nothing returns nothing
call ClearSelectionForPlayer(Player(0))
call RemoveUnit(GetTriggerUnit())
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,0)
call DisplayTextToForce(C8V(Player(0)),"|cffFF0000This unit have limited the control.|r")
endfunction
function YTE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Hpal')
endfunction
function YUE takes nothing returns nothing
call RemoveUnit(udg_unit83)
call RemoveItem(udg_item09)
call RemoveItem(udg_item07)
endfunction
function YWE takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='Odrt')
endfunction
function YYE takes nothing returns nothing
call RemoveUnit(udg_unit71)
call RemoveItem(udg_item09)
call RemoveItem(udg_item07)
endfunction
function YZE takes nothing returns boolean
return(GetSpellAbilityId()=='A05V')
endfunction
function Y_E takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
call EnableTrigger(udg_trigger444)
call TriggerSleepAction(60.)
call DisableTrigger(udg_trigger444)
endfunction
function Y0E takes nothing returns boolean
return(udg_unit04==udg_unit235)
endfunction
function Y1E takes nothing returns boolean
return(udg_unit04==udg_unit234)
endfunction
function Y2E takes nothing returns boolean
return(udg_unit04==udg_unit233)
endfunction
function Y3E takes nothing returns nothing
if(Y2E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect231),"Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect231),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(Y1E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect232),"Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect232),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(Y0E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect233),"Abilities\\Spells\\Undead\\Impale\\ImpaleHitTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect233),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endfunction
function Y4E takes nothing returns boolean
return(GetSpellAbilityId()=='A05Z')
endfunction
function Y5E takes nothing returns boolean
return(udg_unit04==udg_unit235)
endfunction
function Y6E takes nothing returns boolean
return(udg_unit04==udg_unit234)
endfunction
function Y7E takes nothing returns boolean
return(udg_unit04==udg_unit233)
endfunction
function Y8E takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
if(Y7E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect231),"Environment\\LargeBuildingFire\\LargeBuildingFire1.mdl")
else
if(Y6E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect232),"Environment\\LargeBuildingFire\\LargeBuildingFire1.mdl")
else
if(Y5E())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect233),"Environment\\LargeBuildingFire\\LargeBuildingFire1.mdl")
endif
endif
endif
call TriggerSleepAction(60.)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function Y9E takes nothing returns boolean
return(GetSpellAbilityId()=='A05W')
endfunction
function ZVE takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
call EnableTrigger(udg_trigger447)
call TriggerSleepAction(60.)
call DisableTrigger(udg_trigger447)
endfunction
function ZEE takes nothing returns boolean
return(udg_unit04==udg_unit235)
endfunction
function ZXE takes nothing returns boolean
return(udg_unit04==udg_unit234)
endfunction
function ZOE takes nothing returns boolean
return(udg_unit04==udg_unit233)
endfunction
function ZRE takes nothing returns nothing
if(ZOE())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect231),"Abilities\\Weapons\\Bolt\\BoltImpact.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZXE())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect232),"Abilities\\Weapons\\Bolt\\BoltImpact.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZEE())then
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect233),"Abilities\\Weapons\\Bolt\\BoltImpact.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endfunction
function ZIE takes nothing returns boolean
return(GetSpellAbilityId()=='AOvd')
endfunction
function ZAE takes nothing returns nothing
call PauseUnit(GetEnumUnit(),false)
endfunction
function ZNE takes nothing returns nothing
call PauseUnit(GetEnumUnit(),false)
endfunction
function ZBE takes nothing returns nothing
call PauseUnit(GetEnumUnit(),false)
endfunction
function ZCE takes nothing returns boolean
return(udg_unit04==udg_unit235)
endfunction
function ZDE takes nothing returns boolean
return(udg_unit04==udg_unit234)
endfunction
function ZFE takes nothing returns boolean
return(udg_unit04==udg_unit233)
endfunction
function ZGE takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
if(ZFE())then
call ForGroupBJ(CZV(udg_rect231),function ZAE)
else
if(ZDE())then
call ForGroupBJ(CZV(udg_rect232),function ZNE)
else
if(ZCE())then
call ForGroupBJ(CZV(udg_rect233),function ZBE)
endif
endif
endif
endfunction
function ZHE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'stel'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I002'))
endfunction
function ZJE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'kpin'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I003'))
endfunction
function ZKE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'phlt'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ratf'))
endfunction
function ZLE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mort'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rat9'))
endfunction
function ZME takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'bspd'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rag1'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'gcel'))
endfunction
function ZPE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ofro'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'oven'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'oli2'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ofir'))
endfunction
function ZQE takes nothing returns nothing
if(ZPE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ofro'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'oven'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ofir'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'oli2'))
call UnitAddItemByIdSwapped('gldo',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZME())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'bspd'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rag1'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'gcel'))
call UnitAddItemByIdSwapped('I000',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZLE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mort'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rat9'))
call UnitAddItemByIdSwapped('I002',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZKE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ratf'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'phlt'))
call UnitAddItemByIdSwapped('I003',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZJE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I003'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'kpin'))
call UnitAddItemByIdSwapped('I008',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZHE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I002'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'stel'))
call UnitAddItemByIdSwapped('I009',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endif
endif
endfunction
function ZSE takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),bj_forLoopAIndex))=='rde2')
endfunction
function ZTE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'flag'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde2'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function ZUE takes nothing returns boolean
return(udg_integer01>=2)and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function ZWE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'frgd'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde2'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function ZYE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'asbl'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde2'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function ZZE takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'srbd'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde2'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function Z_E takes nothing returns nothing
if(ZZE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'srbd'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I004',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZYE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'asbl'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I005',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZWE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'frgd'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I006',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
set udg_integer01=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(ZSE())then
set udg_integer01=(udg_integer01+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(ZUE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call UnitAddItemByIdSwapped('tmmt',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(ZTE())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'flag'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I00A',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endif
endfunction
function Z0E takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),bj_forLoopAIndex))=='gldo')
endfunction
function Z1E takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),bj_forLoopAIndex))=='rde2')
endfunction
function Z2E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'oflg'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'bgst'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function Z3E takes nothing returns boolean
return(udg_integer01>=2)and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'tmmt'))
endfunction
function Z4E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'spre'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'sbch'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function Z5E takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'fgun'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'belv'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'mlst'))
endfunction
function Z6E takes nothing returns boolean
return(udg_integer01>=2)
endfunction
function Z7E takes nothing returns nothing
set udg_integer01=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Z0E())then
set udg_integer01=(udg_integer01+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Z6E())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'gldo'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'gldo'))
call UnitAddItemByIdSwapped('spsh',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(Z5E())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'fgun'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'belv'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I00B',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(Z4E())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'spre'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'sbch'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I00C',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
set udg_integer01=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Z1E())then
set udg_integer01=(udg_integer01+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Z3E())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'tmmt'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde2'))
call UnitAddItemByIdSwapped('spre',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(Z2E())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'oflg'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'bgst'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'mlst'))
call UnitAddItemByIdSwapped('I00D',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endif
endfunction
function Z8E takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),bj_forLoopAIndex))=='ckng')
endfunction
function Z9E takes nothing returns boolean
return(GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),bj_forLoopAIndex))=='spsh')
endfunction
function VVX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde1'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rlif'))
endfunction
function VEX takes nothing returns boolean
return(udg_integer01>=2)
endfunction
function VXX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rhth'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'pmna'))
endfunction
function VOX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde4'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde1'))
endfunction
function VRX takes nothing returns boolean
return(udg_integer01>=2)
endfunction
function VIX takes nothing returns nothing
set udg_integer01=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Z8E())then
set udg_integer01=(udg_integer01+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(VRX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ckng'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ckng'))
call UnitAddItemByIdSwapped('rde4',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VOX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde4'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde1'))
call UnitAddItemByIdSwapped('gmfr',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VXX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rhth'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'pmna'))
call UnitAddItemByIdSwapped('prvt',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
set udg_integer01=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Z9E())then
set udg_integer01=(udg_integer01+1)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(VEX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'spsh'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'spsh'))
call UnitAddItemByIdSwapped('k3m2',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VVX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde1'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rlif'))
call UnitAddItemByIdSwapped('cnob',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endif
endfunction
function VAX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00C'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde3'))
endfunction
function VNX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00D'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde3'))
endfunction
function VBX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00B'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde3'))
endfunction
function VCX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00A'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rde3'))
endfunction
function VDX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rag1'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ciri'))and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'rst1'))
endfunction
function VFX takes nothing returns nothing
if(VDX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rst1'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ciri'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rag1'))
call UnitAddItemByIdSwapped('hcun',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VCX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde3'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00A'))
call UnitAddItemByIdSwapped('I00P',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VBX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde3'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00B'))
call UnitAddItemByIdSwapped('I00Q',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VNX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde3'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00D'))
call UnitAddItemByIdSwapped('I00R',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
else
if(VAX())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'rde3'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00C'))
call UnitAddItemByIdSwapped('I00S',GetTriggerUnit())
call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIlm\\AIlmTarget.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endif
endif
endif
endif
endif
endfunction
function VGX takes nothing returns boolean
return(GetSpellAbilityId()=='A08M')
endfunction
function VHX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08M',GetTriggerUnit())==3)
endfunction
function VJX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08M',GetTriggerUnit())==2)
endfunction
function VKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08M',GetTriggerUnit())==1)
endfunction
function VLX takes nothing returns nothing
if(VKX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,.0))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,45.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,90.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,135.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,180.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,225.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,270.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08O')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,315.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
else
if(VJX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,.0))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,45.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,90.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,135.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,180.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,225.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,270.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08N')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,315.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
else
if(VHX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,.0))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,45.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,90.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,135.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,180.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,225.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,270.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08P')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852555,CJV(GetUnitLoc(GetTriggerUnit()),300.,315.))
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endfunction
function VMX takes nothing returns boolean
return(GetSpellAbilityId()=='A08J')
endfunction
function VPX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08J',udg_unit04)==4)
endfunction
function VQX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08J',udg_unit04)==3)
endfunction
function VSX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08J',udg_unit04)==2)
endfunction
function VTX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08J',udg_unit04)==1)
endfunction
function VUX takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
if(VTX())then
call EnableTrigger(udg_trigger456)
call TriggerSleepAction(.35)
call DisableTrigger(udg_trigger456)
else
if(VSX())then
call EnableTrigger(udg_trigger456)
call TriggerSleepAction(.7)
call DisableTrigger(udg_trigger456)
else
if(VQX())then
call EnableTrigger(udg_trigger456)
call TriggerSleepAction(1.05)
call DisableTrigger(udg_trigger456)
else
if(VPX())then
call EnableTrigger(udg_trigger456)
call TriggerSleepAction(1.4)
call DisableTrigger(udg_trigger456)
endif
endif
endif
endif
endfunction
function VWX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A08K')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,udg_unit05)
call UnitApplyTimedLifeBJ(10.,'BTLF',bj_lastCreatedUnit)
endfunction
function VYX takes nothing returns boolean
return(GetSpellAbilityId()=='AOsh')
endfunction
function VZX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AOsh',GetTriggerUnit())==3)
endfunction
function V_X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AOsh',GetTriggerUnit())==2)
endfunction
function V0X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AOsh',GetTriggerUnit())==1)
endfunction
function V1X takes nothing returns nothing
if(V0X())then
call CreateNUnitsAtLoc(1,'u00A',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetSpellTargetLoc(),600.,GetUnitFacing(GetTriggerUnit())))
call UnitApplyTimedLifeBJ(3.,'BTLF',bj_lastCreatedUnit)
call EnableTrigger(udg_trigger458)
call TriggerSleepAction(2.)
call DisableTrigger(udg_trigger458)
else
if(V_X())then
call CreateNUnitsAtLoc(1,'u00A',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetSpellTargetLoc(),900.,GetUnitFacing(GetTriggerUnit())))
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
call EnableTrigger(udg_trigger458)
call TriggerSleepAction(3.)
call DisableTrigger(udg_trigger458)
else
if(VZX())then
call CreateNUnitsAtLoc(1,'u00A',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetSpellTargetLoc(),1200.,GetUnitFacing(GetTriggerUnit())))
call UnitApplyTimedLifeBJ(4.5,'BTLF',bj_lastCreatedUnit)
call EnableTrigger(udg_trigger458)
call TriggerSleepAction(3.5)
call DisableTrigger(udg_trigger458)
endif
endif
endif
endfunction
function V2X takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(bj_lastCreatedUnit),"Abilities\\Spells\\Orc\\Berserker\\BerserkerTarget.mdl")
call TriggerSleepAction(.5)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function V3X takes nothing returns boolean
return(GetUnitTypeId(GetTriggerUnit())=='nspd')or(GetUnitTypeId(GetTriggerUnit())=='nnwl')or(GetUnitTypeId(GetTriggerUnit())=='nnwa')or(GetUnitTypeId(GetTriggerUnit())=='n01N')or(GetUnitTypeId(GetTriggerUnit())=='Nman')or(GetUnitTypeId(GetTriggerUnit())=='nfgo')or(GetUnitTypeId(GetTriggerUnit())=='n01J')
endfunction
function V4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08D',GetAttacker())!=0)and(V3X())
endfunction
function V5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08D',GetAttacker())==4)
endfunction
function V6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08D',GetAttacker())==3)
endfunction
function V7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08D',GetAttacker())==2)
endfunction
function V8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A08D',GetAttacker())==1)
endfunction
function V9X takes nothing returns nothing
if(V8X())then
call UnitDamageTargetBJ(GetAttacker(),GetTriggerUnit(),20.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(V7X())then
call UnitDamageTargetBJ(GetAttacker(),GetTriggerUnit(),30.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(V6X())then
call UnitDamageTargetBJ(GetAttacker(),GetTriggerUnit(),40.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(V5X())then
call UnitDamageTargetBJ(GetAttacker(),GetTriggerUnit(),50.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endif
endfunction
function EVX takes nothing returns boolean
return(GetSpellAbilityId()=='A084')
endfunction
function EEX takes nothing returns boolean
return(GetSpellAbilityId()=='A085')
endfunction
function EXX takes nothing returns boolean
return(GetSpellAbilityId()=='A086')
endfunction
function EOX takes nothing returns boolean
return(GetSpellAbilityId()=='A087')
endfunction
function ERX takes nothing returns nothing
set udg_integers03[1]='u006'
set udg_integers03[2]='u007'
set udg_integers03[3]='u008'
set udg_integers03[4]='u009'
set udg_real01=3.
if(EOX())then
call KillUnit(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),.0)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,.0))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),45.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,45.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),90.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,90.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),135.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,135.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),180.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,180.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),215.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,215.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),270.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,270.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[1],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),315.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,315.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
else
if(EXX())then
call KillUnit(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),.0)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,.0))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),45.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,45.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),90.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,90.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),135.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,135.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),180.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,180.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),215.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,215.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),270.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,270.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[2],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),315.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,315.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
else
if(EEX())then
call KillUnit(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),.0)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,.0))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),45.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,45.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),90.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,90.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),135.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,135.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),180.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,180.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),215.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,215.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),270.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,270.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[3],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),315.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,315.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
else
if(EVX())then
call KillUnit(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),.0)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,.0))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),45.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,45.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),90.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,90.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),135.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,135.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),180.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,180.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),215.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,215.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),270.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,270.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
call CreateNUnitsAtLoc(1,udg_integers03[4],GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),315.)
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,851986,CJV(GetUnitLoc(GetTriggerUnit()),400.,315.))
call UnitApplyTimedLifeBJ(udg_real01,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endif
endfunction
function EIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetTriggerUnit())!=0)and(IsUnitType(GetAttacker(),UNIT_TYPE_MELEE_ATTACKER))
endfunction
function EAX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetTriggerUnit())==4)
endfunction
function ENX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetTriggerUnit())==3)
endfunction
function EBX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetTriggerUnit())==2)
endfunction
function ECX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetTriggerUnit())==1)
endfunction
function EDX takes nothing returns nothing
if(ECX())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetAttacker(),10.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(EBX())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetAttacker(),20.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(ENX())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetAttacker(),30.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(EAX())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetAttacker(),40.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endif
endfunction
function EFX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetDyingUnit())!=0)
endfunction
function EGX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07Z')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function EHX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetDyingUnit())==4)
endfunction
function EJX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07Y')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function EKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetDyingUnit())==3)
endfunction
function ELX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A080')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function EMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetDyingUnit())==2)
endfunction
function EPX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetDyingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07X')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function EQX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07W',GetDyingUnit())==1)
endfunction
function ESX takes nothing returns nothing
if(EQX())then
call ForGroupBJ(C3V(512.,GetUnitLoc(GetDyingUnit())),function EPX)
else
if(EMX())then
call ForGroupBJ(C3V(512.,GetUnitLoc(GetDyingUnit())),function ELX)
else
if(EKX())then
call ForGroupBJ(C3V(512.,GetUnitLoc(GetDyingUnit())),function EJX)
else
if(EHX())then
call ForGroupBJ(C3V(512.,GetUnitLoc(GetDyingUnit())),function EGX)
endif
endif
endif
endif
endfunction
function ETX takes nothing returns boolean
return(GetSpellAbilityId()=='AOs2')
endfunction
function EUX takes nothing returns nothing
set udg_unit07=GetTriggerUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
set udg_location02=CJV(udg_location04,600.,AngleBetweenPoints(udg_location04,udg_location05))
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,false)
call TriggerSleepAction(.01)
call SetUnitAnimation(udg_unit07,"attack")
call SetUnitTimeScalePercent(udg_unit07,25.)
call EnableTrigger(udg_trigger464)
call TriggerSleepAction(1.2)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger464)
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,true)
call SetUnitTimeScalePercent(udg_unit07,100.)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function EWX takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location02)/88.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function EYX takes nothing returns boolean
return(GetSpellAbilityId()=='A07L')
endfunction
function EZX takes nothing returns boolean
return(UnitHasBuffBJ(udg_unit08,'B02V'))
endfunction
function E_X takes nothing returns nothing
set udg_unit08=GetTriggerUnit()
if(EZX())then
call StartTimerBJ(udg_timer01,true,.75)
else
call PauseTimerBJ(true,udg_timer01)
endif
endfunction
function E0X takes nothing returns boolean
return(UnitHasBuffBJ(udg_unit08,'B02V'))
endfunction
function E1X takes nothing returns nothing
set udg_location08=GetUnitLoc(udg_unit08)
if(E0X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit08),udg_location08,bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07M')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,udg_location08)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call RemoveLocation(udg_location08)
else
call PauseTimerBJ(true,udg_timer01)
endif
endfunction
function E2X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Aliq',GetKillingUnit())!=0)
endfunction
function E3X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetKillingUnit()),GetUnitLoc(GetDyingUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'ANlm')
call IssueImmediateOrderById(bj_lastCreatedUnit,852667)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function E4X takes nothing returns boolean
return(GetSpellAbilityId()=='A07O')
endfunction
function E5X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07P')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function E6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07O',GetTriggerUnit())==4)
endfunction
function E7X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05R')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function E8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07O',GetTriggerUnit())==3)
endfunction
function E9X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05Q')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XVX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07O',GetTriggerUnit())==2)
endfunction
function XEX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05O')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XXX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07O',GetTriggerUnit())==1)
endfunction
function XOX takes nothing returns nothing
if(XXX())then
call TriggerSleepAction(.35)
call ForGroupBJ(C3V(165.,GetSpellTargetLoc()),function XEX)
else
if(XVX())then
call TriggerSleepAction(.35)
call ForGroupBJ(C3V(165.,GetSpellTargetLoc()),function E9X)
else
if(E8X())then
call TriggerSleepAction(.35)
call ForGroupBJ(C3V(165.,GetSpellTargetLoc()),function E7X)
else
if(E6X())then
call TriggerSleepAction(.35)
call ForGroupBJ(C3V(165.,GetSpellTargetLoc()),function E5X)
endif
endif
endif
endif
endfunction
function XRX takes nothing returns boolean
return(GetSpellAbilityId()=='A07J')
endfunction
function XIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==3)
endfunction
function XAX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==2)
endfunction
function XNX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07J',GetTriggerUnit())==1)
endfunction
function XBX takes nothing returns nothing
set udg_integers02[0]='n01I'
set udg_integers02[1]='n01K'
set udg_integers02[2]='n01M'
set udg_integers02[3]='n01L'
set udg_integer05=GetRandomInt(0,udg_integer04)
set udg_location08=GetUnitLoc(GetTriggerUnit())
if(XNX())then
set udg_integer04=1
call CreateNUnitsAtLoc(1,udg_integers02[udg_integer05],GetOwningPlayer(GetTriggerUnit()),udg_location08,bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BEfn',bj_lastCreatedUnit)
else
if(XAX())then
set udg_integer04=2
call CreateNUnitsAtLoc(1,udg_integers02[udg_integer05],GetOwningPlayer(GetTriggerUnit()),udg_location08,bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BEfn',bj_lastCreatedUnit)
else
if(XIX())then
set udg_integer04=3
call CreateNUnitsAtLoc(1,udg_integers02[udg_integer05],GetOwningPlayer(GetTriggerUnit()),udg_location08,bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(180.,'BEfn',bj_lastCreatedUnit)
endif
endif
endif
endfunction
function XCX takes nothing returns boolean
return(GetSpellAbilityId()=='AOeq')
endfunction
function XDX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07G')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XFX takes nothing returns nothing
call AddSpecialEffectLocBJ(GetSpellTargetLoc(),"Abilities\\Spells\\Orc\\EarthQuake\\EarthQuakeTarget.mdl")
call ForGroupBJ(C3V(165.,GetSpellTargetLoc()),function XDX)
call TriggerSleepAction(1.5)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function XGX takes nothing returns boolean
return(GetSpellAbilityId()=='A075')
endfunction
function XHX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A079')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XJX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A075',GetTriggerUnit())==4)
endfunction
function XKX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A076')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XLX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A075',GetTriggerUnit())==3)
endfunction
function XMX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A078')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XPX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A075',GetTriggerUnit())==2)
endfunction
function XQX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A077')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function XSX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A075',GetTriggerUnit())==1)
endfunction
function XTX takes nothing returns nothing
if(XSX())then
call ForGroupBJ(C3V(265.,GetSpellTargetLoc()),function XQX)
else
if(XPX())then
call ForGroupBJ(C3V(265.,GetSpellTargetLoc()),function XMX)
else
if(XLX())then
call ForGroupBJ(C3V(265.,GetSpellTargetLoc()),function XKX)
else
if(XJX())then
call ForGroupBJ(C3V(265.,GetSpellTargetLoc()),function XHX)
endif
endif
endif
endif
endfunction
function XUX takes nothing returns boolean
return(GetSpellAbilityId()=='A072')
endfunction
function XWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A072',udg_unit04)==4)
endfunction
function XYX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A072',udg_unit04)==3)
endfunction
function XZX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A072',udg_unit04)==2)
endfunction
function X_X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A072',udg_unit04)==1)
endfunction
function X0X takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
if(X_X())then
call EnableTrigger(udg_trigger473)
call TriggerSleepAction(.65)
call DisableTrigger(udg_trigger473)
else
if(XZX())then
call EnableTrigger(udg_trigger473)
call TriggerSleepAction(1.15)
call DisableTrigger(udg_trigger473)
else
if(XYX())then
call EnableTrigger(udg_trigger473)
call TriggerSleepAction(1.65)
call DisableTrigger(udg_trigger473)
else
if(XWX())then
call EnableTrigger(udg_trigger473)
call TriggerSleepAction(2.15)
call DisableTrigger(udg_trigger473)
endif
endif
endif
endif
endfunction
function X1X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A073')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,udg_unit05)
call UnitApplyTimedLifeBJ(10.,'BTLF',bj_lastCreatedUnit)
endfunction
function X2X takes nothing returns boolean
return(GetSpellAbilityId()=='A073')
endfunction
function X3X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A074')
call IssueTargetOrderById(bj_lastCreatedUnit,852662,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function X4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A071',GetAttacker())!=0)
endfunction
function X5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A071',GetAttacker())==4)and(GetRandomReal(0,'d')<=25.)
endfunction
function X6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A071',GetAttacker())==1)and(GetRandomReal(0,'d')<=20.)
endfunction
function X7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A071',GetAttacker())==2)and(GetRandomReal(0,'d')<=15.)
endfunction
function X8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A071',GetAttacker())==1)and(GetRandomReal(0,'d')<=10.)
endfunction
function X9X takes nothing returns nothing
if(X8X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A02H')
call IssueTargetOrderById(bj_lastCreatedUnit,852555,GetTriggerUnit())
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(X7X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A02I')
call IssueTargetOrderById(bj_lastCreatedUnit,852555,GetTriggerUnit())
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(X6X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A02J')
call IssueTargetOrderById(bj_lastCreatedUnit,852555,GetTriggerUnit())
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(X5X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A02K')
call IssueTargetOrderById(bj_lastCreatedUnit,852555,GetTriggerUnit())
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
endif
endif
endif
endif
endfunction
function OVX takes nothing returns boolean
return(GetSpellAbilityId()=='A06X')
endfunction
function OEX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06X',GetTriggerUnit())==3)
endfunction
function OXX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06X',GetTriggerUnit())==2)
endfunction
function OOX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06X',GetTriggerUnit())==1)
endfunction
function ORX takes nothing returns nothing
if(OOX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(4.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06Y')
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852096)
call DestroyEffect(bj_lastCreatedEffect)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call KillUnit(GetTriggerUnit())
else
if(OXX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(3.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06Z')
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852096)
call DestroyEffect(bj_lastCreatedEffect)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call KillUnit(GetTriggerUnit())
else
if(OEX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(2.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A070')
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852096)
call DestroyEffect(bj_lastCreatedEffect)
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call KillUnit(GetTriggerUnit())
endif
endif
endif
endfunction
function OIX takes nothing returns boolean
return(GetSpellAbilityId()=='AHfs')
endfunction
function OAX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AHfs',GetTriggerUnit())==4)
endfunction
function ONX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AHfs',GetTriggerUnit())==3)
endfunction
function OBX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AHfs',GetTriggerUnit())==2)
endfunction
function OCX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AHfs',GetTriggerUnit())==1)
endfunction
function ODX takes nothing returns nothing
if(OCX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06R')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,GetSpellTargetLoc())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
else
if(OBX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06S')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,GetSpellTargetLoc())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
else
if(ONX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06T')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,GetSpellTargetLoc())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
else
if(OAX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06U')
call IssuePointOrderByIdLoc(bj_lastCreatedUnit,852488,GetSpellTargetLoc())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endif
endfunction
function OFX takes nothing returns boolean
return(GetSpellAbilityId()=='Asds')
endfunction
function OGX takes nothing returns nothing
call AddSpecialEffectLocBJ(GetSpellTargetLoc(),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call TriggerSleepAction(2)
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function OHX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03H',GetAttacker())!=0)
endfunction
function OJX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03H',GetAttacker())==4)and(GetRandomReal(0,'d')<=35.)
endfunction
function OKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03H',GetAttacker())==3)and(GetRandomReal(0,'d')<=30.)
endfunction
function OLX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03H',GetAttacker())==2)and(GetRandomReal(0,'d')<=25.)
endfunction
function OMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03H',GetAttacker())==1)and(GetRandomReal(0,'d')<=20.)
endfunction
function OPX takes nothing returns nothing
if(OMX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06P')
call IssueTargetOrderById(bj_lastCreatedUnit,852066,GetAttacker())
else
if(OLX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06P')
call IssueTargetOrderById(bj_lastCreatedUnit,852066,GetAttacker())
else
if(OKX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06P')
call IssueTargetOrderById(bj_lastCreatedUnit,852066,GetAttacker())
else
if(OJX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06P')
call IssueTargetOrderById(bj_lastCreatedUnit,852066,GetAttacker())
endif
endif
endif
endif
endfunction
function OQX takes nothing returns boolean
return(GetSpellAbilityId()=='A06O')
endfunction
function OSX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A04S')
call IssueTargetOrderById(bj_lastCreatedUnit,852226,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function OTX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06H',GetDyingUnit())==3)
endfunction
function OUX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06H',GetDyingUnit())==2)
endfunction
function OWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06H',GetDyingUnit())==1)
endfunction
function OYX takes nothing returns nothing
if(OWX())then
call UnitDamageTargetBJ(GetDyingUnit(),GetKillingUnit(),300.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(OUX())then
call UnitDamageTargetBJ(GetDyingUnit(),GetKillingUnit(),400.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(OTX())then
call UnitDamageTargetBJ(GetDyingUnit(),GetKillingUnit(),500.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endfunction
function OZX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06E',GetTriggerUnit())!=0)and(GetRandomReal(0,'d')<=25.)
endfunction
function O_X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06E',GetTriggerUnit())==4)
endfunction
function O0X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06E',GetTriggerUnit())==3)
endfunction
function O1X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06E',GetTriggerUnit())==2)
endfunction
function O2X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A06E',GetTriggerUnit())==1)
endfunction
function O3X takes nothing returns nothing
if(O2X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06D')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetAttacker())
else
if(O1X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06C')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetAttacker())
else
if(O0X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06F')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetAttacker())
else
if(O_X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06G')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetAttacker())
endif
endif
endif
endif
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endfunction
function O4X takes nothing returns boolean
return(GetSpellAbilityId()=='A060')
endfunction
function O5X takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
call EnableTrigger(udg_trigger484)
call TriggerSleepAction(3.25)
call DisableTrigger(udg_trigger484)
endfunction
function O6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A060',udg_unit04)==4)
endfunction
function O7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A060',udg_unit04)==3)
endfunction
function O8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A060',udg_unit04)==2)
endfunction
function O9X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A060',udg_unit04)==1)
endfunction
function RVX takes nothing returns nothing
if(O9X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'ANfl')
call IssueTargetOrderById(bj_lastCreatedUnit,852587,udg_unit05)
else
if(O8X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05Y')
call IssueTargetOrderById(bj_lastCreatedUnit,852587,udg_unit05)
else
if(O7X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A061')
call IssueTargetOrderById(bj_lastCreatedUnit,852587,udg_unit05)
else
if(O6X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A062')
call IssueTargetOrderById(bj_lastCreatedUnit,852587,udg_unit05)
endif
endif
endif
endif
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endfunction
function REX takes nothing returns boolean
return(GetSpellAbilityId()=='AEsf')
endfunction
function RXX takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
call EnableTrigger(udg_trigger486)
call TriggerSleepAction(3.)
call DisableTrigger(udg_trigger486)
endfunction
function ROX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEsf',udg_unit04)==3)
endfunction
function RRX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEsf',udg_unit04)==2)
endfunction
function RIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEsf',udg_unit04)==1)
endfunction
function RAX takes nothing returns nothing
if(RIX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit04),800.,800.)),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05S')
call AddSpecialEffectLocBJ(GetUnitLoc(bj_lastCreatedUnit),"Units\\Demon\\Infernal\\InfernalBirth.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
call UnitApplyTimedLifeBJ(.5,'BTLF',bj_lastCreatedUnit)
else
if(RRX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit04),800.,800.)),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05P')
call AddSpecialEffectLocBJ(GetUnitLoc(bj_lastCreatedUnit),"Units\\Demon\\Infernal\\InfernalBirth.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
call UnitApplyTimedLifeBJ(.5,'BTLF',bj_lastCreatedUnit)
else
if(ROX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetRandomLocInRect(RectFromCenterSizeBJ(GetUnitLoc(udg_unit04),800.,800.)),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05T')
call AddSpecialEffectLocBJ(GetUnitLoc(bj_lastCreatedUnit),"Units\\Demon\\Infernal\\InfernalBirth.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
call UnitApplyTimedLifeBJ(.5,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endfunction
function RNX takes nothing returns boolean
return(GetSpellAbilityId()=='A05A')
endfunction
function RBX takes nothing returns nothing
call UnitAddAbility(udg_unit07,'A05G')
call IssueImmediateOrderById(udg_unit07,852155)
call UnitRemoveAbility(udg_unit07,'A05G')
set udg_unit07=GetTriggerUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
call TriggerSleepAction(.01)
call EnableTrigger(udg_trigger489)
call EnableTrigger(udg_trigger491)
call EnableTrigger(udg_trigger490)
call SetUnitFlyHeight(udg_unit07,300.,300.)
call SetUnitPathing(udg_unit07,false)
call PauseUnit(udg_unit07,true)
call PauseUnit(udg_unit05,true)
call TriggerSleepAction(4.8)
call SetUnitFlyHeight(udg_unit07,.0,500.)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger489)
call DisableTrigger(udg_trigger491)
call DisableTrigger(udg_trigger490)
call SetUnitPathing(udg_unit07,true)
call PauseUnit(udg_unit07,false)
call PauseUnit(udg_unit05,false)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function RCX takes nothing returns boolean
return(GetSpellAbilityId()=='A05A')
endfunction
function RDX takes nothing returns nothing
set udg_unit05=GetSpellTargetUnit()
call UnitAddAbility(udg_unit05,'A05N')
call SetUnitFlyHeight(udg_unit05,300.,300.)
call PauseUnit(udg_unit05,true)
call TriggerSleepAction(4.8)
call SetUnitAnimation(udg_unit05,"death")
call SetUnitFlyHeight(udg_unit05,.0,500.)
call TriggerSleepAction(.2)
call PauseUnit(udg_unit05,false)
call UnitRemoveAbility(udg_unit05,'A05N')
endfunction
function RFX takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location05)/55.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function RGX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A05H')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endfunction
function RHX takes nothing returns nothing
call ForGroupBJ(C3V(450.,GetUnitLoc(udg_unit07)),function RGX)
endfunction
function RJX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05A',udg_unit07)==4)
endfunction
function RKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05A',udg_unit07)==3)
endfunction
function RLX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05A',udg_unit07)==2)
endfunction
function RMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05A',udg_unit07)==1)
endfunction
function RPX takes nothing returns nothing
if(RMX())then
call SetUnitAnimation(udg_unit07,"spell slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit07,udg_unit05,5.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(RLX())then
call SetUnitAnimation(udg_unit07,"spell slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit07,udg_unit05,10.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(RKX())then
call SetUnitAnimation(udg_unit07,"spell slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit07,udg_unit05,15.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(RJX())then
call SetUnitAnimation(udg_unit07,"spell slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit07,udg_unit05,20.,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endif
endfunction
function RQX takes nothing returns boolean
return(GetSpellAbilityId()=='AEfk')and(GetRandomReal(0,'d')<=20.)
endfunction
function RSX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A059')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
endfunction
function RTX takes nothing returns nothing
call ForGroupBJ(C3V(475.,GetUnitLoc(GetSpellAbilityUnit())),function RSX)
endfunction
function RUX takes nothing returns boolean
return(GetLearnedSkill()=='A05F')
endfunction
function RWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05F',GetTriggerUnit())==3)
endfunction
function RYX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05F',GetTriggerUnit())==2)
endfunction
function RZX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05F',GetTriggerUnit())==1)
endfunction
function R_X takes nothing returns nothing
if(RZX())then
call UnitAddAbility(GetTriggerUnit(),'A05L')
call IssueTargetOrderById(GetTriggerUnit(),852101,GetTriggerUnit())
else
if(RYX())then
call UnitRemoveAbility(GetTriggerUnit(),'A05L')
call UnitAddAbility(GetTriggerUnit(),'A06I')
call UnitRemoveAbility(GetTriggerUnit(),'B026')
call IssueTargetOrderById(GetTriggerUnit(),852101,GetTriggerUnit())
else
if(RWX())then
call UnitRemoveAbility(GetTriggerUnit(),'A06I')
call UnitAddAbility(GetTriggerUnit(),'A06J')
call UnitRemoveAbility(GetTriggerUnit(),'B026')
call IssueTargetOrderById(GetTriggerUnit(),852101,GetTriggerUnit())
endif
endif
endif
endfunction
function R0X takes nothing returns boolean
return(GetLearnedSkill()=='A05I')
endfunction
function R1X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05I',GetTriggerUnit())==4)
endfunction
function R2X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05I',GetTriggerUnit())==3)
endfunction
function R3X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05I',GetTriggerUnit())==2)
endfunction
function R4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A05I',GetTriggerUnit())==1)
endfunction
function R5X takes nothing returns nothing
if(R4X())then
call UnitAddAbility(GetTriggerUnit(),'A05J')
else
if(R3X())then
call UnitRemoveAbility(GetTriggerUnit(),'A05J')
call UnitAddAbility(GetTriggerUnit(),'A05K')
else
if(R2X())then
call UnitRemoveAbility(GetTriggerUnit(),'A05K')
call UnitAddAbility(GetTriggerUnit(),'A05L')
else
if(R1X())then
call UnitRemoveAbility(GetTriggerUnit(),'A05L')
call UnitAddAbility(GetTriggerUnit(),'A05M')
endif
endif
endif
endif
endfunction
function R6X takes nothing returns boolean
return(GetSpellAbilityId()=='AOw2')
endfunction
function R7X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A056')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
endfunction
function R8X takes nothing returns nothing
call ForGroupBJ(C3V(400.,GetUnitLoc(GetSpellAbilityUnit())),function R7X)
endfunction
function R9X takes nothing returns boolean
return(GetSpellAbilityId()=='A04Z')
endfunction
function IVX takes nothing returns nothing
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',25.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',50.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',75.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',100.)
call TriggerSleepAction(120.)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',.0)
endfunction
function IEX takes nothing returns boolean
return(GetSpellAbilityId()=='A04U')
endfunction
function IXX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A04T')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetEnumUnit())
endfunction
function IOX takes nothing returns nothing
call ForGroupBJ(C3V(850.,GetUnitLoc(GetSpellAbilityUnit())),function IXX)
endfunction
function IRX takes nothing returns boolean
return(GetSpellAbilityId()=='A04E')
endfunction
function IIX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'ACbl')
call IssueTargetOrderById(bj_lastCreatedUnit,852101,GetTriggerUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endfunction
function IAX takes nothing returns boolean
return(GetSpellAbilityId()=='A04O')
endfunction
function INX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'Apig')
call TriggerSleepAction(15.)
call UnitRemoveAbility(GetTriggerUnit(),'Apig')
endfunction
function IBX takes nothing returns boolean
return(GetSpellAbilityId()=='A041')
endfunction
function ICX takes nothing returns nothing
call GroupTargetOrderById(C4V('h00E'),851986,GetTriggerUnit())
endfunction
function IDX takes nothing returns boolean
return(GetSpellAbilityId()=='A042')
endfunction
function IFX takes nothing returns nothing
call GroupPointOrderByIdLoc(C4V('h00E'),851983,GetSpellTargetLoc())
endfunction
function IGX takes nothing returns boolean
return(GetSpellAbilityId()=='A03S')
endfunction
function IHX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'Amnx')
call TriggerSleepAction(.5)
call KillUnit(GetTriggerUnit())
endfunction
function IJX takes nothing returns boolean
return(GetSpellAbilityId()=='A03T')
endfunction
function IKX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'A00R')
call TriggerSleepAction(.5)
call KillUnit(GetTriggerUnit())
endfunction
function ILX takes nothing returns boolean
return(GetSpellAbilityId()=='A03U')
endfunction
function IMX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'A00S')
call TriggerSleepAction(.5)
call KillUnit(GetTriggerUnit())
endfunction
function IPX takes nothing returns boolean
return(GetSpellAbilityId()=='A03V')
endfunction
function IQX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'A00T')
call TriggerSleepAction(.5)
call KillUnit(GetTriggerUnit())
endfunction
function ISX takes nothing returns boolean
return(GetSpellAbilityId()=='A01K')
endfunction
function ITX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01K',GetSpellAbilityUnit())==4)
endfunction
function IUX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01K',GetSpellAbilityUnit())==3)
endfunction
function IWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01K',GetSpellAbilityUnit())==2)
endfunction
function IYX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01K',GetSpellAbilityUnit())==1)
endfunction
function IZX takes nothing returns nothing
set udg_unit08=GetSpellTargetUnit()
set udg_unit04=GetSpellAbilityUnit()
if(IYX())then
call TriggerSleepAction(.5)
call ShowUnitHide(udg_unit08)
call UnitShareVisionBJ(true,udg_unit04,GetOwningPlayer(udg_unit08))
call TriggerSleepAction(15.)
call UnitShareVisionBJ(false,udg_unit04,GetOwningPlayer(udg_unit08))
call ShowUnitShow(udg_unit08)
call SetUnitPositionLoc(udg_unit08,GetUnitLoc(udg_unit04))
else
if(IWX())then
call TriggerSleepAction(.5)
call ShowUnitHide(udg_unit08)
call UnitShareVisionBJ(true,udg_unit04,GetOwningPlayer(udg_unit08))
call TriggerSleepAction(25.)
call UnitShareVisionBJ(false,udg_unit04,GetOwningPlayer(udg_unit08))
call ShowUnitShow(udg_unit08)
call SetUnitPositionLoc(udg_unit08,GetUnitLoc(udg_unit04))
else
if(IUX())then
call TriggerSleepAction(.5)
call ShowUnitHide(udg_unit08)
call UnitShareVisionBJ(true,udg_unit04,GetOwningPlayer(udg_unit08))
call TriggerSleepAction(35.)
call UnitShareVisionBJ(false,udg_unit04,GetOwningPlayer(udg_unit08))
call ShowUnitShow(udg_unit08)
call SetUnitPositionLoc(udg_unit08,GetUnitLoc(udg_unit04))
else
if(ITX())then
call TriggerSleepAction(.5)
call ShowUnitHide(udg_unit08)
call UnitShareVisionBJ(true,udg_unit04,GetOwningPlayer(udg_unit08))
call TriggerSleepAction(45.)
call UnitShareVisionBJ(false,udg_unit04,GetOwningPlayer(udg_unit08))
call ShowUnitShow(udg_unit08)
call SetUnitPositionLoc(udg_unit08,GetUnitLoc(udg_unit04))
endif
endif
endif
endif
endfunction
function I_X takes nothing returns boolean
return(GetSpellAbilityId()=='A03M')
endfunction
function I0X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03O',GetTriggerUnit())==3)
endfunction
function I1X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03O',GetTriggerUnit())==2)
endfunction
function I2X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A03O',GetTriggerUnit())==1)
endfunction
function I3X takes nothing returns nothing
if(I2X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A03P')
call IssueTargetOrderById(bj_lastCreatedUnit,852069,GetTriggerUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
else
if(I1X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A03Q')
call IssueTargetOrderById(bj_lastCreatedUnit,852069,GetTriggerUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
else
if(I0X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A03R')
call IssueTargetOrderById(bj_lastCreatedUnit,852069,GetTriggerUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endfunction
function I4X takes nothing returns boolean
return(GetSpellAbilityId()=='A01J')
endfunction
function I5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01J',GetSpellAbilityUnit())==4)
endfunction
function I6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01J',GetSpellAbilityUnit())==3)
endfunction
function I7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01J',GetSpellAbilityUnit())==2)
endfunction
function I8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01J',GetSpellAbilityUnit())==1)
endfunction
function I9X takes nothing returns nothing
if(I8X())then
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',25.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',50.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',100.)
call TriggerSleepAction(15.)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',.0)
else
if(I7X())then
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',25.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',50.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',100.)
call TriggerSleepAction(25.)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',.0)
else
if(I6X())then
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',25.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',50.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',100.)
call TriggerSleepAction(35.)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',.0)
else
if(I5X())then
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',25.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',50.)
call TriggerSleepAction(.5)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',100.)
call TriggerSleepAction(45.)
call SetUnitVertexColorBJ(GetSpellAbilityUnit(),'d','d','d',.0)
endif
endif
endif
endif
endfunction
function AVX takes nothing returns boolean
return(GetSpellAbilityId()=='ANef')and(GetUnitAbilityLevelSwapped('ANef',GetTriggerUnit())==4)
endfunction
function AEX takes nothing returns nothing
call TriggerSleepAction(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellAbilityUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00S')
call KillUnit(bj_lastCreatedUnit)
endfunction
function AXX takes nothing returns boolean
return(GetSpellAbilityId()=='AEmb')and(GetUnitTypeId(GetSpellTargetUnit())=='Hdgo')and(GetUnitTypeId(GetSpellTargetUnit())=='Hapm')
endfunction
function AOX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEmb',GetTriggerUnit())==4)
endfunction
function ARX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEmb',GetTriggerUnit())==3)
endfunction
function AIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEmb',GetTriggerUnit())==2)
endfunction
function AAX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('AEmb',GetTriggerUnit())==1)
endfunction
function ANX takes nothing returns nothing
if(AAX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellTargetUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A027')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
else
if(AIX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellTargetUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A039')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
else
if(ARX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellTargetUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A03B')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
else
if(AOX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellTargetUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A03A')
call IssueTargetOrderById(bj_lastCreatedUnit,852095,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endif
call CreateTextTagLocBJ("\"Fuck this\"To Your Boss!",GetUnitLoc(GetTriggerUnit()),.0,10,'d',.0,.0,0)
call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)
call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)
call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)
call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.5)
endfunction
function ABX takes nothing returns boolean
return(GetSpellAbilityId()=='A03I')
endfunction
function ACX takes nothing returns nothing
call CreateTextTagLocBJ("For The Love Of God!",GetUnitLoc(GetTriggerUnit()),.0,10,'d',.0,.0,0)
call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)
call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)
call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)
call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.5)
endfunction
function ADX takes nothing returns boolean
return(GetSpellAbilityId()=='AEmb')
endfunction
function AFX takes nothing returns nothing
call CreateTextTagLocBJ("\"Fuck This\"To Your Boss!",GetUnitLoc(GetTriggerUnit()),.0,10,'d',.0,.0,0)
call SetTextTagVelocityBJ(bj_lastCreatedTextTag,64,90)
call SetTextTagPermanentBJ(bj_lastCreatedTextTag,false)
call SetTextTagLifespanBJ(bj_lastCreatedTextTag,3.)
call SetTextTagFadepointBJ(bj_lastCreatedTextTag,1.5)
endfunction
function AGX takes nothing returns boolean
return(GetSpellAbilityId()=='A02Y')
endfunction
function AHX takes nothing returns nothing
call CFV(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A02Z')
call IssueTargetOrderById(bj_lastCreatedUnit,852069,GetTriggerUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endfunction
function AJX takes nothing returns boolean
return(GetSpellAbilityId()=='A02X')
endfunction
function AKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02X',GetTriggerUnit())==3)
endfunction
function ALX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02X',GetTriggerUnit())==2)
endfunction
function AMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A02X',GetTriggerUnit())==1)
endfunction
function APX takes nothing returns nothing
if(AMX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(2)
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathSmall\\NEDeathSmall.mdl")
call CFV(1.)
call PauseUnit(GetTriggerUnit(),false)
else
if(ALX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(4.)
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathSmall\\NEDeathSmall.mdl")
call CFV(1.)
call PauseUnit(GetTriggerUnit(),false)
else
if(AKX())then
call CFV(.5)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitAnimation(GetTriggerUnit(),"death")
call CFV(6.)
call AddSpecialEffectLocBJ(GetUnitLoc(GetTriggerUnit()),"Objects\\Spawnmodels\\NightElf\\NEDeathSmall\\NEDeathSmall.mdl")
call CFV(1.)
call PauseUnit(GetTriggerUnit(),false)
endif
endif
endif
endfunction
function AQX takes nothing returns boolean
return(GetSpellAbilityId()=='A035')
endfunction
function ASX takes nothing returns nothing
call ReplaceUnitBJ(GetSpellAbilityUnit(),'E004',1)
endfunction
function ATX takes nothing returns boolean
return(GetSpellAbilityId()=='A02P')
endfunction
function AUX takes nothing returns nothing
call ReplaceUnitBJ(GetSpellAbilityUnit(),'Hjai',1)
endfunction
function AWX takes nothing returns boolean
return(GetSpellAbilityId()=='A035')
endfunction
function AYX takes nothing returns nothing
call SetHeroXP(bj_lastReplacedUnit,GetHeroXP(GetSpellAbilityUnit()),false)
endfunction
function AZX takes nothing returns boolean
return(GetSpellAbilityId()=='A02P')
endfunction
function A_X takes nothing returns nothing
call SetHeroXP(bj_lastReplacedUnit,GetHeroXP(GetSpellAbilityUnit()),false)
endfunction
function A0X takes nothing returns boolean
return(GetSpellAbilityId()=='A02G')
endfunction
function A1X takes nothing returns nothing
call TriggerSleepAction(2.)
call KillUnit(GetTriggerUnit())
endfunction
function A2X takes nothing returns boolean
return(GetSpellAbilityId()=='A012')
endfunction
function A3X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetSpellTargetLoc(),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A029')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
endfunction
function A4X takes nothing returns boolean
return(GetSpellAbilityId()=='AHre')
endfunction
function A5X takes nothing returns nothing
call TriggerSleepAction(2.)
call KillUnit(GetTriggerUnit())
endfunction
function A6X takes nothing returns boolean
return(GetSpellAbilityId()=='A01T')and(GetUnitAbilityLevelSwapped('A01T',GetTriggerUnit())==1)
endfunction
function A7X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01U')
call IssueTargetOrderById(bj_lastCreatedUnit,852092,GetEnumUnit())
endfunction
function A8X takes nothing returns nothing
call ForGroupBJ(C3V(350.,GetUnitLoc(GetTriggerUnit())),function A7X)
endfunction
function A9X takes nothing returns boolean
return(GetSpellAbilityId()=='A01T')and(GetUnitAbilityLevelSwapped('A01T',GetTriggerUnit())==2)
endfunction
function NVX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01V')
call IssueTargetOrderById(bj_lastCreatedUnit,852092,GetEnumUnit())
endfunction
function NEX takes nothing returns nothing
call ForGroupBJ(C3V(650.,GetUnitLoc(GetTriggerUnit())),function NVX)
endfunction
function NXX takes nothing returns boolean
return(GetSpellAbilityId()=='A01T')and(GetUnitAbilityLevelSwapped('A01T',GetTriggerUnit())==3)
endfunction
function NOX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01W')
call IssueTargetOrderById(bj_lastCreatedUnit,852092,GetEnumUnit())
endfunction
function NRX takes nothing returns nothing
call ForGroupBJ(C3V(950.,GetUnitLoc(GetTriggerUnit())),function NOX)
endfunction
function NIX takes nothing returns boolean
return(GetSpellAbilityId()=='A01T')and(GetUnitAbilityLevelSwapped('A01T',GetTriggerUnit())==4)
endfunction
function NAX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01X')
call IssueTargetOrderById(bj_lastCreatedUnit,852092,GetEnumUnit())
endfunction
function NNX takes nothing returns nothing
call ForGroupBJ(C3V(1250.,GetUnitLoc(GetTriggerUnit())),function NAX)
endfunction
function NBX takes nothing returns boolean
return(GetSpellAbilityId()=='A01M')
endfunction
function NCX takes nothing returns nothing
set udg_integer03=GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ((0-udg_integer03),GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call AdjustPlayerStateBJ(udg_integer03,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)
endfunction
function NDX takes nothing returns boolean
return(GetSpellAbilityId()=='Auhf')
endfunction
function NFX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Auhf',GetTriggerUnit())==4)
endfunction
function NGX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Auhf',GetTriggerUnit())==3)
endfunction
function NHX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Auhf',GetTriggerUnit())==2)
endfunction
function NJX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Auhf',GetTriggerUnit())==1)
endfunction
function NKX takes nothing returns nothing
if(NJX())then
call AdjustPlayerStateBJ(-'d',GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
else
if(NHX())then
call AdjustPlayerStateBJ(-'}',GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
else
if(NGX())then
call AdjustPlayerStateBJ(-175,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
else
if(NFX())then
call AdjustPlayerStateBJ(-200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
endif
endif
endif
endif
endfunction
function NLX takes nothing returns boolean
return(GetSpellAbilityId()=='A01C')
endfunction
function NMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01C',GetTriggerUnit())==4)
endfunction
function NPX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01C',GetTriggerUnit())==3)
endfunction
function NQX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01C',GetTriggerUnit())==2)
endfunction
function NSX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A01C',GetTriggerUnit())==1)
endfunction
function NTX takes nothing returns nothing
if(NSX())then
call AdjustPlayerStateBJ(-'d',GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01E')
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852209,GetTriggerUnit())
call ModifyHeroStat(0,GetTriggerUnit(),0,5)
call CFV(15.)
call ModifyHeroStat(0,GetTriggerUnit(),1,5)
else
if(NQX())then
call AdjustPlayerStateBJ(-'}',GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01F')
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852209,GetTriggerUnit())
call ModifyHeroStat(0,GetTriggerUnit(),0,10)
call CFV(15.)
call ModifyHeroStat(0,GetTriggerUnit(),1,10)
else
if(NPX())then
call AdjustPlayerStateBJ(-175,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01G')
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852209,GetTriggerUnit())
call ModifyHeroStat(0,GetTriggerUnit(),0,15)
call CFV(15.)
call ModifyHeroStat(0,GetTriggerUnit(),1,15)
else
if(NMX())then
call AdjustPlayerStateBJ(-200,GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_LUMBER)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01H')
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(bj_lastCreatedUnit,852209,GetTriggerUnit())
call ModifyHeroStat(0,GetTriggerUnit(),0,20)
call CFV(15.)
call ModifyHeroStat(0,GetTriggerUnit(),1,20)
endif
endif
endif
endif
endfunction
function NUX takes nothing returns boolean
return(GetSpellAbilityId()=='A018')
endfunction
function NWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A018',GetTriggerUnit())==4)
endfunction
function NYX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A018',GetTriggerUnit())==3)
endfunction
function NZX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A018',GetTriggerUnit())==2)
endfunction
function N_X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A018',GetTriggerUnit())==1)
endfunction
function N0X takes nothing returns nothing
if(N_X())then
call UnitAddAbility(GetTriggerUnit(),'Awar')
call CFV(60.)
call UnitRemoveAbility(GetTriggerUnit(),'Awar')
else
if(NZX())then
call UnitAddAbility(GetTriggerUnit(),'A01B')
call CFV(50.)
call UnitRemoveAbility(GetTriggerUnit(),'A01B')
else
if(NYX())then
call UnitAddAbility(GetTriggerUnit(),'A01A')
call CFV(40.)
call UnitRemoveAbility(GetTriggerUnit(),'A01A')
else
if(NWX())then
call UnitAddAbility(GetTriggerUnit(),'A019')
call CFV(30.)
call UnitRemoveAbility(GetTriggerUnit(),'A019')
endif
endif
endif
endif
endfunction
function N1X takes nothing returns boolean
return(GetSpellAbilityId()=='A066')
endfunction
function N2X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A066',GetTriggerUnit())==4)
endfunction
function N3X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A066',GetTriggerUnit())==3)
endfunction
function N4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A066',GetTriggerUnit())==2)
endfunction
function N5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A066',GetTriggerUnit())==1)
endfunction
function N6X takes nothing returns nothing
if(N5X())then
call UnitAddAbility(GetTriggerUnit(),'A07T')
call CFV(30.)
call UnitRemoveAbility(GetTriggerUnit(),'A07T')
else
if(N4X())then
call UnitAddAbility(GetTriggerUnit(),'A07S')
call CFV(30.)
call UnitRemoveAbility(GetTriggerUnit(),'A07S')
else
if(N3X())then
call UnitAddAbility(GetTriggerUnit(),'A068')
call CFV(30.)
call UnitRemoveAbility(GetTriggerUnit(),'A068')
else
if(N2X())then
call UnitAddAbility(GetTriggerUnit(),'A07U')
call CFV(30.)
call UnitRemoveAbility(GetTriggerUnit(),'A07U')
endif
endif
endif
endif
endfunction
function N7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07U',GetAttacker())==1)and(GetRandomReal(0,'d')<=45.)
endfunction
function N8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A068',GetAttacker())==1)and(GetRandomReal(0,'d')<=35.)
endfunction
function N9X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07S',GetAttacker())==1)and(GetRandomReal(0,'d')<=25.)
endfunction
function BVX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07T',GetAttacker())==1)and(GetRandomReal(0,'d')<=15.)
endfunction
function BEX takes nothing returns nothing
if(BVX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07V')
call IssueTargetOrderById(bj_lastCreatedUnit,852527,GetTriggerUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(N9X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07V')
call IssueTargetOrderById(bj_lastCreatedUnit,852527,GetTriggerUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(N8X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07V')
call IssueTargetOrderById(bj_lastCreatedUnit,852527,GetTriggerUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
else
if(N7X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetAttacker()),GetUnitLoc(GetAttacker()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07V')
call IssueTargetOrderById(bj_lastCreatedUnit,852527,GetTriggerUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
call IssueTargetOrderById(GetAttacker(),851983,GetTriggerUnit())
endif
endif
endif
endif
endfunction
function BXX takes nothing returns boolean
return(GetSpellAbilityId()=='A014')and(GetUnitAbilityLevelSwapped('A014',GetTriggerUnit())==1)
endfunction
function BOX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A015')
call IssueTargetOrderById(bj_lastCreatedUnit,852106,GetEnumUnit())
endfunction
function BRX takes nothing returns nothing
call ForGroupBJ(C3V(450.,GetSpellTargetLoc()),function BOX)
endfunction
function BIX takes nothing returns boolean
return(GetSpellAbilityId()=='A014')and(GetUnitAbilityLevelSwapped('A014',GetTriggerUnit())==2)
endfunction
function BAX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A016')
call IssueTargetOrderById(bj_lastCreatedUnit,852106,GetEnumUnit())
endfunction
function BNX takes nothing returns nothing
call ForGroupBJ(C3V(450.,GetSpellTargetLoc()),function BAX)
endfunction
function BBX takes nothing returns boolean
return(GetSpellAbilityId()=='A014')and(GetUnitAbilityLevelSwapped('A014',GetTriggerUnit())==3)
endfunction
function BCX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A017')
call IssueTargetOrderById(bj_lastCreatedUnit,852106,GetEnumUnit())
endfunction
function BDX takes nothing returns nothing
call ForGroupBJ(C3V(650.,GetSpellTargetLoc()),function BCX)
endfunction
function BFX takes nothing returns boolean
return(GetSpellAbilityId()=='A038')and(GetUnitAbilityLevelSwapped('A038',GetTriggerUnit())==4)
endfunction
function BGX takes nothing returns nothing
call UnitAddAbility(GetTriggerUnit(),'A037')
call CFV(20.)
call UnitRemoveAbility(GetTriggerUnit(),'A037')
endfunction
function BHX takes nothing returns boolean
return(GetSpellAbilityId()=='A06V')
endfunction
function BJX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetSpellTargetUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A06W')
call TriggerSleepAction(.5)
call AddSpecialEffectLocBJ(GetUnitLoc(bj_lastCreatedUnit),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call IssueImmediateOrderById(bj_lastCreatedUnit,852096)
call DestroyEffect(bj_lastCreatedEffect)
call UnitApplyTimedLifeBJ(3.,'BTLF',bj_lastCreatedUnit)
endfunction
function BKX takes nothing returns boolean
return(GetSpellAbilityId()=='A010')
endfunction
function BLX takes nothing returns nothing
call UnitAddAbility(udg_unit07,'A011')
call IssueImmediateOrderById(udg_unit07,852155)
call UnitRemoveAbility(udg_unit07,'A011')
set udg_unit07=GetTriggerUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,false)
call TriggerSleepAction(.01)
call SetUnitAnimation(udg_unit07,"birth")
call SetUnitTimeScalePercent(udg_unit07,100.)
call SetUnitFlyHeight(udg_unit07,40.,40.)
call EnableTrigger(udg_trigger538)
call TriggerSleepAction(1.2)
call SetUnitFlyHeight(udg_unit07,.0,500.)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger538)
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,true)
call SetUnitTimeScalePercent(udg_unit07,100.)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function BMX takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location05)/55.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function BPX takes nothing returns boolean
return(GetSpellAbilityId()=='A07A')
endfunction
function BQX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07E')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function BSX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07A',udg_unit07)==4)
endfunction
function BTX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07D')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function BUX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07A',udg_unit07)==3)
endfunction
function BWX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07C')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function BYX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07A',udg_unit07)==2)
endfunction
function BZX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A07B')
call IssueTargetOrderById(bj_lastCreatedUnit,852171,GetEnumUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',bj_lastCreatedUnit)
endfunction
function B_X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A07A',udg_unit07)==1)
endfunction
function B0X takes nothing returns nothing
set udg_unit07=GetTriggerUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,false)
call TriggerSleepAction(.01)
call SetUnitAnimation(udg_unit07,"birth")
call SetUnitTimeScalePercent(udg_unit07,100.)
call SetUnitFlyHeight(udg_unit07,.0,500.)
call EnableTrigger(udg_trigger540)
call TriggerSleepAction(1.2)
call SetUnitFlyHeight(udg_unit07,400.,400.)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger540)
call TriggerSleepAction(.01)
if(B_X())then
call ForGroupBJ(C3V(215.,GetSpellTargetLoc()),function BZX)
else
if(BYX())then
call ForGroupBJ(C3V(215.,GetSpellTargetLoc()),function BWX)
else
if(BUX())then
call ForGroupBJ(C3V(215.,GetSpellTargetLoc()),function BTX)
else
if(BSX())then
call ForGroupBJ(C3V(215.,GetSpellTargetLoc()),function BQX)
endif
endif
endif
endif
call SetUnitPathing(udg_unit07,true)
call SetUnitTimeScalePercent(udg_unit07,100.)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function B1X takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location05)/55.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function B2X takes nothing returns boolean
return(GetSpellAbilityId()=='A00U')
endfunction
function B3X takes nothing returns nothing
set udg_unit05=GetSpellTargetUnit()
set udg_unit04=GetTriggerUnit()
call EnableTrigger(udg_trigger542)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitTimeScalePercent(GetTriggerUnit(),200.)
call CFV(1.)
call DisableTrigger(udg_trigger542)
call PauseUnit(GetTriggerUnit(),false)
call SetUnitTimeScalePercent(GetTriggerUnit(),'d')
endfunction
function B4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00U',udg_unit04)==4)
endfunction
function B5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00U',udg_unit04)==3)
endfunction
function B6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00U',udg_unit04)==2)
endfunction
function B7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00U',udg_unit04)==1)
endfunction
function B8X takes nothing returns nothing
if(B7X())then
call SetUnitAnimation(udg_unit04,"spell")
call UnitDamageTargetBJ(udg_unit04,udg_unit05,10.,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
if(B6X())then
call SetUnitAnimation(udg_unit04,"spell")
call UnitDamageTargetBJ(udg_unit04,udg_unit05,20.,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
if(B5X())then
call SetUnitAnimation(udg_unit04,"spell")
call UnitDamageTargetBJ(udg_unit04,udg_unit05,30.,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
if(B4X())then
call SetUnitAnimation(udg_unit04,"spell")
call UnitDamageTargetBJ(udg_unit04,udg_unit05,40.,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endif
endfunction
function B9X takes nothing returns boolean
return(GetSpellAbilityId()=='ANfb')or(GetSpellAbilityId()=='A04H')
endfunction
function CVX takes nothing returns boolean
return(B9X())
endfunction
function CEX takes nothing returns nothing
call TriggerSleepAction(.5)
call SetUnitPositionLoc(GetTriggerUnit(),GetUnitLoc(GetSpellTargetUnit()))
endfunction
function CXX takes nothing returns boolean
return(GetSpellAbilityId()=='A00W')
endfunction
function COX takes nothing returns nothing
set udg_unit05=GetSpellTargetUnit()
set udg_unit04=GetTriggerUnit()
call EnableTrigger(udg_trigger545)
call PauseUnit(GetTriggerUnit(),true)
call SetUnitTimeScalePercent(GetTriggerUnit(),300.)
call CFV(1.)
call DisableTrigger(udg_trigger545)
call PauseUnit(GetTriggerUnit(),false)
call SetUnitTimeScalePercent(GetTriggerUnit(),'d')
endfunction
function CRX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00W',udg_unit04)==3)
endfunction
function CIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00W',udg_unit04)==2)
endfunction
function CAX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00W',udg_unit04)==1)
endfunction
function CNX takes nothing returns nothing
if(CAX())then
call SetUnitAnimation(udg_unit04,"attack slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit04,udg_unit05,17.5,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(CIX())then
call SetUnitAnimation(udg_unit04,"attack slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit04,udg_unit05,22.5,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
else
if(CRX())then
call SetUnitAnimation(udg_unit04,"attack slam")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit05),"Abilities\\Spells\\Other\\Stampede\\StampedeMissileDeath.mdl")
call DestroyEffect(bj_lastCreatedEffect)
call UnitDamageTargetBJ(udg_unit04,udg_unit05,27.5,ATTACK_TYPE_CHAOS,DAMAGE_TYPE_NORMAL)
endif
endif
endif
endfunction
function CBX takes nothing returns boolean
return(GetSpellAbilityId()=='Scri')
endfunction
function CCX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Scri',GetTriggerUnit())==4)
endfunction
function CDX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Scri',GetTriggerUnit())==3)
endfunction
function CFX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Scri',GetTriggerUnit())==2)
endfunction
function CGX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('Scri',GetTriggerUnit())==1)
endfunction
function CHX takes nothing returns nothing
if(CGX())then
call UnitAddAbility(GetSpellTargetUnit(),'Asds')
call CFV(15.)
call UnitRemoveAbility(GetSpellTargetUnit(),'Asds')
else
if(CFX())then
call UnitAddAbility(GetSpellTargetUnit(),'Asds')
call CFV(25.)
call UnitRemoveAbility(GetSpellTargetUnit(),'Asds')
else
if(CDX())then
call UnitAddAbility(GetSpellTargetUnit(),'Asds')
call CFV(35.)
call UnitRemoveAbility(GetSpellTargetUnit(),'Asds')
else
if(CCX())then
call UnitAddAbility(GetSpellTargetUnit(),'Asds')
call CFV(45.)
call UnitRemoveAbility(GetSpellTargetUnit(),'Asds')
endif
endif
endif
endif
endfunction
function CJX takes nothing returns boolean
return(GetSpellAbilityId()=='A043')
endfunction
function CKX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A043',GetTriggerUnit())==3)
endfunction
function CLX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A043',GetTriggerUnit())==2)
endfunction
function CMX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A043',GetTriggerUnit())==1)
endfunction
function CPX takes nothing returns nothing
if(CMX())then
call ModifyHeroStat(0,GetTriggerUnit(),0,10)
call ModifyHeroStat(1,GetTriggerUnit(),0,10)
call ModifyHeroStat(2,GetTriggerUnit(),0,10)
call TriggerSleepAction(30.)
call ModifyHeroStat(0,GetTriggerUnit(),1,10)
call ModifyHeroStat(1,GetTriggerUnit(),1,10)
call ModifyHeroStat(2,GetTriggerUnit(),1,10)
else
if(CLX())then
call ModifyHeroStat(0,GetTriggerUnit(),0,20)
call ModifyHeroStat(1,GetTriggerUnit(),0,20)
call ModifyHeroStat(2,GetTriggerUnit(),0,20)
call TriggerSleepAction(30.)
call ModifyHeroStat(0,GetTriggerUnit(),1,20)
call ModifyHeroStat(1,GetTriggerUnit(),1,20)
call ModifyHeroStat(2,GetTriggerUnit(),1,20)
else
if(CKX())then
call ModifyHeroStat(0,GetTriggerUnit(),0,30)
call ModifyHeroStat(1,GetTriggerUnit(),0,30)
call ModifyHeroStat(2,GetTriggerUnit(),0,30)
call TriggerSleepAction(30.)
call ModifyHeroStat(0,GetTriggerUnit(),1,30)
call ModifyHeroStat(1,GetTriggerUnit(),1,30)
call ModifyHeroStat(2,GetTriggerUnit(),1,30)
endif
endif
endif
endfunction
function CQX takes nothing returns boolean
return(GetSpellAbilityId()=='A00I')
endfunction
function CSX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00I',udg_unit07)==4)
endfunction
function CTX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00I',udg_unit07)==3)
endfunction
function CUX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00I',udg_unit07)==2)
endfunction
function CWX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00I',udg_unit07)==1)
endfunction
function CYX takes nothing returns nothing
set udg_unit07=GetTriggerUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
call UnitAddAbility(udg_unit07,'A00N')
call IssueImmediateOrderById(udg_unit07,852155)
call UnitRemoveAbility(udg_unit07,'A00N')
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,false)
call TriggerSleepAction(.01)
call SetUnitAnimation(udg_unit07,"attack")
call SetUnitTimeScalePercent(udg_unit07,50.)
call SetUnitFlyHeight(udg_unit07,200.,500.)
call EnableTrigger(udg_trigger549)
call TriggerSleepAction(1.2)
call SetUnitFlyHeight(udg_unit07,.0,500.)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger549)
if(CWX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00J')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(CUX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00K')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(CTX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00L')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(CSX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00M')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endif
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,true)
call SetUnitTimeScalePercent(udg_unit07,100.)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function CZX takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location05)/55.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function C_X takes nothing returns boolean
return(GetSpellAbilityId()=='AOcl')
endfunction
function C0X takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00G')
call IssueTargetOrderById(bj_lastCreatedUnit,852119,GetEnumUnit())
endfunction
function C1X takes nothing returns nothing
call ForGroupBJ(C3V(500.,GetUnitLoc(GetSpellTargetUnit())),function C0X)
endfunction
function C2X takes nothing returns boolean
return(GetSpellAbilityId()=='A008')
endfunction
function C3X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A008',udg_unit07)==4)
endfunction
function C4X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A008',udg_unit07)==3)
endfunction
function C5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A008',udg_unit07)==2)
endfunction
function C6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A008',udg_unit07)==1)
endfunction
function C7X takes nothing returns nothing
set udg_unit07=GetTriggerUnit()
set udg_location04=GetUnitLoc(udg_unit07)
set udg_location05=GetSpellTargetLoc()
call UnitAddAbility(udg_unit07,'Arav')
call IssueImmediateOrderById(udg_unit07,852155)
call UnitRemoveAbility(udg_unit07,'Arav')
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,false)
call TriggerSleepAction(.01)
call SetUnitAnimation(udg_unit07,"attack slam")
call SetUnitTimeScalePercent(udg_unit07,40.)
call SetUnitFlyHeight(udg_unit07,500.,500.)
call EnableTrigger(udg_trigger552)
call TriggerSleepAction(1.2)
call SetUnitFlyHeight(udg_unit07,.0,500.)
call TriggerSleepAction(.2)
call DisableTrigger(udg_trigger552)
if(C6X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'AOws')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(C5X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A009')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(C4X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00A')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
else
if(C3X())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit07),GetUnitLoc(udg_unit07),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00B')
call UnitApplyTimedLifeBJ(4.,'BTLF',bj_lastCreatedUnit)
endif
endif
endif
endif
call IssueImmediateOrderById(bj_lastCreatedUnit,852127)
call TriggerSleepAction(.01)
call SetUnitPathing(udg_unit07,true)
call SetUnitTimeScalePercent(udg_unit07,100.)
call RemoveLocation(udg_location04)
call RemoveLocation(udg_location05)
endfunction
function C8X takes nothing returns nothing
set udg_location06=GetUnitLoc(udg_unit07)
set udg_location07=CJV(udg_location06,(DistanceBetweenPoints(udg_location04,udg_location05)/55.),GetUnitFacing(udg_unit07))
call RemoveLocation(udg_location06)
call SetUnitPositionLoc(udg_unit07,udg_location07)
call RemoveLocation(udg_location07)
endfunction
function C9X takes nothing returns boolean
return(GetSpellAbilityId()=='ANdr')
endfunction
function DVX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01S')
call IssueTargetOrderById(bj_lastCreatedUnit,852480,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(15.,'BTLF',bj_lastCreatedUnit)
endfunction
function DEX takes nothing returns boolean
return(GetSpellAbilityId()=='A067')
endfunction
function DXX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A067',udg_unit04)==4)
endfunction
function DOX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A067',udg_unit04)==3)
endfunction
function DRX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A067',udg_unit04)==2)
endfunction
function DIX takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A067',udg_unit04)==1)
endfunction
function DAX takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
if(DIX())then
call EnableTrigger(udg_trigger555)
call SetUnitTimeScalePercent(udg_unit04,25.)
call SetUnitAnimation(udg_unit04,"death")
call UnitAddAbility(udg_unit04,'A06A')
call TriggerSleepAction(3.25)
call UnitRemoveAbility(udg_unit04,'A06A')
call SetUnitTimeScalePercent(udg_unit04,100.)
call DisableTrigger(udg_trigger555)
else
if(DRX())then
call EnableTrigger(udg_trigger555)
call SetUnitTimeScalePercent(udg_unit04,25.)
call SetUnitAnimation(udg_unit04,"death")
call UnitAddAbility(udg_unit04,'A06A')
call TriggerSleepAction(4.25)
call UnitRemoveAbility(udg_unit04,'A06A')
call SetUnitTimeScalePercent(udg_unit04,100.)
call DisableTrigger(udg_trigger555)
else
if(DOX())then
call EnableTrigger(udg_trigger555)
call SetUnitTimeScalePercent(udg_unit04,25.)
call SetUnitAnimation(udg_unit04,"death")
call UnitAddAbility(udg_unit04,'A06A')
call TriggerSleepAction(5.25)
call UnitRemoveAbility(udg_unit04,'A06A')
call SetUnitTimeScalePercent(udg_unit04,100.)
call DisableTrigger(udg_trigger555)
else
if(DXX())then
call EnableTrigger(udg_trigger555)
call SetUnitTimeScalePercent(udg_unit04,25.)
call SetUnitAnimation(udg_unit04,"death")
call UnitAddAbility(udg_unit04,'A06A')
call TriggerSleepAction(6.25)
call UnitRemoveAbility(udg_unit04,'A06A')
call SetUnitTimeScalePercent(udg_unit04,100.)
call DisableTrigger(udg_trigger555)
endif
endif
endif
endif
endfunction
function DNX takes nothing returns boolean
return(GetFilterUnit()!=udg_unit04)
endfunction
function DBX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_unit04),GetUnitLoc(udg_unit04),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01S')
call IssueTargetOrderById(bj_lastCreatedUnit,852480,GetEnumUnit())
call UnitApplyTimedLifeBJ(1.5,'BTLF',bj_lastCreatedUnit)
endfunction
function DCX takes nothing returns nothing
call ForGroupBJ(C1V(612.,GetUnitLoc(udg_unit04),Condition(function DNX)),function DBX)
endfunction
function DDX takes nothing returns boolean
return(GetSpellAbilityId()=='A01S')
endfunction
function DFX takes nothing returns nothing
local unit udg_unit06
set udg_unit06=GetSpellTargetUnit()
set udg_integer02=(udg_integer02+1)
set udg_units01[udg_integer02]=GetSpellAbilityUnit()
set udg_units02[udg_integer02]=GetSpellTargetUnit()
call SetUnitPathing(udg_unit06,false)
call UnitWakeUp(udg_unit06)
call GroupAddUnit(udg_group01,udg_unit06)
call EnableTrigger(udg_trigger557)
call TriggerSleepAction(10.)
call DisableTrigger(udg_trigger557)
call SetUnitPathing(udg_unit06,true)
call GroupRemoveUnit(udg_group01,udg_unit06)
endfunction
function DGX takes nothing returns boolean
return(GetUnitCurrentOrder(udg_units01[bj_forLoopAIndex])!=852480)or(DistanceBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))<=250.)or(IsUnitDeadBJ(udg_units02[bj_forLoopAIndex]))or(IsUnitDeadBJ(udg_units01[bj_forLoopAIndex]))
endfunction
function DHX takes nothing returns boolean
return(IsUnitInGroup(udg_units02[bj_forLoopAIndex],udg_group01))and(DGX())
endfunction
function DJX takes nothing returns boolean
return(IsUnitInGroup(udg_units02[bj_forLoopAIndex],udg_group01))
endfunction
function DKX takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=udg_integer02
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(DHX())then
call SetUnitPositionLoc(udg_units02[bj_forLoopAIndex],CJV(GetUnitLoc(udg_units02[bj_forLoopAIndex]),-5.,AngleBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))))
call IssueImmediateOrderById(udg_units01[bj_forLoopAIndex],851972)
call SetUnitPathing(udg_units02[bj_forLoopAIndex],true)
call UnitWakeUp(udg_units02[bj_forLoopAIndex])
call GroupRemoveUnit(udg_group01,udg_units02[bj_forLoopAIndex])
endif
if(DJX())then
call SetUnitPositionLoc(udg_units02[bj_forLoopAIndex],CJV(GetUnitLoc(udg_units02[bj_forLoopAIndex]),5.,AngleBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))))
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function DLX takes nothing returns boolean
return(GetSpellAbilityId()=='ANfd')
endfunction
function DMX takes nothing returns boolean
return(GetRandomReal(0,'d')<=20.)
endfunction
function DPX takes nothing returns nothing
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A01S')
call IssueTargetOrderById(bj_lastCreatedUnit,852480,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(15.,'BTLF',bj_lastCreatedUnit)
if(DMX())then
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),GetUnitLoc(GetTriggerUnit()),bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A064')
call IssueTargetOrderById(bj_lastCreatedUnit,852527,GetSpellTargetUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',bj_lastCreatedUnit)
endif
endfunction
function DQX takes nothing returns boolean
return(GetSpellAbilityId()=='Amls')
endfunction
function DSX takes nothing returns nothing
local unit udg_unit06
set udg_unit06=GetSpellTargetUnit()
set udg_integer02=(udg_integer02+1)
set udg_units01[udg_integer02]=GetSpellAbilityUnit()
set udg_units02[udg_integer02]=GetSpellTargetUnit()
call SetUnitPathing(udg_unit06,false)
call UnitWakeUp(udg_unit06)
call GroupAddUnit(udg_group01,udg_unit06)
call TriggerSleepAction(10.)
call SetUnitPathing(udg_unit06,true)
call GroupRemoveUnit(udg_group01,udg_unit06)
endfunction
function DTX takes nothing returns boolean
return(GetUnitCurrentOrder(udg_units01[bj_forLoopAIndex])!=852480)or(DistanceBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))<=250.)or(IsUnitDeadBJ(udg_units02[bj_forLoopAIndex]))or(IsUnitDeadBJ(udg_units01[bj_forLoopAIndex]))
endfunction
function DUX takes nothing returns boolean
return(IsUnitInGroup(udg_units02[bj_forLoopAIndex],udg_group01))and(DTX())
endfunction
function DWX takes nothing returns boolean
return(IsUnitInGroup(udg_units02[bj_forLoopAIndex],udg_group01))
endfunction
function DYX takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=udg_integer02
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(DUX())then
call SetUnitPositionLoc(udg_units02[bj_forLoopAIndex],CJV(GetUnitLoc(udg_units02[bj_forLoopAIndex]),-5.,AngleBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))))
call IssueImmediateOrderById(udg_units01[bj_forLoopAIndex],851972)
call SetUnitPathing(udg_units02[bj_forLoopAIndex],true)
call UnitWakeUp(udg_units02[bj_forLoopAIndex])
call GroupRemoveUnit(udg_group01,udg_units02[bj_forLoopAIndex])
endif
if(DWX())then
call SetUnitPositionLoc(udg_units02[bj_forLoopAIndex],CJV(GetUnitLoc(udg_units02[bj_forLoopAIndex]),5.,AngleBetweenPoints(GetUnitLoc(udg_units02[bj_forLoopAIndex]),GetUnitLoc(udg_units01[bj_forLoopAIndex]))))
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function DZX takes nothing returns boolean
return(GetSpellAbilityId()=='A004')
endfunction
function D_X takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
call TriggerSleepAction(1.)
call SetUnitPositionLoc(udg_unit05,GetUnitLoc(udg_unit04))
endfunction
function D0X takes nothing returns boolean
return(GetSpellAbilityId()=='A07N')
endfunction
function D1X takes nothing returns nothing
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
call TriggerSleepAction(1.)
call SetUnitPositionLoc(udg_unit05,GetUnitLoc(udg_unit04))
endfunction
function D2X takes nothing returns boolean
return(GetSpellAbilityId()=='AUcs')
endfunction
function D3X takes nothing returns nothing
set udg_location02=GetSpellTargetLoc()
set udg_location01=GetUnitLoc(GetTriggerUnit())
set udg_location03=CJV(udg_location01,900.,AngleBetweenPoints(udg_location01,udg_location02))
call ShowUnitHide(GetTriggerUnit())
call TriggerSleepAction(1.)
call SetUnitPositionLoc(GetTriggerUnit(),udg_location03)
call ShowUnitShow(GetTriggerUnit())
call SelectUnitForPlayerSingle(GetTriggerUnit(),GetOwningPlayer(GetTriggerUnit()))
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function D4X takes nothing returns boolean
return(GetSpellAbilityId()=='A055')
endfunction
function D5X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A055',GetTriggerUnit())==4)
endfunction
function D6X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A055',GetTriggerUnit())==3)
endfunction
function D7X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A055',GetTriggerUnit())==2)
endfunction
function D8X takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A055',GetTriggerUnit())==1)
endfunction
function D9X takes nothing returns nothing
set udg_location02=GetSpellTargetLoc()
set udg_location01=GetUnitLoc(GetTriggerUnit())
set udg_location03=CJV(udg_location01,1000.,AngleBetweenPoints(udg_location01,udg_location02))
if(D8X())then
call TriggerSleepAction(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),udg_location03,bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'Amnx')
call AddSpecialEffectLocBJ(udg_location03,"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call KillUnit(bj_lastCreatedUnit)
else
if(D7X())then
call TriggerSleepAction(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),udg_location03,bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00R')
call AddSpecialEffectLocBJ(udg_location03,"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call KillUnit(bj_lastCreatedUnit)
else
if(D6X())then
call TriggerSleepAction(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),udg_location03,bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00S')
call AddSpecialEffectLocBJ(udg_location03,"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call KillUnit(bj_lastCreatedUnit)
else
if(D5X())then
call TriggerSleepAction(.5)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(GetTriggerUnit()),udg_location03,bj_UNIT_FACING)
call UnitAddAbility(bj_lastCreatedUnit,'A00T')
call AddSpecialEffectLocBJ(udg_location03,"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call KillUnit(bj_lastCreatedUnit)
else
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endif
endif
endif
endif
endfunction
function FVX takes nothing returns boolean
return(GetSpellAbilityId()=='A003')
endfunction
function FEX takes nothing returns nothing
set udg_integer01=0
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location02=GetUnitLoc(udg_unit04)
set udg_location01=GetUnitLoc(udg_unit05)
set udg_real01=AngleBetweenPoints(udg_location02,udg_location01)
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location03)
call EnableTrigger(udg_trigger566)
endfunction
function FXX takes nothing returns nothing
call KillDestructable(GetEnumDestructable())
endfunction
function FOX takes nothing returns boolean
return(DistanceBetweenPoints(udg_location01,udg_location03)<5.)
endfunction
function FRX takes nothing returns boolean
return(udg_integer01>=20)
endfunction
function FIX takes nothing returns nothing
set udg_integer01=(udg_integer01+1)
set udg_location02=GetUnitLoc(udg_unit05)
set udg_location01=CJV(udg_location02,50.,udg_real01)
call SetUnitPositionLocFacingBJ(udg_unit05,udg_location01,GetUnitFacing(udg_unit05))
set udg_location03=GetUnitLoc(udg_unit05)
if(FOX())then
call CQV(192.,udg_location01,function FXX)
else
call SetUnitPositionLoc(udg_unit05,udg_location03)
call DisableTrigger(GetTriggeringTrigger())
endif
if(FRX())then
call DisableTrigger(GetTriggeringTrigger())
endif
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function FAX takes nothing returns boolean
return(GetSpellAbilityId()=='A007')
endfunction
function FNX takes nothing returns nothing
set udg_integer01=0
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location02=GetUnitLoc(udg_unit04)
set udg_location01=GetUnitLoc(udg_unit05)
set udg_real01=AngleBetweenPoints(udg_location02,udg_location01)
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location03)
call EnableTrigger(udg_trigger566)
endfunction
function FBX takes nothing returns nothing
call KillDestructable(GetEnumDestructable())
endfunction
function FCX takes nothing returns boolean
return(DistanceBetweenPoints(udg_location01,udg_location03)<5.)
endfunction
function FDX takes nothing returns boolean
return(udg_integer01>=20)
endfunction
function FFX takes nothing returns nothing
set udg_integer01=(udg_integer01+1)
set udg_location02=GetUnitLoc(udg_unit05)
set udg_location01=CJV(udg_location02,50.,udg_real01)
call SetUnitPositionLocFacingBJ(udg_unit05,udg_location01,GetUnitFacing(udg_unit05))
set udg_location03=GetUnitLoc(udg_unit05)
if(FCX())then
call CQV(192.,udg_location01,function FBX)
else
call SetUnitPositionLoc(udg_unit05,udg_location03)
call DisableTrigger(GetTriggeringTrigger())
endif
if(FDX())then
call DisableTrigger(GetTriggeringTrigger())
endif
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function FGX takes nothing returns boolean
return(GetSpellAbilityId()=='A056')
endfunction
function FHX takes nothing returns nothing
set udg_integer01=0
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location02=GetUnitLoc(udg_unit04)
set udg_location01=GetUnitLoc(udg_unit05)
set udg_real01=AngleBetweenPoints(udg_location02,udg_location01)
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location03)
call EnableTrigger(udg_trigger570)
endfunction
function FJX takes nothing returns nothing
call KillDestructable(GetEnumDestructable())
endfunction
function FKX takes nothing returns boolean
return(DistanceBetweenPoints(udg_location01,udg_location03)<5.)
endfunction
function FLX takes nothing returns boolean
return(udg_integer01>=20)
endfunction
function FMX takes nothing returns nothing
set udg_integer01=(udg_integer01+1)
set udg_location02=GetUnitLoc(udg_unit05)
set udg_location01=CJV(udg_location02,50.,udg_real01)
call SetUnitPositionLocFacingBJ(udg_unit05,udg_location01,GetUnitFacing(udg_unit05))
set udg_location03=GetUnitLoc(udg_unit05)
if(FKX())then
call CQV(192.,udg_location01,function FJX)
else
call SetUnitPositionLoc(udg_unit05,udg_location03)
call DisableTrigger(GetTriggeringTrigger())
endif
if(FLX())then
call DisableTrigger(GetTriggeringTrigger())
endif
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function FPX takes nothing returns boolean
return(GetSpellAbilityId()=='AHca')
endfunction
function FQX takes nothing returns nothing
set udg_integer01=0
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location02=GetUnitLoc(udg_unit04)
set udg_location01=GetUnitLoc(udg_unit05)
set udg_real01=AngleBetweenPoints(udg_location02,udg_location01)
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location03)
call EnableTrigger(udg_trigger572)
endfunction
function FSX takes nothing returns nothing
call KillDestructable(GetEnumDestructable())
endfunction
function FTX takes nothing returns boolean
return(DistanceBetweenPoints(udg_location01,udg_location03)<5.)
endfunction
function FUX takes nothing returns boolean
return(udg_integer01>=5)
endfunction
function FWX takes nothing returns nothing
set udg_integer01=(udg_integer01+1)
set udg_location02=GetUnitLoc(udg_unit05)
set udg_location01=CJV(udg_location02,50.,udg_real01)
call SetUnitPositionLocFacingBJ(udg_unit05,udg_location01,GetUnitFacing(udg_unit05))
set udg_location03=GetUnitLoc(udg_unit05)
if(FTX())then
call CQV(192.,udg_location01,function FSX)
else
call SetUnitPositionLoc(udg_unit05,udg_location03)
call DisableTrigger(GetTriggeringTrigger())
endif
if(FUX())then
call DisableTrigger(GetTriggeringTrigger())
endif
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function FYX takes nothing returns boolean
return(GetSpellAbilityId()=='A077')or(GetSpellAbilityId()=='A078')or(GetSpellAbilityId()=='A076')or(GetSpellAbilityId()=='A079')
endfunction
function FZX takes nothing returns boolean
return(FYX())
endfunction
function F_X takes nothing returns nothing
set udg_integer01=0
set udg_unit04=GetSpellAbilityUnit()
set udg_unit05=GetSpellTargetUnit()
set udg_location02=GetUnitLoc(udg_unit04)
set udg_location01=GetUnitLoc(udg_unit05)
set udg_real01=AngleBetweenPoints(udg_location02,udg_location01)
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location03)
call EnableTrigger(udg_trigger574)
endfunction
function F0X takes nothing returns nothing
call KillDestructable(GetEnumDestructable())
endfunction
function F1X takes nothing returns boolean
return(DistanceBetweenPoints(udg_location01,udg_location03)<5.)
endfunction
function F2X takes nothing returns boolean
return(udg_integer01>=5)
endfunction
function F3X takes nothing returns nothing
set udg_integer01=(udg_integer01+1)
set udg_location02=GetUnitLoc(udg_unit05)
set udg_location01=CJV(udg_location02,50.,udg_real01)
call SetUnitPositionLocFacingBJ(udg_unit05,udg_location01,GetUnitFacing(udg_unit05))
set udg_location03=GetUnitLoc(udg_unit05)
if(F1X())then
call CQV(192.,udg_location01,function F0X)
else
call SetUnitPositionLoc(udg_unit05,udg_location03)
call DisableTrigger(GetTriggeringTrigger())
endif
if(F2X())then
call DisableTrigger(GetTriggeringTrigger())
endif
call RemoveLocation(udg_location02)
call RemoveLocation(udg_location01)
call RemoveLocation(udg_location03)
endfunction
function F4X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit18)==Player(11))
endfunction
function F5X takes nothing returns nothing
call SetUnitOwner(udg_unit18,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit69,GetOwningPlayer(GetTriggerUnit()),true)
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Skull Collector :Sell me the skull and I will pay you good money.|r")
endfunction
function F6X takes nothing returns boolean
return(UnitHasItemOfTypeBJ(udg_unit69,'gopr'))
endfunction
function F7X takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_unit69,'gopr'))
call AdjustPlayerStateBJ(750,GetOwningPlayer(udg_unit69),PLAYER_STATE_RESOURCE_GOLD)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function F8X takes nothing returns boolean
return(UnitHasItemOfTypeBJ(udg_unit69,'shwd'))
endfunction
function F9X takes nothing returns nothing
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_unit69,'shwd'))
call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_unit69),PLAYER_STATE_RESOURCE_GOLD)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"UI\\Feedback\\GoldCredit\\GoldCredit.mdl")
call DestroyEffect(bj_lastCreatedEffect)
endfunction
function GVX takes nothing returns boolean
return(GetOwningPlayer(udg_unit18)==GetOwningPlayer(GetTriggerUnit()))
endfunction
function GEX takes nothing returns nothing
call SetUnitOwner(udg_unit18,Player(11),true)
call SetUnitOwner(udg_unit69,Player(11),true)
endfunction
function GXX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'sand'))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function GOX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect206))
endfunction
function GRX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'sand'))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function GIX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect207))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'sand'))
endfunction
function GAX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function GNX takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Town Airport :Make sure that you have buy the ticket ,if not the gun turrent will attack you to death.")
endfunction
function GBX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetEnteringUnit(),'sand')==false)and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO))
endfunction
function GCX takes nothing returns nothing
call IssueTargetOrderById(udg_unit177,851983,GetEnteringUnit())
call IssueTargetOrderById(udg_unit178,851983,GetEnteringUnit())
endfunction
function GDX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_GROUND))and(GetUnitStateSwap(UNIT_STATE_MANA,GetEnteringUnit())<500.)
endfunction
function GFX takes nothing returns boolean
return(GDX())
endfunction
function GGX takes nothing returns nothing
call SetUnitOwner(udg_unit63,GetOwningPlayer(GetEnteringUnit()),true)
endfunction
function GHX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_GROUND))and(GetUnitStateSwap(UNIT_STATE_MANA,GetEnteringUnit())<500.)
endfunction
function GJX takes nothing returns boolean
return(GHX())
endfunction
function GKX takes nothing returns nothing
call SetUnitOwner(udg_unit64,GetOwningPlayer(GetEnteringUnit()),true)
endfunction
function GLX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_GROUND))and(GetUnitStateSwap(UNIT_STATE_LIFE,GetEnteringUnit())<300.)
endfunction
function GMX takes nothing returns boolean
return(GLX())
endfunction
function GPX takes nothing returns nothing
call SetUnitOwner(udg_unit42,GetOwningPlayer(GetEnteringUnit()),true)
call SetUnitOwner(udg_unit236,GetOwningPlayer(GetEnteringUnit()),true)
endfunction
function GQX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetEnteringUnit(),UNIT_TYPE_GROUND))and(GetUnitStateSwap(UNIT_STATE_LIFE,GetEnteringUnit())<300.)
endfunction
function GSX takes nothing returns boolean
return(GQX())
endfunction
function GTX takes nothing returns nothing
call SetUnitOwner(udg_unit62,GetOwningPlayer(GetEnteringUnit()),true)
call SetUnitOwner(udg_unit43,GetOwningPlayer(GetEnteringUnit()),true)
endfunction
function GUX takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetLeavingUnit(),UNIT_TYPE_GROUND))
endfunction
function GWX takes nothing returns boolean
return(GUX())
endfunction
function GYX takes nothing returns nothing
call SetUnitOwner(udg_unit63,Player(11),true)
endfunction
function GZX takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetLeavingUnit(),UNIT_TYPE_GROUND))
endfunction
function G_X takes nothing returns boolean
return(GZX())
endfunction
function G0X takes nothing returns nothing
call SetUnitOwner(udg_unit64,Player(11),true)
endfunction
function G1X takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetLeavingUnit(),UNIT_TYPE_GROUND))
endfunction
function G2X takes nothing returns boolean
return(G1X())
endfunction
function G3X takes nothing returns nothing
call SetUnitOwner(udg_unit42,Player(11),true)
call SetUnitPositionLoc(udg_unit42,GetRectCenter(udg_rect246))
call IssueImmediateOrderById(udg_unit42,851972)
call SetUnitOwner(udg_unit236,Player(11),true)
call SetUnitPositionLoc(udg_unit236,GetRectCenter(udg_rect247))
call IssueImmediateOrderById(udg_unit236,851972)
endfunction
function G4X takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_MECHANICAL))and(IsUnitType(GetLeavingUnit(),UNIT_TYPE_GROUND))
endfunction
function G5X takes nothing returns boolean
return(G4X())
endfunction
function G6X takes nothing returns nothing
call SetUnitOwner(udg_unit62,Player(11),true)
call SetUnitPositionLoc(udg_unit62,GetRectCenter(udg_rect248))
call IssueImmediateOrderById(udg_unit62,851972)
call SetUnitOwner(udg_unit43,Player(11),true)
call SetUnitPositionLoc(udg_unit43,GetRectCenter(udg_rect249))
call IssueImmediateOrderById(udg_unit43,851972)
endfunction
function G7X takes nothing returns boolean
return(GetLeavingUnit()==udg_unit42)
endfunction
function G8X takes nothing returns nothing
call SetUnitOwner(udg_unit42,Player(11),true)
call SetUnitPositionLoc(GetLeavingUnit(),GetRectCenter(udg_rect246))
call IssueImmediateOrderById(GetLeavingUnit(),851972)
endfunction
function G9X takes nothing returns boolean
return(GetLeavingUnit()==udg_unit236)
endfunction
function HVX takes nothing returns nothing
call SetUnitOwner(udg_unit236,Player(11),true)
call SetUnitPositionLoc(GetLeavingUnit(),GetRectCenter(udg_rect247))
call IssueImmediateOrderById(GetLeavingUnit(),851972)
endfunction
function HEX takes nothing returns boolean
return(GetLeavingUnit()==udg_unit62)
endfunction
function HXX takes nothing returns nothing
call SetUnitOwner(udg_unit62,Player(11),true)
call SetUnitPositionLoc(GetLeavingUnit(),GetRectCenter(udg_rect248))
call IssueImmediateOrderById(GetLeavingUnit(),851972)
endfunction
function HOX takes nothing returns boolean
return(GetLeavingUnit()==udg_unit43)
endfunction
function HRX takes nothing returns nothing
call SetUnitOwner(udg_unit43,Player(11),true)
call SetUnitPositionLoc(GetLeavingUnit(),GetRectCenter(udg_rect249))
call IssueImmediateOrderById(GetLeavingUnit(),851972)
endfunction
function HIX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ward'))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function HAX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect87))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'ward'))
endfunction
function HNX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'crys'))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function HBX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect86))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'crys'))
endfunction
function HCX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'lhst'))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function HDX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect85))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'lhst'))
endfunction
function HFX takes nothing returns boolean
return(UnitHasItemOfTypeBJ(GetTriggerUnit(),'lhst')==false)and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'crys')==false)and(UnitHasItemOfTypeBJ(GetTriggerUnit(),'ward')==false)
endfunction
function HGX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect121))
call DisplayTextToForce(C8V(GetOwningPlayer(GetTriggerUnit())),"You are now arrest by police.Because you are not buying ticket for corssing subway.")
endfunction
function HHX takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|c00ff0000The time is 7 am. School doors open at 10 am and shut at 10:45 am. Dont be late or you miss out for the day..|r")
call PingMinimapLocForForce(bj_FORCE_ALL_PLAYERS,GetRectCenter(udg_rect188),5.)
endfunction
function HJX takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|c00ff0000School door is open. You have 45 mins to get here before it closes. School is now in session..|r")
call ModifyGateBJ(1,udg_destructable39)
endfunction
function HKX takes nothing returns nothing
call ModifyGateBJ(0,udg_destructable39)
endfunction
function HLX takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|c00ff0000The time is now 4 pm. School is out. Please exit the school or be locked in overnight.|r")
call ModifyGateBJ(1,udg_destructable39)
call TriggerSleepAction(180.)
call ModifyGateBJ(0,udg_destructable39)
endfunction
function HMX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(udg_unit34)==Player(11))
endfunction
function HPX takes nothing returns nothing
call SetUnitOwner(udg_unit34,GetOwningPlayer(GetTriggerUnit()),true)
call SetUnitOwner(udg_unit47,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function HQX takes nothing returns boolean
return(GetOwningPlayer(udg_unit34)==GetOwningPlayer(GetTriggerUnit()))and(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))
endfunction
function HSX takes nothing returns nothing
call SetUnitOwner(udg_unit34,Player(11),true)
call SetUnitOwner(udg_unit47,Player(11),true)
call StopSoundBJ(bj_lastPlayedSound,true)
endfunction
function HTX takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='nanm')
endfunction
function HUX takes nothing returns nothing
call StopSoundBJ(bj_lastPlayedSound,true)
call PlaySoundBJ(udg_sound02)
call SetSoundVolumeBJ(udg_sound02,100.)
endfunction
function HWX takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='nanb')
endfunction
function HYX takes nothing returns nothing
call StopSoundBJ(bj_lastPlayedSound,true)
call PlaySoundBJ(udg_sound01)
call SetSoundVolumeBJ(udg_sound01,'d')
endfunction
function HZX takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='nanc')
endfunction
function H_X takes nothing returns nothing
call StopSoundBJ(bj_lastPlayedSound,true)
call PlaySoundBJ(udg_sound03)
call SetSoundVolumeBJ(udg_sound03,'d')
endfunction
function H0X takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='nane')
endfunction
function H1X takes nothing returns nothing
call StopSoundBJ(bj_lastPlayedSound,true)
call PlaySoundBJ(udg_sound04)
call SetSoundVolumeBJ(udg_sound04,'d')
endfunction
function H2X takes nothing returns boolean
return(GetUnitTypeId(GetTrainedUnit())=='nano')
endfunction
function H3X takes nothing returns nothing
call StopSoundBJ(bj_lastPlayedSound,true)
endfunction
function H4X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function H5X takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect162))
endfunction
function H6X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function H7X takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect145))
endfunction
function H8X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function H9X takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect06))
endfunction
function JVX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JEX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect137))
endfunction
function JXX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function JOX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect149))
endfunction
function JRX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JIX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect143))
endfunction
function JAX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function JNX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect186))
endfunction
function JBX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JCX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect147))
endfunction
function JDX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function JFX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect126))
endfunction
function JGX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JHX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect141))
endfunction
function JJX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO))and(GetOwningPlayer(GetEnteringUnit())!=Player(11))
endfunction
function JKX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect114))
endfunction
function JLX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JMX takes nothing returns nothing
call SetUnitPositionLoc(GetTriggerUnit(),GetRectCenter(udg_rect139))
endfunction
function JPX takes nothing returns boolean
return(GetSpellAbilityId()=='A01Q')
endfunction
function JQX takes nothing returns nothing
call CFV(.5)
call KillUnit(GetSpellAbilityUnit())
call CreateItemLoc('ajen',GetUnitLoc(GetSpellAbilityUnit()))
endfunction
function JSX takes nothing returns boolean
return(GetSpellAbilityId()=='A01P')
endfunction
function JTX takes nothing returns nothing
call CFV(.5)
call KillUnit(GetSpellAbilityUnit())
call CreateItemLoc('I001',GetUnitLoc(GetSpellAbilityUnit()))
endfunction
function JUX takes nothing returns boolean
return(GetSpellAbilityId()=='A01Y')
endfunction
function JWX takes nothing returns nothing
call CFV(.5)
call KillUnit(GetSpellAbilityUnit())
endfunction
function JYX takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function JZX takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Professional Shooter :Hey what are you looking for?Killing people,I drop that long time ago.")
endfunction
function J_X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function J0X takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Dealership Manager :Choose your car and I give you best discount !|r")
endfunction
function J1X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function J2X takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Nice sword dude ,don't you feel that there are so many souls inside the sword?|r")
endfunction
function J3X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function J4X takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00There are lot of rarely fishes for sell ,some of them can eat ,some of them are posioned .Ah...I really love posion fish...|r")
endfunction
function J5X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function J6X takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00Pet is my partner at home ,that's really suitable for you look so lonely .That dog quite good ,you love it?|r")
endfunction
function J7X takes nothing returns boolean
return(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function J8X takes nothing returns nothing
call DisplayTextToForce(bj_FORCE_ALL_PLAYERS,"|cff974B00I hate the Pet Store ,the sales always agrue with me about my smoky work.Damn it!Is that making the great sword is crime?|r")
endfunction
function J9X takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KVX takes nothing returns nothing
call UnitAddAbility(GetEnteringUnit(),'A08G')
call SetUnitOwner(udg_unit238,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function KEX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KXX takes nothing returns nothing
call UnitAddAbility(GetEnteringUnit(),'A08G')
call SetUnitOwner(udg_unit224,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function KOX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KRX takes nothing returns nothing
call UnitAddAbility(GetEnteringUnit(),'A08G')
call SetUnitOwner(udg_unit239,GetOwningPlayer(GetTriggerUnit()),true)
endfunction
function KIX takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KAX takes nothing returns nothing
call UnitRemoveAbility(GetLeavingUnit(),'A08G')
call SetUnitOwner(udg_unit238,Player(11),true)
endfunction
function KNX takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KBX takes nothing returns nothing
call UnitRemoveAbility(GetLeavingUnit(),'A08G')
call SetUnitOwner(udg_unit224,Player(11),true)
endfunction
function KCX takes nothing returns boolean
return(IsUnitType(GetLeavingUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KDX takes nothing returns nothing
call UnitRemoveAbility(GetLeavingUnit(),'A08G')
call SetUnitOwner(udg_unit239,Player(11),true)
endfunction
function KFX takes nothing returns boolean
return(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=null)
endfunction
function KGX takes nothing returns nothing
call DisplayTextToForce(C8V(GetOwningPlayer(GetEnteringUnit())),"|cff974B00Priest: Congragulations ,get your rings and get out here!I really pissed off why you guys and bitches can be still have love in an arena!|r")
call TriggerSleepAction(2)
call CreateItemLoc('wolg',GetRectCenter(udg_rect88))
call CreateItemLoc('wtlg',GetRectCenter(udg_rect130))
endfunction
function main2 takes nothing returns nothing
local weathereffect we
local destructable d
local trigger t
local real life
local integer itemID
local player p
local unit u
local integer unitID
local integer KHX
local integer KJX
local version v
local integer DXV
local integer i
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(udg_trigger01,Player(qaz),"-cheat",false)
set qaz=qaz+1
endloop
call TriggerAddAction(udg_trigger01,function CheatUse)
call TriggerAddAction(udg_trigger02,function Cheatz)
call SetCameraBounds(-13568.+GetCameraMargin(CAMERA_MARGIN_LEFT),-7680.+GetCameraMargin(CAMERA_MARGIN_BOTTOM),10112.-GetCameraMargin(CAMERA_MARGIN_RIGHT),15360.-GetCameraMargin(CAMERA_MARGIN_TOP),-13568.+GetCameraMargin(CAMERA_MARGIN_LEFT),15360.-GetCameraMargin(CAMERA_MARGIN_TOP),10112.-GetCameraMargin(CAMERA_MARGIN_RIGHT),-7680.+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
call NewSoundEnvironment("Default")
call SetAmbientDaySound("CityScapeDay")
call SetAmbientNightSound("CityScapeNight")
call SetMapMusic("Music",true,0)
set udg_sound01=CreateSound("Sound\\Music\\mp3Music\\Credits.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound01,"CreditsMusic")
call SetSoundDuration(udg_sound01,83017)
set udg_sound02=CreateSound("Sound\\Music\\mp3Music\\PH1.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound02,"PHMusic")
call SetSoundDuration(udg_sound02,281582)
set udg_sound03=CreateSound("Sound\\Music\\mp3Music\\War2IntroMusic.mp3",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound03,"War2Intro")
call SetSoundDuration(udg_sound03,81136)
set udg_sound04=CreateSound("Sound\\Music\\mp3Music\\SadMystery.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound04,84515)
call SetSoundChannel(udg_sound04,0)
call SetSoundVolume(udg_sound04,127)
call SetSoundPitch(udg_sound04,1.)
set udg_sound05=CreateSound("Units\\Human\\Jaina\\JainaOnFootDeath1.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound05,"JainaDeath")
call SetSoundDuration(udg_sound05,3146)
set udg_sound06=CreateSound("Units\\NightElf\\Huntress\\SentinelDeath1.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(udg_sound06,"SentinelDeath")
call SetSoundDuration(udg_sound06,2101)
set udg_sound07=CreateSound("Sound\\Interface\\Warning.wav",false,false,false,10,10,"")
call SetSoundParamsFromLabel(udg_sound07,"Warning")
call SetSoundDuration(udg_sound07,1904)
set udg_rect01=Rect(-3552.,-640.,-3392.,-512.)
set udg_rect02=Rect(-3328.,-640.,-3200.,-512.)
set udg_rect03=Rect(1216.,4000.,1600.,4768.)
set udg_rect04=Rect(-6624.,-5632.,-6336.,-5344.)
set udg_rect05=Rect(7264.,5568.,7840.,6176.)
set udg_rect06=Rect(-1440.,5760.,-992.,6144.)
set udg_rect07=Rect(352.,-6592.,832.,-6176.)
set udg_rect08=Rect(672.,6272.,1184.,6848.)
set udg_rect09=Rect(-6880.,-6368.,-6688.,-6176.)
set udg_rect10=Rect(-8864.,3392.,-8672.,3680.)
set udg_rect11=Rect(-3456.,-256.,-3328.,-128.)
set udg_rect12=Rect(-2624.,-256.,-2496.,-128.)
set udg_rect13=Rect(-4096.,6848.,-3968.,6976.)
set udg_rect14=Rect(-3904.,2624.,-3776.,2752.)
set udg_rect15=Rect(-5696.,9856.,-3168.,11232.)
set udg_rect16=Rect(9568.,-7328.,9760.,-7136.)
set udg_rect17=Rect(-480.,-4640.,-352.,-4480.)
set udg_rect18=Rect(768.,-5216.,1088.,-4896.)
set udg_rect19=Rect(-8704.,-2336.,-8512.,-1920.)
set udg_rect20=Rect(-11936.,4704.,-11744.,4896.)
set udg_rect21=Rect(7520.,12000.,7712.,12192.)
set udg_rect22=Rect(-12000.,4064.,-11744.,4384.)
set udg_rect23=Rect(-11808.,-5792.,-11616.,-5600.)
set udg_rect24=Rect(1504.,-7456.,1696.,-7264.)
set udg_rect25=Rect(-4384.,-1440.,-4192.,-1248.)
set udg_rect26=Rect(4448.,8224.,4640.,8416.)
set udg_rect27=Rect(-4704.,12000.,-4512.,12192.)
set udg_rect28=Rect(-1632.,11936.,-1440.,12128.)
set udg_rect29=Rect(7072.,-4576.,7264.,-4384.)
set udg_rect30=Rect(-12576.,13920.,-12384.,14112.)
set udg_rect31=Rect(-11104.,608.,-10912.,800.)
set udg_rect32=Rect(-10208.,5984.,-10016.,6176.)
set udg_rect33=Rect(-4256.,10784.,-4064.,10976.)
set udg_rect34=Rect(-4256.,10016.,-4064.,10208.)
set udg_rect35=Rect(352.,-160.,544.,32.)
set udg_rect36=Rect(1696.,1760.,1888.,1952.)
set udg_rect37=Rect(2720.,-736.,2912.,-544.)
set udg_rect38=Rect(4256.,992.,4448.,1184.)
set udg_rect39=Rect(-9920.,-3520.,-9600.,-3072.)
set udg_rect40=Rect(-7872.,-7616.,-5760.,-6016.)
set udg_rect41=Rect(-9280.,10656.,-8864.,11072.)
set udg_rect42=Rect(7520.,-2496.,7680.,-2304.)
set udg_rect43=Rect(-3424.,-4384.,-3296.,-4192.)
set udg_rect44=Rect(-2816.,-4640.,-2688.,-4448.)
set udg_rect45=Rect(-3712.,-4640.,-3584.,-4448.)
set udg_rect46=Rect(4768.,10656.,4928.,10816.)
set udg_rect47=Rect(-7712.,-6272.,-7136.,-6080.)
set udg_rect48=Rect(-7712.,-7584.,-7136.,-7392.)
set udg_rect49=Rect(-9248.,10752.,-9056.,11040.)
set udg_rect50=Rect(1216.,4000.,1600.,4768.)
set udg_rect51=Rect(-9376.,2848.,-8768.,3232.)
set udg_rect52=Rect(-3040.,10688.,-2336.,11104.)
set udg_rect53=Rect(2400.,6624.,2592.,6816.)
set udg_rect54=Rect(3008.,-5472.,3136.,-4992.)
set udg_rect55=Rect(4288.,-5472.,4416.,-4992.)
set udg_rect56=Rect(3552.,-4448.,3840.,-4256.)
set udg_rect57=Rect(6912.,3840.,7488.,4096.)
set udg_rect58=Rect(8992.,-4192.,9280.,-3424.)
set udg_rect59=Rect(7200.,4768.,7424.,4960.)
set udg_rect60=Rect(6400.,3008.,6656.,3232.)
set udg_rect61=Rect(3456.,1472.,3680.,1760.)
set udg_rect62=Rect(5440.,-2432.,5984.,-1856.)
set udg_rect63=Rect(7008.,3488.,7360.,3840.)
set udg_rect64=Rect(6016.,4064.,10080.,7072.)
set udg_rect65=Rect(-768.,-4736.,-640.,-4608.)
set udg_rect66=Rect(-11936.,4512.,-11744.,4704.)
set udg_rect67=Rect(-9920.,-3520.,-9792.,-3392.)
set udg_rect68=Rect(3936.,-4864.,4128.,-4640.)
set udg_rect69=Rect(7936.,4352.,8064.,4480.)
set udg_rect70=Rect(-2496.,-7360.,-2368.,-7232.)
set udg_rect71=Rect(6976.,2496.,7104.,2624.)
set udg_rect72=Rect(-3264.,-4384.,-3136.,-4224.)
set udg_rect73=Rect(-3616.,8096.,-3424.,8288.)
set udg_rect74=Rect(-736.,14688.,-544.,14880.)
set udg_rect75=Rect(-1888.,15008.,-1696.,15200.)
set udg_rect76=Rect(-1952.,9952.,-1760.,10144.)
set udg_rect77=Rect(800.,4064.,992.,4256.)
set udg_rect78=Rect(4928.,6272.,5056.,6400.)
set udg_rect79=Rect(-4864.,-7360.,-4736.,-7232.)
set udg_rect80=Rect(-2816.,-4800.,-2688.,-4672.)
set udg_rect81=Rect(-3712.,-4800.,-3584.,-4672.)
set udg_rect82=Rect(-5440.,-4416.,-5312.,-4288.)
set udg_rect83=Rect(-2528.,-2016.,-2336.,-1824.)
set udg_rect84=Rect(-6464.,-7168.,-5824.,-6816.)
set udg_rect85=Rect(-10368.,6560.,-10176.,6784.)
set udg_rect86=Rect(5024.,12896.,5216.,13120.)
set udg_rect87=Rect(8480.,-3904.,8672.,-3680.)
set udg_rect88=Rect(-8704.,-2048.,-8576.,-1920.)
set udg_rect89=Rect(-3136.,-7424.,-2944.,-7200.)
set udg_rect90=Rect(-544.,-7584.,160.,-7136.)
set udg_rect91=Rect(7008.,13632.,10240.,15360.)
set udg_rect92=Rect(8512.,12224.,10240.,13632.)
set udg_rect93=Rect(352.,5152.,576.,5376.)
set udg_rect94=Rect(1728.,3872.,2368.,3936.)
set udg_rect95=Rect(-7040.,896.,-6912.,1056.)
set udg_rect96=Rect(-5312.,-7360.,-5184.,-7232.)
set udg_rect97=Rect(-4800.,-5952.,-4416.,-5824.)
set udg_rect98=Rect(-4224.,-7424.,-3904.,-7104.)
set udg_rect99=Rect(-6208.,256.,-6080.,416.)
set udg_rect100=Rect(-6272.,1856.,-6144.,1984.)
set udg_rect101=Rect(-6944.,2496.,-6816.,2624.)
set udg_rect102=Rect(-2720.,-672.,-2624.,-544.)
set udg_rect103=Rect(-2624.,-672.,-2528.,-544.)
set udg_rect104=Rect(-2528.,3008.,-2400.,3136.)
set udg_rect105=Rect(-3072.,3008.,-2944.,3136.)
set udg_rect106=Rect(-6304.,-5344.,-6240.,-5280.)
set udg_rect107=Rect(-6144.,-672.,-6048.,-544.)
set udg_rect108=Rect(-6848.,-992.,-6752.,-896.)
set udg_rect109=Rect(4448.,-4576.,5024.,-3680.)
set udg_rect110=Rect(4448.,-4576.,5024.,-4384.)
set udg_rect111=Rect(6496.,8320.,9952.,11200.)
set udg_rect112=Rect(-9504.,-7776.,-7936.,-6048.)
set udg_rect113=Rect(-7040.,512.,-6912.,640.)
set udg_rect114=Rect(-2848.,4352.,-2496.,4576.)
set udg_rect115=Rect(-896.,5504.,-768.,5632.)
set udg_rect116=Rect(-3200.,4864.,-3072.,4992.)
set udg_rect117=Rect(-2880.,5824.,-2752.,5952.)
set udg_rect118=Rect(-768.,6272.,-640.,6400.)
set udg_rect119=Rect(-1472.,4800.,-1344.,4928.)
set udg_rect120=Rect(-1984.,6336.,-1856.,6464.)
set udg_rect121=Rect(-7712.,-7680.,-7104.,-7232.)
set udg_rect122=Rect(-7744.,-6464.,-7072.,-6048.)
set udg_rect123=Rect(1888.,3360.,2208.,3648.)
set udg_rect124=Rect(-9088.,1600.,-8832.,1920.)
set udg_rect125=Rect(7808.,576.,8096.,864.)
set udg_rect126=Rect(-3360.,5664.,-3072.,6112.)
set udg_rect127=Rect(-448.,-1504.,5024.,2624.)
set udg_rect128=Rect(-6688.,2880.,-6368.,3200.)
set udg_rect129=Rect(-3488.,-5216.,-2912.,-5088.)
set udg_rect130=Rect(-8704.,-2336.,-8576.,-2208.)
set udg_rect131=Rect(-6848.,2880.,-6720.,3008.)
set udg_rect132=Rect(-5536.,-5216.,-5184.,-5184.)
set udg_rect133=Rect(-3328.,3072.,-3200.,3200.)
set udg_rect134=Rect(-2048.,3072.,-1920.,3232.)
set udg_rect135=Rect(-8256.,5216.,-7392.,5632.)
set udg_rect136=Rect(-1088.,5696.,-960.,5824.)
set udg_rect137=Rect(-768.,5632.,-640.,5760.)
set udg_rect138=Rect(-2944.,4480.,-2816.,4608.)
set udg_rect139=Rect(-3104.,4960.,-2976.,5088.)
set udg_rect140=Rect(-3136.,5824.,-3008.,5952.)
set udg_rect141=Rect(-2880.,5952.,-2752.,6080.)
set udg_rect142=Rect(-512.,6336.,-384.,6464.)
set udg_rect143=Rect(-640.,6144.,-512.,6272.)
set udg_rect144=Rect(-1728.,5056.,-1600.,5184.)
set udg_rect145=Rect(-1376.,4896.,-1248.,5024.)
set udg_rect146=Rect(-2176.,6528.,-2048.,6656.)
set udg_rect147=Rect(-1888.,6464.,-1760.,6592.)
set udg_rect148=Rect(832.,-6592.,1312.,-6176.)
set udg_rect149=Rect(-640.,6432.,-352.,6720.)
set udg_rect150=Rect(-2272.,-5728.,-1728.,-5216.)
set udg_rect151=Rect(-6720.,-5216.,-6336.,-4864.)
set udg_rect152=Rect(-6176.,-5696.,-5792.,-5344.)
set udg_rect153=Rect(-544.,14592.,-384.,14976.)
set udg_rect154=Rect(2080.,10720.,2272.,10912.)
set udg_rect155=Rect(-3264.,8896.,-2880.,9152.)
set udg_rect156=Rect(-2752.,8896.,-2368.,9152.)
set udg_rect157=Rect(-2688.,8032.,-2528.,8256.)
set udg_rect158=Rect(-2688.,8256.,-2528.,8384.)
set udg_rect159=Rect(-2112.,-5824.,-2016.,-5728.)
set udg_rect160=Rect(-2624.,2560.,-2496.,2688.)
set udg_rect161=Rect(-480.,-6592.,128.,-6176.)
set udg_rect162=Rect(-2016.,5120.,-1664.,5568.)
set udg_rect163=Rect(1920.,4480.,2144.,4704.)
set udg_rect164=Rect(.0,3712.,2912.,7008.)
set udg_rect165=Rect(9760.,1696.,9952.,1888.)
set udg_rect166=Rect(-9088.,-352.,-8832.,-32.)
set udg_rect167=Rect(7808.,-384.,8096.,-96.)
set udg_rect168=Rect(-6144.,768.,-6016.,896.)
set udg_rect169=Rect(-6240.,1248.,-6048.,1408.)
set udg_rect170=Rect(-3936.,-3552.,-3616.,-3232.)
set udg_rect171=Rect(2816.,9984.,3616.,10912.)
set udg_rect172=Rect(3680.,10432.,3840.,10592.)
set udg_rect173=Rect(-7360.,6624.,-7072.,6880.)
set udg_rect174=Rect(7680.,-3008.,7904.,-2720.)
set udg_rect175=Rect(4064.,6112.,4256.,6304.)
set udg_rect176=Rect(1184.,7264.,4640.,10336.)
set udg_rect177=Rect(-9856.,6368.,-9568.,6944.)
set udg_rect178=Rect(-11808.,-5600.,-11616.,-5440.)
set udg_rect179=Rect(4704.,12224.,5536.,12544.)
set udg_rect180=Rect(-96.,-5344.,96.,-4832.)
set udg_rect181=Rect(-3488.,10720.,-3168.,11040.)
set udg_rect182=Rect(-1312.,-7584.,-992.,-7264.)
set udg_rect183=Rect(-1248.,-7584.,-768.,-7168.)
set udg_rect184=Rect(6016.,14432.,6816.,15104.)
set udg_rect185=Rect(6880.,2112.,7200.,2432.)
set udg_rect186=Rect(-2496.,6464.,-2112.,6720.)
set udg_rect187=Rect(-6816.,7904.,-6624.,8096.)
set udg_rect188=Rect(2112.,8256.,3776.,9568.)
set udg_rect189=Rect(-8416.,-3424.,-8096.,-3104.)
set udg_rect190=Rect(-5664.,-2464.,-5472.,-2272.)
set udg_rect191=Rect(8768.,4416.,8896.,5216.)
set udg_rect192=Rect(9024.,4416.,9152.,5216.)
set udg_rect193=Rect(9280.,4416.,9408.,5216.)
set udg_rect194=Rect(9504.,4416.,9632.,5216.)
set udg_rect195=Rect(9792.,4416.,9920.,5216.)
set udg_rect196=Rect(8768.,5632.,8896.,6688.)
set udg_rect197=Rect(9024.,5632.,9152.,6688.)
set udg_rect198=Rect(9280.,5632.,9408.,6688.)
set udg_rect199=Rect(9536.,5632.,9664.,6688.)
set udg_rect200=Rect(9792.,5632.,9920.,6688.)
set udg_rect201=Rect(-9184.,10272.,-8992.,10464.)
set udg_rect202=Rect(7776.,13408.,7968.,13600.)
set udg_rect203=Rect(8288.,12896.,8480.,13088.)
set udg_rect204=Rect(7936.,13056.,8192.,13344.)
set udg_rect205=Rect(-5888.,-1792.,-5632.,-1504.)
set udg_rect206=Rect(-5600.,-2048.,-5408.,-1856.)
set udg_rect207=Rect(6560.,14688.,6752.,14880.)
set udg_rect208=Rect(-3616.,6688.,-3424.,6880.)
set udg_rect209=Rect(-1376.,3616.,-1184.,3808.)
set udg_rect210=Rect(3552.,-5376.,3840.,-4896.)
set udg_rect211=Rect(2432.,-4000.,2592.,-3840.)
set udg_rect212=Rect(3296.,-4864.,3488.,-4640.)
set udg_rect213=Rect(2592.,-4384.,2784.,-4192.)
set udg_rect214=Rect(2592.,-4928.,2784.,-4736.)
set udg_rect215=Rect(3232.,-2784.,3424.,-2592.)
set udg_rect216=Rect(2752.,-2624.,3136.,-2400.)
set udg_rect217=Rect(3360.,-3328.,4192.,-2816.)
set udg_rect218=Rect(-6304.,-672.,-1440.,2592.)
set udg_rect219=Rect(-1632.,4672.,-1504.,4800.)
set udg_rect220=Rect(-1024.,5376.,-896.,5504.)
set udg_rect221=Rect(-896.,6400.,-768.,6528.)
set udg_rect222=Rect(-2112.,6208.,-1984.,6336.)
set udg_rect223=Rect(-2880.,5696.,-2752.,5824.)
set udg_rect224=Rect(-3328.,4736.,-3200.,4864.)
set udg_rect225=Rect(-1312.,4064.,-1120.,4256.)
set udg_rect226=Rect(-1600.,4160.,-1440.,4320.)
set udg_rect227=Rect(-6784.,-5984.,-6048.,-5728.)
set udg_rect228=Rect(-1696.,-3840.,-1600.,-3712.)
set udg_rect229=Rect(-1504.,-5408.,-1280.,-4768.)
set udg_rect230=Rect(-7104.,-4160.,-6816.,-3584.)
set udg_rect231=Rect(-4864.,15008.,-4736.,15136.)
set udg_rect232=Rect(-4608.,15008.,-4480.,15136.)
set udg_rect233=Rect(-4352.,15008.,-4224.,15136.)
set udg_rect234=Rect(-8928.,-7072.,-8608.,-6752.)
set udg_rect235=Rect(-9376.,-7072.,-9056.,-6752.)
set udg_rect236=Rect(-9376.,-7584.,-9056.,-7264.)
set udg_rect237=Rect(-8928.,-7584.,-8608.,-7264.)
set udg_rect238=Rect(-8480.,-7584.,-8160.,-7264.)
set udg_rect239=Rect(-13024.,-6976.,-12608.,-6528.)
set udg_rect240=Rect(4448.,-5056.,5024.,-3712.)
set udg_rect241=Rect(2400.,-5024.,2976.,-3680.)
set udg_rect242=Rect(-7840.,9824.,-7520.,10144.)
set udg_rect243=Rect(6240.,-1088.,6432.,-736.)
set udg_rect244=Rect(6240.,-1696.,6432.,-1376.)
set udg_rect245=Rect(5952.,-1888.,6432.,-544.)
set udg_rect246=Rect(6016.,-928.,6112.,-832.)
set udg_rect247=Rect(6016.,-1024.,6112.,-928.)
set udg_rect248=Rect(6016.,-1568.,6112.,-1472.)
set udg_rect249=Rect(6016.,-1664.,6112.,-1568.)
set udg_rect250=Rect(9056.,-7168.,9184.,-7040.)
set udg_rect251=Rect(9056.,-7296.,9184.,-7168.)
set udg_rect252=Rect(9056.,-7424.,9184.,-7296.)
set udg_rect253=Rect(9504.,-4768.,9824.,-4448.)
set udg_rect254=Rect(2976.,-448.,3520.,128.)
set udg_rect255=Rect(9504.,3008.,10080.,3648.)
set udg_rect256=Rect(2944.,992.,3488.,1568.)
set udg_rect257=Rect(1216.,992.,1760.,1568.)
set udg_rect258=Rect(1216.,-480.,1760.,96.)
set udg_rect259=Rect(-11776.,-4096.,-11232.,-3520.)
set udg_rect260=Rect(8096.,-6816.,8640.,-6240.)
set udg_rect261=Rect(1760.,3968.,2304.,4544.)
set udg_rect262=Rect(-6016.,-1952.,-5472.,-1376.)
set udg_rect263=Rect(2112.,-448.,2656.,128.)
set udg_rect264=Rect(8128.,10400.,8672.,10976.)
set udg_rect265=Rect(1152.,-512.,3552.,1632.)
set udg_rect266=Rect(2400.,-832.,2688.,-576.)
call SetPlayerTechResearched(Player(0),'Rhme',3)
call SetPlayerTechResearched(Player(0),'Rhra',3)
call SetPlayerTechResearched(Player(0),'Rhhb',1)
call SetPlayerTechResearched(Player(0),'Rhar',3)
call SetPlayerTechResearched(Player(0),'Rhgb',1)
call SetPlayerTechResearched(Player(0),'Rhac',3)
call SetPlayerTechResearched(Player(0),'Rhde',1)
call SetPlayerTechResearched(Player(0),'Rhan',1)
call SetPlayerTechResearched(Player(0),'Rhpt',2)
call SetPlayerTechResearched(Player(0),'Rhst',2)
call SetPlayerTechResearched(Player(0),'Rhcd',1)
call SetPlayerTechResearched(Player(0),'Rhfs',1)
call SetPlayerTechResearched(Player(0),'Rhfc',1)
call SetPlayerTechResearched(Player(0),'Rhpm',1)
call SetPlayerTechResearched(Player(0),'Rhrt',1)
call SetPlayerTechResearched(Player(0),'Rhss',1)
call SetPlayerTechResearched(Player(0),'Rhfl',1)
call SetPlayerTechResearched(Player(0),'Rhse',1)
call SetPlayerTechResearched(Player(0),'Rhlh',2)
call SetPlayerTechResearched(Player(0),'Rhri',1)
call SetPlayerTechResearched(Player(0),'Rhla',3)
call SetPlayerTechResearched(Player(10),'Rume',3)
call SetPlayerTechResearched(Player(10),'Rura',3)
call SetPlayerTechResearched(Player(10),'Ruar',3)
call SetPlayerTechResearched(Player(10),'Ruac',1)
call SetPlayerTechResearched(Player(10),'Rugf',1)
call SetPlayerTechResearched(Player(10),'Ruwb',1)
call SetPlayerTechResearched(Player(10),'Rusf',1)
call SetPlayerTechResearched(Player(10),'Rune',2)
call SetPlayerTechResearched(Player(10),'Ruba',2)
call SetPlayerTechResearched(Player(10),'Rufb',1)
call SetPlayerTechResearched(Player(10),'Rusl',1)
call SetPlayerTechResearched(Player(10),'Rucr',3)
call SetPlayerTechResearched(Player(10),'Rupc',1)
call SetPlayerTechResearched(Player(10),'Rusm',1)
call SetPlayerTechResearched(Player(10),'Rubu',1)
call SetPlayerTechResearched(Player(10),'Rusp',1)
call SetPlayerTechResearched(Player(10),'Ruex',1)
call SetPlayerTechResearched(Player(10),'Rupm',1)
set udg_destructable56=CreateDestructable('ATg1',2240.,13440.,270.,.9,0)
set udg_destructable52=CreateDestructable('ATg1',6464.,13760.,270.,.9,0)
set udg_destructable42=CreateDestructable('B001',-2432.,9856.,270.,.9,0)
set udg_destructable33=CreateDestructable('B002',-2688.,10624.,270.,.9,0)
set udg_destructable03=CreateDestructable('DTg1',-7424.,-7168.,270.,.9,0)
set udg_destructable31=CreateDestructable('DTg1',-9088.,3328.,270.,.9,0)
set udg_destructable05=CreateDestructable('DTg1',-6144.,-7040.,270.,.9,0)
set udg_destructable04=CreateDestructable('DTg1',-7424.,-6528.,270.,.9,0)
set udg_destructable46=CreateDestructable('DTg3',1152.,4416.,.0,.9,0)
set udg_destructable51=CreateDestructable('DTg3',6912.,14784.,.0,.9,0)
set udg_destructable35=CreateDestructable('DTg3',-8896.,10880.,.0,.9,0)
set udg_destructable34=CreateDestructable('DTg5',4992.,10112.,270.,.9,0)
set udg_destructable30=CreateDestructable('DTg5',6656.,6272.,270.,.9,0)
set udg_destructable09=CreateDestructable('DTg5',7168.,3968.,270.,.9,0)
set udg_destructable49=CreateDestructable('DTg7',-11136.,3904.,.0,.9,0)
set udg_destructable29=CreateDestructable('DTg7',8320.,2304.,.0,.9,0)
set udg_destructable63=CreateDestructable('Dofw',2624.,-448.,90.,1.,0)
set udg_destructable62=CreateDestructable('Dofw',1792.,-448.,90.,1.,0)
set udg_destructable61=CreateDestructable('Dofw',2944.,-448.,90.,1.,0)
set udg_destructable65=CreateDestructable('Dofw',3456.,1024.,.0,1.,0)
set udg_destructable66=CreateDestructable('Dofw',3456.,256.,.0,1.,0)
set udg_destructable67=CreateDestructable('Dofw',3456.,.0,.0,1.,0)
set udg_destructable68=CreateDestructable('Dofw',1280.,1088.,.0,1.,0)
set udg_destructable60=CreateDestructable('Dofw',2048.,1472.,90.,1.,0)
set udg_destructable69=CreateDestructable('Dofw',1280.,320.,.0,1.,0)
set udg_destructable59=CreateDestructable('Dofw',2624.,1472.,90.,1.,0)
set udg_destructable58=CreateDestructable('Dofw',1792.,1472.,90.,1.,0)
set udg_destructable57=CreateDestructable('Dofw',2944.,1472.,90.,1.,0)
set udg_destructable64=CreateDestructable('Dofw',2048.,-448.,90.,1.,0)
set udg_destructable70=CreateDestructable('Dofw',1280.,64.,.0,1.,0)
set udg_destructable23=CreateDestructable('LTe1',-4864.,-2048.,270.,.9,0)
set udg_destructable22=CreateDestructable('LTe1',3712.,-3456.,270.,.9,0)
set udg_destructable21=CreateDestructable('LTe1',-2176.,2432.,270.,.9,0)
set udg_destructable20=CreateDestructable('LTe1',-3200.,2432.,270.,.9,0)
set udg_destructable15=CreateDestructable('LTe1',-2432.,-3072.,270.,.9,0)
set udg_destructable36=CreateDestructable('LTe1',-7680.,10624.,270.,.9,0)
set udg_destructable37=CreateDestructable('LTe1',-8320.,8448.,270.,.9,0)
set udg_destructable38=CreateDestructable('LTe1',-4864.,8192.,270.,.9,0)
set udg_destructable55=CreateDestructable('LTe1',-448.,12160.,270.,.9,0)
set udg_destructable54=CreateDestructable('LTe1',-3520.,12160.,270.,.9,0)
set udg_destructable41=CreateDestructable('LTe1',-2944.,7936.,270.,.9,0)
set udg_destructable14=CreateDestructable('LTe1',-6528.,3328.,270.,.9,0)
set udg_destructable43=CreateDestructable('LTe1',320.,-2560.,270.,.9,0)
set udg_destructable10=CreateDestructable('LTe1',-7808.,5504.,270.,.9,0)
set udg_destructable08=CreateDestructable('LTe1',-4608.,-5888.,270.,.9,0)
set udg_destructable06=CreateDestructable('LTe1',-5376.,-5120.,270.,.9,0)
set udg_destructable25=CreateDestructable('LTe1',-2816.,-6016.,270.,.9,0)
set udg_destructable01=CreateDestructable('LTe1',-6400.,-5888.,270.,.9,0)
set udg_destructable47=CreateDestructable('LTe3',-10496.,128.,.0,.9,0)
set udg_destructable02=CreateDestructable('LTe3',-6912.,-3968.,.0,.9,0)
set udg_destructable12=CreateDestructable('LTe3',-1408.,-5120.,.0,.9,0)
set udg_destructable13=CreateDestructable('LTe3',-7808.,128.,.0,.9,0)
set udg_destructable16=CreateDestructable('LTe3',-5248.,576.,.0,.9,0)
set udg_destructable40=CreateDestructable('LTe3',2048.,10432.,.0,.9,0)
set udg_destructable17=CreateDestructable('LTe3',-5248.,1600.,.0,.9,0)
set udg_destructable18=CreateDestructable('LTe3',-2688.,512.,.0,.9,0)
set udg_destructable19=CreateDestructable('LTe3',-3328.,512.,.0,.9,0)
set udg_destructable24=CreateDestructable('LTe3',-7808.,2048.,.0,.9,0)
set udg_destructable26=CreateDestructable('LTe3',2304.,-6912.,.0,.9,0)
set udg_destructable48=CreateDestructable('LTe3',-10496.,2048.,.0,.9,0)
set udg_destructable28=CreateDestructable('LTg1',9024.,-2432.,270.,.9,0)
set udg_destructable32=CreateDestructable('LTg1',-128.,9984.,270.,.9,0)
set udg_destructable39=CreateDestructable('LTg1',3328.,8192.,270.,.9,0)
set udg_destructable07=CreateDestructable('LTg1',-3200.,-5120.,270.,.9,0)
set udg_destructable27=CreateDestructable('LTg1',-128.,8576.,270.,.9,0)
set udg_destructable11=CreateDestructable('LTg3',.0,-5056.,.0,.9,0)
set udg_destructable44=CreateDestructable('LTg3',1408.,-4224.,.0,.9,0)
set udg_destructable50=CreateDestructable('LTg3',128.,14784.,.0,.9,0)
set udg_destructable45=CreateDestructable('LTg3',768.,-4224.,.0,.9,0)
set udg_destructable53=CreateDestructable('ZTd6',-5120.,14784.,.0,.9,0)
set udg_item12=CreateItem('I00J',7062.1,5272.4)
set udg_item11=CreateItem('I00K',7218.2,5273.8)
set udg_item08=CreateItem('I00L',-6498.5,-6521.8)
set udg_item10=CreateItem('I00M',-6291.8,-6521.)
set udg_item07=CreateItem('I00N',-7737.1,6609.5)
set udg_item09=CreateItem('I00O',-7938.7,6604.6)
call CreateItem('I00V',-6488.7,6643.6)
call CreateItem('I00V',-6486.7,6553.3)
call CreateItem('I00V',-6488.8,6727.4)
call CreateItem('kymn',7050.5,5743.6)
call CreateItem('kymn',6962.9,5740.9)
call CreateItem('kymn',7147.4,5744.7)
call CreateItem('kysn',-6257.6,-7324.7)
call CreateItem('kysn',-6168.4,-7316.1)
call CreateItem('kysn',-6083.6,-7310.9)
call CreateItem('thle',7144.3,5171.1)
call CreateItem('thle',-7834.6,6508.4)
call CreateItem('thle',-6412.1,-6468.1)
set p=Player(15)
set u=CreateUnit(p,'nmr7',-9152.,-4672.,270.)
call SetUnitColor(u,ConvertPlayerColor(0))
set udg_unit37=CreateUnit(p,'nmer',-3328.,10880.,270.)
call SetUnitColor(udg_unit37,ConvertPlayerColor(11))
set u=CreateUnit(p,'n00C',-3264.,-576.,270.)
set u=CreateUnit(p,'n00C',-3456.,-576.,270.)
set u=CreateUnit(p,'n00C',-1984.,3136.,270.)
set u=CreateUnit(p,'n00C',-3264.,3136.,270.)
set u=CreateUnit(p,'n00C',-6976.,576.,270.)
set u=CreateUnit(p,'n00C',-6080.,832.,270.)
set u=CreateUnit(p,'n00C',-6144.,1344.,270.)
set u=CreateUnit(p,'n00C',-6848.,3136.,270.)
set udg_unit84=CreateUnit(p,'nmr3',-8256.,-3264.,270.)
call SetUnitColor(udg_unit84,ConvertPlayerColor(8))
set u=CreateUnit(p,'ncp2',-4064.,-7264.,270.)
set u=CreateUnit(p,'nefm',896.,-5056.,270.)
set u=CreateUnit(p,'nmr2',1152.,-6272.,270.)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'ngad',4544.,2048.,270.)
set u=CreateUnit(p,'ngme',-7488.,-3264.,270.)
set u=CreateUnit(p,'nmr8',-7488.,-4672.,270.)
call SetUnitColor(u,ConvertPlayerColor(9))
set udg_unit121=CreateUnit(p,'n00E',-8320.,-7424.,270.)
call SetUnitColor(udg_unit121,ConvertPlayerColor(3))
set u=CreateUnit(p,'nef1',4160.,6208.,270.)
set u=CreateUnit(p,'nmrc',512.,-6272.,270.)
call SetUnitColor(u,ConvertPlayerColor(4))
set u=CreateUnit(p,'nwgt',7936.,704.,270.)
call WaygateSetDestination(u,GetRectCenterX(udg_rect124),GetRectCenterY(udg_rect124))
call WaygateActivate(u,true)
call SetUnitColor(u,ConvertPlayerColor(11))
set udg_unit137=CreateUnit(p,'nef5',-544.,-2784.,270.)
set u=CreateUnit(p,'nmrd',960.,6592.,270.)
call SetUnitColor(u,ConvertPlayerColor(3))
set udg_unit97=CreateUnit(p,'nwgt',-8960.,1728.,270.)
call WaygateSetDestination(udg_unit97,GetRectCenterX(udg_rect125),GetRectCenterY(udg_rect125))
call WaygateActivate(udg_unit97,true)
call SetUnitColor(udg_unit97,ConvertPlayerColor(11))
set u=CreateUnit(p,'nmr5',-9216.,-3264.,270.)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'nfoh',2368.,576.,270.)
set u=CreateUnit(p,'nmr6',9792.,2624.,270.)
call SetUnitColor(u,ConvertPlayerColor(6))
set udg_unit100=CreateUnit(p,'nef5',8608.,96.,270.)
set udg_unit101=CreateUnit(p,'nef5',8608.,1248.,270.)
set udg_unit102=CreateUnit(p,'nef5',-4640.,160.,270.)
set udg_unit103=CreateUnit(p,'nef5',-4640.,1184.,270.)
set u=CreateUnit(p,'nwgt',-7168.,6784.,270.)
call WaygateSetDestination(u,GetRectCenterX(udg_rect174),GetRectCenterY(udg_rect174))
call WaygateActivate(u,true)
call SetUnitColor(u,ConvertPlayerColor(0))
set u=CreateUnit(p,'nwgt',7808.,-2880.,270.)
call WaygateSetDestination(u,GetRectCenterX(udg_rect173),GetRectCenterY(udg_rect173))
call WaygateActivate(u,true)
call SetUnitColor(u,ConvertPlayerColor(0))
set udg_unit142=CreateUnit(p,'hshy',-12832.,-6752.,270.)
set udg_unit87=CreateUnit(p,'nwgt',-8960.,-192.,270.)
call WaygateSetDestination(udg_unit87,GetRectCenterX(udg_rect167),GetRectCenterY(udg_rect167))
call WaygateActivate(udg_unit87,true)
call SetUnitColor(udg_unit87,ConvertPlayerColor(11))
set u=CreateUnit(p,'nwgt',7936.,-256.,270.)
call WaygateSetDestination(u,GetRectCenterX(udg_rect166),GetRectCenterY(udg_rect166))
call WaygateActivate(u,true)
call SetUnitColor(u,ConvertPlayerColor(11))
set u=CreateUnit(p,'nmr9',-11456.,-6272.,270.)
set udg_unit104=CreateUnit(p,'nef5',-2528.,1568.,270.)
set udg_unit105=CreateUnit(p,'nef5',-2848.,1568.,270.)
set udg_unit106=CreateUnit(p,'nef5',-2208.,160.,270.)
set udg_unit28=CreateUnit(p,'nef5',-3680.,160.,270.)
set udg_unit116=CreateUnit(p,'nef5',4256.,-6304.,270.)
set u=CreateUnit(p,'n00B',7232.,6848.,270.)
set u=CreateUnit(p,'nmr9',-5056.,-1472.,270.)
set udg_unit59=CreateUnit(p,'n00Z',-8768.,-7424.,270.)
call SetUnitColor(udg_unit59,ConvertPlayerColor(4))
set u=CreateUnit(p,'nmrk',960.,5824.,270.)
call SetUnitColor(u,ConvertPlayerColor(0))
set udg_unit123=CreateUnit(p,'nef5',608.,10272.,270.)
set u=CreateUnit(p,'nmr0',-4672.,8896.,270.)
set udg_unit29=CreateUnit(p,'ntav',-8320.,-6912.,270.)
call SetUnitColor(udg_unit29,ConvertPlayerColor(1))
set udg_unit20=CreateUnit(p,'n00V',-8768.,-6912.,270.)
call SetUnitColor(udg_unit20,ConvertPlayerColor(2))
set udg_unit44=CreateUnit(p,'n00U',-9216.,-6912.,270.)
call SetUnitColor(udg_unit44,ConvertPlayerColor(10))
set u=CreateUnit(p,'nmr0',-8256.,-4672.,270.)
set udg_unit89=CreateUnit(p,'nmer',-1152.,-7424.,270.)
call SetUnitColor(udg_unit89,ConvertPlayerColor(11))
set u=CreateUnit(p,'nmra',64.,-6272.,270.)
call SetUnitColor(u,ConvertPlayerColor(8))
set u=CreateUnit(p,'nfoh',1024.,-7296.,270.)
set u=CreateUnit(p,'nmrb',-320.,-7424.,270.)
call SetUnitColor(u,ConvertPlayerColor(10))
set udg_unit226=CreateUnit(p,'n01G',-9216.,-7424.,270.)
call SetUnitColor(udg_unit226,ConvertPlayerColor(12))
set u=CreateUnit(p,'nfoh',-12416.,14720.,270.)
set u=CreateUnit(p,'nmre',9216.,14720.,270.)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'nmre',8768.,15104.,270.)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'nico',6400.,14720.,270.)
set u=CreateUnit(p,'nfoh',6912.,12288.,270.)
set u=CreateUnit(p,'n017',7616.,12096.,270.)
set u=CreateUnit(p,'ntn2',-12992.,14976.,270.)
set u=CreateUnit(p,'n01E',2688.,-4288.,270.)
set u=CreateUnit(p,'ncnt',8384.,11072.,270.)
set u=CreateUnit(p,'nmr5',9664.,-5952.,270.)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'nmr7',8640.,-4608.,270.)
call SetUnitColor(u,ConvertPlayerColor(0))
set u=CreateUnit(p,'nmr8',8256.,-4608.,270.)
call SetUnitColor(u,ConvertPlayerColor(9))
set u=CreateUnit(p,'ngme',9280.,-4608.,270.)
set udg_unit241=CreateUnit(p,'nmr3',9664.,-4608.,270.)
call SetUnitColor(udg_unit241,ConvertPlayerColor(8))
set udg_unit247=CreateUnit(p,'ntnt',-4608.,-1280.,270.)
set p=Player(0)
set u=CreateUnit(p,'h00C',-7424.,5504.,270.)
set u=CreateUnit(p,'h00C',-8192.,5504.,270.)
set u=CreateUnit(p,'n008',-8768.,3584.,270.)
set u=CreateUnit(p,'hwtw',-6784.,6848.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6784.,6720.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6784.,6592.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6784.,6464.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6144.,6848.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6144.,6720.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6144.,6592.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'hwtw',-6144.,6464.,270.)
call UnitAddItemToSlotById(u,'pclr',0)
call UnitAddItemToSlotById(u,'pclr',1)
call UnitAddItemToSlotById(u,'pclr',2)
call UnitAddItemToSlotById(u,'pclr',3)
call UnitAddItemToSlotById(u,'pclr',4)
call UnitAddItemToSlotById(u,'pclr',5)
set u=CreateUnit(p,'nwc2',-4544.,5184.,270.)
set udg_unit17=CreateUnit(p,'harm',-9088.,6656.,270.)
set u=CreateUnit(p,'hhou',-9280.,5888.,270.)
set u=CreateUnit(p,'hhou',-9024.,5760.,270.)
set u=CreateUnit(p,'hhou',-9152.,5888.,270.)
set u=CreateUnit(p,'hhou',-9280.,5760.,270.)
set u=CreateUnit(p,'hhou',-9152.,5760.,270.)
set u=CreateUnit(p,'hgra',-8832.,5120.,270.)
set u=CreateUnit(p,'ncp3',-6016.,4608.,270.)
set udg_unit90=CreateUnit(p,'h00C',-6912.,3328.,270.)
set udg_unit91=CreateUnit(p,'h00C',-6144.,3328.,270.)
set u=CreateUnit(p,'harm',-3968.,15040.,270.)
set udg_unit233=CreateUnit(p,'osld',-4800.,15168.,270.)
set udg_unit234=CreateUnit(p,'osld',-4544.,15168.,270.)
set udg_unit235=CreateUnit(p,'osld',-4288.,15168.,270.)
set u=CreateUnit(p,'obea',9664.,-1664.,270.)
set p=Player(8)
set u=CreateUnit(p,'hhou',-6720.,-7552.,270.)
set u=CreateUnit(p,'hgtw',-6528.,-7040.,270.)
set udg_unit41=CreateUnit(p,'hbar',-5696.,-6272.,270.)
set u=CreateUnit(p,'hhou',-6720.,-7424.,270.)
set u=CreateUnit(p,'n008',-6784.,-6272.,270.)
set udg_unit81=CreateUnit(p,'hgtw',-6784.,-5888.,270.)
set udg_unit82=CreateUnit(p,'hgtw',-6016.,-5888.,270.)
set udg_unit140=CreateUnit(p,'hgtw',-6016.,-6016.,270.)
set udg_unit139=CreateUnit(p,'hgtw',-6784.,-6016.,270.)
set u=CreateUnit(p,'hhou',-6720.,-7296.,270.)
set u=CreateUnit(p,'hhou',-6848.,-7424.,270.)
set u=CreateUnit(p,'hhou',-6848.,-7552.,270.)
set u=CreateUnit(p,'hwtw',-6400.,-7552.,270.)
call UnitAddItemToSlotById(u,'ratc',0)
call UnitAddItemToSlotById(u,'I00U',1)
call UnitAddItemToSlotById(u,'hslv',2)
call UnitAddItemToSlotById(u,'hslv',3)
call UnitAddItemToSlotById(u,'hslv',4)
call UnitAddItemToSlotById(u,'hslv',5)
set u=CreateUnit(p,'hbar',2816.,13120.,270.)
set u=CreateUnit(p,'ovln',-5824.,-7232.,270.)
set u=CreateUnit(p,'hgtw',1856.,13440.,270.)
set u=CreateUnit(p,'hgtw',2624.,13440.,270.)
set p=Player(9)
set udg_unit32=CreateUnit(p,'hlum',7968.,5920.,270.)
set u=CreateUnit(p,'hvlt',7552.,5888.,270.)
set u=CreateUnit(p,'hatw',8320.,5632.,270.)
set u=CreateUnit(p,'hatw',8320.,4992.,270.)
set u=CreateUnit(p,'hhou',6336.,4544.,270.)
set u=CreateUnit(p,'hhou',6336.,4416.,270.)
set u=CreateUnit(p,'hhou',6336.,4288.,270.)
set u=CreateUnit(p,'hhou',6464.,4416.,270.)
set u=CreateUnit(p,'hhou',6464.,4288.,270.)
set u=CreateUnit(p,'ncp3',6336.,5504.,270.)
set udg_unit76=CreateUnit(p,'hatw',6912.,4096.,270.)
set udg_unit49=CreateUnit(p,'hatw',7424.,4096.,270.)
set p=Player(11)
set udg_unit31=CreateUnit(p,'hhou',832.,4864.,270.)
set udg_unit60=CreateUnit(p,'n001',-2752.,-4736.,270.)
set udg_unit61=CreateUnit(p,'n001',-3648.,-4736.,270.)
set udg_unit93=CreateUnit(p,'hhou',-8256.,-320.,270.)
set udg_unit14=CreateUnit(p,'nC11',-4800.,-7296.,270.)
set udg_unit36=CreateUnit(p,'n001',-3200.,-4288.,270.)
set u=CreateUnit(p,'hcas',-896.,4096.,270.)
set udg_unit131=CreateUnit(p,'hars',256.,-4224.,270.)
set udg_unit132=CreateUnit(p,'hwtw',-640.,-3712.,270.)
call UnitAddItemToSlotById(udg_unit132,'tkno',0)
call UnitAddItemToSlotById(udg_unit132,'tst2',1)
set udg_unit40=CreateUnit(p,'n003',4032.,-4736.,270.)
set udg_unit19=CreateUnit(p,'n006',-5376.,-4352.,270.)
set udg_unit45=CreateUnit(p,'n007',-704.,-4672.,270.)
set udg_unit92=CreateUnit(p,'nef0',4992.,6336.,270.)
set udg_unit50=CreateUnit(p,'nfrt',-3264.,-192.,270.)
set udg_unit51=CreateUnit(p,'nfrt',-2752.,-192.,270.)
set udg_unit52=CreateUnit(p,'nef3',-7616.,384.,270.)
set udg_unit53=CreateUnit(p,'nef7',-3584.,2624.,270.)
set udg_unit54=CreateUnit(p,'nef7',-2560.,2624.,270.)
set udg_unit55=CreateUnit(p,'nef6',-5440.,1856.,270.)
set udg_unit56=CreateUnit(p,'nef6',-5440.,832.,270.)
set udg_unit35=CreateUnit(p,'hwtw',-9088.,640.,270.)
set udg_unit133=CreateUnit(p,'nwc2',-128.,-3712.,270.)
set udg_unit88=CreateUnit(p,'h011',-1984.,10880.,270.)
set u=CreateUnit(p,'negt',-12160.,-5504.,270.)
set udg_unit65=CreateUnit(p,'nC11',-5248.,-7296.,270.)
set udg_unit134=CreateUnit(p,'hhou',-448.,-4096.,270.)
set udg_unit99=CreateUnit(p,'nef3',-7616.,2304.,270.)
set udg_unit135=CreateUnit(p,'hhou',-320.,-4096.,270.)
set udg_unit39=CreateUnit(p,'nef2',-2432.,-7296.,270.)
set udg_unit175=CreateUnit(p,'n01D',3392.,-4736.,270.)
set udg_unit136=CreateUnit(p,'hhou',-576.,-4096.,270.)
set udg_unit138=CreateUnit(p,'n00P',640.,-2432.,90.)
set udg_unit80=CreateUnit(p,'n009',-2432.,-1920.,270.)
set udg_unit94=CreateUnit(p,'hwtw',-9088.,2432.,270.)
set udg_unit95=CreateUnit(p,'hhou',-8128.,1600.,270.)
set udg_unit96=CreateUnit(p,'hars',-8192.,2432.,270.)
set udg_unit98=CreateUnit(p,'hhou',-8256.,1600.,270.)
set u=CreateUnit(p,'ncp3',-5760.,-1664.,270.)
set udg_unit18=CreateUnit(p,'n00F',9856.,1792.,270.)
set udg_unit57=CreateUnit(p,'hars',-8192.,640.,270.)
set udg_unit38=CreateUnit(p,'hhou',-8128.,-320.,270.)
set u=CreateUnit(p,'htow',-7040.,-1664.,270.)
set udg_unit120=CreateUnit(p,'nbt2',4864.,10752.,270.)
set udg_unit108=CreateUnit(p,'nheb',8000.,4416.,270.)
set udg_unit109=CreateUnit(p,'hars',4992.,-6400.,270.)
set udg_unit110=CreateUnit(p,'hwtw',5056.,-7424.,270.)
call UnitAddItemToSlotById(udg_unit110,'tkno',0)
call UnitAddItemToSlotById(udg_unit110,'tst2',1)
set udg_unit111=CreateUnit(p,'nwc2',3904.,-6336.,270.)
set udg_unit113=CreateUnit(p,'hhou',4288.,-7488.,270.)
set udg_unit114=CreateUnit(p,'hhou',4416.,-7488.,270.)
set udg_unit115=CreateUnit(p,'hhou',4544.,-7488.,270.)
set udg_unit117=CreateUnit(p,'nitb',2112.,-6720.,270.)
set udg_unit46=CreateUnit(p,'nmgv',7040.,2560.,270.)
set udg_unit118=CreateUnit(p,'ndt2',-384.,8448.,270.)
set udg_unit129=CreateUnit(p,'haro',2176.,10816.,270.)
set udg_unit124=CreateUnit(p,'hhou',-704.,8768.,270.)
set udg_unit16=CreateUnit(p,'hhou',-832.,8896.,270.)
set udg_unit128=CreateUnit(p,'ndgt',-3520.,8192.,270.)
set udg_unit78=CreateUnit(p,'owtw',1088.,-4800.,270.)
set udg_unit130=CreateUnit(p,'owtw',1088.,-5312.,270.)
set udg_unit127=CreateUnit(p,'nwc2',-3520.,9024.,270.)
call UnitAddItemToSlotById(udg_unit127,'axas',0)
set udg_unit72=CreateUnit(p,'hhou',-832.,8768.,270.)
set udg_unit73=CreateUnit(p,'n00D',-1856.,10048.,270.)
set u=CreateUnit(p,'ncop',-832.,5568.,270.)
set udg_unit126=CreateUnit(p,'hars',-768.,9728.,270.)
set udg_unit22=CreateUnit(p,'hwtw',-832.,10240.,270.)
call UnitAddItemToSlotById(udg_unit22,'tkno',0)
call UnitAddItemToSlotById(udg_unit22,'tst2',1)
set udg_unit122=CreateUnit(p,'nwc2',576.,9792.,270.)
set u=CreateUnit(p,'ncop',-704.,6336.,270.)
set u=CreateUnit(p,'ncop',-1920.,6400.,270.)
set u=CreateUnit(p,'ncop',-1408.,4864.,270.)
set u=CreateUnit(p,'ncop',-3136.,4928.,270.)
set u=CreateUnit(p,'ncop',-2816.,5888.,270.)
set u=CreateUnit(p,'n00W',-1664.,5120.,270.)
set u=CreateUnit(p,'n00W',-1024.,5760.,270.)
set u=CreateUnit(p,'n00W',-448.,6400.,270.)
set u=CreateUnit(p,'n00W',-2112.,6592.,270.)
set u=CreateUnit(p,'n00W',-3072.,5888.,270.)
set u=CreateUnit(p,'n00W',-2880.,4544.,270.)
set udg_unit47=CreateUnit(p,'otrb',2432.,6592.,270.)
set udg_unit34=CreateUnit(p,'n00X',2496.,6720.,270.)
set u=CreateUnit(p,'otto',1984.,6656.,270.)
set udg_unit15=CreateUnit(p,'hbla',896.,4608.,270.)
set udg_unit77=CreateUnit(p,'n00G',896.,4160.,270.)
set udg_unit151=CreateUnit(p,'hars',-4800.,13888.,270.)
set udg_unit152=CreateUnit(p,'hwtw',-4864.,13440.,270.)
call UnitAddItemToSlotById(udg_unit152,'tkno',0)
call UnitAddItemToSlotById(udg_unit152,'tst2',1)
set udg_unit153=CreateUnit(p,'hhou',-4544.,14016.,270.)
set udg_unit154=CreateUnit(p,'hhou',-4288.,14016.,270.)
set udg_unit155=CreateUnit(p,'hhou',-4416.,14016.,270.)
set udg_unit156=CreateUnit(p,'nwc2',-3520.,13952.,270.)
set udg_unit158=CreateUnit(p,'hars',-1728.,13888.,270.)
set udg_unit159=CreateUnit(p,'hwtw',-1792.,13440.,270.)
call UnitAddItemToSlotById(udg_unit159,'tkno',0)
call UnitAddItemToSlotById(udg_unit159,'tst2',1)
set udg_unit160=CreateUnit(p,'hhou',-1472.,14016.,270.)
set udg_unit161=CreateUnit(p,'hhou',-1216.,14016.,270.)
set udg_unit162=CreateUnit(p,'hhou',-1344.,14016.,270.)
set udg_unit163=CreateUnit(p,'nwc2',-448.,13952.,270.)
set udg_unit164=CreateUnit(p,'n00J',-3840.,12032.,270.)
set udg_unit165=CreateUnit(p,'n011',-768.,12032.,270.)
set udg_unit166=CreateUnit(p,'nef5',-3360.,13984.,270.)
set udg_unit167=CreateUnit(p,'nef5',-288.,13984.,270.)
set udg_unit168=CreateUnit(p,'hwtw',1280.,14976.,270.)
set udg_unit169=CreateUnit(p,'nwc2',1280.,14720.,270.)
set udg_unit171=CreateUnit(p,'hwtw',1280.,14080.,270.)
set udg_unit170=CreateUnit(p,'nwc2',1280.,13824.,270.)
set udg_unit249=CreateUnit(p,'obar',1280.,-384.,270.)
set u=CreateUnit(p,'hctw',9728.,14208.,270.)
call SetUnitColor(u,ConvertPlayerColor(1))
set udg_unit177=CreateUnit(p,'o00I',6912.,15104.,270.)
set udg_unit178=CreateUnit(p,'o00I',6912.,14464.,270.)
set u=CreateUnit(p,'npgr',7552.,13824.,270.)
set u=CreateUnit(p,'npgr',8704.,12672.,270.)
set udg_unit180=CreateUnit(p,'n013',-9856.,-3456.,270.)
set udg_unit181=CreateUnit(p,'n014',-640.,14784.,270.)
set udg_unit187=CreateUnit(p,'nmrf',-128.,15104.,270.)
call SetUnitColor(udg_unit187,ConvertPlayerColor(3))
set udg_unit186=CreateUnit(p,'n015',-1792.,15104.,270.)
set udg_unit188=CreateUnit(p,'n016',-11840.,4608.,270.)
set udg_unit197=CreateUnit(p,'n018',-11712.,-5696.,270.)
set udg_unit228=CreateUnit(p,'n018',7872.,13504.,270.)
set udg_unit229=CreateUnit(p,'n018',8384.,12992.,270.)
set u=CreateUnit(p,'ncp3',8064.,13184.,270.)
set udg_unit231=CreateUnit(p,'n018',-1280.,3712.,270.)
set udg_unit232=CreateUnit(p,'n018',-3520.,6784.,270.)
set udg_unit198=CreateUnit(p,'n018',1792.,1856.,270.)
set udg_unit201=CreateUnit(p,'n018',-11008.,704.,270.)
set udg_unit202=CreateUnit(p,'n018',-10112.,6080.,270.)
set udg_unit204=CreateUnit(p,'n018',-4160.,10880.,270.)
set udg_unit206=CreateUnit(p,'n018',-4160.,10112.,270.)
set udg_unit208=CreateUnit(p,'n018',448.,-64.,270.)
set udg_unit210=CreateUnit(p,'n018',2816.,-640.,270.)
set udg_unit213=CreateUnit(p,'n018',4352.,1088.,270.)
set udg_unit214=CreateUnit(p,'n018',1600.,-7360.,270.)
set udg_unit217=CreateUnit(p,'n018',-4288.,-1344.,270.)
set udg_unit218=CreateUnit(p,'n018',4544.,8320.,270.)
set udg_unit220=CreateUnit(p,'n018',-4608.,12096.,270.)
set udg_unit222=CreateUnit(p,'n018',-1536.,12032.,270.)
set udg_unit225=CreateUnit(p,'n018',7168.,-4480.,270.)
set u=CreateUnit(p,'ncb3',-13088.,14944.,270.)
set u=CreateUnit(p,'ncb3',-13024.,14496.,270.)
set udg_unit189=CreateUnit(p,'n018',-12480.,14016.,270.)
set udg_unit193=CreateUnit(p,'n018',-6720.,8000.,270.)
set udg_unit179=CreateUnit(p,'n018',-5568.,-2368.,270.)
set udg_unit192=CreateUnit(p,'n01B',-9088.,10368.,270.)
set udg_unit174=CreateUnit(p,'n01F',3328.,-2688.,270.)
set udg_unit172=CreateUnit(p,'n005',-1216.,4160.,270.)
set udg_unit243=CreateUnit(p,'nth1',2368.,320.,270.)
set udg_unit244=CreateUnit(p,'nct1',-10112.,-4096.,270.)
set udg_unit245=CreateUnit(p,'nct2',256.,-6656.,270.)
set udg_unit246=CreateUnit(p,'ntn2',7808.,-4800.,270.)
set udg_unit242=CreateUnit(p,'ntt2',-4096.,-3200.,270.)
set udg_unit248=CreateUnit(p,'obar',3456.,-384.,270.)
set udg_unit250=CreateUnit(p,'obar',1280.,1536.,270.)
set udg_unit251=CreateUnit(p,'obar',3456.,1536.,270.)
set p=Player(12)
set u=CreateUnit(p,'z000',4558.7,-3846.3,270.)
set u=CreateUnit(p,'z000',4738.8,-3833.6,270.)
set u=CreateUnit(p,'z000',4899.1,-3843.9,270.)
set u=CreateUnit(p,'nspp',-570.9,6662.2,281.127)
set u=CreateUnit(p,'nspp',-454.3,6616.3,259.56)
set u=CreateUnit(p,'nspp',-552.5,6509.2,321.689)
set u=CreateUnit(p,'nspp',-403.6,6507.7,55.285)
set u=CreateUnit(p,'ngz3',-1282.4,6098.,65.82)
set u=CreateUnit(p,'ngz3',-1152.5,5861.5,33.69)
set u=CreateUnit(p,'nwld',-2417.3,6500.8,5.777)
set u=CreateUnit(p,'nwld',-2329.6,6621.5,288.88)
set u=CreateUnit(p,'nwld',-2168.7,6520.3,181.276)
set u=CreateUnit(p,'nanw',-1912.1,5470.6,322.226)
set u=CreateUnit(p,'nanw',-1924.3,5263.6,28.938)
set u=CreateUnit(p,'nanw',-1726.1,5285.1,138.367)
set u=CreateUnit(p,'nthl',-3162.7,5941.6,275.766)
set u=CreateUnit(p,'nthl',-3276.4,5752.2,91.784)
set u=CreateUnit(p,'nahy',-2541.2,4452.8,124.383)
set p=Player(15)
set u=CreateUnit(p,'h008',-1855.4,-5639.4,177.501)
set u=CreateUnit(p,'h008',-1964.4,-5740.9,251.012)
set u=CreateUnit(p,'h008',-3924.2,-5307.1,320.92)
set u=CreateUnit(p,'h008',-6272.5,-5302.,271.788)
set u=CreateUnit(p,'h008',-7388.8,-5289.6,323.568)
set u=CreateUnit(p,'h008',-6767.9,-834.9,327.633)
set u=CreateUnit(p,'h008',-6790.5,-948.6,332.434)
set u=CreateUnit(p,'h008',-6106.7,-624.,281.731)
set u=CreateUnit(p,'h008',-6365.9,236.7,180.797)
set u=CreateUnit(p,'h008',1146.1,-6781.2,155.34)
set u=CreateUnit(p,'h008',574.7,-6704.2,257.692)
set u=CreateUnit(p,'h008',-3172.2,-4603.3,171.13)
set u=CreateUnit(p,'h008',-542.4,-5227.3,206.571)
set u=CreateUnit(p,'h008',-1115.4,-5444.3,38.245)
set u=CreateUnit(p,'h008',-870.3,3671.1,156.527)
set u=CreateUnit(p,'h008',-848.,2919.3,76.05)
set u=CreateUnit(p,'h008',2490.7,790.7,.0)
set u=CreateUnit(p,'h008',2478.4,295.2,264.113)
set u=CreateUnit(p,'h008',-7782.1,-5512.5,22.26)
set u=CreateUnit(p,'h008',585.9,-2156.6,279.6)
set u=CreateUnit(p,'h008',518.6,-2077.8,69.557)
set u=CreateUnit(p,'h008',-4761.8,-5413.1,225.93)
set u=CreateUnit(p,'h008',-680.5,-2130.6,16.4)
set u=CreateUnit(p,'h008',2762.4,-2187.2,285.62)
set u=CreateUnit(p,'h008',3764.,-2480.4,289.75)
set u=CreateUnit(p,'h008',6148.3,3804.8,258.13)
set u=CreateUnit(p,'h008',6421.4,2613.2,190.57)
set u=CreateUnit(p,'h008',5063.4,3404.1,349.77)
set u=CreateUnit(p,'h008',4324.1,3191.9,194.37)
set u=CreateUnit(p,'hhes',6944.4,2338.3,.0)
set u=CreateUnit(p,'h008',3301.7,6168.2,194.37)
set u=CreateUnit(p,'h008',-175.1,7657.9,249.37)
set u=CreateUnit(p,'h008',-6931.4,7695.,90.)
set u=CreateUnit(p,'ndog',1043.7,-6512.6,76.885)
set u=CreateUnit(p,'ndog',944.8,-6366.7,352.287)
set u=CreateUnit(p,'ndog',1240.3,-6492.9,124.325)
set u=CreateUnit(p,'o00N',6224.5,-316.1,338.31)
call SetUnitColor(u,ConvertPlayerColor(0))
set p=Player(0)
set u=CreateUnit(p,'ogrk',-8949.9,4135.8,90.)
set u=CreateUnit(p,'ogrk',-9235.9,4143.1,90.)
set udg_unit83=CreateUnit(p,'Odrt',-7936.7,6729.3,274.76)
call SetUnitState(udg_unit83,UNIT_STATE_MANA,265)
set u=CreateUnit(p,'ogrk',-8030.4,5264.5,278.82)
set udg_unit71=CreateUnit(p,'Hpal',-7741.9,6725.5,270.)
call SetUnitState(udg_unit71,UNIT_STATE_MANA,215)
set u=CreateUnit(p,'ogrk',-7563.2,5263.9,278.82)
set u=CreateUnit(p,'ogrk',-4899.,6119.7,278.82)
set u=CreateUnit(p,'ogrk',-5131.7,3889.9,89.521)
set u=CreateUnit(p,'ogrk',-8093.6,6268.6,278.82)
set u=CreateUnit(p,'ogrk',7723.8,-2008.7,358.163)
set u=CreateUnit(p,'ogrk',9182.8,-1219.9,270.)
set u=CreateUnit(p,'ogrk',-7561.7,6280.,278.82)
set u=CreateUnit(p,'h000',-6006.5,4611.3,270.)
set u=CreateUnit(p,'ogrk',9168.8,-3024.,125.)
set u=CreateUnit(p,'ogrk',-5338.2,6116.5,278.82)
set u=CreateUnit(p,'o001',-4618.7,4546.4,180.)
set u=CreateUnit(p,'o001',-4611.6,4864.5,180.)
set u=CreateUnit(p,'o001',-4624.,4227.5,180.)
set u=CreateUnit(p,'o001',-4625.6,3939.4,180.)
set u=CreateUnit(p,'o001',-3276.1,14984.1,180.)
set u=CreateUnit(p,'o001',-3295.5,14581.7,180.)
set u=CreateUnit(p,'h00Z',-4777.1,14473.5,90.)
set u=CreateUnit(p,'h00Z',-4615.6,14480.3,90.)
set u=CreateUnit(p,'h00Z',-4450.,14480.5,90.)
set u=CreateUnit(p,'h00Z',-4108.5,14476.7,90.)
set u=CreateUnit(p,'h00Z',-3947.,14483.5,90.)
set u=CreateUnit(p,'h00Z',-3781.4,14483.7,90.)
set p=Player(1)
set udg_unit119=CreateUnit(p,'ewsp',-8284.1,-7180.9,34.5)
set p=Player(2)
set udg_unit107=CreateUnit(p,'ewsp',-8879.9,-7196.,173.01)
set p=Player(3)
set udg_unit23=CreateUnit(p,'ewsp',-9011.6,-7190.2,34.5)
set p=Player(4)
set udg_unit24=CreateUnit(p,'ewsp',-8756.6,-7192.,272.04)
set p=Player(5)
set udg_unit25=CreateUnit(p,'ewsp',-8632.1,-7184.8,255.79)
set p=Player(6)
set udg_unit27=CreateUnit(p,'ewsp',-8388.3,-7182.2,109.966)
set p=Player(7)
set udg_unit26=CreateUnit(p,'ewsp',-8512.3,-7190.1,71.59)
set p=Player(8)
set udg_unit30=CreateUnit(p,'H006',-6286.7,-6622.2,90.)
call SetUnitState(udg_unit30,UNIT_STATE_MANA,215)
set u=CreateUnit(p,'h00N',-6158.9,-6308.7,90.)
set u=CreateUnit(p,'h00N',-6609.2,-6311.4,90.)
set udg_unit85=CreateUnit(p,'Ogld',-6503.1,-6622.1,90.)
call SetUnitState(udg_unit85,UNIT_STATE_MANA,165)
set u=CreateUnit(p,'h00J',1145.8,13053.3,.0)
call SetUnitColor(u,ConvertPlayerColor(8))
set u=CreateUnit(p,'h00J',1166.5,12673.6,.0)
call SetUnitColor(u,ConvertPlayerColor(8))
set u=CreateUnit(p,'h00J',1159.9,12291.8,.0)
call SetUnitColor(u,ConvertPlayerColor(8))
set u=CreateUnit(p,'h00Y',1908.3,13246.,270.)
set u=CreateUnit(p,'h00Y',2568.4,13241.9,270.)
set u=CreateUnit(p,'h00Y',1928.2,12201.3,270.)
set u=CreateUnit(p,'h00Y',2578.8,12210.4,270.)
set p=Player(9)
set u=CreateUnit(p,'hsor',6942.,4541.2,270.)
set u=CreateUnit(p,'hsor',6939.9,4375.6,270.)
set u=CreateUnit(p,'hsor',7385.9,4555.5,270.)
set u=CreateUnit(p,'hsor',7392.7,4380.1,270.)
set udg_unit33=CreateUnit(p,'H003',7226.7,5384.6,270.)
call UnitAddItemToSlotById(udg_unit33,'tkno',0)
call UnitAddItemToSlotById(udg_unit33,'tstr',1)
call UnitAddItemToSlotById(udg_unit33,'tst2',2)
set u=CreateUnit(p,'h000',6341.6,5523.6,.0)
set u=CreateUnit(p,'hpea',8649.1,5096.,.0)
set udg_unit141=CreateUnit(p,'Ocb2',7060.1,5378.4,267.92)
call SetUnitState(udg_unit141,UNIT_STATE_MANA,215)
set u=CreateUnit(p,'hpea',8537.2,5107.,.0)
set u=CreateUnit(p,'hpea',8646.5,4983.7,.0)
set u=CreateUnit(p,'hpea',8536.1,4987.9,.0)
set u=CreateUnit(p,'hpea',8539.1,4858.4,.0)
set u=CreateUnit(p,'hpea',8655.6,4848.6,.0)
set u=CreateUnit(p,'hpea',8630.6,5867.,.0)
set u=CreateUnit(p,'hpea',8518.7,5877.9,.0)
set u=CreateUnit(p,'hpea',8628.1,5754.7,.0)
set u=CreateUnit(p,'hpea',8517.6,5758.8,.0)
set u=CreateUnit(p,'hpea',8520.6,5629.3,.0)
set u=CreateUnit(p,'hpea',8637.1,5619.6,.0)
set p=Player(10)
set udg_unit74=CreateUnit(p,'ewsp',-9123.,-7185.4,34.5)
set p=Player(11)
set u=CreateUnit(p,'oC06',7876.1,-6019.7,270.)
call SetUnitColor(u,ConvertPlayerColor(7))
set u=CreateUnit(p,'oC06',8255.9,-6652.2,89.52)
call SetUnitColor(u,ConvertPlayerColor(4))
set u=CreateUnit(p,'hmpr',-8999.4,-2111.8,1.)
call SetUnitAcquireRange(u,200.)
set u=CreateUnit(p,'oC06',7867.7,-7268.2,270.62)
call SetUnitColor(u,ConvertPlayerColor(2))
set udg_unit238=CreateUnit(p,'emow',9000.3,-7095.2,310.98)
call SetUnitState(udg_unit238,UNIT_STATE_MANA,0)
set udg_unit224=CreateUnit(p,'emow',8999.2,-7241.,311.65)
call SetUnitState(udg_unit224,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'nhym',4990.6,6684.8,270.)
set udg_unit239=CreateUnit(p,'emow',8999.9,-7378.2,312.26)
call SetUnitState(udg_unit239,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'hrdh',4126.3,6623.5,.0)
set udg_unit79=CreateUnit(p,'o009',1115.6,-4218.2,.0)
set udg_unit66=CreateUnit(p,'umtw',-3795.1,-6246.2,.0)
set udg_unit21=CreateUnit(p,'umtw',-3782.6,-6481.8,.0)
set u=CreateUnit(p,'hrdh',4129.3,6415.9,.0)
set u=CreateUnit(p,'h008',-6973.6,1428.1,349.387)
set u=CreateUnit(p,'h008',-6185.,2296.9,70.831)
set u=CreateUnit(p,'h008',-6867.2,2523.1,116.085)
set u=CreateUnit(p,'h008',2178.8,423.3,219.062)
set u=CreateUnit(p,'nbda',700.9,-6217.3,272.58)
set udg_unit86=CreateUnit(p,'hrtt',-3042.2,-7335.2,90.)
set u=CreateUnit(p,'nemi',3609.9,1679.6,262.9)
set u=CreateUnit(p,'nbdw',824.7,6776.6,239.381)
set udg_unit58=CreateUnit(p,'h004',-2300.,-2048.9,270.)
set u=CreateUnit(p,'o00A',-833.2,-6268.,90.)
call SetUnitColor(u,ConvertPlayerColor(10))
set udg_unit70=CreateUnit(p,'h004',-2550.5,-2050.,270.)
set udg_unit69=CreateUnit(p,'nbds',10001.4,1800.4,216.711)
set u=CreateUnit(p,'oC06',-10033.5,-6350.3,270.)
call SetUnitColor(u,ConvertPlayerColor(0))
set u=CreateUnit(p,'oC06',-10021.9,-6849.9,270.)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'oC06',-10028.9,-7371.7,270.)
call SetUnitColor(u,ConvertPlayerColor(4))
set u=CreateUnit(p,'nhef',-8230.2,-1683.9,180.)
call SetUnitAcquireRange(u,200.)
set u=CreateUnit(p,'nhef',-8226.8,-1791.4,180.)
call SetUnitAcquireRange(u,200.)
set u=CreateUnit(p,'nhef',-8225.3,-1913.7,180.)
call SetUnitAcquireRange(u,200.)
set u=CreateUnit(p,'nvil',-8213.5,-2311.2,172.62)
call SetUnitAcquireRange(u,200.)
set udg_unit112=CreateUnit(p,'oC06',3893.6,-7468.4,180.)
set udg_unit237=CreateUnit(p,'n01O',-3886.,-7461.8,134.016)
set u=CreateUnit(p,'hdes',-12180.4,-6332.4,179.87)
set u=CreateUnit(p,'hdes',-12167.9,-7264.1,179.87)
set u=CreateUnit(p,'h012',-10796.9,-7186.,231.33)
set udg_unit145=CreateUnit(p,'oC06',-9711.8,699.2,180.)
set udg_unit146=CreateUnit(p,'oC06',-9719.3,2587.9,180.)
set u=CreateUnit(p,'oC06',-11176.5,1081.9,270.)
call SetUnitColor(u,ConvertPlayerColor(7))
set u=CreateUnit(p,'oC06',-5492.6,11044.9,270.)
set u=CreateUnit(p,'oC06',-5231.,11038.1,270.)
set u=CreateUnit(p,'oC06',-4947.6,11042.6,270.)
set u=CreateUnit(p,'h000',-5473.3,10452.9,270.)
set u=CreateUnit(p,'e000',-5465.9,10053.,270.)
set u=CreateUnit(p,'e000',-5190.7,10046.6,270.)
set u=CreateUnit(p,'e000',-4909.5,10048.4,270.)
set u=CreateUnit(p,'e000',-4647.9,10045.5,270.)
set u=CreateUnit(p,'h000',-5196.9,10454.6,270.)
set u=CreateUnit(p,'h000',-4923.8,10458.6,270.)
set u=CreateUnit(p,'h000',-4662.1,10458.5,270.)
set u=CreateUnit(p,'earc',-10179.3,6879.6,84.8)
call SetUnitColor(u,ConvertPlayerColor(4))
set u=CreateUnit(p,'oC06',2690.7,4672.3,357.94)
set u=CreateUnit(p,'oC06',2702.8,4395.6,357.94)
set u=CreateUnit(p,'oC06',2709.8,4157.8,357.94)
set u=CreateUnit(p,'earc',-10168.9,6439.2,137.21)
call SetUnitColor(u,ConvertPlayerColor(4))
set u=CreateUnit(p,'oC06',-4654.3,11039.2,270.)
set u=CreateUnit(p,'nvk2',-5400.9,8856.6,315.)
set u=CreateUnit(p,'nvk2',-5184.,8945.8,233.94)
set u=CreateUnit(p,'ebal',-3325.9,10114.7,180.)
set u=CreateUnit(p,'nwc1',-9808.7,4083.2,225.46)
set u=CreateUnit(p,'nwc1',-9808.7,3699.2,225.46)
set u=CreateUnit(p,'nwc1',-10256.7,4083.2,225.46)
set u=CreateUnit(p,'nwc1',-10256.7,3699.2,225.46)
set udg_unit125=CreateUnit(p,'hbsh',-150.,10939.2,173.994)
set u=CreateUnit(p,'esen',-9932.1,3815.9,304.45)
set u=CreateUnit(p,'esen',-10122.8,3971.7,146.38)
set u=CreateUnit(p,'nwc1',-10672.7,4083.2,225.46)
set u=CreateUnit(p,'nwc1',-10672.7,3699.2,225.46)
set u=CreateUnit(p,'esen',-10550.7,3830.5,220.12)
set udg_unit147=CreateUnit(p,'h013',-11083.5,5310.1,2.77)
call SetUnitColor(udg_unit147,ConvertPlayerColor(9))
set udg_unit148=CreateUnit(p,'h013',-11080.2,4951.4,2.77)
call SetUnitColor(udg_unit148,ConvertPlayerColor(10))
set udg_unit67=CreateUnit(p,'h00Q',1282.1,5556.8,5.155)
set udg_unit68=CreateUnit(p,'h00Q',1292.8,5069.,6.519)
set udg_unit48=CreateUnit(p,'h00Q',2329.3,4130.6,127.45)
set udg_unit144=CreateUnit(p,'h013',-10291.5,4848.4,90.47)
call SetUnitColor(udg_unit144,ConvertPlayerColor(7))
set u=CreateUnit(p,'nbrg',-865.5,-7495.5,96.81)
set u=CreateUnit(p,'nbld',-307.4,-6281.2,273.425)
set u=CreateUnit(p,'nenf',-46.7,-7409.3,107.196)
set u=CreateUnit(p,'nbdm',967.3,-6236.,280.586)
set udg_unit143=CreateUnit(p,'h013',-9900.2,4849.6,90.47)
call SetUnitColor(udg_unit143,ConvertPlayerColor(8))
set u=CreateUnit(p,'nwc1',-12208.7,4467.2,225.46)
set u=CreateUnit(p,'nwc1',-12208.7,4723.2,225.46)
set u=CreateUnit(p,'nwc1',-11888.7,5203.2,225.46)
set u=CreateUnit(p,'esen',-12277.1,4313.1,62.946)
set u=CreateUnit(p,'esen',-12106.4,4857.6,246.473)
set u=CreateUnit(p,'esen',-11850.4,5369.6,246.473)
set udg_unit149=CreateUnit(p,'h013',-11863.6,4195.2,87.99)
call SetUnitColor(udg_unit149,ConvertPlayerColor(11))
set u=CreateUnit(p,'edry',-10911.,6807.1,322.589)
set udg_unit150=CreateUnit(p,'o009',-3311.4,13802.7,228.82)
set udg_unit157=CreateUnit(p,'o009',-256.5,13818.6,228.82)
set u=CreateUnit(p,'earc',8768.,-3569.4,84.8)
call SetUnitColor(u,ConvertPlayerColor(0))
set u=CreateUnit(p,'earc',8769.8,-4025.5,137.21)
call SetUnitColor(u,ConvertPlayerColor(0))
set u=CreateUnit(p,'edry',8120.1,-3512.9,182.419)
set u=CreateUnit(p,'earc',4843.3,12847.6,124.105)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'earc',5383.,12852.5,194.53)
call SetUnitColor(u,ConvertPlayerColor(1))
set u=CreateUnit(p,'edry',5452.8,13506.7,93.88)
set u=CreateUnit(p,'hgyr',8310.8,14324.2,323.16)
set u=CreateUnit(p,'h012',4938.5,14147.6,304.322)
set u=CreateUnit(p,'h014',5141.6,15116.9,301.163)
set u=CreateUnit(p,'h014',-10340.1,-3564.1,122.882)
set u=CreateUnit(p,'h014',-10943.,-3323.7,73.948)
set u=CreateUnit(p,'h014',-10355.6,-4631.3,73.948)
set u=CreateUnit(p,'necr',-8089.7,4461.1,342.916)
set udg_unit190=CreateUnit(p,'h016',8000.,13632.,43.812)
set udg_unit191=CreateUnit(p,'h016',8512.,13120.,50.572)
set u=CreateUnit(p,'oC06',6872.6,12886.8,317.42)
call SetUnitColor(u,ConvertPlayerColor(5))
set u=CreateUnit(p,'hgyr',9003.3,13674.4,323.16)
set u=CreateUnit(p,'oC06',7382.2,12370.6,317.42)
call SetUnitColor(u,ConvertPlayerColor(9))
set u=CreateUnit(p,'uaco',-9852.4,-3135.1,201.29)
set u=CreateUnit(p,'uban',-9854.2,-3278.8,183.4)
set u=CreateUnit(p,'h015',-1229.3,14781.2,56.468)
set u=CreateUnit(p,'hgry',-1203.6,14819.,237.53)
set u=CreateUnit(p,'hspt',-768.7,14820.,181.043)
set udg_unit182=CreateUnit(p,'h015',3360.3,-4043.6,355.78)
set udg_unit183=CreateUnit(p,'h015',-10776.8,6884.,263.69)
set udg_unit184=CreateUnit(p,'h015',-9857.3,-4704.6,88.598)
set udg_unit185=CreateUnit(p,'h015',2400.2,4704.1,269.553)
set u=CreateUnit(p,'hspt',-1746.8,14413.9,48.738)
set udg_unit196=CreateUnit(p,'h016',-11720.2,-5534.1,90.26)
set u=CreateUnit(p,'h014',2504.8,5025.9,89.188)
set udg_unit230=CreateUnit(p,'h016',-1127.5,3704.5,359.)
set udg_unit199=CreateUnit(p,'h016',1800.3,2030.8,90.26)
set udg_unit200=CreateUnit(p,'h016',-11003.7,539.,272.183)
set udg_unit203=CreateUnit(p,'h016',-10279.4,6069.8,179.47)
set udg_unit205=CreateUnit(p,'h016',-4337.1,10857.7,179.47)
set udg_unit207=CreateUnit(p,'h016',-4337.1,10089.7,179.47)
set udg_unit209=CreateUnit(p,'h016',270.9,-86.3,179.47)
set udg_unit211=CreateUnit(p,'h016',2803.4,-806.2,270.5)
set udg_unit212=CreateUnit(p,'h016',4504.5,1080.5,359.)
set udg_unit215=CreateUnit(p,'h016',1608.3,-7185.2,90.26)
set udg_unit216=CreateUnit(p,'h016',-4130.,-1355.2,359.)
set udg_unit219=CreateUnit(p,'h016',4531.4,8153.8,270.5)
set udg_unit221=CreateUnit(p,'h016',-4785.1,12073.7,179.47)
set udg_unit223=CreateUnit(p,'h016',-1713.1,12009.7,179.47)
set udg_unit240=CreateUnit(p,'h016',7163.1,-4316.7,90.)
set u=CreateUnit(p,'nshe',-13087.3,14196.1,78.071)
set u=CreateUnit(p,'nshe',-12989.5,14174.3,271.327)
set u=CreateUnit(p,'nshe',-13062.2,14091.8,10.613)
set u=CreateUnit(p,'nshe',-12899.5,14229.2,132.807)
set u=CreateUnit(p,'nshe',-12911.6,14088.,126.456)
set u=CreateUnit(p,'nshe',-12797.4,14147.,72.314)
set udg_unit227=CreateUnit(p,'h016',-12327.5,14008.5,359.)
set udg_unit195=CreateUnit(p,'h016',-6897.1,7977.7,179.47)
set udg_unit194=CreateUnit(p,'h016',-5410.,-2379.2,359.)
set udg_unit176=CreateUnit(p,'h016',-3511.7,6958.8,90.26)
set udg_unit173=CreateUnit(p,'h00V',2971.8,-2495.4,182.58)
set udg_unit75=CreateUnit(p,'opeo',-1564.2,4738.2,269.81)
set udg_unit63=CreateUnit(p,'nten',6350.,-1172.6,88.09)
set udg_unit64=CreateUnit(p,'nten',6349.4,-1800.5,88.09)
set udg_unit62=CreateUnit(p,'ncg3',6065.1,-1501.3,2.58)
set udg_unit43=CreateUnit(p,'ncg3',6063.3,-1601.2,2.58)
set udg_unit42=CreateUnit(p,'ncg3',6064.,-882.5,2.58)
set udg_unit236=CreateUnit(p,'ncg3',6062.2,-982.4,2.58)
set u=CreateUnit(p,'h014',9799.6,-6172.8,187.09)
call ConfigureNeutralVictim()
set udg_boolexpr01=Filter(function DBV)
set filterIssueHauntOrderAtLocBJ=Filter(function IssueHauntOrderAtLocBJFilter)
set filterEnumDestructablesInCircleBJ=Filter(function CPV)
set filterGetUnitsInRectOfPlayer=Filter(function GetUnitsInRectOfPlayerFilter)
set filterGetUnitsOfTypeIdAll=Filter(function GetUnitsOfTypeIdAllFilter)
set filterGetUnitsOfPlayerAndTypeId=Filter(function GetUnitsOfPlayerAndTypeIdFilter)
set filterMeleeTrainedUnitIsHeroBJ=Filter(function MeleeTrainedUnitIsHeroBJFilter)
set filterLivingPlayerUnitsOfTypeId=Filter(function LivingPlayerUnitsOfTypeIdFilter)
set KHX=0
loop
exitwhen KHX==16
set bj_FORCE_PLAYER[KHX]=CreateForce()
call ForceAddPlayer(bj_FORCE_PLAYER[KHX],Player(KHX))
set KHX=KHX+1
endloop
set bj_FORCE_ALL_PLAYERS=CreateForce()
call ForceEnumPlayers(bj_FORCE_ALL_PLAYERS,null)
set bj_cineModePriorSpeed=GetGameSpeed()
set bj_cineModePriorFogSetting=IsFogEnabled()
set bj_cineModePriorMaskSetting=IsFogMaskEnabled()
set KHX=0
loop
exitwhen KHX>=bj_MAX_QUEUED_TRIGGERS
set bj_queuedExecTriggers[KHX]=null
set bj_queuedExecUseConds[KHX]=false
set KHX=KHX+1
endloop
set bj_isSinglePlayer=false
set KJX=0
set KHX=0
loop
exitwhen KHX>=12
if(GetPlayerController(Player(KHX))==MAP_CONTROL_USER and GetPlayerSlotState(Player(KHX))==PLAYER_SLOT_STATE_PLAYING)then
set KJX=KJX+1
endif
set KHX=KHX+1
endloop
set bj_isSinglePlayer=(KJX==1)
set bj_rescueSound=CreateSoundFromLabel("Rescue",false,false,false,10000,10000)
set bj_questDiscoveredSound=CreateSoundFromLabel("QuestNew",false,false,false,10000,10000)
set bj_questUpdatedSound=CreateSoundFromLabel("QuestUpdate",false,false,false,10000,10000)
set bj_questCompletedSound=CreateSoundFromLabel("QuestCompleted",false,false,false,10000,10000)
set bj_questFailedSound=CreateSoundFromLabel("QuestFailed",false,false,false,10000,10000)
set bj_questHintSound=CreateSoundFromLabel("Hint",false,false,false,10000,10000)
set bj_questSecretSound=CreateSoundFromLabel("SecretFound",false,false,false,10000,10000)
set bj_questItemAcquiredSound=CreateSoundFromLabel("ItemReward",false,false,false,10000,10000)
set bj_questWarningSound=CreateSoundFromLabel("Warning",false,false,false,10000,10000)
set bj_victoryDialogSound=CreateSoundFromLabel("QuestCompleted",false,false,false,10000,10000)
set bj_defeatDialogSound=CreateSoundFromLabel("QuestFailed",false,false,false,10000,10000)
call DelayedSuspendDecayCreate()
set v=VersionGet()
if(v==VERSION_REIGN_OF_CHAOS)then
set bj_MELEE_MAX_TWINKED_HEROES=bj_MELEE_MAX_TWINKED_HEROES_V0
else
set bj_MELEE_MAX_TWINKED_HEROES=bj_MELEE_MAX_TWINKED_HEROES_V1
endif
call InitQueuedTriggers()
call InitRescuableBehaviorBJ()
call InitDNCSounds()
call InitMapRects()
call InitSummonableCaps()
set DXV=0
loop
set bj_stockAllowedPermanent[DXV]=false
set bj_stockAllowedCharged[DXV]=false
set bj_stockAllowedArtifact[DXV]=false
set DXV=DXV+1
exitwhen DXV>10
endloop
call SetAllItemTypeSlots(11)
call SetAllUnitTypeSlots(11)
set bj_stockUpdateTimer=CreateTimer()
call TimerStart(bj_stockUpdateTimer,bj_STOCK_RESTOCK_INITIAL_DELAY,false,function DNV)
set bj_stockItemPurchased=CreateTrigger()
call TriggerRegisterPlayerUnitEvent(bj_stockItemPurchased,Player(15),EVENT_PLAYER_UNIT_SELL_ITEM,null)
call TriggerAddAction(bj_stockItemPurchased,function RemovePurchasedItem)
call DetectGameStarted()
set i=0
set i=0
loop
exitwhen(i>1)
set udg_integers01[i]=0
set i=i+1
endloop
set udg_group01=CreateGroup()
set udg_timer01=CreateTimer()
set udg_timer02=CreateTimer()
set udg_group02=CreateGroup()
set udg_group03=CreateGroup()
set udg_group04=CreateGroup()
set udg_group05=CreateGroup()
set udg_group06=CreateGroup()
set udg_trigger03=CreateTrigger()
call TriggerAddCondition(udg_trigger03,Condition(function DDV))
call TriggerAddAction(udg_trigger03,function DFV)
set udg_trigger04=CreateTrigger()
call TriggerAddCondition(udg_trigger04,Condition(function DHV))
call TriggerAddAction(udg_trigger04,function DJV)
set udg_trigger05=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger05,1.)
call TriggerAddCondition(udg_trigger05,Condition(function DLV))
call TriggerAddAction(udg_trigger05,function DPV)
set udg_trigger06=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger06,1.)
call TriggerAddCondition(udg_trigger06,Condition(function DQV))
call TriggerAddAction(udg_trigger06,function DTV)
set udg_trigger07=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger07,1.)
call TriggerAddCondition(udg_trigger07,Condition(function DUV))
call TriggerAddAction(udg_trigger07,function DYV)
set udg_trigger08=CreateTrigger()
call TriggerAddAction(udg_trigger08,function DZV)
set udg_trigger09=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(1),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(2),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(3),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(4),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(5),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(6),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(7),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger09,Player(10),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger09,Condition(function D_V))
call TriggerAddAction(udg_trigger09,function D0V)
set udg_trigger10=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger10,Player(0),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger10,Player(8),EVENT_PLAYER_UNIT_DEATH)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger10,Player(9),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger10,Condition(function D1V))
call TriggerAddAction(udg_trigger10,function D2V)
set udg_trigger11=CreateTrigger()
call TriggerAddAction(udg_trigger11,function FCV)
set udg_trigger12=CreateTrigger()
call TriggerAddAction(udg_trigger12,function FFV)
set udg_trigger13=CreateTrigger()
call TriggerAddAction(udg_trigger13,function FGV)
set udg_trigger14=CreateTrigger()
call TriggerAddAction(udg_trigger14,function FHV)
set udg_trigger15=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger15,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger15,Condition(function FJV))
call TriggerAddAction(udg_trigger15,function FKV)
set udg_trigger16=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger16,Player(15),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger16,Condition(function FLV))
call TriggerAddAction(udg_trigger16,function FMV)
set udg_trigger17=CreateTrigger()
call TriggerAddAction(udg_trigger17,function FPV)
set udg_trigger18=CreateTrigger()
call TriggerAddAction(udg_trigger18,function FQV)
set udg_trigger19=CreateTrigger()
call TriggerRegisterTimerEventSingle(udg_trigger19,160.)
call TriggerAddAction(udg_trigger19,function FSV)
set udg_trigger20=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger20,udg_rect112)
call TriggerAddCondition(udg_trigger20,Condition(function FTV))
call TriggerAddAction(udg_trigger20,function FUV)
set udg_trigger21=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger21,Player(0))
call TriggerAddAction(udg_trigger21,function F_V)
set udg_trigger22=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger22,Player(1))
call TriggerAddAction(udg_trigger22,function HYV)
set udg_trigger23=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger23,Player(2))
call TriggerAddAction(udg_trigger23,function KUV)
set udg_trigger24=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger24,Player(3))
call TriggerAddAction(udg_trigger24,function MSV)
set udg_trigger25=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger25,Player(4))
call TriggerAddAction(udg_trigger25,function QPV)
set udg_trigger26=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger26,Player(5))
call TriggerAddAction(udg_trigger26,function TLV)
set udg_trigger27=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger27,Player(6))
call TriggerAddAction(udg_trigger27,function WJV)
set udg_trigger28=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger28,Player(7))
call TriggerAddAction(udg_trigger28,function ZGV)
set udg_trigger29=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger29,Player(8))
call TriggerAddAction(udg_trigger29,function ZLV)
set udg_trigger30=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger30,Player(9))
call TriggerAddAction(udg_trigger30,function ZQV)
set udg_trigger31=CreateTrigger()
call TriggerRegisterPlayerEventLeave(udg_trigger31,Player(10))
call TriggerAddAction(udg_trigger31,function EME)
set udg_trigger32=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger32,Player(1),"-death match",true)
call TriggerAddAction(udg_trigger32,function EPE)
set udg_trigger33=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger33,Player(1),"-real life",true)
call TriggerAddAction(udg_trigger33,function EQE)
set udg_trigger34=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger34,Player(1),"-Bug Invasion",true)
call TriggerAddAction(udg_trigger34,function E_E)
set udg_trigger35=CreateTrigger()
call DisableTrigger(udg_trigger35)
call TriggerRegisterTimerEventPeriodic(udg_trigger35,10.)
call TriggerAddAction(udg_trigger35,function E0E)
set udg_trigger36=CreateTrigger()
call DisableTrigger(udg_trigger36)
call TriggerRegisterTimerEventPeriodic(udg_trigger36,60.)
call TriggerAddAction(udg_trigger36,function E1E)
set udg_trigger37=CreateTrigger()
call DisableTrigger(udg_trigger37)
call TriggerRegisterTimerEventPeriodic(udg_trigger37,120.)
call TriggerAddAction(udg_trigger37,function E2E)
set udg_trigger38=CreateTrigger()
call DisableTrigger(udg_trigger38)
call TriggerRegisterTimerEventPeriodic(udg_trigger38,13.)
call TriggerAddAction(udg_trigger38,function E3E)
set udg_trigger39=CreateTrigger()
call DisableTrigger(udg_trigger39)
call TriggerRegisterTimerEventPeriodic(udg_trigger39,60.)
call TriggerAddAction(udg_trigger39,function E4E)
set udg_trigger40=CreateTrigger()
call DisableTrigger(udg_trigger40)
call TriggerRegisterTimerEventPeriodic(udg_trigger40,120.)
call TriggerAddAction(udg_trigger40,function E5E)
set udg_trigger41=CreateTrigger()
call DisableTrigger(udg_trigger41)
call TriggerRegisterTimerEventPeriodic(udg_trigger41,13.)
call TriggerAddAction(udg_trigger41,function E6E)
set udg_trigger42=CreateTrigger()
call DisableTrigger(udg_trigger42)
call TriggerRegisterTimerEventPeriodic(udg_trigger42,13.)
call TriggerAddAction(udg_trigger42,function E7E)
set udg_trigger43=CreateTrigger()
call DisableTrigger(udg_trigger43)
call TriggerRegisterTimerEventPeriodic(udg_trigger43,80.)
call TriggerAddAction(udg_trigger43,function E8E)
set udg_trigger44=CreateTrigger()
call DisableTrigger(udg_trigger44)
call TriggerRegisterTimerEventPeriodic(udg_trigger44,80.)
call TriggerAddAction(udg_trigger44,function E9E)
set udg_trigger45=CreateTrigger()
call DisableTrigger(udg_trigger45)
call TriggerRegisterTimerEventPeriodic(udg_trigger45,13.)
call TriggerAddAction(udg_trigger45,function XVE)
set udg_trigger46=CreateTrigger()
call DisableTrigger(udg_trigger46)
call TriggerRegisterTimerEventPeriodic(udg_trigger46,13.)
call TriggerAddAction(udg_trigger46,function XEE)
set udg_trigger47=CreateTrigger()
call DisableTrigger(udg_trigger47)
call TriggerRegisterEnterRectSimple(udg_trigger47,udg_rect265)
call TriggerAddCondition(udg_trigger47,Condition(function XXE))
call TriggerAddAction(udg_trigger47,function XOE)
set udg_trigger48=CreateTrigger()
call DisableTrigger(udg_trigger48)
call TriggerRegisterLeaveRectSimple(udg_trigger48,udg_rect265)
call TriggerAddCondition(udg_trigger48,Condition(function XRE))
call TriggerAddAction(udg_trigger48,function XIE)
set udg_trigger49=CreateTrigger()
call DisableTrigger(udg_trigger49)
call TriggerRegisterTimerEventSingle(udg_trigger49,120.)
call TriggerAddAction(udg_trigger49,function XBE)
set udg_trigger50=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger50,Player(1),"-battle field",true)
call TriggerAddAction(udg_trigger50,function XCE)
set udg_trigger51=CreateTrigger()
call DisableTrigger(udg_trigger51)
call TriggerRegisterEnterRectSimple(udg_trigger51,udg_rect23)
call TriggerAddCondition(udg_trigger51,Condition(function XDE))
call TriggerAddAction(udg_trigger51,function XFE)
set udg_trigger52=CreateTrigger()
call DisableTrigger(udg_trigger52)
call TriggerRegisterLeaveRectSimple(udg_trigger52,udg_rect23)
call TriggerAddCondition(udg_trigger52,Condition(function XGE))
call TriggerAddAction(udg_trigger52,function XHE)
set udg_trigger53=CreateTrigger()
call DisableTrigger(udg_trigger53)
call TriggerRegisterEnterRectSimple(udg_trigger53,udg_rect31)
call TriggerAddCondition(udg_trigger53,Condition(function XJE))
call TriggerAddAction(udg_trigger53,function XKE)
set udg_trigger54=CreateTrigger()
call DisableTrigger(udg_trigger54)
call TriggerRegisterLeaveRectSimple(udg_trigger54,udg_rect31)
call TriggerAddCondition(udg_trigger54,Condition(function XLE))
call TriggerAddAction(udg_trigger54,function XME)
set udg_trigger55=CreateTrigger()
call DisableTrigger(udg_trigger55)
call TriggerRegisterEnterRectSimple(udg_trigger55,udg_rect32)
call TriggerAddCondition(udg_trigger55,Condition(function XPE))
call TriggerAddAction(udg_trigger55,function XQE)
set udg_trigger56=CreateTrigger()
call DisableTrigger(udg_trigger56)
call TriggerRegisterLeaveRectSimple(udg_trigger56,udg_rect32)
call TriggerAddCondition(udg_trigger56,Condition(function XSE))
call TriggerAddAction(udg_trigger56,function XTE)
set udg_trigger57=CreateTrigger()
call DisableTrigger(udg_trigger57)
call TriggerRegisterEnterRectSimple(udg_trigger57,udg_rect33)
call TriggerAddCondition(udg_trigger57,Condition(function XUE))
call TriggerAddAction(udg_trigger57,function XWE)
set udg_trigger58=CreateTrigger()
call DisableTrigger(udg_trigger58)
call TriggerRegisterLeaveRectSimple(udg_trigger58,udg_rect33)
call TriggerAddCondition(udg_trigger58,Condition(function XYE))
call TriggerAddAction(udg_trigger58,function XZE)
set udg_trigger59=CreateTrigger()
call DisableTrigger(udg_trigger59)
call TriggerRegisterEnterRectSimple(udg_trigger59,udg_rect34)
call TriggerAddCondition(udg_trigger59,Condition(function X_E))
call TriggerAddAction(udg_trigger59,function X0E)
set udg_trigger60=CreateTrigger()
call DisableTrigger(udg_trigger60)
call TriggerRegisterLeaveRectSimple(udg_trigger60,udg_rect34)
call TriggerAddCondition(udg_trigger60,Condition(function X1E))
call TriggerAddAction(udg_trigger60,function X2E)
set udg_trigger61=CreateTrigger()
call DisableTrigger(udg_trigger61)
call TriggerRegisterEnterRectSimple(udg_trigger61,udg_rect35)
call TriggerAddCondition(udg_trigger61,Condition(function X3E))
call TriggerAddAction(udg_trigger61,function X4E)
set udg_trigger62=CreateTrigger()
call DisableTrigger(udg_trigger62)
call TriggerRegisterLeaveRectSimple(udg_trigger62,udg_rect35)
call TriggerAddCondition(udg_trigger62,Condition(function X5E))
call TriggerAddAction(udg_trigger62,function X6E)
set udg_trigger63=CreateTrigger()
call DisableTrigger(udg_trigger63)
call TriggerRegisterEnterRectSimple(udg_trigger63,udg_rect36)
call TriggerAddCondition(udg_trigger63,Condition(function X7E))
call TriggerAddAction(udg_trigger63,function X8E)
set udg_trigger64=CreateTrigger()
call DisableTrigger(udg_trigger64)
call TriggerRegisterLeaveRectSimple(udg_trigger64,udg_rect36)
call TriggerAddCondition(udg_trigger64,Condition(function X9E))
call TriggerAddAction(udg_trigger64,function OVE)
set udg_trigger65=CreateTrigger()
call DisableTrigger(udg_trigger65)
call TriggerRegisterEnterRectSimple(udg_trigger65,udg_rect37)
call TriggerAddCondition(udg_trigger65,Condition(function OEE))
call TriggerAddAction(udg_trigger65,function OXE)
set udg_trigger66=CreateTrigger()
call DisableTrigger(udg_trigger66)
call TriggerRegisterLeaveRectSimple(udg_trigger66,udg_rect37)
call TriggerAddCondition(udg_trigger66,Condition(function OOE))
call TriggerAddAction(udg_trigger66,function ORE)
set udg_trigger67=CreateTrigger()
call DisableTrigger(udg_trigger67)
call TriggerRegisterEnterRectSimple(udg_trigger67,udg_rect38)
call TriggerAddCondition(udg_trigger67,Condition(function OIE))
call TriggerAddAction(udg_trigger67,function OAE)
set udg_trigger68=CreateTrigger()
call DisableTrigger(udg_trigger68)
call TriggerRegisterLeaveRectSimple(udg_trigger68,udg_rect38)
call TriggerAddCondition(udg_trigger68,Condition(function ONE))
call TriggerAddAction(udg_trigger68,function OBE)
set udg_trigger69=CreateTrigger()
call DisableTrigger(udg_trigger69)
call TriggerRegisterEnterRectSimple(udg_trigger69,udg_rect24)
call TriggerAddCondition(udg_trigger69,Condition(function OCE))
call TriggerAddAction(udg_trigger69,function ODE)
set udg_trigger70=CreateTrigger()
call DisableTrigger(udg_trigger70)
call TriggerRegisterLeaveRectSimple(udg_trigger70,udg_rect24)
call TriggerAddCondition(udg_trigger70,Condition(function OFE))
call TriggerAddAction(udg_trigger70,function OGE)
set udg_trigger71=CreateTrigger()
call DisableTrigger(udg_trigger71)
call TriggerRegisterEnterRectSimple(udg_trigger71,udg_rect25)
call TriggerAddCondition(udg_trigger71,Condition(function OHE))
call TriggerAddAction(udg_trigger71,function OJE)
set udg_trigger72=CreateTrigger()
call DisableTrigger(udg_trigger72)
call TriggerRegisterLeaveRectSimple(udg_trigger72,udg_rect25)
call TriggerAddCondition(udg_trigger72,Condition(function OKE))
call TriggerAddAction(udg_trigger72,function OLE)
set udg_trigger73=CreateTrigger()
call DisableTrigger(udg_trigger73)
call TriggerRegisterEnterRectSimple(udg_trigger73,udg_rect26)
call TriggerAddCondition(udg_trigger73,Condition(function OME))
call TriggerAddAction(udg_trigger73,function OPE)
set udg_trigger74=CreateTrigger()
call DisableTrigger(udg_trigger74)
call TriggerRegisterLeaveRectSimple(udg_trigger74,udg_rect26)
call TriggerAddCondition(udg_trigger74,Condition(function OQE))
call TriggerAddAction(udg_trigger74,function OSE)
set udg_trigger75=CreateTrigger()
call DisableTrigger(udg_trigger75)
call TriggerRegisterEnterRectSimple(udg_trigger75,udg_rect27)
call TriggerAddCondition(udg_trigger75,Condition(function OTE))
call TriggerAddAction(udg_trigger75,function OUE)
set udg_trigger76=CreateTrigger()
call DisableTrigger(udg_trigger76)
call TriggerRegisterLeaveRectSimple(udg_trigger76,udg_rect27)
call TriggerAddCondition(udg_trigger76,Condition(function OWE))
call TriggerAddAction(udg_trigger76,function OYE)
set udg_trigger77=CreateTrigger()
call DisableTrigger(udg_trigger77)
call TriggerRegisterEnterRectSimple(udg_trigger77,udg_rect28)
call TriggerAddCondition(udg_trigger77,Condition(function OZE))
call TriggerAddAction(udg_trigger77,function O_E)
set udg_trigger78=CreateTrigger()
call DisableTrigger(udg_trigger78)
call TriggerRegisterLeaveRectSimple(udg_trigger78,udg_rect28)
call TriggerAddCondition(udg_trigger78,Condition(function O0E))
call TriggerAddAction(udg_trigger78,function O1E)
set udg_trigger79=CreateTrigger()
call DisableTrigger(udg_trigger79)
call TriggerRegisterEnterRectSimple(udg_trigger79,udg_rect29)
call TriggerAddCondition(udg_trigger79,Condition(function O2E))
call TriggerAddAction(udg_trigger79,function O3E)
set udg_trigger80=CreateTrigger()
call DisableTrigger(udg_trigger80)
call TriggerRegisterLeaveRectSimple(udg_trigger80,udg_rect29)
call TriggerAddCondition(udg_trigger80,Condition(function O4E))
call TriggerAddAction(udg_trigger80,function O5E)
set udg_trigger81=CreateTrigger()
call DisableTrigger(udg_trigger81)
call TriggerRegisterEnterRectSimple(udg_trigger81,udg_rect30)
call TriggerAddCondition(udg_trigger81,Condition(function O6E))
call TriggerAddAction(udg_trigger81,function O7E)
set udg_trigger82=CreateTrigger()
call DisableTrigger(udg_trigger82)
call TriggerRegisterLeaveRectSimple(udg_trigger82,udg_rect30)
call TriggerAddCondition(udg_trigger82,Condition(function O8E))
call TriggerAddAction(udg_trigger82,function O9E)
set udg_trigger83=CreateTrigger()
call DisableTrigger(udg_trigger83)
call TriggerRegisterEnterRectSimple(udg_trigger83,udg_rect187)
call TriggerAddCondition(udg_trigger83,Condition(function RVE))
call TriggerAddAction(udg_trigger83,function REE)
set udg_trigger84=CreateTrigger()
call DisableTrigger(udg_trigger84)
call TriggerRegisterLeaveRectSimple(udg_trigger84,udg_rect187)
call TriggerAddCondition(udg_trigger84,Condition(function RXE))
call TriggerAddAction(udg_trigger84,function ROE)
set udg_trigger85=CreateTrigger()
call DisableTrigger(udg_trigger85)
call TriggerRegisterEnterRectSimple(udg_trigger85,udg_rect190)
call TriggerAddCondition(udg_trigger85,Condition(function RRE))
call TriggerAddAction(udg_trigger85,function RIE)
set udg_trigger86=CreateTrigger()
call DisableTrigger(udg_trigger86)
call TriggerRegisterLeaveRectSimple(udg_trigger86,udg_rect190)
call TriggerAddCondition(udg_trigger86,Condition(function RAE))
call TriggerAddAction(udg_trigger86,function RNE)
set udg_trigger87=CreateTrigger()
call DisableTrigger(udg_trigger87)
call TriggerRegisterEnterRectSimple(udg_trigger87,udg_rect202)
call TriggerAddCondition(udg_trigger87,Condition(function RBE))
call TriggerAddAction(udg_trigger87,function RCE)
set udg_trigger88=CreateTrigger()
call DisableTrigger(udg_trigger88)
call TriggerRegisterLeaveRectSimple(udg_trigger88,udg_rect202)
call TriggerAddCondition(udg_trigger88,Condition(function RDE))
call TriggerAddAction(udg_trigger88,function RFE)
set udg_trigger89=CreateTrigger()
call DisableTrigger(udg_trigger89)
call TriggerRegisterEnterRectSimple(udg_trigger89,udg_rect203)
call TriggerAddCondition(udg_trigger89,Condition(function RGE))
call TriggerAddAction(udg_trigger89,function RHE)
set udg_trigger90=CreateTrigger()
call DisableTrigger(udg_trigger90)
call TriggerRegisterLeaveRectSimple(udg_trigger90,udg_rect203)
call TriggerAddCondition(udg_trigger90,Condition(function RJE))
call TriggerAddAction(udg_trigger90,function RKE)
set udg_trigger91=CreateTrigger()
call DisableTrigger(udg_trigger91)
call TriggerRegisterEnterRectSimple(udg_trigger91,udg_rect208)
call TriggerAddCondition(udg_trigger91,Condition(function RLE))
call TriggerAddAction(udg_trigger91,function RME)
set udg_trigger92=CreateTrigger()
call DisableTrigger(udg_trigger92)
call TriggerRegisterLeaveRectSimple(udg_trigger92,udg_rect208)
call TriggerAddCondition(udg_trigger92,Condition(function RPE))
call TriggerAddAction(udg_trigger92,function RQE)
set udg_trigger93=CreateTrigger()
call DisableTrigger(udg_trigger93)
call TriggerRegisterEnterRectSimple(udg_trigger93,udg_rect209)
call TriggerAddCondition(udg_trigger93,Condition(function RSE))
call TriggerAddAction(udg_trigger93,function RTE)
set udg_trigger94=CreateTrigger()
call DisableTrigger(udg_trigger94)
call TriggerRegisterLeaveRectSimple(udg_trigger94,udg_rect209)
call TriggerAddCondition(udg_trigger94,Condition(function RUE))
call TriggerAddAction(udg_trigger94,function RWE)
set udg_trigger95=CreateTrigger()
call TriggerAddAction(udg_trigger95,function RYE)
set udg_trigger96=CreateTrigger()
call TriggerAddAction(udg_trigger96,function RZE)
set udg_trigger97=CreateTrigger()
call TriggerAddAction(udg_trigger97,function R_E)
set udg_trigger98=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger98,udg_rect135)
call TriggerAddAction(udg_trigger98,function R1E)
set udg_trigger99=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger99,udg_rect227)
call TriggerAddAction(udg_trigger99,function R3E)
set udg_trigger100=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger100,udg_rect57)
call TriggerAddAction(udg_trigger100,function R5E)
set udg_trigger101=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger101,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger101,Condition(function R6E))
call TriggerAddAction(udg_trigger101,function R9E)
set udg_trigger102=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger102,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger102,Condition(function IVE))
call TriggerAddAction(udg_trigger102,function IOE)
set udg_trigger103=CreateTrigger()
call DisableTrigger(udg_trigger103)
call TriggerRegisterTimerEventPeriodic(udg_trigger103,1.)
call TriggerAddAction(udg_trigger103,function IRE)
set udg_trigger104=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger104,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger104,Condition(function IIE))
call TriggerAddAction(udg_trigger104,function IAE)
set udg_trigger105=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger105,udg_rect121)
call TriggerAddCondition(udg_trigger105,Condition(function INE))
call TriggerAddAction(udg_trigger105,function IBE)
set udg_trigger106=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger106,udg_rect121)
call TriggerAddCondition(udg_trigger106,Condition(function ICE))
call TriggerAddAction(udg_trigger106,function IDE)
set udg_trigger107=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger107,udg_rect121)
call TriggerAddCondition(udg_trigger107,Condition(function IFE))
call TriggerAddAction(udg_trigger107,function IGE)
set udg_trigger108=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger108,udg_rect121)
call TriggerAddCondition(udg_trigger108,Condition(function IHE))
call TriggerAddAction(udg_trigger108,function IJE)
set udg_trigger109=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger109,udg_rect121)
call TriggerAddCondition(udg_trigger109,Condition(function IKE))
call TriggerAddAction(udg_trigger109,function ILE)
set udg_trigger110=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger110,udg_rect121)
call TriggerAddCondition(udg_trigger110,Condition(function IME))
call TriggerAddAction(udg_trigger110,function IPE)
set udg_trigger111=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger111,udg_rect121)
call TriggerAddCondition(udg_trigger111,Condition(function IQE))
call TriggerAddAction(udg_trigger111,function ISE)
set udg_trigger112=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger112,udg_rect121)
call TriggerAddCondition(udg_trigger112,Condition(function ITE))
call TriggerAddAction(udg_trigger112,function IUE)
set udg_trigger113=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger113,udg_rect121)
call TriggerAddCondition(udg_trigger113,Condition(function IWE))
call TriggerAddAction(udg_trigger113,function IYE)
set udg_trigger114=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger114,udg_rect121)
call TriggerAddCondition(udg_trigger114,Condition(function IZE))
call TriggerAddAction(udg_trigger114,function I_E)
set udg_trigger115=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger115,udg_rect122)
call TriggerAddCondition(udg_trigger115,Condition(function I0E))
call TriggerAddAction(udg_trigger115,function I1E)
set udg_trigger116=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger116,udg_rect122)
call TriggerAddCondition(udg_trigger116,Condition(function I2E))
call TriggerAddAction(udg_trigger116,function I3E)
set udg_trigger117=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger117,udg_rect122)
call TriggerAddCondition(udg_trigger117,Condition(function I4E))
call TriggerAddAction(udg_trigger117,function I5E)
set udg_trigger118=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger118,udg_rect122)
call TriggerAddCondition(udg_trigger118,Condition(function I6E))
call TriggerAddAction(udg_trigger118,function I7E)
set udg_trigger119=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger119,udg_rect122)
call TriggerAddCondition(udg_trigger119,Condition(function I8E))
call TriggerAddAction(udg_trigger119,function I9E)
set udg_trigger120=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger120,udg_rect122)
call TriggerAddCondition(udg_trigger120,Condition(function AVE))
call TriggerAddAction(udg_trigger120,function AEE)
set udg_trigger121=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger121,udg_rect122)
call TriggerAddCondition(udg_trigger121,Condition(function AXE))
call TriggerAddAction(udg_trigger121,function AOE)
set udg_trigger122=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger122,udg_rect122)
call TriggerAddCondition(udg_trigger122,Condition(function ARE))
call TriggerAddAction(udg_trigger122,function AIE)
set udg_trigger123=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger123,udg_rect122)
call TriggerAddCondition(udg_trigger123,Condition(function AAE))
call TriggerAddAction(udg_trigger123,function ANE)
set udg_trigger124=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger124,udg_rect122)
call TriggerAddCondition(udg_trigger124,Condition(function ABE))
call TriggerAddAction(udg_trigger124,function ACE)
set udg_trigger125=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger125,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger125,Condition(function ADE))
call TriggerAddAction(udg_trigger125,function AFE)
set udg_trigger126=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger126,Condition(function AGE))
call TriggerAddAction(udg_trigger126,function AHE)
set udg_trigger127=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger127,Condition(function AJE))
call TriggerAddAction(udg_trigger127,function AKE)
set udg_trigger128=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger128,Condition(function ALE))
call TriggerAddAction(udg_trigger128,function AME)
set udg_trigger129=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger129,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger129,Condition(function APE))
call TriggerAddAction(udg_trigger129,function AQE)
set udg_trigger130=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(0),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(1),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(2),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(3),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(4),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(5),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(6),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(7),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(8),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(9),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(10),"-open backdoor",true)
call TriggerAddCondition(udg_trigger130,Condition(function ASE))
call TriggerAddAction(udg_trigger130,function ATE)
set udg_trigger131=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger131,Condition(function AUE))
call TriggerAddAction(udg_trigger131,function AWE)
set udg_trigger132=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(0),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(1),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(2),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(3),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(4),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(5),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(6),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(7),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(8),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(9),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(10),"-close backdoor",true)
call TriggerAddCondition(udg_trigger132,Condition(function AYE))
call TriggerAddAction(udg_trigger132,function AZE)
set udg_trigger133=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger133,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger133,Condition(function A_E))
call TriggerAddAction(udg_trigger133,function A0E)
set udg_trigger134=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger134,Condition(function A1E))
call TriggerAddAction(udg_trigger134,function A2E)
set udg_trigger135=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(0),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(1),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(2),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(3),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(4),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(5),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(6),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(7),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(8),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(9),"-open backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(10),"-open backdoor",true)
call TriggerAddCondition(udg_trigger135,Condition(function A3E))
call TriggerAddAction(udg_trigger135,function A4E)
set udg_trigger136=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(0),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(1),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(2),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(3),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(4),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(5),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(6),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(7),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(8),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(9),"-close backdoor",true)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(10),"-close backdoor",true)
call TriggerAddCondition(udg_trigger136,Condition(function A5E))
call TriggerAddAction(udg_trigger136,function A6E)
set udg_trigger137=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger137,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger137,Condition(function A7E))
call TriggerAddAction(udg_trigger137,function A8E)
set udg_trigger138=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger138,Condition(function A9E))
call TriggerAddAction(udg_trigger138,function NVE)
set udg_trigger139=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger139,Condition(function NEE))
call TriggerAddAction(udg_trigger139,function NXE)
set udg_trigger140=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger140,Condition(function NOE))
call TriggerAddAction(udg_trigger140,function NRE)
set udg_trigger141=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger141,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger141,Condition(function NIE))
call TriggerAddAction(udg_trigger141,function NAE)
set udg_trigger142=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger142,Condition(function NNE))
call TriggerAddAction(udg_trigger142,function NBE)
set udg_trigger143=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger143,Condition(function NCE))
call TriggerAddAction(udg_trigger143,function NDE)
set udg_trigger144=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger144,Condition(function NFE))
call TriggerAddAction(udg_trigger144,function NGE)
set udg_trigger145=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger145,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger145,Condition(function NHE))
call TriggerAddAction(udg_trigger145,function NJE)
set udg_trigger146=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger146,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger146,Condition(function NKE))
call TriggerAddAction(udg_trigger146,function NLE)
set udg_trigger147=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger147,Condition(function NME))
call TriggerAddAction(udg_trigger147,function NPE)
set udg_trigger148=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger148,Condition(function NQE))
call TriggerAddAction(udg_trigger148,function NSE)
set udg_trigger149=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger149,Condition(function NTE))
call TriggerAddAction(udg_trigger149,function NUE)
set udg_trigger150=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger150,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger150,Condition(function NWE))
call TriggerAddAction(udg_trigger150,function NYE)
set udg_trigger151=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger151,Condition(function NZE))
call TriggerAddAction(udg_trigger151,function N_E)
set udg_trigger152=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger152,Condition(function N0E))
call TriggerAddAction(udg_trigger152,function N1E)
set udg_trigger153=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(0),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(1),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(2),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(3),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(4),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(5),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(6),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(7),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(8),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(9),"-open boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(10),"-open boat",true)
call TriggerAddCondition(udg_trigger153,Condition(function N2E))
call TriggerAddAction(udg_trigger153,function N3E)
set udg_trigger154=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(0),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(1),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(2),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(3),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(4),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(5),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(6),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(7),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(8),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(9),"-close boat",true)
call TriggerRegisterPlayerChatEvent(udg_trigger154,Player(10),"-close boat",true)
call TriggerAddCondition(udg_trigger154,Condition(function N4E))
call TriggerAddAction(udg_trigger154,function N5E)
set udg_trigger155=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(0),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(1),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(2),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(3),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(4),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(5),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(6),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(7),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(8),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(9),"-open house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(10),"-open house",true)
call TriggerAddCondition(udg_trigger155,Condition(function N6E))
call TriggerAddAction(udg_trigger155,function N7E)
set udg_trigger156=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(0),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(1),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(2),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(3),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(4),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(5),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(6),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(7),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(8),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(9),"-close house",true)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(10),"-close house",true)
call TriggerAddCondition(udg_trigger156,Condition(function N8E))
call TriggerAddAction(udg_trigger156,function N9E)
set udg_trigger157=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(0),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(1),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(2),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(3),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(4),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(5),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(6),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(7),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(8),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(9),"-open house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(10),"-open house1",true)
call TriggerAddCondition(udg_trigger157,Condition(function BVE))
call TriggerAddAction(udg_trigger157,function BEE)
set udg_trigger158=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(0),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(1),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(2),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(3),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(4),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(5),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(6),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(7),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(8),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(9),"-close house1",true)
call TriggerRegisterPlayerChatEvent(udg_trigger158,Player(10),"-close house1",true)
call TriggerAddCondition(udg_trigger158,Condition(function BXE))
call TriggerAddAction(udg_trigger158,function BOE)
set udg_trigger159=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger159,Player(0),"-open mansion",true)
call TriggerAddAction(udg_trigger159,function BRE)
set udg_trigger160=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger160,Player(0),"-close mansion",true)
call TriggerAddAction(udg_trigger160,function BIE)
set udg_trigger161=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger161,Player(0),"-open mansion1",true)
call TriggerAddAction(udg_trigger161,function BAE)
set udg_trigger162=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger162,Player(0),"-close mansion1",true)
call TriggerAddAction(udg_trigger162,function BNE)
set udg_trigger163=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger163,Player(0),"-open mansion2",true)
call TriggerAddAction(udg_trigger163,function BBE)
set udg_trigger164=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger164,Player(0),"-close mansion2",true)
call TriggerAddAction(udg_trigger164,function BCE)
set udg_trigger165=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger165,Player(0),"-open hideout",true)
call TriggerAddAction(udg_trigger165,function BDE)
set udg_trigger166=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger166,Player(0),"-close hideout",true)
call TriggerAddAction(udg_trigger166,function BFE)
set udg_trigger167=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger167,Player(9),"-open stash",true)
call TriggerAddAction(udg_trigger167,function BGE)
set udg_trigger168=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger168,Player(9),"-close stash",true)
call TriggerAddAction(udg_trigger168,function BHE)
set udg_trigger169=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger169,Player(9),"-open drug",true)
call TriggerAddAction(udg_trigger169,function BJE)
set udg_trigger170=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger170,Player(9),"-close drug",true)
call TriggerAddAction(udg_trigger170,function BKE)
set udg_trigger171=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger171,Player(8),"-open hq",true)
call TriggerAddAction(udg_trigger171,function BLE)
set udg_trigger172=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger172,Player(8),"-close hq",true)
call TriggerAddAction(udg_trigger172,function BME)
set udg_trigger173=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger173,Player(8),"-close jail",true)
call TriggerAddAction(udg_trigger173,function BPE)
set udg_trigger174=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger174,Player(8),"-open jail",true)
call TriggerAddAction(udg_trigger174,function BQE)
set udg_trigger175=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger175,Player(8),"-open jail2",true)
call TriggerAddAction(udg_trigger175,function BSE)
set udg_trigger176=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger176,Player(8),"-close jail2",true)
call TriggerAddAction(udg_trigger176,function BTE)
set udg_trigger177=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger177,Player(8),"-open evi",true)
call TriggerAddAction(udg_trigger177,function BUE)
set udg_trigger178=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger178,Player(8),"-close evi",true)
call TriggerAddAction(udg_trigger178,function BWE)
set udg_trigger179=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger179,Player(8),"-open court1",true)
call TriggerAddAction(udg_trigger179,function BYE)
set udg_trigger180=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger180,Player(8),"-open court2",true)
call TriggerAddAction(udg_trigger180,function BZE)
set udg_trigger181=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger181,Player(8),"-close court2",true)
call TriggerAddAction(udg_trigger181,function B_E)
set udg_trigger182=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger182,Player(8),"-close court1",true)
call TriggerAddAction(udg_trigger182,function B0E)
set udg_trigger183=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger183,Player(8),"-open court",true)
call TriggerAddAction(udg_trigger183,function B1E)
set udg_trigger184=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger184,Player(8),"-close court",true)
call TriggerAddAction(udg_trigger184,function B2E)
set udg_trigger185=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger185,Player(8),"-open witness",true)
call TriggerAddAction(udg_trigger185,function B3E)
set udg_trigger186=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger186,Player(8),"-close witness",true)
call TriggerAddAction(udg_trigger186,function B4E)
set udg_trigger187=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(0),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(1),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(2),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(3),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(4),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(5),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(6),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(7),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger187,Player(10),"-open jail",true)
call TriggerAddCondition(udg_trigger187,Condition(function B5E))
call TriggerAddAction(udg_trigger187,function B6E)
set udg_trigger188=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(0),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(1),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(2),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(3),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(4),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(5),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(6),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(7),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger188,Player(10),"-close jail",true)
call TriggerAddCondition(udg_trigger188,Condition(function B7E))
call TriggerAddAction(udg_trigger188,function B8E)
set udg_trigger189=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(0),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(1),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(2),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(3),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(4),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(5),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(6),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(7),"-open bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger189,Player(10),"-open bank",true)
call TriggerAddCondition(udg_trigger189,Condition(function B9E))
call TriggerAddAction(udg_trigger189,function CVE)
set udg_trigger190=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(0),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(1),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(2),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(3),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(4),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(5),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(6),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(7),"-close bank",true)
call TriggerRegisterPlayerChatEvent(udg_trigger190,Player(10),"-close bank",true)
call TriggerAddCondition(udg_trigger190,Condition(function CEE))
call TriggerAddAction(udg_trigger190,function CXE)
set udg_trigger191=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(0),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(1),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(2),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(3),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(4),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(5),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(6),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(7),"-open doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger191,Player(10),"-open doc",true)
call TriggerAddCondition(udg_trigger191,Condition(function COE))
call TriggerAddAction(udg_trigger191,function CRE)
set udg_trigger192=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(0),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(1),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(2),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(3),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(4),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(5),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(6),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(7),"-close doc",true)
call TriggerRegisterPlayerChatEvent(udg_trigger192,Player(10),"-open doc",true)
call TriggerAddCondition(udg_trigger192,Condition(function CIE))
call TriggerAddAction(udg_trigger192,function CAE)
set udg_trigger193=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(0),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(1),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(2),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(3),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(4),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(5),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(6),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(7),"-open vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger193,Player(10),"-open vault",true)
call TriggerAddCondition(udg_trigger193,Condition(function CNE))
call TriggerAddAction(udg_trigger193,function CBE)
set udg_trigger194=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(0),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(1),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(2),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(3),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(4),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(5),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(6),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(7),"-close vault",true)
call TriggerRegisterPlayerChatEvent(udg_trigger194,Player(10),"-close vault",true)
call TriggerAddCondition(udg_trigger194,Condition(function CCE))
call TriggerAddAction(udg_trigger194,function CDE)
set udg_trigger195=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(0),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(1),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(2),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(3),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(4),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(5),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(6),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(7),"-open fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger195,Player(10),"-open fire",true)
call TriggerAddCondition(udg_trigger195,Condition(function CFE))
call TriggerAddAction(udg_trigger195,function CGE)
set udg_trigger196=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(0),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(1),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(2),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(3),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(4),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(5),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(6),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(7),"-close fire",true)
call TriggerRegisterPlayerChatEvent(udg_trigger196,Player(10),"-close fire",true)
call TriggerAddCondition(udg_trigger196,Condition(function CHE))
call TriggerAddAction(udg_trigger196,function CJE)
set udg_trigger197=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(0),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(1),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(2),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(3),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(4),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(5),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(6),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(7),"-open hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger197,Player(10),"-open hooker",true)
call TriggerAddCondition(udg_trigger197,Condition(function CKE))
call TriggerAddAction(udg_trigger197,function CLE)
set udg_trigger198=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(0),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(1),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(2),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(3),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(4),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(5),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(6),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(7),"-close hooker",true)
call TriggerRegisterPlayerChatEvent(udg_trigger198,Player(10),"-close hooker",true)
call TriggerAddCondition(udg_trigger198,Condition(function CME))
call TriggerAddAction(udg_trigger198,function CPE)
set udg_trigger199=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(0),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(1),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(2),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(3),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(4),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(5),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(6),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(7),"-open crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger199,Player(10),"-open crypt",true)
call TriggerAddCondition(udg_trigger199,Condition(function CQE))
call TriggerAddAction(udg_trigger199,function CSE)
set udg_trigger200=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(0),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(1),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(2),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(3),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(4),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(5),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(6),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(7),"-close crypt",true)
call TriggerRegisterPlayerChatEvent(udg_trigger200,Player(10),"-close crypt",true)
call TriggerAddCondition(udg_trigger200,Condition(function CTE))
call TriggerAddAction(udg_trigger200,function CUE)
set udg_trigger201=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(0),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(1),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(2),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(3),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(4),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(5),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(6),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(7),"-open drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger201,Player(10),"-open drug",true)
call TriggerAddCondition(udg_trigger201,Condition(function CWE))
call TriggerAddAction(udg_trigger201,function CYE)
set udg_trigger202=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(0),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(1),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(2),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(3),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(4),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(5),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(6),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(7),"-close drug",true)
call TriggerRegisterPlayerChatEvent(udg_trigger202,Player(10),"-close drug",true)
call TriggerAddCondition(udg_trigger202,Condition(function CZE))
call TriggerAddAction(udg_trigger202,function C_E)
set udg_trigger203=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger203,udg_unit52,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger203,Condition(function C0E))
call TriggerAddAction(udg_trigger203,function C1E)
set udg_trigger204=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger204,udg_unit100,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger204,Condition(function C2E))
call TriggerAddAction(udg_trigger204,function C3E)
set udg_trigger205=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger205,udg_unit99,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger205,Condition(function C4E))
call TriggerAddAction(udg_trigger205,function C5E)
set udg_trigger206=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger206,udg_unit101,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger206,Condition(function C6E))
call TriggerAddAction(udg_trigger206,function C7E)
set udg_trigger207=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger207,udg_unit55,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger207,Condition(function C8E))
call TriggerAddAction(udg_trigger207,function C9E)
set udg_trigger208=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger208,udg_unit103,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger208,Condition(function DVE))
call TriggerAddAction(udg_trigger208,function DEE)
set udg_trigger209=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger209,udg_unit56,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger209,Condition(function DXE))
call TriggerAddAction(udg_trigger209,function DOE)
set udg_trigger210=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger210,udg_unit102,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger210,Condition(function DRE))
call TriggerAddAction(udg_trigger210,function DIE)
set udg_trigger211=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger211,udg_unit53,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger211,Condition(function DAE))
call TriggerAddAction(udg_trigger211,function DNE)
set udg_trigger212=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger212,udg_unit105,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger212,Condition(function DBE))
call TriggerAddAction(udg_trigger212,function DCE)
set udg_trigger213=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger213,udg_unit54,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger213,Condition(function DDE))
call TriggerAddAction(udg_trigger213,function DFE)
set udg_trigger214=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger214,udg_unit104,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger214,Condition(function DGE))
call TriggerAddAction(udg_trigger214,function DHE)
set udg_trigger215=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger215,udg_unit50,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger215,Condition(function DJE))
call TriggerAddAction(udg_trigger215,function DKE)
set udg_trigger216=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger216,udg_unit28,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger216,Condition(function DLE))
call TriggerAddAction(udg_trigger216,function DME)
set udg_trigger217=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger217,udg_unit51,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger217,Condition(function DPE))
call TriggerAddAction(udg_trigger217,function DQE)
set udg_trigger218=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger218,udg_unit106,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger218,Condition(function DSE))
call TriggerAddAction(udg_trigger218,function DTE)
set udg_trigger219=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger219,udg_unit117,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger219,Condition(function DUE))
call TriggerAddAction(udg_trigger219,function DWE)
set udg_trigger220=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger220,udg_unit116,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger220,Condition(function DYE))
call TriggerAddAction(udg_trigger220,function DZE)
set udg_trigger221=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger221,udg_unit118,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger221,Condition(function D_E))
call TriggerAddAction(udg_trigger221,function D0E)
set udg_trigger222=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger222,udg_unit123,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger222,Condition(function D1E))
call TriggerAddAction(udg_trigger222,function D2E)
set udg_trigger223=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger223,udg_unit138,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger223,Condition(function D3E))
call TriggerAddAction(udg_trigger223,function D4E)
set udg_trigger224=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger224,udg_unit137,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger224,Condition(function D5E))
call TriggerAddAction(udg_trigger224,function D6E)
set udg_trigger225=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger225,udg_unit164,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger225,Condition(function D7E))
call TriggerAddAction(udg_trigger225,function D8E)
set udg_trigger226=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger226,udg_unit166,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger226,Condition(function D9E))
call TriggerAddAction(udg_trigger226,function FVE)
set udg_trigger227=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger227,udg_unit165,EVENT_UNIT_SELL)
call TriggerAddCondition(udg_trigger227,Condition(function FEE))
call TriggerAddAction(udg_trigger227,function FXE)
set udg_trigger228=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger228,udg_unit167,EVENT_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger228,Condition(function FOE))
call TriggerAddAction(udg_trigger228,function FRE)
set udg_trigger229=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger229,udg_rect82)
call TriggerAddCondition(udg_trigger229,Condition(function FIE))
call TriggerAddAction(udg_trigger229,function FAE)
set udg_trigger230=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger230,5.)
call TriggerAddAction(udg_trigger230,function FNE)
set udg_trigger231=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger231,udg_rect82)
call TriggerAddCondition(udg_trigger231,Condition(function FBE))
call TriggerAddAction(udg_trigger231,function FDE)
set udg_trigger232=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger232,5.)
call TriggerAddAction(udg_trigger232,function FFE)
set udg_trigger233=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger233,udg_rect72)
call TriggerAddCondition(udg_trigger233,Condition(function FGE))
call TriggerAddAction(udg_trigger233,function FTE)
set udg_trigger234=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger234,udg_rect80)
call TriggerAddCondition(udg_trigger234,Condition(function FUE))
call TriggerAddAction(udg_trigger234,function F4E)
set udg_trigger235=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger235,udg_rect81)
call TriggerAddCondition(udg_trigger235,Condition(function F5E))
call TriggerAddAction(udg_trigger235,function GRE)
set udg_trigger236=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger236,udg_rect72)
call TriggerAddCondition(udg_trigger236,Condition(function GIE))
call TriggerAddAction(udg_trigger236,function GBE)
set udg_trigger237=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger237,udg_rect80)
call TriggerAddCondition(udg_trigger237,Condition(function GCE))
call TriggerAddAction(udg_trigger237,function GGE)
set udg_trigger238=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger238,udg_rect81)
call TriggerAddCondition(udg_trigger238,Condition(function GHE))
call TriggerAddAction(udg_trigger238,function GLE)
set udg_trigger239=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger239,udg_rect168)
call TriggerAddCondition(udg_trigger239,Condition(function GME))
call TriggerAddAction(udg_trigger239,function GPE)
set udg_trigger240=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger240,udg_rect168)
call TriggerAddCondition(udg_trigger240,Condition(function GQE))
call TriggerAddAction(udg_trigger240,function GSE)
set udg_trigger241=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger241,udg_rect168)
call TriggerAddCondition(udg_trigger241,Condition(function GTE))
call TriggerAddAction(udg_trigger241,function GUE)
set udg_trigger242=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger242,udg_rect169)
call TriggerAddCondition(udg_trigger242,Condition(function GWE))
call TriggerAddAction(udg_trigger242,function GYE)
set udg_trigger243=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger243,udg_rect169)
call TriggerAddCondition(udg_trigger243,Condition(function GZE))
call TriggerAddAction(udg_trigger243,function G_E)
set udg_trigger244=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger244,udg_rect169)
call TriggerAddCondition(udg_trigger244,Condition(function G0E))
call TriggerAddAction(udg_trigger244,function G1E)
set udg_trigger245=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger245,udg_rect02)
call TriggerAddCondition(udg_trigger245,Condition(function G2E))
call TriggerAddAction(udg_trigger245,function G3E)
set udg_trigger246=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger246,udg_rect02)
call TriggerAddCondition(udg_trigger246,Condition(function G4E))
call TriggerAddAction(udg_trigger246,function G5E)
set udg_trigger247=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger247,udg_rect02)
call TriggerAddCondition(udg_trigger247,Condition(function G6E))
call TriggerAddAction(udg_trigger247,function G7E)
set udg_trigger248=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger248,udg_rect01)
call TriggerAddCondition(udg_trigger248,Condition(function G8E))
call TriggerAddAction(udg_trigger248,function G9E)
set udg_trigger249=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger249,udg_rect01)
call TriggerAddCondition(udg_trigger249,Condition(function HVE))
call TriggerAddAction(udg_trigger249,function HEE)
set udg_trigger250=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger250,udg_rect01)
call TriggerAddCondition(udg_trigger250,Condition(function HXE))
call TriggerAddAction(udg_trigger250,function HOE)
set udg_trigger251=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger251,udg_rect134)
call TriggerAddCondition(udg_trigger251,Condition(function HRE))
call TriggerAddAction(udg_trigger251,function HIE)
set udg_trigger252=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger252,udg_rect134)
call TriggerAddCondition(udg_trigger252,Condition(function HAE))
call TriggerAddAction(udg_trigger252,function HNE)
set udg_trigger253=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger253,udg_rect134)
call TriggerAddCondition(udg_trigger253,Condition(function HBE))
call TriggerAddAction(udg_trigger253,function HCE)
set udg_trigger254=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger254,udg_rect133)
call TriggerAddCondition(udg_trigger254,Condition(function HDE))
call TriggerAddAction(udg_trigger254,function HFE)
set udg_trigger255=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger255,udg_rect133)
call TriggerAddCondition(udg_trigger255,Condition(function HGE))
call TriggerAddAction(udg_trigger255,function HHE)
set udg_trigger256=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger256,udg_rect133)
call TriggerAddCondition(udg_trigger256,Condition(function HJE))
call TriggerAddAction(udg_trigger256,function HKE)
set udg_trigger257=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger257,udg_rect113)
call TriggerAddCondition(udg_trigger257,Condition(function HLE))
call TriggerAddAction(udg_trigger257,function HME)
set udg_trigger258=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger258,udg_rect113)
call TriggerAddCondition(udg_trigger258,Condition(function HPE))
call TriggerAddAction(udg_trigger258,function HQE)
set udg_trigger259=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger259,udg_rect113)
call TriggerAddCondition(udg_trigger259,Condition(function HSE))
call TriggerAddAction(udg_trigger259,function HTE)
set udg_trigger260=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger260,udg_rect131)
call TriggerAddCondition(udg_trigger260,Condition(function HUE))
call TriggerAddAction(udg_trigger260,function HWE)
set udg_trigger261=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger261,udg_rect131)
call TriggerAddCondition(udg_trigger261,Condition(function HYE))
call TriggerAddAction(udg_trigger261,function HZE)
set udg_trigger262=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger262,udg_rect131)
call TriggerAddCondition(udg_trigger262,Condition(function H_E))
call TriggerAddAction(udg_trigger262,function H0E)
set udg_trigger263=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger263,5.)
call TriggerAddAction(udg_trigger263,function H1E)
set udg_trigger264=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger264,udg_rect79)
call TriggerAddCondition(udg_trigger264,Condition(function H2E))
call TriggerAddAction(udg_trigger264,function H3E)
set udg_trigger265=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger265,udg_rect96)
call TriggerAddCondition(udg_trigger265,Condition(function H4E))
call TriggerAddAction(udg_trigger265,function H5E)
set udg_trigger266=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger266,120.)
call TriggerAddCondition(udg_trigger266,Condition(function H6E))
call TriggerAddAction(udg_trigger266,function H7E)
set udg_trigger267=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger267,120.)
call TriggerAddCondition(udg_trigger267,Condition(function H8E))
call TriggerAddAction(udg_trigger267,function H9E)
set udg_trigger268=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger268,udg_rect98)
call TriggerAddCondition(udg_trigger268,Condition(function JVE))
call TriggerAddAction(udg_trigger268,function JEE)
set udg_trigger269=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger269,udg_rect79)
call TriggerAddCondition(udg_trigger269,Condition(function JXE))
call TriggerAddAction(udg_trigger269,function JRE)
set udg_trigger270=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger270,udg_rect96)
call TriggerAddCondition(udg_trigger270,Condition(function JIE))
call TriggerAddAction(udg_trigger270,function JNE)
set udg_trigger271=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger271,5.)
call TriggerAddAction(udg_trigger271,function JBE)
set udg_trigger272=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger272,udg_rect68)
call TriggerAddCondition(udg_trigger272,Condition(function JCE))
call TriggerAddAction(udg_trigger272,function JDE)
set udg_trigger273=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger273,udg_rect55)
call TriggerRegisterEnterRectSimple(udg_trigger273,udg_rect240)
call TriggerAddCondition(udg_trigger273,Condition(function JFE))
call TriggerAddAction(udg_trigger273,function JGE)
set udg_trigger274=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger274,udg_rect68)
call TriggerAddCondition(udg_trigger274,Condition(function JHE))
call TriggerAddAction(udg_trigger274,function JKE)
set udg_trigger275=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger275,Player(12),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger275,Condition(function JLE))
call TriggerAddAction(udg_trigger275,function JME)
set udg_trigger276=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger276,udg_rect110)
call TriggerAddCondition(udg_trigger276,Condition(function JPE))
call TriggerAddAction(udg_trigger276,function JQE)
set udg_trigger277=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger277,5.)
call TriggerAddAction(udg_trigger277,function JSE)
set udg_trigger278=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger278,udg_rect65)
call TriggerAddCondition(udg_trigger278,Condition(function JTE))
call TriggerAddAction(udg_trigger278,function JUE)
set udg_trigger279=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger279,udg_rect18)
call TriggerAddCondition(udg_trigger279,Condition(function JWE))
call TriggerAddAction(udg_trigger279,function JYE)
set udg_trigger280=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger280,udg_rect18)
call TriggerAddCondition(udg_trigger280,Condition(function JZE))
call TriggerAddAction(udg_trigger280,function J_E)
set udg_trigger281=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger281,udg_rect65)
call TriggerAddCondition(udg_trigger281,Condition(function J0E))
call TriggerAddAction(udg_trigger281,function J2E)
set udg_trigger282=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger282,udg_rect77)
call TriggerAddCondition(udg_trigger282,Condition(function J3E))
call TriggerAddAction(udg_trigger282,function J5E)
set udg_trigger283=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger283,20.)
call TriggerAddAction(udg_trigger283,function J6E)
set udg_trigger284=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger284,udg_rect94)
call TriggerAddCondition(udg_trigger284,Condition(function J7E))
call TriggerAddAction(udg_trigger284,function J9E)
set udg_trigger285=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger285,udg_rect164)
call TriggerAddCondition(udg_trigger285,Condition(function KVE))
call TriggerAddAction(udg_trigger285,function KEE)
set udg_trigger286=CreateTrigger()
call DisableTrigger(udg_trigger286)
call TriggerRegisterTimerEventPeriodic(udg_trigger286,80.)
call TriggerAddCondition(udg_trigger286,Condition(function KXE))
call TriggerAddAction(udg_trigger286,function KRE)
set udg_trigger287=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger287,udg_rect94)
call TriggerAddCondition(udg_trigger287,Condition(function KIE))
call TriggerAddAction(udg_trigger287,function KNE)
set udg_trigger288=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger288,udg_rect50)
call TriggerAddCondition(udg_trigger288,Condition(function KBE))
call TriggerAddAction(udg_trigger288,function KDE)
set udg_trigger289=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger289,udg_rect50)
call TriggerAddCondition(udg_trigger289,Condition(function KFE))
call TriggerAddAction(udg_trigger289,function KGE)
set udg_trigger290=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger290,udg_rect77)
call TriggerAddCondition(udg_trigger290,Condition(function KHE))
call TriggerAddAction(udg_trigger290,function KKE)
set udg_trigger291=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger291,udg_rect78)
call TriggerAddCondition(udg_trigger291,Condition(function KLE))
call TriggerAddAction(udg_trigger291,function KME)
set udg_trigger292=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger292,5.)
call TriggerAddAction(udg_trigger292,function KPE)
set udg_trigger293=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger293,udg_rect175)
call TriggerAddCondition(udg_trigger293,Condition(function KQE))
call TriggerAddAction(udg_trigger293,function KSE)
set udg_trigger294=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger294,udg_rect175)
call TriggerAddCondition(udg_trigger294,Condition(function KTE))
call TriggerAddAction(udg_trigger294,function KUE)
set udg_trigger295=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger295,udg_rect175)
call TriggerAddCondition(udg_trigger295,Condition(function KWE))
call TriggerAddAction(udg_trigger295,function KYE)
set udg_trigger296=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger296,udg_rect175)
call TriggerAddCondition(udg_trigger296,Condition(function KZE))
call TriggerAddAction(udg_trigger296,function K_E)
set udg_trigger297=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger297,udg_rect175)
call TriggerAddCondition(udg_trigger297,Condition(function K0E))
call TriggerAddAction(udg_trigger297,function K1E)
set udg_trigger298=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger298,udg_rect175)
call TriggerAddCondition(udg_trigger298,Condition(function K2E))
call TriggerAddAction(udg_trigger298,function K3E)
set udg_trigger299=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger299,udg_rect78)
call TriggerAddCondition(udg_trigger299,Condition(function K4E))
call TriggerAddAction(udg_trigger299,function K6E)
set udg_trigger300=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger300,udg_rect70)
call TriggerAddCondition(udg_trigger300,Condition(function K7E))
call TriggerAddAction(udg_trigger300,function K8E)
set udg_trigger301=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger301,5.)
call TriggerAddAction(udg_trigger301,function K9E)
set udg_trigger302=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger302,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger302,Condition(function LVE))
call TriggerAddAction(udg_trigger302,function LEE)
set udg_trigger303=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger303,Player(14),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger303,Condition(function LXE))
call TriggerAddAction(udg_trigger303,function LRE)
set udg_trigger304=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger304,udg_rect70)
call TriggerAddCondition(udg_trigger304,Condition(function LIE))
call TriggerAddAction(udg_trigger304,function LNE)
set udg_trigger305=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger305,udg_rect69)
call TriggerAddCondition(udg_trigger305,Condition(function LBE))
call TriggerAddAction(udg_trigger305,function LCE)
set udg_trigger306=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger306,5.)
call TriggerAddAction(udg_trigger306,function LDE)
set udg_trigger307=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger307,udg_rect05)
call TriggerAddCondition(udg_trigger307,Condition(function LFE))
call TriggerAddAction(udg_trigger307,function LGE)
set udg_trigger308=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger308,udg_rect69)
call TriggerAddCondition(udg_trigger308,Condition(function LHE))
call TriggerAddAction(udg_trigger308,function LJE)
set udg_trigger309=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger309,udg_rect71)
call TriggerAddCondition(udg_trigger309,Condition(function LKE))
call TriggerAddAction(udg_trigger309,function LUE)
set udg_trigger310=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger310,5.)
call TriggerAddAction(udg_trigger310,function LWE)
set udg_trigger311=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger311,Player(14),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger311,Condition(function LYE))
call TriggerAddAction(udg_trigger311,function LZE)
set udg_trigger312=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger312,Player(14),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger312,Condition(function L_E))
call TriggerAddAction(udg_trigger312,function L0E)
set udg_trigger313=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger313,udg_rect185)
call TriggerAddCondition(udg_trigger313,Condition(function L1E))
call TriggerAddAction(udg_trigger313,function L2E)
set udg_trigger314=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger314,udg_rect185)
call TriggerAddCondition(udg_trigger314,Condition(function L3E))
call TriggerAddAction(udg_trigger314,function L4E)
set udg_trigger315=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger315,udg_rect71)
call TriggerAddCondition(udg_trigger315,Condition(function L5E))
call TriggerAddAction(udg_trigger315,function L8E)
set udg_trigger316=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger316,udg_rect46)
call TriggerAddCondition(udg_trigger316,Condition(function L9E))
call TriggerAddAction(udg_trigger316,function MVE)
set udg_trigger317=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger317,10.)
call TriggerAddAction(udg_trigger317,function MEE)
set udg_trigger318=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger318,Player(14),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger318,Condition(function MXE))
call TriggerAddAction(udg_trigger318,function MOE)
set udg_trigger319=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger319,udg_rect46)
call TriggerAddCondition(udg_trigger319,Condition(function MRE))
call TriggerAddAction(udg_trigger319,function MIE)
set udg_trigger320=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger320,udg_rect154)
call TriggerAddCondition(udg_trigger320,Condition(function MAE))
call TriggerAddAction(udg_trigger320,function MNE)
set udg_trigger321=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger321,10.)
call TriggerAddAction(udg_trigger321,function MBE)
set udg_trigger322=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger322,EQUAL,10.)
call TriggerAddCondition(udg_trigger322,Condition(function MCE))
call TriggerAddAction(udg_trigger322,function MTE)
set udg_trigger323=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger323,Player(13),EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger323,Condition(function MUE))
call TriggerAddAction(udg_trigger323,function MWE)
set udg_trigger324=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger324,udg_rect154)
call TriggerAddCondition(udg_trigger324,Condition(function MYE))
call TriggerAddAction(udg_trigger324,function M0E)
set udg_trigger325=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger325,udg_rect73)
call TriggerAddCondition(udg_trigger325,Condition(function M1E))
call TriggerAddAction(udg_trigger325,function M3E)
set udg_trigger326=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger326,5.)
call TriggerAddAction(udg_trigger326,function M4E)
set udg_trigger327=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger327,udg_rect157)
call TriggerAddCondition(udg_trigger327,Condition(function M5E))
call TriggerAddAction(udg_trigger327,function M6E)
set udg_trigger328=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger328,udg_rect73)
call TriggerAddCondition(udg_trigger328,Condition(function M7E))
call TriggerAddAction(udg_trigger328,function M9E)
set udg_trigger329=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger329,udg_rect76)
call TriggerAddCondition(udg_trigger329,Condition(function PVE))
call TriggerAddAction(udg_trigger329,function PEE)
set udg_trigger330=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger330,15.)
call TriggerAddAction(udg_trigger330,function PXE)
set udg_trigger331=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(0),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(1),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(2),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(3),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(4),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(5),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(6),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(7),"-open hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger331,Player(10),"-open hq",true)
call TriggerAddCondition(udg_trigger331,Condition(function POE))
call TriggerAddAction(udg_trigger331,function PRE)
set udg_trigger332=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(0),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(1),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(2),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(3),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(4),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(5),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(7),"-close hq",true)
call TriggerRegisterPlayerChatEvent(udg_trigger332,Player(10),"-close hq",true)
call TriggerAddCondition(udg_trigger332,Condition(function PIE))
call TriggerAddAction(udg_trigger332,function PAE)
set udg_trigger333=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(0),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(1),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(2),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(3),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(4),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(5),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(6),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(7),"-open jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger333,Player(10),"-open jail",true)
call TriggerAddCondition(udg_trigger333,Condition(function PNE))
call TriggerAddAction(udg_trigger333,function PBE)
set udg_trigger334=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(0),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(1),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(2),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(3),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(4),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(5),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(6),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(7),"-close jail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger334,Player(10),"-close jail",true)
call TriggerAddCondition(udg_trigger334,Condition(function PCE))
call TriggerAddAction(udg_trigger334,function PDE)
set udg_trigger335=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger335,udg_rect52)
call TriggerAddCondition(udg_trigger335,Condition(function PFE))
call TriggerAddAction(udg_trigger335,function PGE)
set udg_trigger336=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger336,udg_rect76)
call TriggerAddCondition(udg_trigger336,Condition(function PHE))
call TriggerAddAction(udg_trigger336,function PKE)
set udg_trigger337=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger337,udg_rect83)
call TriggerAddCondition(udg_trigger337,Condition(function PLE))
call TriggerAddAction(udg_trigger337,function PME)
set udg_trigger338=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger338,10.)
call TriggerAddAction(udg_trigger338,function PPE)
set udg_trigger339=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger339,udg_rect83)
call TriggerAddCondition(udg_trigger339,Condition(function PQE))
call TriggerAddAction(udg_trigger339,function PTE)
set udg_trigger340=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(1),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(2),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(3),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(4),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(5),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(6),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(7),"-open president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger340,Player(10),"-open president",true)
call TriggerAddCondition(udg_trigger340,Condition(function PUE))
call TriggerAddAction(udg_trigger340,function PWE)
set udg_trigger341=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(1),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(2),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(3),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(4),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(5),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(6),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(7),"-close president",true)
call TriggerRegisterPlayerChatEvent(udg_trigger341,Player(10),"-close president",true)
call TriggerAddCondition(udg_trigger341,Condition(function PYE))
call TriggerAddAction(udg_trigger341,function PZE)
set udg_trigger342=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger342,udg_rect67)
call TriggerAddCondition(udg_trigger342,Condition(function P_E))
call TriggerAddAction(udg_trigger342,function P0E)
set udg_trigger343=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger343,5.)
call TriggerAddAction(udg_trigger343,function P1E)
set udg_trigger344=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger344,udg_rect67)
call TriggerAddCondition(udg_trigger344,Condition(function P2E))
call TriggerAddAction(udg_trigger344,function P4E)
set udg_trigger345=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger345,udg_rect39)
call TriggerAddCondition(udg_trigger345,Condition(function P5E))
call TriggerAddAction(udg_trigger345,function P7E)
set udg_trigger346=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger346,udg_rect74)
call TriggerAddCondition(udg_trigger346,Condition(function P8E))
call TriggerAddAction(udg_trigger346,function P9E)
set udg_trigger347=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger347,5.)
call TriggerAddAction(udg_trigger347,function QVE)
set udg_trigger348=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger348,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger348,Condition(function QXE))
call TriggerAddAction(udg_trigger348,function QOE)
set udg_trigger349=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger349,udg_rect153)
call TriggerAddCondition(udg_trigger349,Condition(function QRE))
call TriggerAddAction(udg_trigger349,function QIE)
set udg_trigger350=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger350,udg_rect74)
call TriggerAddCondition(udg_trigger350,Condition(function QAE))
call TriggerAddAction(udg_trigger350,function QBE)
set udg_trigger351=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger351,udg_rect75)
call TriggerAddCondition(udg_trigger351,Condition(function QCE))
call TriggerAddAction(udg_trigger351,function QDE)
set udg_trigger352=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger352,5.)
call TriggerAddAction(udg_trigger352,function QFE)
set udg_trigger353=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger353,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger353,Condition(function QGE))
call TriggerAddAction(udg_trigger353,function QHE)
set udg_trigger354=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger354,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger354,Condition(function QJE))
call TriggerAddAction(udg_trigger354,function QKE)
set udg_trigger355=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger355,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger355,Condition(function QLE))
call TriggerAddAction(udg_trigger355,function QME)
set udg_trigger356=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger356,udg_rect75)
call TriggerAddCondition(udg_trigger356,Condition(function QPE))
call TriggerAddAction(udg_trigger356,function QSE)
set udg_trigger357=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger357,udg_rect66)
call TriggerAddCondition(udg_trigger357,Condition(function QTE))
call TriggerAddAction(udg_trigger357,function QUE)
set udg_trigger358=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger358,10.)
call TriggerAddAction(udg_trigger358,function QWE)
set udg_trigger359=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger359,udg_rect21)
call TriggerAddCondition(udg_trigger359,Condition(function QYE))
call TriggerAddAction(udg_trigger359,function QZE)
set udg_trigger360=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger360,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger360,Condition(function Q_E))
call TriggerAddAction(udg_trigger360,function Q0E)
set udg_trigger361=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger361,udg_rect66)
call TriggerAddCondition(udg_trigger361,Condition(function Q1E))
call TriggerAddAction(udg_trigger361,function SVE)
set udg_trigger362=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(0),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(1),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(2),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(3),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(4),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(5),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(6),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(7),"-help",true)
call TriggerRegisterPlayerChatEvent(udg_trigger362,Player(10),"-help",true)
call TriggerAddCondition(udg_trigger362,Condition(function SEE))
call TriggerAddAction(udg_trigger362,function SXE)
set udg_trigger363=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(0),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(1),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(2),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(3),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(4),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(5),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(6),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(7),"-trial",true)
call TriggerRegisterPlayerChatEvent(udg_trigger363,Player(10),"-trial",true)
call TriggerAddCondition(udg_trigger363,Condition(function SOE))
call TriggerAddAction(udg_trigger363,function SRE)
set udg_trigger364=CreateTrigger()
call DisableTrigger(udg_trigger364)
call TriggerAddAction(udg_trigger364,function SIE)
set udg_trigger365=CreateTrigger()
call DisableTrigger(udg_trigger365)
call TriggerRegisterEnterRectSimple(udg_trigger365,udg_rect242)
call TriggerAddCondition(udg_trigger365,Condition(function SAE))
call TriggerAddAction(udg_trigger365,function SNE)
set udg_trigger366=CreateTrigger()
call TriggerRegisterTimerExpireEvent(udg_trigger366,udg_timer01)
call TriggerAddAction(udg_trigger366,function SBE)
set udg_trigger367=CreateTrigger()
call DisableTrigger(udg_trigger367)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(0),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(1),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(2),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(3),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(4),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(5),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(6),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(7),"-guility",true)
call TriggerRegisterPlayerChatEvent(udg_trigger367,Player(10),"-guility",true)
call TriggerAddCondition(udg_trigger367,Condition(function SCE))
call TriggerAddAction(udg_trigger367,function SDE)
set udg_trigger368=CreateTrigger()
call DisableTrigger(udg_trigger368)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(0),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(1),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(2),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(3),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(4),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(5),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(6),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(7),"-innocent",true)
call TriggerRegisterPlayerChatEvent(udg_trigger368,Player(10),"-innocent",true)
call TriggerAddCondition(udg_trigger368,Condition(function SFE))
call TriggerAddAction(udg_trigger368,function SGE)
set udg_trigger369=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(0),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(1),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(2),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(3),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(4),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(5),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(6),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(7),"-open back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger369,Player(10),"-open back",true)
call TriggerAddCondition(udg_trigger369,Condition(function SHE))
call TriggerAddAction(udg_trigger369,function SJE)
set udg_trigger370=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(0),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(1),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(2),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(3),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(4),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(5),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(6),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(7),"-close back",true)
call TriggerRegisterPlayerChatEvent(udg_trigger370,Player(10),"-close back",true)
call TriggerAddCondition(udg_trigger370,Condition(function SKE))
call TriggerAddAction(udg_trigger370,function SLE)
set udg_trigger371=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(0),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(1),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(2),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(3),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(4),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(5),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(6),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(7),"-open cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger371,Player(10),"-open cjail",true)
call TriggerAddCondition(udg_trigger371,Condition(function SME))
call TriggerAddAction(udg_trigger371,function SPE)
set udg_trigger372=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(0),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(1),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(2),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(3),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(4),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(5),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(6),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(7),"-close cjail",true)
call TriggerRegisterPlayerChatEvent(udg_trigger372,Player(10),"-close cjail",true)
call TriggerAddCondition(udg_trigger372,Condition(function SQE))
call TriggerAddAction(udg_trigger372,function SSE)
set udg_trigger373=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger373,udg_rect49)
call TriggerAddCondition(udg_trigger373,Condition(function STE))
call TriggerAddAction(udg_trigger373,function SUE)
set udg_trigger374=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger374,udg_rect201)
call TriggerAddCondition(udg_trigger374,Condition(function SWE))
call TriggerAddAction(udg_trigger374,function SYE)
set udg_trigger375=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger375,5.)
call TriggerAddAction(udg_trigger375,function SZE)
set udg_trigger376=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger376,udg_rect201)
call TriggerAddCondition(udg_trigger376,Condition(function S_E))
call TriggerAddAction(udg_trigger376,function S0E)
set udg_trigger377=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger377,udg_rect212)
call TriggerAddCondition(udg_trigger377,Condition(function S1E))
call TriggerAddAction(udg_trigger377,function S2E)
set udg_trigger378=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger378,udg_rect54)
call TriggerRegisterEnterRectSimple(udg_trigger378,udg_rect241)
call TriggerAddCondition(udg_trigger378,Condition(function S3E))
call TriggerAddAction(udg_trigger378,function S4E)
set udg_trigger379=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger379,udg_rect213)
call TriggerAddCondition(udg_trigger379,Condition(function S5E))
call TriggerAddAction(udg_trigger379,function S6E)
set udg_trigger380=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger380,udg_rect211)
call TriggerAddCondition(udg_trigger380,Condition(function S7E))
call TriggerAddAction(udg_trigger380,function S8E)
set udg_trigger381=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger381,5.)
call TriggerAddAction(udg_trigger381,function S9E)
set udg_trigger382=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger382,udg_rect212)
call TriggerAddCondition(udg_trigger382,Condition(function TVE))
call TriggerAddAction(udg_trigger382,function TEE)
set udg_trigger383=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger383,udg_rect215)
call TriggerAddCondition(udg_trigger383,Condition(function TXE))
call TriggerAddAction(udg_trigger383,function TOE)
set udg_trigger384=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger384,5.)
call TriggerAddAction(udg_trigger384,function TRE)
set udg_trigger385=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger385,udg_rect217)
call TriggerAddCondition(udg_trigger385,Condition(function TIE))
call TriggerAddAction(udg_trigger385,function TAE)
set udg_trigger386=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger386,udg_rect56)
call TriggerAddCondition(udg_trigger386,Condition(function TNE))
call TriggerAddAction(udg_trigger386,function TBE)
set udg_trigger387=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger387,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger387,Condition(function TCE))
call TriggerAddAction(udg_trigger387,function TDE)
set udg_trigger388=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger388,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger388,Condition(function TFE))
call TriggerAddAction(udg_trigger388,function TGE)
set udg_trigger389=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger389,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger389,Condition(function THE))
call TriggerAddAction(udg_trigger389,function TJE)
set udg_trigger390=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger390,udg_rect215)
call TriggerAddCondition(udg_trigger390,Condition(function TKE))
call TriggerAddAction(udg_trigger390,function TLE)
set udg_trigger391=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger391,udg_rect225)
call TriggerAddCondition(udg_trigger391,Condition(function TME))
call TriggerAddAction(udg_trigger391,function TPE)
set udg_trigger392=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger392,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger392,Condition(function TQE))
call TriggerAddAction(udg_trigger392,function T_E)
set udg_trigger393=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger393,udg_rect225)
call TriggerAddCondition(udg_trigger393,Condition(function T0E))
call TriggerAddAction(udg_trigger393,function T4E)
set udg_trigger394=CreateTrigger()
call TriggerAddAction(udg_trigger394,function UOE)
set udg_trigger395=CreateTrigger()
call TriggerAddAction(udg_trigger395,function URE)
set udg_trigger396=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger396,Player(9),"-regrow trees",true)
call TriggerAddAction(udg_trigger396,function UIE)
set udg_trigger397=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger397,10.)
call TriggerAddAction(udg_trigger397,function UAE)
set udg_trigger398=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger398,udg_rect61)
call TriggerAddCondition(udg_trigger398,Condition(function UNE))
call TriggerAddAction(udg_trigger398,function UBE)
set udg_trigger399=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger399,udg_rect61)
call TriggerAddCondition(udg_trigger399,Condition(function UCE))
call TriggerAddAction(udg_trigger399,function UDE)
set udg_trigger400=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger400,udg_rect61)
call TriggerAddCondition(udg_trigger400,Condition(function UFE))
call TriggerAddAction(udg_trigger400,function UGE)
set udg_trigger401=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger401,udg_rect61)
call TriggerAddCondition(udg_trigger401,Condition(function UHE))
call TriggerAddAction(udg_trigger401,function UJE)
set udg_trigger402=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger402,80.)
call TriggerAddAction(udg_trigger402,function UKE)
set udg_trigger403=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger403,udg_rect62)
call TriggerAddCondition(udg_trigger403,Condition(function ULE))
call TriggerAddAction(udg_trigger403,function UME)
set udg_trigger404=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger404,udg_rect150)
call TriggerAddCondition(udg_trigger404,Condition(function UPE))
call TriggerAddAction(udg_trigger404,function UQE)
set udg_trigger405=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger405,udg_unit76,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger405,udg_unit49,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger405,function USE)
set udg_trigger406=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger406,Player(9),true)
call TriggerAddCondition(udg_trigger406,Condition(function UTE))
call TriggerAddAction(udg_trigger406,function UUE)
set udg_trigger407=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger407,Player(9),true)
call TriggerAddCondition(udg_trigger407,Condition(function UWE))
call TriggerAddAction(udg_trigger407,function UYE)
set udg_trigger408=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger408,Player(9),true)
call TriggerAddCondition(udg_trigger408,Condition(function UZE))
call TriggerAddAction(udg_trigger408,function U_E)
set udg_trigger409=CreateTrigger()
call TriggerAddAction(udg_trigger409,function U8E)
set udg_trigger410=CreateTrigger()
call TriggerAddAction(udg_trigger410,function U9E)
set udg_trigger411=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger411,10.)
call TriggerAddAction(udg_trigger411,function WVE)
set udg_trigger412=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger412,udg_rect47)
call TriggerAddCondition(udg_trigger412,Condition(function WEE))
call TriggerAddAction(udg_trigger412,function WXE)
set udg_trigger413=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger413,udg_rect48)
call TriggerAddCondition(udg_trigger413,Condition(function WOE))
call TriggerAddAction(udg_trigger413,function WRE)
set udg_trigger414=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger414,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger414,Condition(function WIE))
call TriggerAddAction(udg_trigger414,function WAE)
set udg_trigger415=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger415,udg_rect09)
call TriggerAddCondition(udg_trigger415,Condition(function WNE))
call TriggerAddAction(udg_trigger415,function WBE)
set udg_trigger416=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger416,80.)
call TriggerAddAction(udg_trigger416,function WCE)
set udg_trigger417=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger417,udg_unit81,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger417,udg_unit82,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger417,udg_unit139,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger417,udg_unit140,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger417,function WDE)
set udg_trigger418=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger418,80.)
call TriggerAddAction(udg_trigger418,function WFE)
set udg_trigger419=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger419,udg_rect150)
call TriggerAddCondition(udg_trigger419,Condition(function WGE))
call TriggerAddAction(udg_trigger419,function WHE)
set udg_trigger420=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger420,udg_rect62)
call TriggerAddCondition(udg_trigger420,Condition(function WJE))
call TriggerAddAction(udg_trigger420,function WKE)
set udg_trigger421=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger421,udg_unit81,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger421,udg_unit82,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger421,udg_unit139,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger421,udg_unit140,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger421,function WLE)
set udg_trigger422=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger422,Player(8),true)
call TriggerAddCondition(udg_trigger422,Condition(function WME))
call TriggerAddAction(udg_trigger422,function WPE)
set udg_trigger423=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger423,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger423,Condition(function WQE))
call TriggerAddAction(udg_trigger423,function WSE)
set udg_trigger424=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger424,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger424,Condition(function WTE))
call TriggerAddAction(udg_trigger424,function WUE)
set udg_trigger425=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger425,Player(8),true)
call TriggerAddCondition(udg_trigger425,Condition(function WWE))
call TriggerAddAction(udg_trigger425,function WYE)
set udg_trigger426=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger426,Player(8),true)
call TriggerAddCondition(udg_trigger426,Condition(function WZE))
call TriggerAddAction(udg_trigger426,function W_E)
set udg_trigger427=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger427,Player(0),"-torture1",true)
call TriggerAddAction(udg_trigger427,function W2E)
set udg_trigger428=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger428,Player(0),"-torture2",true)
call TriggerAddAction(udg_trigger428,function W5E)
set udg_trigger429=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger429,Player(0),"-torture3",true)
call TriggerAddAction(udg_trigger429,function W8E)
set udg_trigger430=CreateTrigger()
call TriggerAddAction(udg_trigger430,function YNE)
set udg_trigger431=CreateTrigger()
call TriggerAddAction(udg_trigger431,function YBE)
set udg_trigger432=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger432,10.)
call TriggerAddAction(udg_trigger432,function YCE)
set udg_trigger433=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger433,Player(0),"-close cell",true)
call TriggerAddAction(udg_trigger433,function YDE)
set udg_trigger434=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger434,udg_rect51)
call TriggerAddCondition(udg_trigger434,Condition(function YFE))
call TriggerAddAction(udg_trigger434,function YGE)
set udg_trigger435=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger435,Player(0),"-open cell",true)
call TriggerAddAction(udg_trigger435,function YHE)
set udg_trigger436=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger436,udg_rect10)
call TriggerAddCondition(udg_trigger436,Condition(function YJE))
call TriggerAddAction(udg_trigger436,function YKE)
set udg_trigger437=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger437,udg_rect174)
call TriggerAddAction(udg_trigger437,function YLE)
set udg_trigger438=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger438,80.)
call TriggerAddAction(udg_trigger438,function YME)
set udg_trigger439=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger439,udg_unit90,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(udg_trigger439,udg_unit91,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger439,function YPE)
set udg_trigger440=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger440,Player(0),true)
call TriggerAddCondition(udg_trigger440,Condition(function YQE))
call TriggerAddAction(udg_trigger440,function YSE)
set udg_trigger441=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger441,Player(0),true)
call TriggerAddCondition(udg_trigger441,Condition(function YTE))
call TriggerAddAction(udg_trigger441,function YUE)
set udg_trigger442=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(udg_trigger442,Player(0),true)
call TriggerAddCondition(udg_trigger442,Condition(function YWE))
call TriggerAddAction(udg_trigger442,function YYE)
set udg_trigger443=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger443,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger443,Condition(function YZE))
call TriggerAddAction(udg_trigger443,function Y_E)
set udg_trigger444=CreateTrigger()
call DisableTrigger(udg_trigger444)
call TriggerRegisterTimerEventPeriodic(udg_trigger444,1.)
call TriggerAddAction(udg_trigger444,function Y3E)
set udg_trigger445=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger445,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger445,Condition(function Y4E))
call TriggerAddAction(udg_trigger445,function Y8E)
set udg_trigger446=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger446,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger446,Condition(function Y9E))
call TriggerAddAction(udg_trigger446,function ZVE)
set udg_trigger447=CreateTrigger()
call DisableTrigger(udg_trigger447)
call TriggerRegisterTimerEventPeriodic(udg_trigger447,1.)
call TriggerAddAction(udg_trigger447,function ZRE)
set udg_trigger448=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger448,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger448,Condition(function ZIE))
call TriggerAddAction(udg_trigger448,function ZGE)
set udg_trigger449=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger449,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(udg_trigger449,function ZQE)
set udg_trigger450=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger450,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(udg_trigger450,function Z_E)
set udg_trigger451=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger451,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(udg_trigger451,function Z7E)
set udg_trigger452=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger452,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(udg_trigger452,function VIX)
set udg_trigger453=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger453,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(udg_trigger453,function VFX)
set udg_trigger454=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger454,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger454,Condition(function VGX))
call TriggerAddAction(udg_trigger454,function VLX)
set udg_trigger455=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger455,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger455,Condition(function VMX))
call TriggerAddAction(udg_trigger455,function VUX)
set udg_trigger456=CreateTrigger()
call DisableTrigger(udg_trigger456)
call TriggerRegisterTimerEventPeriodic(udg_trigger456,.25)
call TriggerAddAction(udg_trigger456,function VWX)
set udg_trigger457=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger457,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger457,Condition(function VYX))
call TriggerAddAction(udg_trigger457,function V1X)
set udg_trigger458=CreateTrigger()
call DisableTrigger(udg_trigger458)
call TriggerRegisterTimerEventPeriodic(udg_trigger458,.75)
call TriggerAddAction(udg_trigger458,function V2X)
set udg_trigger459=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger459,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger459,Condition(function V4X))
call TriggerAddAction(udg_trigger459,function V9X)
set udg_trigger460=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger460,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddAction(udg_trigger460,function ERX)
set udg_trigger461=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger461,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger461,Condition(function EIX))
call TriggerAddAction(udg_trigger461,function EDX)
set udg_trigger462=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger462,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger462,Condition(function EFX))
call TriggerAddAction(udg_trigger462,function ESX)
set udg_trigger463=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger463,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger463,Condition(function ETX))
call TriggerAddAction(udg_trigger463,function EUX)
set udg_trigger464=CreateTrigger()
call DisableTrigger(udg_trigger464)
call TriggerRegisterTimerEventPeriodic(udg_trigger464,.01)
call TriggerAddAction(udg_trigger464,function EWX)
set udg_trigger465=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger465,EVENT_PLAYER_UNIT_SPELL_FINISH)
call TriggerAddCondition(udg_trigger465,Condition(function EYX))
call TriggerAddAction(udg_trigger465,function E_X)
set udg_trigger466=CreateTrigger()
call TriggerRegisterTimerExpireEvent(udg_trigger466,udg_timer01)
call TriggerAddAction(udg_trigger466,function E1X)
set udg_trigger467=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger467,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(udg_trigger467,Condition(function E2X))
call TriggerAddAction(udg_trigger467,function E3X)
set udg_trigger468=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger468,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger468,Condition(function E4X))
call TriggerAddAction(udg_trigger468,function XOX)
set udg_trigger469=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger469,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger469,Condition(function XRX))
call TriggerAddAction(udg_trigger469,function XBX)
set udg_trigger470=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger470,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger470,Condition(function XCX))
call TriggerAddAction(udg_trigger470,function XFX)
set udg_trigger471=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger471,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger471,Condition(function XGX))
call TriggerAddAction(udg_trigger471,function XTX)
set udg_trigger472=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger472,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger472,Condition(function XUX))
call TriggerAddAction(udg_trigger472,function X0X)
set udg_trigger473=CreateTrigger()
call DisableTrigger(udg_trigger473)
call TriggerRegisterTimerEventPeriodic(udg_trigger473,.5)
call TriggerAddAction(udg_trigger473,function X1X)
set udg_trigger474=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger474,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger474,Condition(function X2X))
call TriggerAddAction(udg_trigger474,function X3X)
set udg_trigger475=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger475,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger475,Condition(function X4X))
call TriggerAddAction(udg_trigger475,function X9X)
set udg_trigger476=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger476,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger476,Condition(function OVX))
call TriggerAddAction(udg_trigger476,function ORX)
set udg_trigger477=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger477,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger477,Condition(function OIX))
call TriggerAddAction(udg_trigger477,function ODX)
set udg_trigger478=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger478,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger478,Condition(function OFX))
call TriggerAddAction(udg_trigger478,function OGX)
set udg_trigger479=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger479,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger479,Condition(function OHX))
call TriggerAddAction(udg_trigger479,function OPX)
set udg_trigger480=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger480,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger480,Condition(function OQX))
call TriggerAddAction(udg_trigger480,function OSX)
set udg_trigger481=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger481,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddAction(udg_trigger481,function OYX)
set udg_trigger482=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger482,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger482,Condition(function OZX))
call TriggerAddAction(udg_trigger482,function O3X)
set udg_trigger483=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger483,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger483,Condition(function O4X))
call TriggerAddAction(udg_trigger483,function O5X)
set udg_trigger484=CreateTrigger()
call DisableTrigger(udg_trigger484)
call TriggerRegisterTimerEventPeriodic(udg_trigger484,1.)
call TriggerAddAction(udg_trigger484,function RVX)
set udg_trigger485=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger485,EVENT_PLAYER_UNIT_SPELL_CHANNEL)
call TriggerAddCondition(udg_trigger485,Condition(function REX))
call TriggerAddAction(udg_trigger485,function RXX)
set udg_trigger486=CreateTrigger()
call DisableTrigger(udg_trigger486)
call TriggerRegisterTimerEventPeriodic(udg_trigger486,.2)
call TriggerAddAction(udg_trigger486,function RAX)
set udg_trigger487=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger487,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger487,Condition(function RNX))
call TriggerAddAction(udg_trigger487,function RBX)
set udg_trigger488=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger488,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger488,Condition(function RCX))
call TriggerAddAction(udg_trigger488,function RDX)
set udg_trigger489=CreateTrigger()
call DisableTrigger(udg_trigger489)
call TriggerRegisterTimerEventPeriodic(udg_trigger489,.05)
call TriggerAddAction(udg_trigger489,function RFX)
set udg_trigger490=CreateTrigger()
call DisableTrigger(udg_trigger490)
call TriggerRegisterTimerEventPeriodic(udg_trigger490,1.)
call TriggerAddAction(udg_trigger490,function RHX)
set udg_trigger491=CreateTrigger()
call DisableTrigger(udg_trigger491)
call TriggerRegisterTimerEventPeriodic(udg_trigger491,.5)
call TriggerAddAction(udg_trigger491,function RPX)
set udg_trigger492=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger492,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger492,Condition(function RQX))
call TriggerAddAction(udg_trigger492,function RTX)
set udg_trigger493=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger493,EVENT_PLAYER_HERO_SKILL)
call TriggerAddCondition(udg_trigger493,Condition(function RUX))
call TriggerAddAction(udg_trigger493,function R_X)
set udg_trigger494=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger494,EVENT_PLAYER_HERO_SKILL)
call TriggerAddCondition(udg_trigger494,Condition(function R0X))
call TriggerAddAction(udg_trigger494,function R5X)
set udg_trigger495=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger495,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger495,Condition(function R6X))
call TriggerAddAction(udg_trigger495,function R8X)
set udg_trigger496=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger496,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger496,Condition(function R9X))
call TriggerAddAction(udg_trigger496,function IVX)
set udg_trigger497=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger497,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger497,Condition(function IEX))
call TriggerAddAction(udg_trigger497,function IOX)
set udg_trigger498=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger498,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger498,Condition(function IRX))
call TriggerAddAction(udg_trigger498,function IIX)
set udg_trigger499=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger499,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger499,Condition(function IAX))
call TriggerAddAction(udg_trigger499,function INX)
set udg_trigger500=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger500,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger500,Condition(function IBX))
call TriggerAddAction(udg_trigger500,function ICX)
set udg_trigger501=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger501,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger501,Condition(function IDX))
call TriggerAddAction(udg_trigger501,function IFX)
set udg_trigger502=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger502,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger502,Condition(function IGX))
call TriggerAddAction(udg_trigger502,function IHX)
set udg_trigger503=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger503,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger503,Condition(function IJX))
call TriggerAddAction(udg_trigger503,function IKX)
set udg_trigger504=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger504,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger504,Condition(function ILX))
call TriggerAddAction(udg_trigger504,function IMX)
set udg_trigger505=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger505,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger505,Condition(function IPX))
call TriggerAddAction(udg_trigger505,function IQX)
set udg_trigger506=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger506,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger506,Condition(function ISX))
call TriggerAddAction(udg_trigger506,function IZX)
set udg_trigger507=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger507,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger507,Condition(function I_X))
call TriggerAddAction(udg_trigger507,function I3X)
set udg_trigger508=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger508,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger508,Condition(function I4X))
call TriggerAddAction(udg_trigger508,function I9X)
set udg_trigger509=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger509,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger509,Condition(function AVX))
call TriggerAddAction(udg_trigger509,function AEX)
set udg_trigger510=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger510,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger510,Condition(function AXX))
call TriggerAddAction(udg_trigger510,function ANX)
set udg_trigger511=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger511,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger511,Condition(function ABX))
call TriggerAddAction(udg_trigger511,function ACX)
set udg_trigger512=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger512,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger512,Condition(function ADX))
call TriggerAddAction(udg_trigger512,function AFX)
set udg_trigger513=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger513,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger513,Condition(function AGX))
call TriggerAddAction(udg_trigger513,function AHX)
set udg_trigger514=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger514,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger514,Condition(function AJX))
call TriggerAddAction(udg_trigger514,function APX)
set udg_trigger515=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger515,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger515,Condition(function AQX))
call TriggerAddAction(udg_trigger515,function ASX)
set udg_trigger516=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger516,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger516,Condition(function ATX))
call TriggerAddAction(udg_trigger516,function AUX)
set udg_trigger517=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger517,EVENT_PLAYER_UNIT_SPELL_ENDCAST)
call TriggerAddCondition(udg_trigger517,Condition(function AWX))
call TriggerAddAction(udg_trigger517,function AYX)
set udg_trigger518=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger518,EVENT_PLAYER_UNIT_SPELL_ENDCAST)
call TriggerAddCondition(udg_trigger518,Condition(function AZX))
call TriggerAddAction(udg_trigger518,function A_X)
set udg_trigger519=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger519,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger519,Condition(function A0X))
call TriggerAddAction(udg_trigger519,function A1X)
set udg_trigger520=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger520,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger520,Condition(function A2X))
call TriggerAddAction(udg_trigger520,function A3X)
set udg_trigger521=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger521,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger521,Condition(function A4X))
call TriggerAddAction(udg_trigger521,function A5X)
set udg_trigger522=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger522,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger522,Condition(function A6X))
call TriggerAddAction(udg_trigger522,function A8X)
set udg_trigger523=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger523,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger523,Condition(function A9X))
call TriggerAddAction(udg_trigger523,function NEX)
set udg_trigger524=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger524,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger524,Condition(function NXX))
call TriggerAddAction(udg_trigger524,function NRX)
set udg_trigger525=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger525,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger525,Condition(function NIX))
call TriggerAddAction(udg_trigger525,function NNX)
set udg_trigger526=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger526,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger526,Condition(function NBX))
call TriggerAddAction(udg_trigger526,function NCX)
set udg_trigger527=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger527,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger527,Condition(function NDX))
call TriggerAddAction(udg_trigger527,function NKX)
set udg_trigger528=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger528,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger528,Condition(function NLX))
call TriggerAddAction(udg_trigger528,function NTX)
set udg_trigger529=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger529,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger529,Condition(function NUX))
call TriggerAddAction(udg_trigger529,function N0X)
set udg_trigger530=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger530,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger530,Condition(function N1X))
call TriggerAddAction(udg_trigger530,function N6X)
set udg_trigger531=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger531,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(udg_trigger531,function BEX)
set udg_trigger532=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger532,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger532,Condition(function BXX))
call TriggerAddAction(udg_trigger532,function BRX)
set udg_trigger533=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger533,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger533,Condition(function BIX))
call TriggerAddAction(udg_trigger533,function BNX)
set udg_trigger534=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger534,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger534,Condition(function BBX))
call TriggerAddAction(udg_trigger534,function BDX)
set udg_trigger535=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger535,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger535,Condition(function BFX))
call TriggerAddAction(udg_trigger535,function BGX)
set udg_trigger536=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger536,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger536,Condition(function BHX))
call TriggerAddAction(udg_trigger536,function BJX)
set udg_trigger537=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger537,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger537,Condition(function BKX))
call TriggerAddAction(udg_trigger537,function BLX)
set udg_trigger538=CreateTrigger()
call DisableTrigger(udg_trigger538)
call TriggerRegisterTimerEventPeriodic(udg_trigger538,.03)
call TriggerAddAction(udg_trigger538,function BMX)
set udg_trigger539=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger539,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger539,Condition(function BPX))
call TriggerAddAction(udg_trigger539,function B0X)
set udg_trigger540=CreateTrigger()
call DisableTrigger(udg_trigger540)
call TriggerRegisterTimerEventPeriodic(udg_trigger540,.03)
call TriggerAddAction(udg_trigger540,function B1X)
set udg_trigger541=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger541,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger541,Condition(function B2X))
call TriggerAddAction(udg_trigger541,function B3X)
set udg_trigger542=CreateTrigger()
call DisableTrigger(udg_trigger542)
call TriggerRegisterTimerEventPeriodic(udg_trigger542,.1)
call TriggerAddAction(udg_trigger542,function B8X)
set udg_trigger543=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger543,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger543,Condition(function CVX))
call TriggerAddAction(udg_trigger543,function CEX)
set udg_trigger544=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger544,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger544,Condition(function CXX))
call TriggerAddAction(udg_trigger544,function COX)
set udg_trigger545=CreateTrigger()
call DisableTrigger(udg_trigger545)
call TriggerRegisterTimerEventPeriodic(udg_trigger545,.05)
call TriggerAddAction(udg_trigger545,function CNX)
set udg_trigger546=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger546,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger546,Condition(function CBX))
call TriggerAddAction(udg_trigger546,function CHX)
set udg_trigger547=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger547,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger547,Condition(function CJX))
call TriggerAddAction(udg_trigger547,function CPX)
set udg_trigger548=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger548,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger548,Condition(function CQX))
call TriggerAddAction(udg_trigger548,function CYX)
set udg_trigger549=CreateTrigger()
call DisableTrigger(udg_trigger549)
call TriggerRegisterTimerEventPeriodic(udg_trigger549,.03)
call TriggerAddAction(udg_trigger549,function CZX)
set udg_trigger550=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger550,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger550,Condition(function C_X))
call TriggerAddAction(udg_trigger550,function C1X)
set udg_trigger551=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger551,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger551,Condition(function C2X))
call TriggerAddAction(udg_trigger551,function C7X)
set udg_trigger552=CreateTrigger()
call DisableTrigger(udg_trigger552)
call TriggerRegisterTimerEventPeriodic(udg_trigger552,.03)
call TriggerAddAction(udg_trigger552,function C8X)
set udg_trigger553=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger553,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger553,Condition(function C9X))
call TriggerAddAction(udg_trigger553,function DVX)
set udg_trigger554=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger554,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger554,Condition(function DEX))
call TriggerAddAction(udg_trigger554,function DAX)
set udg_trigger555=CreateTrigger()
call DisableTrigger(udg_trigger555)
call TriggerRegisterTimerEventPeriodic(udg_trigger555,1.)
call TriggerAddAction(udg_trigger555,function DCX)
set udg_trigger556=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger556,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger556,Condition(function DDX))
call TriggerAddAction(udg_trigger556,function DFX)
set udg_trigger557=CreateTrigger()
call DisableTrigger(udg_trigger557)
call TriggerRegisterTimerEventPeriodic(udg_trigger557,.01)
call TriggerAddAction(udg_trigger557,function DKX)
set udg_trigger558=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger558,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger558,Condition(function DLX))
call TriggerAddAction(udg_trigger558,function DPX)
set udg_trigger559=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger559,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger559,Condition(function DQX))
call TriggerAddAction(udg_trigger559,function DSX)
set udg_trigger560=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger560,.01)
call TriggerAddAction(udg_trigger560,function DYX)
set udg_trigger561=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger561,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger561,Condition(function DZX))
call TriggerAddAction(udg_trigger561,function D_X)
set udg_trigger562=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger562,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger562,Condition(function D0X))
call TriggerAddAction(udg_trigger562,function D1X)
set udg_trigger563=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger563,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger563,Condition(function D2X))
call TriggerAddAction(udg_trigger563,function D3X)
set udg_trigger564=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger564,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger564,Condition(function D4X))
call TriggerAddAction(udg_trigger564,function D9X)
set udg_trigger565=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger565,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger565,Condition(function FVX))
call TriggerAddAction(udg_trigger565,function FEX)
set udg_trigger566=CreateTrigger()
call DisableTrigger(udg_trigger566)
call TriggerRegisterTimerEventPeriodic(udg_trigger566,.05)
call TriggerAddAction(udg_trigger566,function FIX)
set udg_trigger567=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger567,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger567,Condition(function FAX))
call TriggerAddAction(udg_trigger567,function FNX)
set udg_trigger568=CreateTrigger()
call DisableTrigger(udg_trigger568)
call TriggerRegisterTimerEventPeriodic(udg_trigger568,.05)
call TriggerAddAction(udg_trigger568,function FFX)
set udg_trigger569=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger569,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger569,Condition(function FGX))
call TriggerAddAction(udg_trigger569,function FHX)
set udg_trigger570=CreateTrigger()
call DisableTrigger(udg_trigger570)
call TriggerRegisterTimerEventPeriodic(udg_trigger570,.05)
call TriggerAddAction(udg_trigger570,function FMX)
set udg_trigger571=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger571,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger571,Condition(function FPX))
call TriggerAddAction(udg_trigger571,function FQX)
set udg_trigger572=CreateTrigger()
call DisableTrigger(udg_trigger572)
call TriggerRegisterTimerEventPeriodic(udg_trigger572,.05)
call TriggerAddAction(udg_trigger572,function FWX)
set udg_trigger573=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger573,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger573,Condition(function FZX))
call TriggerAddAction(udg_trigger573,function F_X)
set udg_trigger574=CreateTrigger()
call DisableTrigger(udg_trigger574)
call TriggerRegisterTimerEventPeriodic(udg_trigger574,.05)
call TriggerAddAction(udg_trigger574,function F3X)
set udg_trigger575=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger575,udg_rect165)
call TriggerAddCondition(udg_trigger575,Condition(function F4X))
call TriggerAddAction(udg_trigger575,function F5X)
set udg_trigger576=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger576,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger576,Condition(function F6X))
call TriggerAddAction(udg_trigger576,function F7X)
set udg_trigger577=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger577,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(udg_trigger577,Condition(function F8X))
call TriggerAddAction(udg_trigger577,function F9X)
set udg_trigger578=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger578,udg_rect165)
call TriggerAddCondition(udg_trigger578,Condition(function GVX))
call TriggerAddAction(udg_trigger578,function GEX)
set udg_trigger579=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger579,udg_rect204)
call TriggerAddCondition(udg_trigger579,Condition(function GXX))
call TriggerAddAction(udg_trigger579,function GOX)
set udg_trigger580=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger580,udg_rect205)
call TriggerAddCondition(udg_trigger580,Condition(function GRX))
call TriggerAddAction(udg_trigger580,function GIX)
set udg_trigger581=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger581,udg_rect184)
call TriggerAddCondition(udg_trigger581,Condition(function GAX))
call TriggerAddAction(udg_trigger581,function GNX)
set udg_trigger582=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger582,udg_rect91)
call TriggerAddCondition(udg_trigger582,Condition(function GBX))
call TriggerAddAction(udg_trigger582,function GCX)
set udg_trigger583=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger583,udg_rect243)
call TriggerAddCondition(udg_trigger583,Condition(function GFX))
call TriggerAddAction(udg_trigger583,function GGX)
set udg_trigger584=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger584,udg_rect244)
call TriggerAddCondition(udg_trigger584,Condition(function GJX))
call TriggerAddAction(udg_trigger584,function GKX)
set udg_trigger585=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger585,udg_rect243)
call TriggerAddCondition(udg_trigger585,Condition(function GMX))
call TriggerAddAction(udg_trigger585,function GPX)
set udg_trigger586=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger586,udg_rect244)
call TriggerAddCondition(udg_trigger586,Condition(function GSX))
call TriggerAddAction(udg_trigger586,function GTX)
set udg_trigger587=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger587,udg_rect243)
call TriggerAddCondition(udg_trigger587,Condition(function GWX))
call TriggerAddAction(udg_trigger587,function GYX)
set udg_trigger588=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger588,udg_rect244)
call TriggerAddCondition(udg_trigger588,Condition(function G_X))
call TriggerAddAction(udg_trigger588,function G0X)
set udg_trigger589=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger589,udg_rect243)
call TriggerAddCondition(udg_trigger589,Condition(function G2X))
call TriggerAddAction(udg_trigger589,function G3X)
set udg_trigger590=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger590,udg_rect244)
call TriggerAddCondition(udg_trigger590,Condition(function G5X))
call TriggerAddAction(udg_trigger590,function G6X)
set udg_trigger591=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger591,udg_rect245)
call TriggerAddCondition(udg_trigger591,Condition(function G7X))
call TriggerAddAction(udg_trigger591,function G8X)
set udg_trigger592=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger592,udg_rect245)
call TriggerAddCondition(udg_trigger592,Condition(function G9X))
call TriggerAddAction(udg_trigger592,function HVX)
set udg_trigger593=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger593,udg_rect245)
call TriggerAddCondition(udg_trigger593,Condition(function HEX))
call TriggerAddAction(udg_trigger593,function HXX)
set udg_trigger594=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger594,udg_rect245)
call TriggerAddCondition(udg_trigger594,Condition(function HOX))
call TriggerAddAction(udg_trigger594,function HRX)
set udg_trigger595=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger595,udg_rect177)
call TriggerRegisterEnterRectSimple(udg_trigger595,udg_rect179)
call TriggerRegisterEnterRectSimple(udg_trigger595,udg_rect58)
call TriggerAddCondition(udg_trigger595,Condition(function HIX))
call TriggerAddAction(udg_trigger595,function HAX)
set udg_trigger596=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger596,udg_rect177)
call TriggerRegisterEnterRectSimple(udg_trigger596,udg_rect179)
call TriggerRegisterEnterRectSimple(udg_trigger596,udg_rect58)
call TriggerAddCondition(udg_trigger596,Condition(function HNX))
call TriggerAddAction(udg_trigger596,function HBX)
set udg_trigger597=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger597,udg_rect177)
call TriggerRegisterEnterRectSimple(udg_trigger597,udg_rect179)
call TriggerRegisterEnterRectSimple(udg_trigger597,udg_rect58)
call TriggerAddCondition(udg_trigger597,Condition(function HCX))
call TriggerAddAction(udg_trigger597,function HDX)
set udg_trigger598=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger598,udg_rect177)
call TriggerRegisterEnterRectSimple(udg_trigger598,udg_rect179)
call TriggerRegisterEnterRectSimple(udg_trigger598,udg_rect58)
call TriggerAddCondition(udg_trigger598,Condition(function HFX))
call TriggerAddAction(udg_trigger598,function HGX)
set udg_trigger599=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger599,EQUAL,7.)
call TriggerAddAction(udg_trigger599,function HHX)
set udg_trigger600=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger600,EQUAL,10.)
call TriggerAddAction(udg_trigger600,function HJX)
set udg_trigger601=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger601,EQUAL,10.75)
call TriggerAddAction(udg_trigger601,function HKX)
set udg_trigger602=CreateTrigger()
call TriggerRegisterGameStateEventTimeOfDay(udg_trigger602,EQUAL,16.)
call TriggerAddAction(udg_trigger602,function HLX)
set udg_trigger603=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger603,udg_rect53)
call TriggerAddCondition(udg_trigger603,Condition(function HMX))
call TriggerAddAction(udg_trigger603,function HPX)
set udg_trigger604=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger604,udg_rect53)
call TriggerAddCondition(udg_trigger604,Condition(function HQX))
call TriggerAddAction(udg_trigger604,function HSX)
set udg_trigger605=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger605,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger605,Condition(function HTX))
call TriggerAddAction(udg_trigger605,function HUX)
set udg_trigger606=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger606,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger606,Condition(function HWX))
call TriggerAddAction(udg_trigger606,function HYX)
set udg_trigger607=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger607,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger607,Condition(function HZX))
call TriggerAddAction(udg_trigger607,function H_X)
set udg_trigger608=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger608,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger608,Condition(function H0X))
call TriggerAddAction(udg_trigger608,function H1X)
set udg_trigger609=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger609,EVENT_PLAYER_UNIT_TRAIN_FINISH)
call TriggerAddCondition(udg_trigger609,Condition(function H2X))
call TriggerAddAction(udg_trigger609,function H3X)
set udg_trigger610=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger610,udg_rect119)
call TriggerAddCondition(udg_trigger610,Condition(function H4X))
call TriggerAddAction(udg_trigger610,function H5X)
set udg_trigger611=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger611,udg_rect144)
call TriggerAddCondition(udg_trigger611,Condition(function H6X))
call TriggerAddAction(udg_trigger611,function H7X)
set udg_trigger612=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger612,udg_rect115)
call TriggerAddCondition(udg_trigger612,Condition(function H8X))
call TriggerAddAction(udg_trigger612,function H9X)
set udg_trigger613=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger613,udg_rect136)
call TriggerAddCondition(udg_trigger613,Condition(function JVX))
call TriggerAddAction(udg_trigger613,function JEX)
set udg_trigger614=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger614,udg_rect118)
call TriggerAddCondition(udg_trigger614,Condition(function JXX))
call TriggerAddAction(udg_trigger614,function JOX)
set udg_trigger615=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger615,udg_rect142)
call TriggerAddCondition(udg_trigger615,Condition(function JRX))
call TriggerAddAction(udg_trigger615,function JIX)
set udg_trigger616=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger616,udg_rect120)
call TriggerAddCondition(udg_trigger616,Condition(function JAX))
call TriggerAddAction(udg_trigger616,function JNX)
set udg_trigger617=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger617,udg_rect146)
call TriggerAddCondition(udg_trigger617,Condition(function JBX))
call TriggerAddAction(udg_trigger617,function JCX)
set udg_trigger618=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger618,udg_rect117)
call TriggerAddCondition(udg_trigger618,Condition(function JDX))
call TriggerAddAction(udg_trigger618,function JFX)
set udg_trigger619=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger619,udg_rect140)
call TriggerAddCondition(udg_trigger619,Condition(function JGX))
call TriggerAddAction(udg_trigger619,function JHX)
set udg_trigger620=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger620,udg_rect116)
call TriggerAddCondition(udg_trigger620,Condition(function JJX))
call TriggerAddAction(udg_trigger620,function JKX)
set udg_trigger621=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger621,udg_rect138)
call TriggerAddCondition(udg_trigger621,Condition(function JLX))
call TriggerAddAction(udg_trigger621,function JMX)
set udg_trigger622=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger622,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger622,Condition(function JPX))
call TriggerAddAction(udg_trigger622,function JQX)
set udg_trigger623=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger623,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger623,Condition(function JSX))
call TriggerAddAction(udg_trigger623,function JTX)
set udg_trigger624=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger624,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger624,Condition(function JUX))
call TriggerAddAction(udg_trigger624,function JWX)
set udg_trigger625=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger625,udg_rect08)
call TriggerAddCondition(udg_trigger625,Condition(function JYX))
call TriggerAddAction(udg_trigger625,function JZX)
set udg_trigger626=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger626,udg_rect183)
call TriggerAddCondition(udg_trigger626,Condition(function J_X))
call TriggerAddAction(udg_trigger626,function J0X)
set udg_trigger627=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger627,udg_rect161)
call TriggerAddCondition(udg_trigger627,Condition(function J1X))
call TriggerAddAction(udg_trigger627,function J2X)
set udg_trigger628=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger628,udg_rect90)
call TriggerAddCondition(udg_trigger628,Condition(function J3X))
call TriggerAddAction(udg_trigger628,function J4X)
set udg_trigger629=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger629,udg_rect148)
call TriggerAddCondition(udg_trigger629,Condition(function J5X))
call TriggerAddAction(udg_trigger629,function J6X)
set udg_trigger630=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger630,udg_rect07)
call TriggerAddCondition(udg_trigger630,Condition(function J7X))
call TriggerAddAction(udg_trigger630,function J8X)
set udg_trigger631=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger631,udg_rect250)
call TriggerAddCondition(udg_trigger631,Condition(function J9X))
call TriggerAddAction(udg_trigger631,function KVX)
set udg_trigger632=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger632,udg_rect251)
call TriggerAddCondition(udg_trigger632,Condition(function KEX))
call TriggerAddAction(udg_trigger632,function KXX)
set udg_trigger633=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger633,udg_rect252)
call TriggerAddCondition(udg_trigger633,Condition(function KOX))
call TriggerAddAction(udg_trigger633,function KRX)
set udg_trigger634=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger634,udg_rect250)
call TriggerAddCondition(udg_trigger634,Condition(function KIX))
call TriggerAddAction(udg_trigger634,function KAX)
set udg_trigger635=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger635,udg_rect251)
call TriggerAddCondition(udg_trigger635,Condition(function KNX))
call TriggerAddAction(udg_trigger635,function KBX)
set udg_trigger636=CreateTrigger()
call TriggerRegisterLeaveRectSimple(udg_trigger636,udg_rect252)
call TriggerAddCondition(udg_trigger636,Condition(function KCX))
call TriggerAddAction(udg_trigger636,function KDX)
set udg_trigger637=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger637,udg_rect19)
call TriggerAddCondition(udg_trigger637,Condition(function KFX))
call TriggerAddAction(udg_trigger637,function KGX)
call ConditionalTriggerExecute(udg_trigger03)
call ConditionalTriggerExecute(udg_trigger04)
call ConditionalTriggerExecute(udg_trigger08)
call ConditionalTriggerExecute(udg_trigger11)
call ConditionalTriggerExecute(udg_trigger12)
call ConditionalTriggerExecute(udg_trigger13)
call ConditionalTriggerExecute(udg_trigger14)
call ConditionalTriggerExecute(udg_trigger17)
call ConditionalTriggerExecute(udg_trigger18)
call ConditionalTriggerExecute(udg_trigger95)
call ConditionalTriggerExecute(udg_trigger96)
call ConditionalTriggerExecute(udg_trigger97)
call ConditionalTriggerExecute(udg_trigger394)
call ConditionalTriggerExecute(udg_trigger395)
call ConditionalTriggerExecute(udg_trigger409)
call ConditionalTriggerExecute(udg_trigger410)
call ConditionalTriggerExecute(udg_trigger430)
call ConditionalTriggerExecute(udg_trigger431)
endfunction
function InitTrig_init takes nothing returns nothing
set udg_trigger01 = CreateTrigger()
set udg_trigger02 = CreateTrigger()
call ExecuteFunc("main2")
endfunction