// 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 |
button01 | button | No | |
camerasetup01 | camerasetup | No | |
camerasetup02 | camerasetup | No | |
camerasetup03 | camerasetup | No | |
camerasetup04 | camerasetup | No | |
camerasetup05 | camerasetup | No | |
camerasetup06 | camerasetup | No | |
camerasetup07 | camerasetup | No | |
camerasetup08 | camerasetup | No | |
camerasetup09 | camerasetup | No | |
camerasetup10 | camerasetup | No | |
camerasetup11 | camerasetup | No | |
camerasetup12 | camerasetup | No | |
camerasetup13 | camerasetup | No | |
camerasetup14 | camerasetup | No | |
camerasetup15 | camerasetup | No | |
camerasetup16 | camerasetup | No | |
camerasetup17 | camerasetup | No | |
camerasetup18 | camerasetup | No | |
camerasetup19 | camerasetup | No | |
camerasetup20 | camerasetup | No | |
camerasetup21 | camerasetup | No | |
camerasetup22 | camerasetup | No | |
camerasetup23 | camerasetup | No | |
camerasetup24 | camerasetup | No | |
camerasetup25 | camerasetup | No | |
camerasetup26 | camerasetup | No | |
camerasetup27 | camerasetup | No | |
camerasetup28 | camerasetup | No | |
camerasetup29 | camerasetup | No | |
camerasetup30 | camerasetup | No | |
camerasetup31 | camerasetup | No | |
camerasetup32 | camerasetup | No | |
camerasetup33 | camerasetup | No | |
camerasetup34 | camerasetup | No | |
camerasetup35 | camerasetup | No | |
camerasetup36 | camerasetup | No | |
camerasetup37 | camerasetup | No | |
camerasetup38 | camerasetup | No | |
camerasetup39 | camerasetup | No | |
camerasetup40 | camerasetup | No | |
camerasetup41 | camerasetup | No | |
camerasetup42 | camerasetup | No | |
camerasetup43 | camerasetup | No | |
camerasetup44 | camerasetup | No | |
camerasetup45 | camerasetup | No | |
camerasetup46 | camerasetup | No | |
camerasetup47 | camerasetup | No | |
effect01 | effect | No | |
effect02 | effect | No | |
effect03 | effect | No | |
effect04 | effect | No | |
effect05 | effect | No | |
effect06 | effect | No | |
effect07 | effect | No | |
effects01 | effect | Yes | |
effects02 | effect | Yes | |
effects03 | effect | Yes | |
effects04 | effect | Yes | |
effects05 | effect | Yes | |
effects06 | effect | Yes | |
fogmodifier01 | fogmodifier | No | |
group01 | group | No | |
item01 | item | No | |
item02 | item | No | |
item03 | item | No | |
lightnings01 | lightning | Yes | |
lightnings02 | lightning | Yes | |
location01 | location | No | |
location02 | location | No | |
location03 | location | No | |
location04 | location | No | |
location05 | location | No | |
location06 | location | No | |
location07 | location | No | |
location08 | location | No | |
real01 | real | No | |
real02 | real | No | |
real03 | real | No | |
real04 | 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 | |
rect12 | rect | No | |
rect13 | rect | No | |
rect14 | rect | No | |
rect15 | rect | No | |
rect16 | rect | No | |
rect17 | rect | No | |
rect18 | rect | No | |
rect19 | rect | No | |
rect20 | rect | No | |
rect21 | rect | No | |
rect22 | rect | No | |
rect23 | rect | No | |
rect24 | rect | No | |
rect25 | rect | No | |
rect26 | rect | No | |
rect27 | rect | No | |
rect28 | rect | No | |
rect29 | rect | No | |
rect30 | rect | No | |
rect31 | rect | No | |
rect32 | rect | No | |
rect33 | rect | No | |
rect34 | rect | No | |
rect35 | rect | No | |
rect36 | rect | No | |
rect37 | rect | No | |
rect38 | rect | No | |
rect39 | rect | No | |
rect40 | rect | No | |
rect41 | rect | No | |
rect42 | rect | No | |
rect43 | rect | No | |
rect44 | rect | No | |
rect45 | rect | No | |
rect46 | rect | No | |
rect47 | rect | No | |
rect48 | rect | No | |
rect49 | rect | No | |
rect50 | rect | No | |
rect51 | rect | No | |
rect52 | rect | No | |
rect53 | rect | No | |
rect54 | rect | No | |
rect55 | rect | No | |
rect56 | rect | No | |
rect57 | rect | No | |
rect58 | rect | No | |
rect59 | rect | No | |
rect60 | rect | No | |
rect61 | rect | No | |
rect62 | rect | No | |
rect63 | rect | No | |
rect64 | rect | No | |
rect65 | rect | No | |
rect66 | rect | No | |
rect67 | rect | No | |
rect68 | rect | No | |
rect69 | rect | No | |
rect70 | rect | No | |
rect71 | rect | No | |
rect72 | rect | No | |
rect73 | rect | No | |
rect74 | rect | No | |
rect75 | rect | No | |
rect76 | rect | No | |
rect77 | rect | No | |
rect78 | rect | No | |
rect79 | rect | No | |
rect80 | rect | No | |
rect81 | rect | No | |
rect82 | rect | No | |
rect83 | rect | No | |
rect84 | rect | No | |
rect85 | rect | No | |
rect86 | rect | No | |
rect87 | rect | No | |
rect88 | rect | No | |
rect89 | rect | No | |
rect90 | rect | No | |
rect91 | rect | No | |
rect92 | rect | No | |
rect93 | rect | No | |
rect94 | rect | No | |
rect95 | rect | No | |
rect96 | rect | No | |
rect97 | rect | No | |
rect98 | rect | No | |
rect99 | rect | No | |
sound01 | sound | No | |
sound02 | sound | No | |
sound03 | sound | No | |
sound04 | sound | No | |
sound05 | sound | No | |
sound06 | sound | No | |
sound07 | sound | No | |
sound08 | sound | No | |
sound09 | sound | No | |
sound10 | sound | No | |
sound100 | sound | No | |
sound101 | sound | No | |
sound102 | sound | No | |
sound103 | sound | No | |
sound104 | sound | No | |
sound105 | sound | No | |
sound106 | sound | No | |
sound107 | sound | No | |
sound108 | sound | No | |
sound109 | sound | No | |
sound11 | sound | No | |
sound110 | sound | No | |
sound111 | sound | No | |
sound112 | sound | No | |
sound113 | sound | No | |
sound114 | sound | No | |
sound12 | sound | No | |
sound13 | sound | No | |
sound14 | sound | No | |
sound15 | sound | No | |
sound16 | sound | No | |
sound17 | sound | No | |
sound18 | sound | No | |
sound19 | sound | No | |
sound20 | sound | No | |
sound21 | sound | No | |
sound22 | sound | No | |
sound23 | sound | No | |
sound24 | sound | No | |
sound25 | sound | No | |
sound26 | sound | No | |
sound27 | sound | No | |
sound28 | sound | No | |
sound29 | sound | No | |
sound30 | sound | No | |
sound31 | sound | No | |
sound32 | sound | No | |
sound33 | sound | No | |
sound34 | sound | No | |
sound35 | sound | No | |
sound36 | sound | No | |
sound37 | sound | No | |
sound38 | sound | No | |
sound39 | sound | No | |
sound40 | sound | No | |
sound41 | sound | No | |
sound42 | sound | No | |
sound43 | sound | No | |
sound44 | sound | No | |
sound45 | sound | No | |
sound46 | sound | No | |
sound47 | sound | No | |
sound48 | sound | No | |
sound49 | sound | No | |
sound50 | sound | No | |
sound51 | sound | No | |
sound52 | sound | No | |
sound53 | sound | No | |
sound54 | sound | No | |
sound55 | sound | No | |
sound56 | sound | No | |
sound57 | sound | No | |
sound58 | sound | No | |
sound59 | sound | No | |
sound60 | sound | No | |
sound61 | sound | No | |
sound62 | sound | No | |
sound63 | sound | No | |
sound64 | sound | No | |
sound65 | sound | No | |
sound66 | sound | No | |
sound67 | sound | No | |
sound68 | sound | No | |
sound69 | sound | No | |
sound70 | sound | No | |
sound71 | sound | No | |
sound72 | sound | No | |
sound73 | sound | No | |
sound74 | sound | No | |
sound75 | sound | No | |
sound76 | sound | No | |
sound77 | sound | No | |
sound78 | sound | No | |
sound79 | sound | No | |
sound80 | sound | No | |
sound81 | sound | No | |
sound82 | sound | No | |
sound83 | sound | No | |
sound84 | sound | No | |
sound85 | sound | No | |
sound86 | sound | No | |
sound87 | sound | No | |
sound88 | sound | No | |
sound89 | sound | No | |
sound90 | sound | No | |
sound91 | sound | No | |
sound92 | sound | No | |
sound93 | sound | No | |
sound94 | sound | No | |
sound95 | sound | No | |
sound96 | sound | No | |
sound97 | sound | No | |
sound98 | sound | No | |
sound99 | sound | No | |
string01 | string | 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 | |
trigger47 | trigger | No | |
trigger48 | trigger | No | |
trigger49 | trigger | No | |
trigger50 | trigger | No | |
trigger51 | trigger | No | |
trigger52 | trigger | No | |
trigger53 | trigger | No | |
trigger54 | trigger | No | |
trigger55 | trigger | No | |
trigger56 | trigger | No | |
trigger57 | trigger | No | |
trigger58 | trigger | No | |
trigger59 | trigger | No | |
trigger60 | trigger | No | |
trigger61 | trigger | No | |
trigger62 | trigger | No | |
trigger63 | trigger | No | |
trigger64 | trigger | No | |
trigger65 | trigger | No | |
trigger66 | trigger | No | |
trigger67 | trigger | No | |
trigger68 | trigger | No | |
trigger69 | trigger | No | |
trigger70 | trigger | No | |
trigger71 | trigger | No | |
trigger72 | trigger | No | |
trigger73 | trigger | No | |
trigger74 | trigger | No | |
trigger75 | trigger | No | |
trigger76 | trigger | No | |
trigger77 | trigger | No | |
trigger78 | trigger | No | |
trigger79 | trigger | No | |
trigger80 | trigger | No | |
trigger81 | trigger | No | |
trigger82 | trigger | No | |
trigger83 | trigger | No | |
trigger84 | trigger | No | |
trigger85 | trigger | No | |
trigger86 | trigger | No | |
trigger87 | trigger | No | |
trigger88 | trigger | No | |
trigger89 | trigger | No | |
trigger90 | trigger | No | |
trigger91 | trigger | No | |
trigger92 | trigger | No | |
trigger93 | trigger | No | |
trigger94 | trigger | No | |
trigger95 | trigger | No | |
trigger96 | trigger | No | |
trigger97 | trigger | No | |
trigger98 | trigger | No | |
trigger99 | trigger | No | |
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 | |
unit11 | unit | No | |
unit12 | unit | No | |
unit13 | unit | No | |
unit14 | unit | No | |
unit15 | unit | No | |
unit16 | unit | No | |
unit17 | unit | No | |
unit18 | unit | No | |
unit19 | unit | No | |
unit20 | unit | No | |
unit21 | unit | No | |
unit22 | unit | No | |
unit23 | unit | No | |
unit24 | unit | No | |
unit25 | unit | No | |
unit26 | unit | No | |
unit27 | unit | No | |
unit28 | unit | No | |
unit29 | unit | No | |
unit30 | unit | No | |
unit31 | unit | No | |
unit32 | unit | No | |
unit33 | unit | No | |
unit34 | unit | No | |
unit35 | unit | No | |
unit36 | unit | No | |
unit37 | unit | No | |
unit38 | unit | No | |
unit39 | unit | No | |
unit40 | unit | No | |
unit41 | unit | No | |
unit42 | unit | No | |
unit43 | unit | No | |
unit44 | unit | No | |
unit45 | unit | No | |
unit46 | unit | No | |
unit47 | unit | No | |
unit48 | unit | No | |
unit49 | unit | No | |
unit50 | unit | No | |
unit51 | unit | No | |
unit52 | unit | No | |
unit53 | unit | No | |
unit54 | unit | No | |
unit55 | unit | No | |
unit56 | unit | No | |
unit57 | unit | No | |
unit58 | unit | No | |
unit59 | unit | No | |
unit60 | unit | No | |
unit61 | unit | No | |
unit62 | unit | No | |
unit63 | unit | No | |
unit64 | unit | No | |
unit65 | unit | No | |
unit66 | unit | No | |
unit67 | unit | No | |
unit68 | unit | No | |
unit69 | unit | No | |
unit70 | unit | No | |
unit71 | unit | No | |
unit72 | unit | No | |
unit73 | unit | No | |
unit74 | unit | No | |
unit75 | unit | No | |
unit76 | unit | No | |
unit77 | unit | No | |
unit78 | unit | No | |
unit79 | unit | No | |
unit80 | unit | No | |
unit81 | unit | No | |
unit82 | unit | No | |
unit83 | unit | No | |
unit84 | unit | No | |
unit85 | unit | No | |
unit86 | unit | No | |
unit87 | unit | No | |
unit88 | unit | No | |
unit89 | unit | No | |
unit90 | unit | No | |
unit91 | unit | No | |
unit92 | unit | No | |
unit93 | unit | No | |
unit94 | unit | No | |
unit95 | unit | No | |
unit96 | unit | No | |
unit97 | unit | No | |
unit98 | unit | No | |
unit99 | unit | No | |
units01 | unit | Yes | |
units02 | unit | Yes | |
units03 | unit | Yes | |
units04 | unit | Yes | |
units05 | unit | Yes | |
units06 | unit | Yes | |
units07 | unit | Yes | |
units08 | unit | Yes | |
units09 | unit | Yes | |
units10 | unit | Yes | |
units11 | unit | Yes | |
units12 | unit | Yes | |
units13 | unit | Yes | |
units14 | unit | Yes | |
units15 | unit | Yes | |
units16 | unit | Yes | |
units17 | unit | Yes | |
units18 | unit | Yes | |
units19 | unit | Yes | |
units20 | 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 InitGlobals2 takes nothing returns nothing
local integer i=0
set udg_real01=0
set udg_group01=CreateGroup()
set udg_real02=0
set udg_real03=1.00
set udg_real04=1.00
endfunction
function Unit000289_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I000',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000293_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I000',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000297_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I001',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000303_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I001',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000306_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I000',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000318_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I001',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000323_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I001',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function Unit000337_DropItems takes nothing returns nothing
local widget trigWidget=null
local unit trigUnit=null
local integer itemID=0
local boolean canDrop=true
set trigWidget=bj_lastDyingWidget
if(trigWidget==null)then
set trigUnit=GetTriggerUnit()
endif
if(trigUnit!=null)then
set canDrop=not IsUnitHidden(trigUnit)
if(canDrop and GetChangingUnit()!=null)then
set canDrop=(GetChangingUnitPrevOwner()==Player(PLAYER_NEUTRAL_AGGRESSIVE))
endif
endif
if(canDrop)then
call RandomDistReset()
call RandomDistAddItem('I000',40)
call RandomDistAddItem(-1,60)
set itemID=RandomDistChoose()
if(trigUnit!=null)then
call UnitDropItem(trigUnit,itemID)
else
call WidgetDropItem(trigWidget,itemID)
endif
endif
set bj_lastDyingWidget=null
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function CreateAllItems takes nothing returns nothing
local integer itemID
set udg_item02=CreateItem('I001',-13756.0,14741.4)
set udg_item03=CreateItem('I001',-13757.8,14661.6)
set udg_item01=CreateItem('I001',-13755.1,14844.4)
endfunction
function CreateBuildingsForPlayer0 takes nothing returns nothing
local player p=Player(0)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit71=CreateUnit(p,'h00A',12288.0,14912.0,270.000)
set udg_unit70=CreateUnit(p,'h009',-13760.0,15168.0,270.000)
endfunction
function CreateUnitsForPlayer0 takes nothing returns nothing
local player p=Player(0)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit34=CreateUnit(p,'O000',9797.4,12117.0,87.050)
call SetUnitState(udg_unit34,UNIT_STATE_MANA,200)
call SetUnitColor(udg_unit34,ConvertPlayerColor(1))
set udg_unit60=CreateUnit(p,'o00I',-13767.3,15490.2,44.924)
set udg_unit62=CreateUnit(p,'o00K',-13599.4,15468.2,311.417)
set udg_unit64=CreateUnit(p,'o00N',-13407.9,15463.7,140.440)
set udg_unit65=CreateUnit(p,'o00P',-6704.5,15524.1,93.211)
set udg_unit66=CreateUnit(p,'o00P',-13775.4,-7280.5,336.401)
set udg_unit67=CreateUnit(p,'o00P',13677.3,-5048.4,195.189)
set udg_unit68=CreateUnit(p,'o00P',6635.5,-16202.1,157.406)
set u=CreateUnit(p,'o00U',-6008.4,-15791.6,0.000)
set u=CreateUnit(p,'o010',-6022.2,-14919.4,360.000)
set u=CreateUnit(p,'o00X',-7095.4,-14521.8,90.000)
set u=CreateUnit(p,'o00X',-6528.9,-14511.3,90.000)
set u=CreateUnit(p,'o00V',-8421.5,-14866.4,89.760)
set u=CreateUnit(p,'o00V',-8621.8,-14866.2,90.000)
set u=CreateUnit(p,'o00X',-8107.0,-14528.1,90.000)
set u=CreateUnit(p,'o00X',-5924.8,-14952.3,360.000)
set u=CreateUnit(p,'o00U',-6009.2,-15960.6,0.000)
set u=CreateUnit(p,'o00U',-6009.2,-15060.4,0.000)
set u=CreateUnit(p,'o00U',-6002.4,-14697.8,0.000)
set u=CreateUnit(p,'o00U',-6008.8,-15492.2,0.000)
set u=CreateUnit(p,'o00U',-6007.7,-15634.8,0.000)
set u=CreateUnit(p,'o00U',-7546.4,-14606.5,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-7684.4,-14608.1,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-7823.2,-14609.9,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-7968.7,-14614.5,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00V',-8620.6,-15468.3,360.000)
set u=CreateUnit(p,'o00V',-8620.4,-15663.4,360.000)
set u=CreateUnit(p,'o00V',-8621.3,-15064.9,360.000)
set u=CreateUnit(p,'o00V',-8620.4,-15856.9,360.000)
set u=CreateUnit(p,'o00V',-8620.2,-16048.3,360.000)
set u=CreateUnit(p,'o00V',-8420.6,-16048.7,360.000)
set u=CreateUnit(p,'o00V',-8420.3,-15856.8,360.000)
set u=CreateUnit(p,'o00V',-8420.3,-15663.4,360.000)
set u=CreateUnit(p,'o00V',-8421.1,-15468.0,360.000)
set u=CreateUnit(p,'o00V',-8421.4,-15265.0,360.000)
set u=CreateUnit(p,'o00V',-8421.6,-15065.2,360.000)
set u=CreateUnit(p,'o00V',-8620.4,-16239.3,360.000)
set u=CreateUnit(p,'o00V',-8420.8,-16239.0,360.000)
set u=CreateUnit(p,'o00W',-8329.5,-15005.0,180.000)
set u=CreateUnit(p,'o00W',-8329.8,-14781.6,180.000)
set u=CreateUnit(p,'o00W',-8329.7,-15219.5,180.000)
set u=CreateUnit(p,'o00W',-8329.8,-15436.9,180.000)
set u=CreateUnit(p,'o00W',-8329.6,-15653.9,180.000)
set u=CreateUnit(p,'o00W',-8329.3,-15866.8,180.000)
set u=CreateUnit(p,'o00W',-8329.0,-16092.0,180.000)
set u=CreateUnit(p,'o00W',-8329.0,-16218.3,180.000)
set u=CreateUnit(p,'o00U',-6006.6,-15350.7,0.000)
set u=CreateUnit(p,'o00U',-6011.9,-15207.8,0.000)
set u=CreateUnit(p,'o00U',-6004.0,-14891.8,358.495)
set u=CreateUnit(p,'o00U',-8258.8,-14615.4,90.000)
set u=CreateUnit(p,'o00V',-8621.8,-14675.9,90.000)
set u=CreateUnit(p,'o00V',-8420.7,-14675.9,90.000)
set u=CreateUnit(p,'o00U',-8315.2,-16185.0,180.000)
set u=CreateUnit(p,'o00U',-8317.4,-15987.4,180.000)
set u=CreateUnit(p,'o00U',-8319.8,-15790.2,180.000)
set u=CreateUnit(p,'o00U',-8315.2,-15601.8,0.000)
set u=CreateUnit(p,'o00U',-8320.2,-15394.4,180.000)
set u=CreateUnit(p,'o00U',-8321.9,-15053.8,180.000)
set u=CreateUnit(p,'o00U',-8319.4,-15252.0,180.000)
set u=CreateUnit(p,'o00U',-8322.1,-14855.7,180.000)
set u=CreateUnit(p,'o00U',-8324.1,-14712.4,180.000)
set udg_unit69=CreateUnit(p,'o00Y',-6756.1,-14610.1,90.000)
call SetUnitState(udg_unit69,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o010',-6019.2,-15904.4,180.000)
set u=CreateUnit(p,'o00Z',-8527.4,-14596.8,90.000)
set u=CreateUnit(p,'o00U',-6008.0,-16107.1,0.000)
set u=CreateUnit(p,'o00U',-6006.5,-16239.5,0.000)
set u=CreateUnit(p,'o00U',-7404.7,-14603.8,90.000)
set u=CreateUnit(p,'o00U',-7091.8,-14607.1,90.000)
set u=CreateUnit(p,'o00U',-7233.0,-14607.0,90.000)
set u=CreateUnit(p,'o00U',-6920.2,-14606.2,90.000)
set u=CreateUnit(p,'o00U',-6790.1,-14594.1,91.167)
set u=CreateUnit(p,'o00U',-6642.9,-14593.2,90.000)
set u=CreateUnit(p,'o00U',-6355.4,-14591.4,90.000)
set u=CreateUnit(p,'o00U',-6205.0,-14589.1,90.000)
set u=CreateUnit(p,'o00U',-6059.0,-14588.4,90.000)
set u=CreateUnit(p,'o00U',-8724.3,-14700.1,180.000)
set u=CreateUnit(p,'o00U',-8725.1,-14872.6,180.000)
set u=CreateUnit(p,'o00U',-8733.6,-15013.1,180.000)
set u=CreateUnit(p,'o00U',-8739.6,-15156.3,180.000)
set u=CreateUnit(p,'o00U',-8732.4,-15306.7,180.000)
set u=CreateUnit(p,'o00U',-8730.0,-15461.5,180.000)
set u=CreateUnit(p,'o00U',-8739.4,-15602.2,180.000)
set u=CreateUnit(p,'o00U',-8736.2,-15745.3,180.000)
set u=CreateUnit(p,'o00U',-8734.9,-15891.1,180.000)
set u=CreateUnit(p,'o00U',-8735.9,-16030.7,180.000)
set u=CreateUnit(p,'o00U',-8734.4,-16173.2,180.000)
set u=CreateUnit(p,'o00X',-8817.6,-16094.1,180.000)
set u=CreateUnit(p,'o00X',-8821.0,-15278.2,180.000)
set u=CreateUnit(p,'o00X',-8807.1,-14642.4,180.000)
set u=CreateUnit(p,'o00U',-8311.1,-16137.8,180.000)
set u=CreateUnit(p,'o00U',-8315.3,-15837.9,180.000)
set u=CreateUnit(p,'o00U',-8315.4,-15950.4,180.000)
set u=CreateUnit(p,'o00U',-8319.8,-16044.7,180.000)
set u=CreateUnit(p,'o00U',-8319.0,-15481.1,180.000)
set u=CreateUnit(p,'o00U',-8319.6,-15356.7,180.000)
set u=CreateUnit(p,'o00U',-8319.8,-15299.2,180.000)
set u=CreateUnit(p,'o00U',-8317.9,-15144.9,180.000)
set u=CreateUnit(p,'o00U',-8320.0,-14920.0,180.000)
set u=CreateUnit(p,'o00X',-9326.5,-10024.2,0.000)
set u=CreateUnit(p,'o00U',-9397.9,-9617.6,360.000)
set u=CreateUnit(p,'o00X',-9305.9,-10552.9,0.000)
set u=CreateUnit(p,'o00X',-9322.0,-11380.6,0.000)
set u=CreateUnit(p,'o00X',-9287.4,-9754.4,0.000)
set u=CreateUnit(p,'o00X',-11840.4,-10215.6,180.000)
set u=CreateUnit(p,'o00X',-11854.6,-10822.1,180.000)
set u=CreateUnit(p,'o00X',-10674.6,-9146.1,90.000)
set u=CreateUnit(p,'o00U',-9383.6,-9651.6,0.000)
set u=CreateUnit(p,'o00X',-9381.6,-14593.0,90.000)
set u=CreateUnit(p,'o00U',-11749.7,-11624.7,180.000)
set u=CreateUnit(p,'o00U',-11750.2,-11487.8,180.000)
set u=CreateUnit(p,'o00U',-11750.0,-11314.1,180.000)
set u=CreateUnit(p,'o00U',-11747.6,-11149.0,180.000)
set u=CreateUnit(p,'o00U',-11744.6,-10988.7,180.000)
set u=CreateUnit(p,'o00U',-11744.7,-10857.1,180.000)
set u=CreateUnit(p,'o00U',-11745.1,-10714.2,180.000)
set u=CreateUnit(p,'o00U',-11746.2,-10578.4,180.000)
set u=CreateUnit(p,'o00U',-11747.1,-10444.8,180.000)
set u=CreateUnit(p,'o00U',-11749.2,-10307.7,180.000)
set u=CreateUnit(p,'o00U',-11748.1,-10174.0,180.000)
set u=CreateUnit(p,'o00U',-11748.3,-10044.2,180.000)
set u=CreateUnit(p,'o00U',-11751.1,-9910.1,180.000)
set u=CreateUnit(p,'o00U',-11749.1,-9765.4,180.000)
set u=CreateUnit(p,'o00U',-11748.2,-9633.3,180.000)
set u=CreateUnit(p,'o00U',-11751.0,-9492.4,180.000)
set u=CreateUnit(p,'o00U',-11691.2,-9326.0,145.000)
set u=CreateUnit(p,'o00U',-11541.2,-9250.9,90.000)
set u=CreateUnit(p,'o00U',-11237.9,-9245.5,90.000)
set u=CreateUnit(p,'o00U',-11384.1,-9246.8,90.000)
set u=CreateUnit(p,'o00U',-11093.5,-9244.0,90.000)
set u=CreateUnit(p,'o00U',-10919.3,-9241.3,90.000)
set u=CreateUnit(p,'o00U',-10390.9,-9236.8,90.000)
set u=CreateUnit(p,'o00U',-10737.9,-9239.7,90.000)
set u=CreateUnit(p,'o00U',-10224.0,-9241.2,90.000)
set u=CreateUnit(p,'o00U',-10560.7,-9235.0,90.000)
set u=CreateUnit(p,'o00U',-10085.4,-9239.2,90.000)
set u=CreateUnit(p,'o00U',-9941.7,-9238.1,90.000)
set u=CreateUnit(p,'o00U',-9798.3,-9239.2,90.000)
set u=CreateUnit(p,'o00U',-9660.7,-9236.8,90.000)
set u=CreateUnit(p,'o00U',-9492.9,-9292.7,55.000)
set u=CreateUnit(p,'o00U',-9419.0,-9446.8,0.000)
set u=CreateUnit(p,'o00U',-9408.2,-10302.0,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9411.3,-10017.3,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9416.7,-9589.2,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9413.8,-9872.3,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9415.9,-9731.3,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9408.6,-10158.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00U',-9406.0,-10478.1,0.000)
set u=CreateUnit(p,'o00U',-9404.1,-10653.7,0.000)
set u=CreateUnit(p,'o00U',-9402.8,-10797.8,0.000)
set u=CreateUnit(p,'o00U',-9403.6,-10975.9,0.000)
set u=CreateUnit(p,'o00U',-9404.5,-11146.4,0.000)
set u=CreateUnit(p,'o00U',-9406.4,-11287.7,0.000)
set u=CreateUnit(p,'o00U',-9407.6,-11429.2,0.000)
set u=CreateUnit(p,'o00X',-9536.8,-16028.9,270.000)
set u=CreateUnit(p,'o00X',-9316.1,-10963.9,0.000)
set u=CreateUnit(p,'o00X',-10166.0,-9169.7,90.000)
set u=CreateUnit(p,'o00X',-9406.2,-9251.9,55.000)
set u=CreateUnit(p,'o00X',-11801.1,-9335.0,145.000)
set u=CreateUnit(p,'o00X',-11331.7,-9161.4,90.000)
set u=CreateUnit(p,'o00X',-11835.6,-9894.7,180.000)
set u=CreateUnit(p,'o00X',-11834.6,-10991.0,180.000)
set u=CreateUnit(p,'o00X',-10318.9,-14593.7,90.000)
set u=CreateUnit(p,'o00X',-10477.6,-16038.5,270.000)
set u=CreateUnit(p,'o00Y',-8885.7,-15325.1,180.040)
set u=CreateUnit(p,'o010',-11189.3,-9254.6,90.000)
set u=CreateUnit(p,'o00X',-8792.1,-15460.8,360.000)
set u=CreateUnit(p,'o00Y',-10056.0,-9265.5,90.000)
set u=CreateUnit(p,'o010',-9998.3,-14691.0,270.000)
set u=CreateUnit(p,'o00Y',-10441.4,-15934.0,270.000)
set u=CreateUnit(p,'o00X',-9957.1,-16035.8,270.000)
set u=CreateUnit(p,'o00X',-9954.3,-14588.8,90.000)
set u=CreateUnit(p,'o00X',-10367.3,-16045.1,270.000)
set udg_unit82=CreateUnit(p,'o01D',5234.9,15443.8,180.000)
set udg_unit83=CreateUnit(p,'o01E',6429.3,15440.1,0.000)
set udg_unit103=CreateUnit(p,'ugho',-13784.7,13937.7,349.618)
set udg_unit104=CreateUnit(p,'ugho',-13789.1,13819.4,46.858)
endfunction
function CreateUnitsForPlayer1 takes nothing returns nothing
local player p=Player(1)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit41=CreateUnit(p,'O009',-10392.3,-10291.8,275.740)
call SetUnitState(udg_unit41,UNIT_STATE_MANA,270)
call SetUnitColor(udg_unit41,ConvertPlayerColor(9))
call IssueImmediateOrder(udg_unit41,"")
call IssueImmediateOrder(udg_unit41,"")
call IssueImmediateOrder(udg_unit41,"")
endfunction
function CreateUnitsForPlayer2 takes nothing returns nothing
local player p=Player(2)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit38=CreateUnit(p,'U000',-11514.3,-11077.8,269.730)
call SetUnitState(udg_unit38,UNIT_STATE_MANA,420)
endfunction
function CreateUnitsForPlayer3 takes nothing returns nothing
local player p=Player(3)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit51=CreateUnit(p,'E001',-10363.9,-11062.6,266.900)
call SetUnitState(udg_unit51,UNIT_STATE_MANA,200)
call SetUnitColor(udg_unit51,ConvertPlayerColor(9))
call UnitAddItemToSlotById(udg_unit51,'I002',0)
set udg_unit81=CreateUnit(p,'o01C',6297.9,15399.2,270.000)
endfunction
function CreateBuildingsForPlayer4 takes nothing returns nothing
local player p=Player(4)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit36=CreateUnit(p,'h00G',13248.0,10112.0,270.000)
endfunction
function CreateUnitsForPlayer4 takes nothing returns nothing
local player p=Player(4)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit40=CreateUnit(p,'E000',13155.3,10008.5,47.820)
call SetUnitState(udg_unit40,UNIT_STATE_MANA,240)
set u=CreateUnit(p,'o00X',-5927.0,-15747.9,360.000)
set u=CreateUnit(p,'o00U',-8113.7,-14615.9,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o00V',-8620.9,-15265.1,360.000)
set u=CreateUnit(p,'o00U',-6495.6,-14591.9,90.000)
set u=CreateUnit(p,'o00U',-8317.6,-15728.8,180.000)
set u=CreateUnit(p,'o011',-13274.0,-14646.7,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12913.6,-12928.2,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12578.7,-14742.8,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
endfunction
function CreateUnitsForPlayer5 takes nothing returns nothing
local player p=Player(5)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit35=CreateUnit(p,'O004',-7141.7,-15763.5,77.960)
call SetUnitState(udg_unit35,UNIT_STATE_MANA,280)
call SetUnitColor(udg_unit35,ConvertPlayerColor(5))
call SelectHeroSkill(udg_unit35,'A00D')
call IssueImmediateOrder(udg_unit35,"")
endfunction
function CreateUnitsForPlayer7 takes nothing returns nothing
local player p=Player(7)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit59=CreateUnit(p,'O00H',-6963.9,-15752.1,93.040)
call SetUnitState(udg_unit59,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit59,ConvertPlayerColor(7))
endfunction
function CreateUnitsForPlayer8 takes nothing returns nothing
local player p=Player(8)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h00H',-360.9,-10336.8,259.538)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-71.0,-10257.3,67.931)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-132.8,-10503.9,297.550)
call SetUnitColor(u,ConvertPlayerColor(12))
endfunction
function CreateUnitsForPlayer9 takes nothing returns nothing
local player p=Player(9)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit37=CreateUnit(p,'O001',-11516.0,-10308.9,271.620)
call SetUnitState(udg_unit37,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit37,ConvertPlayerColor(9))
endfunction
function CreateUnitsForPlayer10 takes nothing returns nothing
local player p=Player(10)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit76=CreateUnit(p,'U003',-11112.2,-10320.6,272.740)
endfunction
function CreateUnitsForPlayer11 takes nothing returns nothing
local player p=Player(11)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'n001',2937.4,-11175.9,124.110)
set udg_unit74=CreateUnit(p,'n001',5144.8,-8189.7,64.560)
set udg_unit75=CreateUnit(p,'n001',12473.9,-15768.8,145.720)
set u=CreateUnit(p,'hfoo',5995.6,-15348.3,5.449)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-2265.1,-6595.3,21.416)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-2084.0,-6463.9,229.720)
call SetUnitState(u,UNIT_STATE_MANA,50)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-2050.8,-6688.7,129.215)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-642.3,-6714.3,345.643)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-412.0,-6625.1,240.259)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-414.9,-6931.4,111.830)
call SetUnitState(u,UNIT_STATE_MANA,200)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',942.6,-5734.0,278.932)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',713.1,-6124.2,21.750)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000289_DropItems)
set u=CreateUnit(p,'hfoo',1157.1,-6200.8,132.510)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',10069.2,-5242.6,190.100)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000297_DropItems)
set u=CreateUnit(p,'hfoo',10959.0,-13605.0,357.010)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000303_DropItems)
set u=CreateUnit(p,'hfoo',6839.2,-11858.1,346.480)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',7101.0,-11813.1,220.492)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',7001.3,-12008.1,100.427)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',5110.0,-13260.0,224.129)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',5460.3,-13273.6,300.246)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',4849.9,-13253.2,300.368)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',5543.9,-13373.2,136.883)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',4787.5,-13534.7,36.129)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',5010.0,-13601.5,109.061)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',640.2,-8652.8,84.950)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000323_DropItems)
set u=CreateUnit(p,'h00H',129.9,-10420.6,96.520)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',223.5,-10255.1,52.461)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',261.9,-10608.3,273.645)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',2760.8,-9358.7,196.143)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13142.7,-5631.9,291.240)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13372.2,-5663.9,226.524)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13173.9,-5933.9,57.710)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',10176.5,-7415.7,291.185)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',10269.4,-7396.4,263.331)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',10889.5,-8613.6,334.930)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',11071.2,-8617.6,200.329)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',10986.1,-8808.6,94.274)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',9700.3,-11930.5,193.020)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',6713.0,-9112.4,319.692)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',6443.6,-4386.4,293.890)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',276.4,-4388.2,247.420)
call SetUnitState(u,UNIT_STATE_MANA,150)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5964.0,-15140.6,330.611)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',6051.9,-15583.4,143.035)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',6590.2,-15150.5,33.334)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',6525.5,-15353.5,105.835)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',6292.2,-15271.9,200.177)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5607.3,-15647.1,94.156)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',8550.4,-9259.2,223.806)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',8103.9,-9147.6,269.769)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',9538.5,-13819.2,216.610)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',10215.8,-10360.3,249.030)
call SetUnitColor(u,ConvertPlayerColor(12))
endfunction
function CreateNeutralHostile takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_AGGRESSIVE)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'hfoo',2586.9,-5578.4,28.332)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',2767.3,-5389.6,248.009)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',2836.2,-5596.1,142.350)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000293_DropItems)
set u=CreateUnit(p,'hfoo',5789.8,-5951.6,240.736)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5538.3,-6098.9,8.400)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5790.7,-6263.0,115.498)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',9282.6,-7063.3,216.053)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',9596.8,-9852.9,276.908)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12361.3,-10178.3,11.641)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12612.6,-9897.8,258.359)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12737.0,-10252.1,146.390)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',8233.7,-15643.1,53.972)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',8495.8,-15583.4,143.230)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',8351.9,-15357.8,271.100)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000306_DropItems)
set u=CreateUnit(p,'h00H',496.2,-11786.7,217.958)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',281.1,-11822.7,343.878)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',496.6,-11999.5,123.180)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000318_DropItems)
set u=CreateUnit(p,'h00H',-1657.4,-15869.2,113.790)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-1739.8,-14880.8,29.560)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-95.7,-14297.5,143.603)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',13181.4,-11476.1,167.609)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',2488.6,-9390.2,7.825)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13332.2,-7882.6,84.952)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13520.7,-7754.4,158.754)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12001.8,-7210.1,229.150)
call SetUnitColor(u,ConvertPlayerColor(12))
set t=CreateTrigger()
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DEATH)
call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_CHANGE_OWNER)
call TriggerAddAction(t,function Unit000337_DropItems)
set u=CreateUnit(p,'h00H',8266.5,-8483.4,247.100)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5717.0,-10764.6,206.537)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',5590.0,-10857.1,23.531)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-1948.7,-10612.5,96.872)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-1267.5,-8190.9,230.870)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',4067.1,-6629.6,29.759)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',4178.0,-6561.7,212.750)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',7638.1,-6209.5,14.429)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',7725.8,-6302.2,45.823)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',11447.4,-5822.2,298.575)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',2439.6,-12727.9,240.506)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-975.1,-9352.6,315.940)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',1492.5,-7505.2,58.420)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',3079.6,-8051.9,334.872)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',3212.0,-8124.0,149.342)
call SetUnitColor(u,ConvertPlayerColor(12))
endfunction
function CreateNeutralPassive2 takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'hrif',-3397.0,-12509.7,326.259)
set u=CreateUnit(p,'hrif',-1664.3,-3138.3,232.240)
set u=CreateUnit(p,'U001',-11510.6,-9946.6,273.030)
call IssueImmediateOrder(u,"")
set udg_unit39=CreateUnit(p,'U002',-13753.6,14990.3,186.870)
call SetHeroLevel(udg_unit39,5,false)
call SelectHeroSkill(udg_unit39,'A00Q')
call IssueImmediateOrder(udg_unit39,"")
call SelectHeroSkill(udg_unit39,'A00R')
call IssueImmediateOrder(udg_unit39,"")
set u=CreateUnit(p,'hrif',8392.1,-3099.4,235.080)
set udg_unit42=CreateUnit(p,'o00A',-13728.1,-16197.3,325.700)
set udg_unit43=CreateUnit(p,'o00B',-13730.0,-16052.3,66.041)
set udg_unit44=CreateUnit(p,'o00C',-13723.9,-15843.5,209.395)
set udg_unit48=CreateUnit(p,'o00A',-13509.3,-16225.7,151.550)
set udg_unit46=CreateUnit(p,'o00A',-13303.0,-16196.1,198.123)
set udg_unit47=CreateUnit(p,'o00B',-13310.3,-16047.2,114.075)
set udg_unit45=CreateUnit(p,'o00C',-13322.2,-15843.6,279.918)
set udg_unit49=CreateUnit(p,'o00B',-13510.6,-16028.5,48.286)
set udg_unit50=CreateUnit(p,'o00C',-13529.4,-15826.2,72.501)
set udg_unit52=CreateUnit(p,'o00A',-13133.6,-16229.4,110.866)
set udg_unit53=CreateUnit(p,'o00B',-13137.2,-16035.9,68.062)
set udg_unit54=CreateUnit(p,'o00C',-13130.3,-15850.2,118.052)
set udg_unit56=CreateUnit(p,'o00A',-12940.0,-16229.9,106.362)
set udg_unit57=CreateUnit(p,'o00B',-12934.1,-16027.7,38.860)
set udg_unit55=CreateUnit(p,'o00C',-12946.5,-15846.6,149.518)
set u=CreateUnit(p,'hrif',-11492.0,-9447.8,285.186)
set u=CreateUnit(p,'hrif',-11123.6,-9452.9,267.223)
set u=CreateUnit(p,'hrif',-10724.4,-9463.3,271.247)
set u=CreateUnit(p,'hrif',-10256.9,-9467.4,268.658)
set u=CreateUnit(p,'hrif',-9816.5,-9443.0,247.464)
set u=CreateUnit(p,'hrif',-9475.9,-10048.5,196.216)
set u=CreateUnit(p,'hrif',-9484.2,-10436.8,189.705)
set u=CreateUnit(p,'hmpr',-9481.5,-10793.6,171.178)
call SetUnitState(u,UNIT_STATE_MANA,0)
set udg_unit61=CreateUnit(p,'o00J',-13566.0,15465.1,329.900)
set udg_unit63=CreateUnit(p,'o00M',-13524.2,15467.9,38.900)
set udg_unit85=CreateUnit(p,'hrif',11261.4,2106.6,337.253)
set u=CreateUnit(p,'hfoo',-11137.6,-11096.9,273.990)
call SetUnitColor(u,ConvertPlayerColor(12))
set udg_unit77=CreateUnit(p,'E003',12508.3,-2077.3,246.658)
set u=CreateUnit(p,'h00B',-11059.9,-14891.5,348.760)
set u=CreateUnit(p,'h00B',-10824.0,-15738.9,12.237)
set u=CreateUnit(p,'h00B',-10546.6,-15259.2,356.125)
set u=CreateUnit(p,'h00B',-10606.3,-15445.8,1.824)
set u=CreateUnit(p,'h00B',-10612.8,-15057.4,351.460)
set u=CreateUnit(p,'o011',-13458.7,-12398.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.6,-12577.5,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.5,-12754.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.7,-12932.0,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.4,-13111.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.3,-13291.6,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.1,-13470.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.5,-13649.1,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.4,-14008.7,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.4,-14187.8,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.7,-13829.2,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13458.3,-14367.3,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13395.1,-14517.3,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13153.6,-14775.6,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-13030.8,-14907.1,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12910.9,-15032.1,45.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12785.4,-15154.5,46.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12656.6,-15280.1,46.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'h00F',-10330.5,-15662.7,18.824)
set u=CreateUnit(p,'o011',-12912.5,-12407.6,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12912.7,-12578.3,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12914.5,-13453.0,359.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12913.3,-13276.2,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12913.1,-13105.4,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12912.9,-12754.9,0.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12917.7,-13631.0,359.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12921.2,-13808.3,359.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12924.4,-13986.7,359.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12926.8,-14161.5,359.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12903.5,-14334.9,15.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12818.3,-14485.2,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12697.2,-14614.4,43.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o011',-12438.7,-14812.6,260.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set u=CreateUnit(p,'o012',-13166.5,-12306.3,90.000)
call SetUnitState(u,UNIT_STATE_MANA,0)
set udg_unit58=CreateUnit(p,'h00E',-13211.7,-12118.5,268.070)
set udg_unit72=CreateUnit(p,'h00D',-13026.6,-12187.9,266.300)
set udg_unit73=CreateUnit(p,'h00C',-13371.4,-12189.7,281.310)
call SetUnitColor(udg_unit73,ConvertPlayerColor(1))
set u=CreateUnit(p,'h00F',-10120.2,-15788.2,22.661)
set u=CreateUnit(p,'hfoo',-10741.1,-10310.3,266.319)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-10728.3,-9938.8,267.415)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-9962.9,-9947.0,269.751)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-10740.9,-10710.6,273.263)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-9977.6,-10711.9,268.715)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-11510.5,-10706.8,269.355)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',-10738.4,-11067.2,266.675)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-9971.6,-10329.9,269.575)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',-9983.2,-11076.2,269.788)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'necr',12035.3,8616.4,24.643)
set udg_unit78=CreateUnit(p,'necr',10241.7,10915.4,269.701)
set udg_unit79=CreateUnit(p,'necr',11553.5,13182.7,104.230)
set u=CreateUnit(p,'necr',11913.4,12015.2,282.236)
set udg_unit80=CreateUnit(p,'hrif',11365.2,2340.0,313.170)
set udg_unit102=CreateUnit(p,'h00J',11538.4,2424.2,315.110)
set udg_unit86=CreateUnit(p,'hrif',11045.0,2241.1,236.356)
set udg_unit87=CreateUnit(p,'hrif',11320.2,2610.7,133.186)
set u=CreateUnit(p,'hfoo',12732.9,1242.7,141.325)
call SetUnitState(u,UNIT_STATE_MANA,350)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12367.4,1011.4,126.853)
call SetUnitState(u,UNIT_STATE_MANA,350)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12635.6,1011.4,133.664)
call SetUnitState(u,UNIT_STATE_MANA,350)
call SetUnitColor(u,ConvertPlayerColor(12))
set udg_unit88=CreateUnit(p,'hfoo',10589.5,3110.2,28.629)
call SetUnitState(udg_unit88,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit88,ConvertPlayerColor(12))
set udg_unit89=CreateUnit(p,'hfoo',10769.5,3299.6,247.060)
call SetUnitState(udg_unit89,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit89,ConvertPlayerColor(12))
set udg_unit90=CreateUnit(p,'hfoo',10843.1,3053.7,134.178)
call SetUnitState(udg_unit90,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit90,ConvertPlayerColor(12))
set udg_unit91=CreateUnit(p,'hfoo',11688.0,3217.1,241.492)
call SetUnitState(udg_unit91,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit91,ConvertPlayerColor(12))
set udg_unit92=CreateUnit(p,'hfoo',11536.4,3248.9,257.133)
call SetUnitState(udg_unit92,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit92,ConvertPlayerColor(12))
set udg_unit93=CreateUnit(p,'hfoo',11396.3,3212.5,271.992)
call SetUnitState(udg_unit93,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit93,ConvertPlayerColor(12))
set udg_unit94=CreateUnit(p,'hfoo',10369.4,1629.8,35.860)
call SetUnitState(udg_unit94,UNIT_STATE_MANA,100)
call SetUnitColor(udg_unit94,ConvertPlayerColor(12))
set udg_unit95=CreateUnit(p,'hfoo',10482.4,1146.3,58.830)
call SetUnitState(udg_unit95,UNIT_STATE_MANA,70)
call SetUnitColor(udg_unit95,ConvertPlayerColor(12))
set udg_unit96=CreateUnit(p,'hfoo',10362.3,1394.4,46.100)
call SetUnitState(udg_unit96,UNIT_STATE_MANA,150)
call SetUnitColor(udg_unit96,ConvertPlayerColor(12))
set udg_unit97=CreateUnit(p,'hfoo',12406.0,2512.8,193.843)
call SetUnitState(udg_unit97,UNIT_STATE_MANA,350)
call SetUnitColor(udg_unit97,ConvertPlayerColor(12))
set udg_unit98=CreateUnit(p,'hfoo',12130.6,2508.6,198.750)
call SetUnitState(udg_unit98,UNIT_STATE_MANA,350)
call SetUnitColor(udg_unit98,ConvertPlayerColor(12))
set udg_unit99=CreateUnit(p,'hfoo',12254.1,2282.2,180.417)
call SetUnitState(udg_unit99,UNIT_STATE_MANA,350)
call SetUnitColor(udg_unit99,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13406.9,1658.1,170.747)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13421.1,1898.7,182.532)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',13324.2,1502.7,162.257)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12815.5,413.6,25.804)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12931.3,568.9,261.747)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'hfoo',12999.7,362.6,130.136)
call SetUnitState(u,UNIT_STATE_MANA,0)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',12949.1,1588.0,97.631)
call SetUnitState(u,UNIT_STATE_MANA,400)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',13018.2,1791.8,206.825)
call SetUnitState(u,UNIT_STATE_MANA,400)
call SetUnitColor(u,ConvertPlayerColor(12))
set u=CreateUnit(p,'h00H',12854.9,1765.1,345.452)
call SetUnitState(u,UNIT_STATE_MANA,400)
call SetUnitColor(u,ConvertPlayerColor(12))
set udg_unit100=CreateUnit(p,'h00H',10416.7,2653.6,341.682)
call SetUnitState(udg_unit100,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit100,ConvertPlayerColor(12))
set udg_unit101=CreateUnit(p,'h00H',10328.0,2375.4,5.437)
call SetUnitState(udg_unit101,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit101,ConvertPlayerColor(12))
set udg_unit84=CreateUnit(p,'h00H',10467.8,2499.1,354.603)
call SetUnitState(udg_unit84,UNIT_STATE_MANA,0)
call SetUnitColor(udg_unit84,ConvertPlayerColor(12))
endfunction
function CreateRegions2 takes nothing returns nothing
local weathereffect we
set udg_rect01=Rect(-13792.0,-16032.0,-13504.0,-15744.0)
set udg_rect02=Rect(-7168.0,-15296.0,-7104.0,-15232.0)
set udg_rect03=Rect(-7040.0,-15168.0,-6976.0,-15104.0)
set udg_rect04=Rect(-6912.0,-15040.0,-6848.0,-14976.0)
set udg_rect05=Rect(-7936.0,-15040.0,-7840.0,-14944.0)
set udg_rect06=Rect(-7840.0,-15072.0,-7776.0,-15008.0)
set udg_rect07=Rect(-8032.0,-16160.0,-7968.0,-16096.0)
set udg_rect08=Rect(-7456.0,-15360.0,-7392.0,-15296.0)
set udg_rect09=Rect(-7200.0,-15360.0,-7136.0,-15296.0)
set udg_rect10=Rect(-10400.0,-10720.0,-10304.0,-10624.0)
set udg_rect11=Rect(-11168.0,-10688.0,-11104.0,-10624.0)
set udg_rect12=Rect(-11168.0,-11104.0,-11104.0,-11040.0)
set udg_rect13=Rect(-11168.0,-9952.0,-11104.0,-9888.0)
set udg_rect14=Rect(-10400.0,-9952.0,-10336.0,-9888.0)
set udg_rect15=Rect(-10912.0,-10848.0,-10368.0,-9824.0)
set udg_rect16=Rect(1216.0,-15328.0,1280.0,-15264.0)
set udg_rect17=Rect(1184.0,-15520.0,1248.0,-15456.0)
set udg_rect18=Rect(1088.0,-15488.0,1152.0,-15424.0)
set udg_rect19=Rect(2848.0,-15136.0,2912.0,-15072.0)
set udg_rect20=Rect(2592.0,-14912.0,2656.0,-14848.0)
set udg_rect21=Rect(2624.0,-15136.0,2688.0,-15072.0)
set udg_rect22=Rect(928.0,-16128.0,3552.0,-14400.0)
set udg_rect23=Rect(1056.0,-15616.0,1120.0,-15552.0)
set udg_rect24=Rect(1376.0,-15424.0,1440.0,-15360.0)
set udg_rect25=Rect(1184.0,-15680.0,1248.0,-15616.0)
set udg_rect26=Rect(1984.0,-15488.0,2048.0,-15424.0)
set udg_rect27=Rect(-7680.0,-15680.0,-6944.0,-15072.0)
set udg_rect28=Rect(-11680.0,-11264.0,-9760.0,-9760.0)
set udg_rect29=Rect(9760.0,12448.0,9824.0,12512.0)
set udg_rect30=Rect(12256.0,14752.0,12320.0,14816.0)
set udg_rect31=Rect(-6848.0,-15680.0,-6784.0,-15616.0)
set udg_rect32=Rect(9184.0,11680.0,10400.0,13216.0)
set udg_rect33=Rect(12160.0,14208.0,12448.0,14912.0)
set udg_rect34=Rect(-13056.0,-14368.0,-13024.0,-14336.0)
set udg_rect35=Rect(-13216.0,-14368.0,-13184.0,-14336.0)
set udg_rect36=Rect(-13376.0,-14368.0,-13344.0,-14336.0)
set udg_rect37=Rect(-11200.0,-15872.0,-9472.0,-14784.0)
set udg_rect38=Rect(-8992.0,-15360.0,-8896.0,-15296.0)
set udg_rect39=Rect(12608.0,9440.0,13376.0,10240.0)
set udg_rect40=Rect(-8448.0,-14880.0,-8384.0,-14816.0)
set udg_rect41=Rect(12160.0,14432.0,12448.0,14656.0)
set udg_rect42=Rect(13152.0,10080.0,13216.0,10112.0)
set udg_rect43=Rect(2528.0,-15968.0,11008.0,-10752.0)
set udg_rect44=Rect(13408.0,-12640.0,13536.0,-12544.0)
set udg_rect45=Rect(12640.0,-13280.0,13664.0,-12608.0)
set udg_rect46=Rect(-2048.0,-3456.0,-1984.0,-3392.0)
set udg_rect47=Rect(-1856.0,-3392.0,-1792.0,-3328.0)
set udg_rect48=Rect(-2240.0,-3392.0,-2176.0,-3328.0)
set udg_rect49=Rect(-2048.0,-3936.0,-1984.0,-3872.0)
set udg_rect50=Rect(-2272.0,-3520.0,-1760.0,-3296.0)
set udg_rect51=Rect(-2432.0,-16064.0,13664.0,-3552.0)
set udg_rect52=Rect(-2080.0,-4640.0,-2016.0,-4576.0)
set udg_rect53=Rect(-1920.0,-4608.0,-1856.0,-4544.0)
set udg_rect54=Rect(-1760.0,-4576.0,-1696.0,-4512.0)
set udg_rect55=Rect(-544.0,-10784.0,2816.0,-9056.0)
set udg_rect56=Rect(8032.0,-3328.0,8096.0,-3264.0)
set udg_rect57=Rect(8032.0,-4352.0,8096.0,-4288.0)
set udg_rect58=Rect(8224.0,-3296.0,8288.0,-3232.0)
set udg_rect59=Rect(7840.0,-3296.0,7904.0,-3232.0)
set udg_rect60=Rect(7776.0,-3360.0,8352.0,-3168.0)
set udg_rect61=Rect(8032.0,-4512.0,8096.0,-4448.0)
set udg_rect62=Rect(8192.0,-4480.0,8256.0,-4416.0)
set udg_rect63=Rect(7872.0,-4480.0,7936.0,-4416.0)
set udg_rect64=Rect(-2784.0,-12896.0,-2720.0,-12832.0)
set udg_rect65=Rect(-2816.0,-12704.0,-2752.0,-12640.0)
set udg_rect66=Rect(-2816.0,-13088.0,-2752.0,-13024.0)
set udg_rect67=Rect(-2144.0,-12896.0,-2080.0,-12832.0)
set udg_rect68=Rect(-2848.0,-13120.0,-2656.0,-12608.0)
set udg_rect69=Rect(-2208.0,-13120.0,-2144.0,-13056.0)
set udg_rect70=Rect(-2208.0,-12672.0,-2144.0,-12608.0)
set udg_rect71=Rect(12096.0,-2944.0,12160.0,-2880.0)
set udg_rect72=Rect(12224.0,-3040.0,12288.0,-2976.0)
set udg_rect73=Rect(11968.0,-2848.0,12032.0,-2784.0)
set udg_rect74=Rect(12416.0,-2304.0,12480.0,-2240.0)
set udg_rect75=Rect(12288.0,-2752.0,12352.0,-2688.0)
set udg_rect76=Rect(11520.0,-3264.0,13312.0,-1952.0)
set udg_rect77=Rect(12192.0,-2720.0,12256.0,-2656.0)
set udg_rect78=Rect(2080.0,-14912.0,2144.0,-14848.0)
set udg_rect79=Rect(2176.0,-15072.0,2240.0,-15008.0)
set udg_rect80=Rect(1824.0,-15200.0,1888.0,-15136.0)
set udg_rect81=Rect(1376.0,-15744.0,1440.0,-15680.0)
set udg_rect82=Rect(13184.0,12608.0,13248.0,12672.0)
set udg_rect83=Rect(13120.0,9984.0,13184.0,10048.0)
set udg_rect84=Rect(10208.0,11072.0,10272.0,11136.0)
set udg_rect85=Rect(11520.0,13760.0,11584.0,13824.0)
set udg_rect86=Rect(5792.0,14816.0,5856.0,14880.0)
set udg_rect87=Rect(10208.0,-672.0,13856.0,3584.0)
set udg_rect88=Rect(12256.0,1696.0,12320.0,1760.0)
set udg_rect89=Rect(12896.0,2208.0,12960.0,2272.0)
set udg_rect90=Rect(12736.0,2336.0,12800.0,2400.0)
set udg_rect91=Rect(12960.0,2016.0,13024.0,2080.0)
set udg_rect92=Rect(11616.0,1312.0,11680.0,1376.0)
set udg_rect93=Rect(11296.0,1408.0,11360.0,1472.0)
set udg_rect94=Rect(11424.0,1216.0,11488.0,1280.0)
set udg_rect95=Rect(12352.0,1888.0,12416.0,1952.0)
set udg_rect96=Rect(12096.0,1504.0,12160.0,1568.0)
set udg_rect97=Rect(-11968.0,-13376.0,-11392.0,-12832.0)
set udg_rect98=Rect(11328.0,2304.0,11392.0,2368.0)
set udg_rect99=Rect(11232.0,2080.0,11296.0,2144.0)
set udg_rect100=Rect(11008.0,2208.0,11072.0,2272.0)
set udg_rect101=Rect(11296.0,2592.0,11360.0,2656.0)
set udg_rect102=Rect(11520.0,2400.0,11584.0,2464.0)
set udg_rect103=Rect(12288.0,1664.0,12352.0,1728.0)
set udg_rect104=Rect(12480.0,1504.0,12544.0,1568.0)
set udg_rect105=Rect(12096.0,2144.0,12160.0,2208.0)
set udg_rect106=Rect(12288.0,2080.0,12352.0,2144.0)
set udg_rect107=Rect(12480.0,2144.0,12544.0,2208.0)
set udg_rect108=Rect(12288.0,1824.0,12352.0,1888.0)
set udg_rect109=Rect(9024.0,-1664.0,9824.0,4320.0)
set udg_rect110=Rect(9024.0,4128.0,13920.0,4704.0)
set udg_rect111=Rect(-13760.0,-9792.0,-13312.0,-9376.0)
set udg_rect112=Rect(-13760.0,-10560.0,-13312.0,-10144.0)
set udg_rect113=Rect(12288.0,1728.0,12352.0,1792.0)
set udg_rect114=Rect(-12864.0,-9792.0,-12416.0,-9376.0)
set udg_rect115=Rect(-13760.0,-9024.0,-13312.0,-8608.0)
endfunction
function Trig_Suzet_Func008A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
endfunction
function Trig_Suzet_Actions takes nothing returns nothing
call UnitAddAbilityBJ('A00V',udg_unit40)
call DisableTrigger(udg_trigger372)
call DisableTrigger(udg_trigger373)
call SetUnitAnimation(udg_unit40,"stand")
call SetUnitFlyHeightBJ(udg_unit40,183.00,0.00)
call SetUnitTimeScalePercent(udg_unit34,100)
call UnitAddAbilityBJ('Aave',udg_unit40)
call ForGroupBJ(GetUnitsInRectAll(udg_rect15),function Trig_Suzet_Func008A)
call SetTimeOfDay(11.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.20,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.21)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(4),0)
call SetUnitMoveSpeed(udg_unit35,160.00)
call SetUnitMoveSpeed(udg_unit59,160.00)
call SetUnitMoveSpeed(udg_unit34,160.00)
call IssuePointOrderLocBJ(udg_unit35,"move",GetRectCenter(udg_rect02))
call IssuePointOrderLocBJ(udg_unit34,"move",GetRectCenter(udg_rect04))
call IssuePointOrderLocBJ(udg_unit59,"move",GetRectCenter(udg_rect03))
call TriggerSleepAction(0.65)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.85,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.45)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_286",udg_sound36,"TRIGSTR_287",bj_TIMETYPE_ADD,0,true)
call SetUnitFacingToFaceLocTimed(udg_unit35,GetUnitLoc(udg_unit40),0.35)
call SetUnitFacingToFaceLocTimed(udg_unit59,GetUnitLoc(udg_unit40),0.40)
call SetUnitFacingToFaceLocTimed(udg_unit34,GetUnitLoc(udg_unit40),0.45)
call SetUnitFacingToFaceLocTimed(udg_unit40,GetUnitLoc(udg_unit34),0.45)
call PlaySoundBJ(udg_sound37)
call CameraSetupApplyForPlayer(true,udg_camerasetup04,Player(0),1.55)
call CameraSetupApplyForPlayer(true,udg_camerasetup04,Player(1),1.55)
call CameraSetupApplyForPlayer(true,udg_camerasetup04,Player(2),1.55)
call CameraSetupApplyForPlayer(true,udg_camerasetup04,Player(3),1.55)
call CameraSetupApplyForPlayer(true,udg_camerasetup04,Player(4),1.55)
call TriggerSleepAction(2.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit34,"TRIGSTR_288",udg_sound40,"TRIGSTR_289",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.40)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_290",udg_sound41,"TRIGSTR_291",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.03)
call ShowUnitHide(udg_unit40)
call CreateNUnitsAtLoc(1,'o014',Player(0),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call PlaySoundBJ(udg_sound72)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(GetLastCreatedUnit(),300.00)
call PauseUnitBJ(true,udg_unit35)
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(false,udg_unit59)
call PauseUnitBJ(true,udg_unit40)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect05),GetUnitLoc(udg_unit34))
call SetUnitAnimation(udg_unit40,"Stand Ready")
call TriggerSleepAction(0.05)
call RemoveUnit(GetLastCreatedUnit())
call StopSoundBJ(udg_sound72,true)
call TriggerSleepAction(0.15)
call SetUnitVertexColorBJ(udg_unit40,100,100,100,75.00)
call ShowUnitShow(udg_unit40)
call SetUnitTimeScalePercent(udg_unit40,250.00)
call SetUnitAnimation(udg_unit40,"Attack -2")
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit40,0.00,3000.00)
call PlaySoundBJ(udg_sound74)
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_unit40,100,100,100,35.00)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Stand Ready")
call SetUnitTimeScalePercent(udg_unit40,50.00)
call StopSoundBJ(udg_sound74,true)
call SetUnitVertexColorBJ(udg_unit40,100,100,100,0.00)
call TriggerSleepAction(0.33)
call UnitRemoveAbilityBJ('Aave',udg_unit40)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_296",udg_sound38,"TRIGSTR_297",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.04)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_298",udg_sound39,"TRIGSTR_299",bj_TIMETYPE_ADD,0,true)
call StopSoundBJ(udg_sound37,false)
call PlaySoundBJ(udg_sound47)
call CameraSetupApplyForPlayer(true,udg_camerasetup39,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup39,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup39,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup39,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup39,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup40,Player(0),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup40,Player(1),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup40,Player(2),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup40,Player(3),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup40,Player(4),8.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit35,"TRIGSTR_302",udg_sound42,"TRIGSTR_303",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.40)
call SetUnitTimeScalePercent(udg_unit40,100.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit35,"TRIGSTR_304",udg_sound43,"TRIGSTR_305",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.35)
call SetUnitLookAt(udg_unit34,"bone_head",udg_unit35,0,0,90)
call PauseUnitBJ(false,udg_unit59)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger03)
call TriggerSleepAction(0.30)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_306",udg_sound45,"TRIGSTR_307",bj_TIMETYPE_ADD,0,true)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit35,"TRIGSTR_308",udg_sound44,"TRIGSTR_309",bj_TIMETYPE_ADD,0,true)
call IssuePointOrderLocBJ(udg_unit35,"move",GetRectCenter(udg_rect06))
call TriggerSleepAction(1.00)
call PauseUnitBJ(false,udg_unit35)
call IssuePointOrderLocBJ(udg_unit35,"move",GetRectCenter(udg_rect06))
call SetUnitMoveSpeed(udg_unit35,200.00)
call ResetUnitLookAt(udg_unit34)
call PauseUnitBJ(false,udg_unit40)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(0),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(1),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(2),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(3),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(4),3.00)
call TriggerSleepAction(1.70)
call IssueTargetOrderBJ(udg_unit40,"thunderbolt",udg_unit35)
call TriggerSleepAction(1.20)
call PauseUnitBJ(true,udg_unit35)
call PauseUnitBJ(true,udg_unit40)
call TriggerSleepAction(0.20)
call StopSoundBJ(udg_sound47,false)
call TriggerSleepAction(2.20)
call UnitRemoveAbilityBJ('A00V',udg_unit40)
call SetUnitPositionLoc(udg_unit35,GetRectCenter(udg_rect07))
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(0),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(1),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(2),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(3),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup05,Player(4),10.00)
call DisableTrigger(udg_trigger03)
call EnableTrigger(udg_trigger02)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit34,"TRIGSTR_310",udg_sound46,"TRIGSTR_311",bj_TIMETYPE_ADD,0,true)
call PauseUnitBJ(false,udg_unit34)
call PauseUnitBJ(false,udg_unit59)
call SetUnitInvulnerable(udg_unit59,true)
call SetUnitInvulnerable(udg_unit35,true)
call IssueTargetOrderBJ(udg_unit34,"attack",udg_unit40)
call PlaySoundBJ(udg_sound48)
call TriggerSleepAction(1.00)
call SetUnitMoveSpeed(udg_unit35,260.00)
call SetUnitMoveSpeed(udg_unit40,320.00)
call SetUnitMoveSpeed(udg_unit59,250.00)
call SetUnitMoveSpeed(udg_unit34,280.00)
call PauseUnitBJ(false,udg_unit40)
call PauseUnitBJ(true,udg_unit59)
call TriggerSleepAction(1.00)
call CinematicModeBJ(false,GetPlayersAll())
call PauseUnitBJ(true,udg_unit35)
call EnableTrigger(udg_trigger04)
call EnableTrigger(udg_trigger05)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect27)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect27)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect27)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect27)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect27)
call TriggerSleepAction(0.50)
call ResetToGameCameraForPlayer(Player(0),1.00)
call ResetToGameCameraForPlayer(Player(1),1.00)
call ResetToGameCameraForPlayer(Player(2),1.00)
call ResetToGameCameraForPlayer(Player(3),1.00)
call ResetToGameCameraForPlayer(Player(4),1.00)
call TriggerSleepAction(2.00)
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(40.00)
call DisableTrigger(udg_trigger06)
endfunction
function Trig_Suzet2_Actions takes nothing returns nothing
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit34,0.85)
endfunction
function Trig_Suzet3_Actions takes nothing returns nothing
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit35,0.85)
endfunction
function Trig_Suzet4_Func043A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_Suzet4_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"stand")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit40)
call PauseUnitBJ(true,udg_unit34)
call TriggerSleepAction(2.00)
call AddHeroXPSwapped(400,udg_unit40,true)
call StopSoundBJ(udg_sound48,true)
call PauseUnitBJ(false,udg_unit40)
call PauseUnitBJ(false,udg_unit34)
call CinematicModeBJ(true,GetPlayersAll())
call SetUnitInvulnerable(udg_unit34,true)
call SetUnitInvulnerable(udg_unit40,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(4),0)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect08),GetUnitLoc(udg_unit34))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect09),GetUnitLoc(udg_unit40))
call TriggerSleepAction(0.01)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect08),GetUnitLoc(udg_unit34))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect09),GetUnitLoc(udg_unit40))
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.05)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(0),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(1),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(2),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(3),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(4),14.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_319",udg_sound49,"TRIGSTR_320",bj_TIMETYPE_ADD,0,true)
call IssuePointOrderLocBJ(udg_unit40,"move",GetRectCenter(udg_rect05))
call TriggerSleepAction(1.30)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect10),GetUnitLoc(udg_unit51))
call PauseUnitBJ(true,udg_unit40)
call TriggerSleepAction(1.30)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.25,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect11),GetRandomLocInRect(udg_rect12))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect13),GetRandomLocInRect(udg_rect12))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect14),GetRandomLocInRect(udg_rect10))
call ForGroupBJ(GetUnitsInRectAll(udg_rect28),function Trig_Suzet4_Func043A)
call SetUnitAnimation(udg_unit35,"stand")
call DisableTrigger(udg_trigger02)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect15)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(4),0)
call PlaySoundBJ(udg_sound50)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(0),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(1),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(2),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(3),8.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(4),8.00)
call TriggerSleepAction(6.00)
call DisplayTimedTextToForce(GetPlayersAll(),3.00,"TRIGSTR_517")
call SetUnitTimeScalePercent(udg_unit35,50.00)
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(GetPlayersAll(),4.00,"TRIGSTR_518")
call TriggerSleepAction(1.00)
call TriggerExecute(udg_trigger83)
call TriggerExecute(udg_trigger62)
call TriggerExecute(udg_trigger146)
call TriggerExecute(udg_trigger125)
call TriggerExecute(udg_trigger104)
call ResetToGameCameraForPlayer(Player(0),1.00)
call ResetToGameCameraForPlayer(Player(1),1.00)
call ResetToGameCameraForPlayer(Player(2),1.00)
call ResetToGameCameraForPlayer(Player(3),1.00)
call ResetToGameCameraForPlayer(Player(4),1.00)
call CinematicModeBJ(false,GetPlayersAll())
call DisableTrigger(udg_trigger05)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Suzet5_Func041A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_Suzet5_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"stand")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit40)
call PauseUnitBJ(true,udg_unit34)
call TriggerSleepAction(2.00)
call AddHeroXPSwapped(400,udg_unit34,true)
call StopSoundBJ(udg_sound48,true)
call PauseUnitBJ(false,udg_unit40)
call PauseUnitBJ(false,udg_unit34)
call CinematicModeBJ(true,GetPlayersAll())
call SetUnitInvulnerable(udg_unit34,true)
call SetUnitInvulnerable(udg_unit40,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(4),0)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect08),GetUnitLoc(udg_unit34))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect09),GetUnitLoc(udg_unit40))
call TriggerSleepAction(0.01)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect08),GetUnitLoc(udg_unit34))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect09),GetUnitLoc(udg_unit40))
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.05)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(0),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(1),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(2),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(3),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup02,Player(4),14.00)
call SetUnitAnimation(udg_unit40,"stand")
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_323",udg_sound51,"TRIGSTR_324",bj_TIMETYPE_ADD,0,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.30)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect10),GetUnitLoc(udg_unit51))
call TriggerSleepAction(0.10)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.25,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect11),GetRandomLocInRect(udg_rect12))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect13),GetRandomLocInRect(udg_rect12))
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect14),GetRandomLocInRect(udg_rect10))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect10),GetUnitLoc(udg_unit51))
call ForGroupBJ(GetUnitsInRectAll(udg_rect28),function Trig_Suzet5_Func041A)
call SetUnitAnimation(udg_unit35,"stand")
call DisableTrigger(udg_trigger02)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect15)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect15)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup01,Player(4),0)
call PlaySoundBJ(udg_sound50)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(0),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(1),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(2),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(3),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup03,Player(4),12.00)
call TriggerSleepAction(6.00)
call DisplayTimedTextToForce(GetPlayersAll(),3.00,"TRIGSTR_519")
call SetUnitTimeScalePercent(udg_unit35,50.00)
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(GetPlayersAll(),4.00,"TRIGSTR_520")
call TriggerSleepAction(1.00)
call TriggerExecute(udg_trigger83)
call TriggerExecute(udg_trigger62)
call TriggerExecute(udg_trigger104)
call TriggerExecute(udg_trigger125)
call TriggerExecute(udg_trigger146)
call CinematicModeBJ(false,GetPlayersAll())
call ResetToGameCameraForPlayer(Player(0),1.00)
call ResetToGameCameraForPlayer(Player(1),1.00)
call ResetToGameCameraForPlayer(Player(2),1.00)
call ResetToGameCameraForPlayer(Player(3),1.00)
call ResetToGameCameraForPlayer(Player(4),1.00)
call DisableTrigger(udg_trigger04)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Suzet6_Actions takes nothing returns nothing
call AddHeroXPSwapped(1,udg_unit34,true)
call AddHeroXPSwapped(1,udg_unit40,true)
endfunction
function Trig_Ataka_zvuka_Func043A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
endfunction
function Trig_Ataka_zvuka_Func192A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),false)
endfunction
function Trig_Ataka_zvuka_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger371)
call DisableTrigger(udg_trigger372)
call DisableTrigger(udg_trigger373)
call DisableTrigger(udg_trigger374)
call DisableTrigger(udg_trigger375)
call DisableTrigger(udg_trigger376)
call DisableTrigger(udg_trigger377)
call DisableTrigger(udg_trigger378)
call DisableTrigger(udg_trigger379)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+1000.00))
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+1000.00))
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+1000.00))
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+1000.00))
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)+100.00))
call SetUnitManaBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)+100.00))
call SetUnitManaBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)+100.00))
call SetUnitManaBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)+100.00))
call FogEnableOff()
call FogMaskEnableOff()
call DisplayTimedTextToForce(GetPlayersAll(),6.00,"TRIGSTR_660")
call TriggerSleepAction(4.00)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect22)
call SetUnitTimeScalePercent(udg_unit35,300.00)
call SetUnitTimeScalePercent(udg_unit34,300.00)
call SetUnitAnimation(udg_unit35,"Death")
call SetUnitAnimation(udg_unit34,"Death")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLoc(udg_unit59,GetRectCenter(udg_rect16))
call SetUnitPositionLoc(udg_unit35,GetRectCenter(udg_rect17))
call SetUnitPositionLoc(udg_unit34,GetRectCenter(udg_rect18))
call TriggerSleepAction(0.01)
call SetUnitPositionLocFacingLocBJ(udg_unit51,GetRectCenter(udg_rect19),GetUnitLoc(udg_unit59))
call SetUnitPositionLocFacingLocBJ(udg_unit38,GetRectCenter(udg_rect20),GetUnitLoc(udg_unit59))
call SetUnitPositionLocFacingLocBJ(udg_unit41,GetRectCenter(udg_rect21),GetUnitLoc(udg_unit59))
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit41,"stand")
call SetUnitAnimation(udg_unit38,"stand")
call SetUnitAnimation(udg_unit51,"stand")
call ForGroupBJ(GetUnitsInRectAll(udg_rect22),function Trig_Ataka_zvuka_Func043A)
call SetUnitFacingToFaceLocTimed(udg_unit59,GetRectCenter(udg_rect23),0)
call PlayMusicBJ(udg_string01)
call TriggerSleepAction(0.98)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.55,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call CameraSetupApplyForPlayer(true,udg_camerasetup06,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup06,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup06,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup06,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup06,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup07,Player(0),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup07,Player(1),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup07,Player(2),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup07,Player(3),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup07,Player(4),16.00)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit59,2.00)
call SetUnitAnimation(udg_unit59,"Death")
call TriggerSleepAction(4.40)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_367",udg_sound52,"TRIGSTR_368",bj_TIMETYPE_ADD,0,true)
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit41,0.50)
call PlaySoundBJ(udg_sound56)
call SetUnitAnimation(udg_unit59,"stand")
call SetUnitAnimation(udg_unit59,"Stand Ready")
call SetUnitTimeScalePercent(udg_unit59,100.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup08,Player(0),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup08,Player(1),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup08,Player(2),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup08,Player(3),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup08,Player(4),2.00)
call TriggerSleepAction(0.25)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_369",udg_sound53,"TRIGSTR_370",bj_TIMETYPE_ADD,0,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup09,Player(0),15.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup09,Player(1),15.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup09,Player(2),15.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup09,Player(3),15.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup09,Player(4),15.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_371",udg_sound54,"TRIGSTR_372",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.10)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_373",udg_sound55,"TRIGSTR_374",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(1.25)
call CameraSetupApplyForPlayer(true,udg_camerasetup10,Player(0),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup10,Player(1),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup10,Player(2),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup10,Player(3),3.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup10,Player(4),3.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_375",udg_sound57,"TRIGSTR_376",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.90)
call CameraSetupApplyForPlayer(true,udg_camerasetup41,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup41,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup41,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup41,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup41,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup42,Player(0),4.50)
call CameraSetupApplyForPlayer(true,udg_camerasetup42,Player(1),4.50)
call CameraSetupApplyForPlayer(true,udg_camerasetup42,Player(2),4.50)
call CameraSetupApplyForPlayer(true,udg_camerasetup42,Player(3),4.50)
call CameraSetupApplyForPlayer(true,udg_camerasetup42,Player(4),4.50)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit38,"TRIGSTR_379",udg_sound58,"TRIGSTR_380",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.30)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_381",udg_sound59,"TRIGSTR_382",bj_TIMETYPE_ADD,0,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup43,Player(0),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup43,Player(1),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup43,Player(2),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup43,Player(3),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup43,Player(4),2.00)
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(true,udg_unit35)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[0],bj_FORCE_PLAYER[4],bj_ALLIANCE_NEUTRAL)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[5],bj_FORCE_PLAYER[4],bj_ALLIANCE_NEUTRAL)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[7],bj_FORCE_PLAYER[4],bj_ALLIANCE_NEUTRAL)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[4],bj_FORCE_PLAYER[0],bj_ALLIANCE_NEUTRAL)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[4],bj_FORCE_PLAYER[5],bj_ALLIANCE_NEUTRAL)
call SetForceAllianceStateBJ(bj_FORCE_PLAYER[4],bj_FORCE_PLAYER[7],bj_ALLIANCE_NEUTRAL)
call TriggerSleepAction(0.02)
call PauseUnitBJ(false,udg_unit41)
call PauseUnitBJ(false,udg_unit38)
call PauseUnitBJ(false,udg_unit51)
call IssuePointOrderLocBJ(udg_unit41,"move",GetRectCenter(udg_rect25))
call TriggerSleepAction(0.70)
call IssuePointOrderLocBJ(udg_unit38,"move",GetRectCenter(udg_rect16))
call TriggerSleepAction(0.02)
call IssuePointOrderLocBJ(udg_unit51,"move",GetRectCenter(udg_rect23))
call TriggerSleepAction(4.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup11,Player(0),4.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup11,Player(1),4.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup11,Player(2),4.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup11,Player(3),4.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup11,Player(4),4.00)
call PauseUnitBJ(true,udg_unit35)
call PauseUnitBJ(true,udg_unit59)
call PauseUnitBJ(true,udg_unit34)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect24),GetRandomLocInRect(udg_rect20))
call SetUnitInvulnerable(udg_unit40,true)
call SetUnitTimeScalePercent(udg_unit40,450.00)
call SetUnitAnimation(udg_unit40,"stand Spin")
call PlaySoundBJ(udg_sound26)
call EnableTrigger(udg_trigger08)
call EnableTrigger(udg_trigger11)
call TriggerSleepAction(0.10)
call SetUnitTimeScalePercent(udg_unit40,350.00)
call EnableTrigger(udg_trigger09)
call TriggerSleepAction(0.08)
call SetUnitTimeScalePercent(udg_unit40,100.00)
call EnableTrigger(udg_trigger10)
call SetUnitAnimation(udg_unit41,"Death")
call TriggerSleepAction(0.03)
call SetUnitAnimation(udg_unit40,"stand Ready")
call SetUnitAnimation(udg_unit38,"Death")
call TriggerSleepAction(0.02)
call SetUnitAnimation(udg_unit51,"Death")
call TriggerSleepAction(0.63)
call StopSoundBJ(udg_sound56,true)
call TriggerSleepAction(0.20)
call PlaySoundBJ(udg_sound62)
call SetUnitAnimation(udg_unit59,"Stand")
call DisableTrigger(udg_trigger08)
call TriggerSleepAction(0.15)
call DisableTrigger(udg_trigger11)
call DisableTrigger(udg_trigger09)
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger10)
call SetUnitAnimation(udg_unit41,"Stand Ready")
call SetUnitAnimation(udg_unit38,"Stand Ready")
call SetUnitAnimation(udg_unit51,"Stand Ready")
call TriggerSleepAction(0.15)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_383",udg_sound60,"TRIGSTR_384",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.15)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_385",udg_sound61,"TRIGSTR_386",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.15)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_806",null,"TRIGSTR_807",bj_TIMETYPE_SUB,-2.00,true)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit40,"TRIGSTR_808",null,"TRIGSTR_809",bj_TIMETYPE_SUB,-1.00,true)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_812",null,"TRIGSTR_813",bj_TIMETYPE_SUB,-2.00,true)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect22)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect22)
call PauseUnitBJ(false,udg_unit41)
call PauseUnitBJ(false,udg_unit38)
call PauseUnitBJ(false,udg_unit51)
call PauseUnitBJ(true,udg_unit59)
call PauseUnitBJ(true,udg_unit35)
call TriggerSleepAction(0.90)
call PauseUnitBJ(true,udg_unit34)
call CinematicModeBJ(false,GetPlayersAll())
call SetUnitTimeScalePercent(udg_unit35,100.00)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call PauseUnitBJ(false,udg_unit40)
call ForGroupBJ(GetUnitsInRectAll(udg_rect22),function Trig_Ataka_zvuka_Func192A)
call IssuePointOrderLocBJ(udg_unit40,"move",GetRectCenter(udg_rect26))
call TriggerSleepAction(0.15)
call SetUnitInvulnerable(udg_unit35,true)
call SetUnitInvulnerable(udg_unit59,true)
call SetUnitInvulnerable(udg_unit34,true)
call EnableTrigger(udg_trigger12)
call EnableTrigger(udg_trigger14)
call EnableTrigger(udg_trigger13)
endfunction
function Trig_Ataka_Lee_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit41,PolarProjectionBJ(GetUnitLoc(udg_unit41),18.00,(GetUnitFacing(udg_unit40)-1.00)))
endfunction
function Trig_Ataka_Lee2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit38,PolarProjectionBJ(GetUnitLoc(udg_unit38),23.00,(GetUnitFacing(udg_unit40)-26.00)))
endfunction
function Trig_Ataka_Lee3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit51,PolarProjectionBJ(GetUnitLoc(udg_unit51),22.00,(GetUnitFacing(udg_unit40)-28.00)))
endfunction
function Trig_Ataka_Lee4_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit41),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit38),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit51),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endfunction
function Trig_Sakura_povorot_k_Lee_Actions takes nothing returns nothing
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit40,0.85)
endfunction
function Trig_Lee_vin_Func004A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
endfunction
function Trig_Lee_vin_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger14)
call StopSoundBJ(udg_sound62,true)
call SetUnitInvulnerable(udg_unit40,true)
call ForGroupBJ(GetUnitsInRectAll(udg_rect22),function Trig_Lee_vin_Func004A)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit41,"stand")
call SetUnitAnimation(udg_unit38,"stand")
call SetUnitAnimation(udg_unit51,"stand")
call SetUnitAnimation(udg_unit40,"Stand Ready")
call CinematicModeBJ(true,GetPlayersAll())
call TriggerSleepAction(1.48)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+1000.00))
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+1000.00))
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+1000.00))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect81),GetUnitLoc(udg_unit38))
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Stand")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call PauseUnitBJ(false,udg_unit34)
call UnitAddAbilityBJ('A005',udg_unit34)
call SetUnitPositionLoc(udg_unit51,GetRectCenter(udg_rect20))
call SetUnitPositionLoc(udg_unit38,GetRectCenter(udg_rect79))
call SetUnitPositionLoc(udg_unit41,GetRectCenter(udg_rect78))
call SetUnitFacingToFaceUnitTimed(udg_unit41,udg_unit35,1.00)
call SetUnitFacingToFaceUnitTimed(udg_unit38,udg_unit35,0.85)
call SetUnitFacingToFaceUnitTimed(udg_unit51,udg_unit35,1.30)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(0),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(1),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(2),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(3),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(4),8.00)
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call SetUnitFacingToFaceUnitTimed(udg_unit34,udg_unit38,0.85)
call SetUnitTimeScalePercent(udg_unit34,60.00)
call SetUnitAnimation(udg_unit34,"Stand")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(2)
call DisableTrigger(udg_trigger12)
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit34,0.85)
call SetUnitFacingToFaceUnitTimed(udg_unit40,udg_unit34,1.00)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitTimeScalePercent(udg_unit41,400.00)
call SetUnitAnimation(udg_unit59,"stand")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_1024",udg_sound89,"TRIGSTR_1025",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(0.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call PlaySoundBJ(udg_sound92)
call TriggerSleepAction(0.60)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(0.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(0),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(1),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(2),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(3),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(4),10.00)
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"ShadowTrap.mdx")
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(1.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_1026",udg_sound87,"TRIGSTR_1027",bj_TIMETYPE_ADD,0,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(0),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(1),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(2),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(3),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(4),2.00)
call TriggerSleepAction(0.50)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call SetUnitAnimation(udg_unit38,"Stand Ready")
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit38,"TRIGSTR_1028",udg_sound90,"TRIGSTR_1029",bj_TIMETYPE_ADD,0,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(0),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(1),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(2),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(3),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(4),16.00)
call UnitAddAbilityBJ('A000',udg_unit38)
call SetUnitManaBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)+180.00))
call SetUnitFacingToFaceUnitTimed(udg_unit41,udg_unit38,0.35)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_1030",udg_sound88,"TRIGSTR_1031",bj_TIMETYPE_ADD,0,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerExecute(udg_trigger20)
call SetUnitTimeScalePercent(udg_unit38,210.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit38,"TRIGSTR_1032",udg_sound91,"TRIGSTR_1033",bj_TIMETYPE_ADD,0,true)
call IssuePointOrderLocBJ(udg_unit38,"breathoffire",GetRectCenter(udg_rect80))
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(0.30)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call DisplayTimedTextToForce(GetPlayersAll(),15.00,"TRIGSTR_1034")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(3.00)
call DisplayTimedTextToForce(GetPlayersAll(),15.00,"TRIGSTR_1035")
endfunction
function Trig_Lee_produl_Func004A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),true)
endfunction
function Trig_Lee_produl_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger13)
call StopSoundBJ(udg_sound62,true)
call SetUnitInvulnerable(udg_unit40,true)
call ForGroupBJ(GetUnitsInRectAll(udg_rect22),function Trig_Lee_produl_Func004A)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit41,"stand")
call SetUnitAnimation(udg_unit38,"stand")
call SetUnitAnimation(udg_unit51,"stand")
call SetUnitAnimation(udg_unit40,"Death")
call CinematicModeBJ(true,GetPlayersAll())
call TriggerSleepAction(1.49)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+1000.00))
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+1000.00))
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+1000.00))
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call PauseUnitBJ(false,udg_unit34)
call UnitAddAbilityBJ('A005',udg_unit34)
call SetUnitPositionLoc(udg_unit51,GetRectCenter(udg_rect20))
call SetUnitPositionLoc(udg_unit38,GetRectCenter(udg_rect79))
call SetUnitPositionLoc(udg_unit41,GetRectCenter(udg_rect78))
call SetUnitFacingToFaceUnitTimed(udg_unit41,udg_unit35,1.00)
call SetUnitFacingToFaceUnitTimed(udg_unit38,udg_unit35,0.85)
call SetUnitFacingToFaceUnitTimed(udg_unit51,udg_unit35,1.30)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup34,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(0),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(1),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(2),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(3),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup35,Player(4),5.00)
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call SetUnitFacingToFaceUnitTimed(udg_unit34,udg_unit38,0.85)
call SetUnitTimeScalePercent(udg_unit34,60.00)
call SetUnitAnimation(udg_unit34,"Stand")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(2)
call DisableTrigger(udg_trigger12)
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit34,0.85)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitTimeScalePercent(udg_unit41,400.00)
call SetUnitAnimation(udg_unit59,"stand")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_869",udg_sound89,"TRIGSTR_870",bj_TIMETYPE_ADD,0,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call PlaySoundBJ(udg_sound92)
call TriggerSleepAction(0.80)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(0),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(1),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(2),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(3),10.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup38,Player(4),10.00)
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"ShadowTrap.mdx")
call TriggerSleepAction(1.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(1.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_867",udg_sound87,"TRIGSTR_868",bj_TIMETYPE_ADD,0,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(0),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(1),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(2),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(3),2.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup36,Player(4),2.00)
call TriggerSleepAction(0.50)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Miasma.MDX")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DevilSlam.mdx")
call SetUnitAnimation(udg_unit38,"Stand Ready")
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit38,"TRIGSTR_871",udg_sound90,"TRIGSTR_872",bj_TIMETYPE_ADD,0,true)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(0),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(1),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(2),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(3),16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup37,Player(4),16.00)
call UnitAddAbilityBJ('A000',udg_unit38)
call SetUnitManaBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)+180.00))
call SetUnitFacingToFaceUnitTimed(udg_unit41,udg_unit38,0.35)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit41,"TRIGSTR_873",udg_sound88,"TRIGSTR_874",bj_TIMETYPE_ADD,0,true)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerExecute(udg_trigger20)
call SetUnitTimeScalePercent(udg_unit38,210.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit38,"TRIGSTR_875",udg_sound91,"TRIGSTR_876",bj_TIMETYPE_ADD,0,true)
call IssuePointOrderLocBJ(udg_unit38,"breathoffire",GetRectCenter(udg_rect80))
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call TriggerSleepAction(0.30)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"PurpleChakra.mdx")
call DisplayTimedTextToForce(GetPlayersAll(),15.00,"TRIGSTR_877")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(3.00)
call DisplayTimedTextToForce(GetPlayersAll(),15.00,"TRIGSTR_879")
endfunction
function Trig_Nachalo_Actions takes nothing returns nothing
call ClearMapMusicBJ()
endfunction
function Trig_cast_Func001C takes nothing returns boolean
if((GetSpellAbilityId()=='A000'))then
return true
endif
return false
endfunction
function Trig_cast_Conditions takes nothing returns boolean
if(not Trig_cast_Func001C())then
return false
endif
return true
endfunction
function Trig_cast_Actions takes nothing returns nothing
set udg_unit01=GetSpellAbilityUnit()
set udg_real01=GetUnitFacing(GetSpellAbilityUnit())
call EnableTrigger(udg_trigger17)
call TriggerSleepAction(1.00)
call DisableTrigger(udg_trigger17)
endfunction
function Trig_move_Func001002001001 takes nothing returns boolean
return(UnitHasBuffBJ(GetEnumUnit(),'BNbf')==true)
endfunction
function Trig_move_Func001002001002 takes nothing returns boolean
return(IsPlayerEnemy(GetOwningPlayer(GetEnumUnit()),GetOwningPlayer(udg_unit01))==true)
endfunction
function Trig_move_Func001002001 takes nothing returns boolean
return GetBooleanAnd(Trig_move_Func001002001001(),Trig_move_Func001002001002())
endfunction
function Trig_move_Func001002 takes nothing returns nothing
if(Trig_move_Func001002001())then
call SetUnitPositionLoc(GetEnumUnit(),PolarProjectionBJ(GetUnitLoc(GetEnumUnit()),36.00,udg_real01))
else
call DoNothing()
endif
endfunction
function Trig_move_Func002001002 takes nothing returns boolean
return(UnitHasBuffBJ(GetEnumUnit(),'BNbf')==true)
endfunction
function Trig_move_Func002A takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(GetEnumUnit()),"Abilities\\Spells\\Items\\AIlb\\AIlbSpecialArt.mdl")
endfunction
function Trig_move_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(GetPlayableMapRect()),function Trig_move_Func001002)
call ForGroupBJ(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_move_Func002001002)),function Trig_move_Func002A)
endfunction
function Trig_Zankukyokuha_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A000'))then
return false
endif
return true
endfunction
function Trig_Zankukyokuha_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound01)
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit38),9.00)
call PauseUnitBJ(false,udg_unit38)
call TriggerSleepAction(1.75)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit38))
endfunction
function Trig_Zona_Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetLeavingUnit())!='h000'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h001'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h002'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h003'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h007'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h008'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h004'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='h005'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00C'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00D'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00E'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00F'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00G'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00I'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00J'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00K'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00L'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00M'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00N'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00O'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00P'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00Q'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00R'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00S'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00T'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00X'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00U'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00V'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00W'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00Y'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00Z'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o010'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o002'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o003'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o005'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o006'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o007'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o008'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00A'))then
return false
endif
if(not(GetUnitTypeId(GetLeavingUnit())!='o00B'))then
return false
endif
return true
endfunction
function Trig_Zona_Conditions takes nothing returns boolean
if(not Trig_Zona_Func001C())then
return false
endif
return true
endfunction
function Trig_Zona_Actions takes nothing returns nothing
call SetUnitPositionLoc(GetLeavingUnit(),GetRectCenter(udg_rect22))
endfunction
function Trig_Spell_Zaku_anim_Actions takes nothing returns nothing
call TriggerSleepAction(3.00)
call SetUnitAnimation(udg_unit38,"Spell")
call TriggerSleepAction(1.00)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_VIHOD_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(0),"TRIGSTR_860")
endfunction
function Trig_VIHOD2_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(1),"TRIGSTR_861")
endfunction
function Trig_VIHOD3_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(2),"TRIGSTR_862")
endfunction
function Trig_VIHOD4_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(3),"TRIGSTR_863")
endfunction
function Trig_VIHOD5_Actions takes nothing returns nothing
call CustomDefeatBJ(Player(4),"TRIGSTR_864")
endfunction
function Trig_Goukakyuu_Kopieren_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A000'))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren_Func013A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Goukakyuu_Kopieren_Actions takes nothing returns nothing
set udg_unit02=GetSpellAbilityUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLocFacingLocBJ(1,'h000',GetOwningPlayer(udg_unit02),GetUnitLoc(udg_unit02),GetSpellTargetLoc())
set udg_units01[S2I("Goukakyuu")]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units01[S2I("Goukakyuu")],100,100,100,30.00)
call EnableTrigger(udg_trigger27)
call EnableTrigger(udg_trigger28)
call SetUnitTimeScalePercent(udg_unit38,49.00)
call TriggerSleepAction(1.43)
call SetUnitTimeScalePercent(udg_unit38,100.00)
call DisableTrigger(udg_trigger27)
call DisableTrigger(udg_trigger28)
call ForGroupBJ(GetUnitsOfTypeIdAll('h000'),function Trig_Goukakyuu_Kopieren_Func013A)
endfunction
function Trig_Goukakyuu_Move_Kopieren_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units01[S2I("Goukakyuu")],PolarProjectionBJ(GetUnitLoc(udg_units01[S2I("Goukakyuu")]),33.00,GetUnitFacing(udg_units01[S2I("Goukakyuu")])))
endfunction
function Trig_Goukakyuu_Special_Kopieren_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units01[S2I("Goukakyuu")]),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_units01[S2I("Goukakyuu")]),-90.00,95.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_units01[S2I("Goukakyuu")]),-90.00,-95.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endfunction
function Trig_Goukakyuu_Kopieren2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A001'))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger337)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003Func002Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==2))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004Func003Func003C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004Func003C takes nothing returns boolean
if(not(GetRandomInt(1,4)==2))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func004C takes nothing returns boolean
if(not(GetRandomInt(1,4)==1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func008C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger32)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func013C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger33)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func016C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger35)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func018C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger37)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func019C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger337)==true))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Func022A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Goukakyuu_Kopieren2_Func023C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren2_Actions takes nothing returns nothing
if(Trig_Goukakyuu_Kopieren2_Func001C())then
else
call ClearSelectionForPlayer(Player(0))
call SetUnitTimeScalePercent(udg_unit34,123.00)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.03)
call SelectUnitForPlayerSingle(udg_unit34,Player(0))
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call TriggerSleepAction(0.03)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.03)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call TriggerSleepAction(0.03)
call PauseUnitBJ(true,udg_unit34)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.03)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call ClearSelectionForPlayer(Player(0))
call TriggerSleepAction(0.03)
endif
call UnitRemoveAbilityBJ('A002',udg_unit34)
set udg_unit03=GetSpellAbilityUnit()
if(Trig_Goukakyuu_Kopieren2_Func004C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound05)
else
if(Trig_Goukakyuu_Kopieren2_Func004Func003C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound06)
else
if(Trig_Goukakyuu_Kopieren2_Func004Func003Func003C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound02)
else
if(Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound106)
else
if(Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003Func002C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound107)
else
if(Trig_Goukakyuu_Kopieren2_Func004Func003Func003Func003Func002Func001C())then
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound04)
else
call PlaySoundBJ(udg_sound67)
call PlaySoundBJ(udg_sound03)
endif
endif
endif
endif
endif
endif
call EnableTrigger(udg_trigger30)
call CreateNUnitsAtLocFacingLocBJ(1,'h001',GetOwningPlayer(udg_unit03),GetUnitLoc(udg_unit03),GetSpellTargetLoc())
set udg_units02[S2I("GOUKAKYUU2")]=GetLastCreatedUnit()
if(Trig_Goukakyuu_Kopieren2_Func008C())then
call UnitAddAbilityBJ('A022',udg_units02[S2I("GOUKAKYUU2")])
else
endif
call SetUnitAnimation(udg_unit34,"Spell Throw")
call TriggerSleepAction(0.01)
call SelectUnitForPlayerSingle(udg_unit34,Player(0))
call SetUnitTimeScalePercent(udg_unit34,60.00)
if(Trig_Goukakyuu_Kopieren2_Func013C())then
call UnitRemoveAbilityBJ('A022',udg_units02[S2I("GOUKAKYUU2")])
call UnitAddAbilityBJ('A023',udg_units02[S2I("GOUKAKYUU2")])
else
endif
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger31)
if(Trig_Goukakyuu_Kopieren2_Func016C())then
call UnitRemoveAbilityBJ('A023',udg_units02[S2I("GOUKAKYUU2")])
call UnitAddAbilityBJ('A024',udg_units02[S2I("GOUKAKYUU2")])
else
endif
call TriggerSleepAction(0.01)
if(Trig_Goukakyuu_Kopieren2_Func018C())then
call UnitRemoveAbilityBJ('A024',udg_units02[S2I("GOUKAKYUU2")])
call UnitAddAbilityBJ('A025',udg_units02[S2I("GOUKAKYUU2")])
else
endif
if(Trig_Goukakyuu_Kopieren2_Func019C())then
call TriggerSleepAction(1.15)
else
call TriggerSleepAction(0.10)
call SetUnitTimeScalePercent(udg_unit34,14.00)
call TriggerSleepAction(0.10)
call SetUnitTimeScalePercent(udg_unit34,4.00)
call TriggerSleepAction(0.05)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,10.00)
call TriggerSleepAction(0.04)
call SetUnitTimeScalePercent(udg_unit34,80.00)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,20.00)
call TriggerSleepAction(0.03)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,40.00)
call TriggerSleepAction(0.02)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,60.00)
call PauseUnitBJ(false,udg_unit34)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,70.00)
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_units02[S2I("GOUKAKYUU2")],100,100,100,95.00)
call TriggerSleepAction(0.01)
endif
call DisableTrigger(udg_trigger30)
call DisableTrigger(udg_trigger31)
call ForGroupBJ(GetUnitsOfTypeIdAll('h001'),function Trig_Goukakyuu_Kopieren2_Func022A)
if(Trig_Goukakyuu_Kopieren2_Func023C())then
call UnitAddAbilityBJ('A002',udg_unit34)
else
endif
endfunction
function Trig_Goukakyuu_Move_Kopieren2_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,4)==4))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Move_Kopieren2_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,4)==4))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Move_Kopieren2_Actions takes nothing returns nothing
if(Trig_Goukakyuu_Move_Kopieren2_Func001C())then
call SetUnitPositionLoc(udg_units02[S2I("GOUKAKYUU2")],PolarProjectionBJ(GetUnitLoc(udg_units02[S2I("GOUKAKYUU2")]),18.00,GetUnitFacing(udg_unit34)))
else
if(Trig_Goukakyuu_Move_Kopieren2_Func001Func001C())then
call SetUnitPositionLoc(udg_units02[S2I("GOUKAKYUU2")],PolarProjectionBJ(GetUnitLoc(udg_units02[S2I("GOUKAKYUU2")]),17.00,GetUnitFacing(udg_unit34)))
else
call SetUnitPositionLoc(udg_units02[S2I("GOUKAKYUU2")],PolarProjectionBJ(GetUnitLoc(udg_units02[S2I("GOUKAKYUU2")]),16.00,GetUnitFacing(udg_unit34)))
endif
endif
endfunction
function Trig_Goukakyuu_Special_Kopieren2_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units02[S2I("GOUKAKYUU2")]),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Dop_Katon_Actions takes nothing returns nothing
endfunction
function Trig_Dop_Katon2_Actions takes nothing returns nothing
endfunction
function Trig_Dop_Katon3_Actions takes nothing returns nothing
endfunction
function Trig_Dop_Katon4_Actions takes nothing returns nothing
endfunction
function Trig_Dop_Katon5_Actions takes nothing returns nothing
endfunction
function Trig_Dop_Katon6_Actions takes nothing returns nothing
endfunction
function Trig_Pechat_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A005'))then
return false
endif
return true
endfunction
function Trig_Pechat_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,3.00)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call DisableTrigger(udg_trigger200)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit34,"Miasma.MDX")
set udg_effect01=GetLastCreatedEffectBJ()
call UnitRemoveAbilityBJ('A005',udg_unit34)
call PlaySoundBJ(udg_sound07)
call TriggerSleepAction(0.15)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit34,"PurpleChakra.mdx")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
call TriggerSleepAction(2)
call PlaySoundBJ(udg_sound08)
call UnitAddAbilityBJ('AIx5',udg_unit34)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call TriggerSleepAction(2.07)
call PlaySoundBJ(udg_sound08)
call UnitAddAbilityBJ('AItx',udg_unit34)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call TriggerSleepAction(2.05)
call EnableTrigger(udg_trigger275)
call PlaySoundBJ(udg_sound09)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"DarkNova.mdx")
call UnitAddAbilityBJ('AIaz',udg_unit34)
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger40)
endfunction
function Trig_Pechat2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A002'))then
return false
endif
return true
endfunction
function Trig_Pechat2_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,3.00)
call TriggerSleepAction(0.02)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call EnableTrigger(udg_trigger200)
call DestroyEffectBJ(udg_effect01)
call UnitRemoveAbilityBJ('AItx',udg_unit34)
call UnitRemoveAbilityBJ('AIx5',udg_unit34)
call UnitRemoveAbilityBJ('AIaz',udg_unit34)
call SetUnitMoveSpeed(udg_unit34,280.00)
call UnitRemoveAbilityBJ('A002',udg_unit34)
call UnitAddAbilityBJ('A005',udg_unit34)
call DisableTrigger(udg_trigger40)
call DisableTrigger(udg_trigger275)
endfunction
function Trig_Pechat3_Actions takes nothing returns nothing
call SetUnitMoveSpeed(udg_unit34,522.00)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)-25.00))
call SetUnitManaBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)+10.00))
endfunction
function Trig_Skorost_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
if(not(GetAttacker()==udg_unit34))then
return false
endif
return true
endfunction
function Trig_Skorost_Conditions takes nothing returns boolean
if(not Trig_Skorost_Func003C())then
return false
endif
return true
endfunction
function Trig_Skorost_Func001Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Skorost_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Skorost_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Skorost_Actions takes nothing returns nothing
if(Trig_Skorost_Func001C())then
else
if(Trig_Skorost_Func001Func001C())then
else
if(Trig_Skorost_Func001Func001Func002C())then
else
set udg_units10[0]=GetAttacker()
set udg_units10[1]=GetAttackedUnitBJ()
set udg_location03=PolarProjectionBJ(GetUnitLoc(udg_units10[0]),500.00,GetUnitFacing(udg_units10[0]))
call SetUnitAnimation(udg_units10[1],"Death")
call EnableTrigger(udg_trigger42)
call EnableTrigger(udg_trigger43)
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit13),"blackblink.mdx")
call SetUnitLifeBJ(udg_units10[1],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units10[1])-15.00))
call TriggerSleepAction(0.02)
call SetUnitPositionLoc(udg_units10[0],PolarProjectionBJ(GetUnitLoc(udg_units10[0]),(DistanceBetweenPoints(GetUnitLoc(udg_units10[0]),GetUnitLoc(udg_units10[1]))+180.00),GetUnitFacing(udg_units10[0])))
call TriggerSleepAction(0.02)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit13),"blackblink.mdx")
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger42)
call DisableTrigger(udg_trigger43)
endif
endif
endif
endfunction
function Trig_Skorost2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units10[1],PolarProjectionBJ(GetUnitLoc(udg_units10[1]),10.00,GetUnitFacing(udg_units10[0])))
endfunction
function Trig_Skorost3_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units10[1]),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endfunction
function Trig_Proveriatel_Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A005',udg_unit34)>=1))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Proveriatel_Conditions takes nothing returns boolean
if(not Trig_Proveriatel_Func004C())then
return false
endif
return true
endfunction
function Trig_Proveriatel_Actions takes nothing returns nothing
call UnitRemoveAbilityBJ('A002',udg_unit34)
call DisableTrigger(udg_trigger42)
call DisableTrigger(udg_trigger43)
endfunction
function Trig_Shishi_Rendan_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A004'))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan_Func024C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan_Actions takes nothing returns nothing
call UnitRemoveAbilityBJ('A002',udg_unit34)
call DisableTrigger(udg_trigger275)
call DisableTrigger(udg_trigger276)
call PauseUnitBJ(true,GetSpellTargetUnit())
call SetUnitAnimation(GetSpellTargetUnit(),"Death")
call UnitAddAbilityBJ('Aave',GetSpellTargetUnit())
set udg_unit06=GetSpellTargetUnit()
call SetUnitFlyHeightBJ(udg_unit06,100.00,0.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit06,800.00,100.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit06,1000.00,800.00)
call TriggerSleepAction(0.39)
call PauseUnitBJ(true,GetSpellTargetUnit())
call SetUnitAnimation(udg_unit06,"Death")
call TriggerSleepAction(0.19)
call SetUnitAnimation(udg_unit06,"Death")
call SetUnitFlyHeightBJ(udg_unit06,0.00,1000.00)
call UnitRemoveAbilityBJ('Aave',udg_unit06)
call PauseUnitBJ(false,udg_unit06)
call TriggerSleepAction(0.30)
call UnitDamageTargetBJ(udg_unit34,udg_unit06,70.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Shishi_Rendan_Func024C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
endfunction
function Trig_Shishi_Rendan2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A004'))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan2_Func021Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan2_Func021C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan2_Func032C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit06))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Shishi_Rendan2_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,80.00)
call SetUnitInvulnerable(GetSpellAbilityUnit(),true)
call PauseUnitBJ(true,GetSpellAbilityUnit())
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitAnimation(GetSpellAbilityUnit(),"Attack Two")
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound100)
call UnitAddAbilityBJ('Aave',GetSpellAbilityUnit())
set udg_unit07=GetSpellAbilityUnit()
call TriggerSleepAction(0.02)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call AddSpecialEffectTargetUnitBJ("hand",udg_unit06,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.13)
call SetUnitFlyHeightBJ(udg_unit07,100.00,0.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit07,650.00,100.00)
call TriggerSleepAction(0.00)
call SetUnitAnimation(GetSpellAbilityUnit(),"Attack Three")
call SetUnitFlyHeightBJ(udg_unit07,700.00,650.00)
if(Trig_Shishi_Rendan2_Func021C())then
call PlaySoundBJ(udg_sound10)
else
if(Trig_Shishi_Rendan2_Func021Func001C())then
call PlaySoundBJ(udg_sound101)
else
call PlaySoundBJ(udg_sound11)
endif
endif
call TriggerSleepAction(0.55)
call SetUnitLifeBJ(udg_unit06,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit06)-150.00))
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit06),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("hand",udg_unit06,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.35)
call SetUnitFlyHeightBJ(udg_unit07,0.00,700.00)
call UnitRemoveAbilityBJ('Aave',udg_unit07)
call PauseUnitBJ(false,udg_unit07)
call TriggerSleepAction(0.00)
call SetUnitInvulnerable(udg_unit34,false)
if(Trig_Shishi_Rendan2_Func032C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit06),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit06),"slam.mdx")
endif
call TriggerSleepAction(0.35)
endfunction
function Trig_Zankuha_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A003'))then
return false
endif
return true
endfunction
function Trig_Zankuha_Func017Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger50)!=true))then
return false
endif
return true
endfunction
function Trig_Zankuha_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],6.00,"TRIGSTR_748")
call EnableTrigger(udg_trigger50)
call EnableTrigger(udg_trigger51)
call EnableTrigger(udg_trigger54)
call PauseUnitBJ(true,udg_unit38)
call SetUnitAnimation(udg_unit38,"Spell")
call TriggerSleepAction(0.02)
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[1]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[2]=GetLastCreatedUnit()
call RemoveUnit(udg_units15[1])
call RemoveUnit(udg_units15[2])
call TriggerSleepAction(0.03)
call EnableTrigger(udg_trigger53)
call SetUnitTimeScalePercent(udg_unit38,80.00)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=200
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Zankuha_Func017Func001C())then
call RemoveUnit(udg_units15[1])
call RemoveUnit(udg_units15[2])
else
call EnableTrigger(udg_trigger52)
call RemoveUnit(udg_units15[1])
call RemoveUnit(udg_units15[2])
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[1]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[2]=GetLastCreatedUnit()
call TriggerSleepAction(0.35)
call DisableTrigger(udg_trigger52)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Zankuha2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A003'))then
return false
endif
return true
endfunction
function Trig_Zankuha2_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Zankuha2_Func011Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger50)!=true))then
return false
endif
return true
endfunction
function Trig_Zankuha2_Actions takes nothing returns nothing
if(Trig_Zankuha2_Func001C())then
call PlaySoundBJ(udg_sound14)
else
call PlaySoundBJ(udg_sound15)
endif
call TriggerSleepAction(0.02)
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[3]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[4]=GetLastCreatedUnit()
call TriggerSleepAction(0.03)
call RemoveUnit(udg_units15[3])
call RemoveUnit(udg_units15[4])
call SetUnitTimeScalePercent(udg_unit38,80.00)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=200
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Zankuha2_Func011Func001C())then
call RemoveUnit(udg_units15[3])
call RemoveUnit(udg_units15[4])
else
call EnableTrigger(udg_trigger52)
call RemoveUnit(udg_units15[3])
call RemoveUnit(udg_units15[4])
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[3]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[4]=GetLastCreatedUnit()
call TriggerSleepAction(0.45)
call DisableTrigger(udg_trigger52)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Zankuha3_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A003'))then
return false
endif
return true
endfunction
function Trig_Zankuha3_Func010Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger50)!=true))then
return false
endif
return true
endfunction
function Trig_Zankuha3_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[5]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[6]=GetLastCreatedUnit()
call TriggerSleepAction(0.03)
call RemoveUnit(udg_units15[5])
call RemoveUnit(udg_units15[6])
call SetUnitTimeScalePercent(udg_unit38,80.00)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=200
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Zankuha3_Func010Func001C())then
call RemoveUnit(udg_units15[5])
call RemoveUnit(udg_units15[6])
else
call EnableTrigger(udg_trigger52)
call RemoveUnit(udg_units15[5])
call RemoveUnit(udg_units15[6])
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,10.00),GetUnitFacing(udg_unit38))
set udg_units15[5]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'h002',GetOwningPlayer(udg_unit38),OffsetLocation(GetUnitLoc(udg_unit38),0,-10.00),GetUnitFacing(udg_unit38))
set udg_units15[6]=GetLastCreatedUnit()
call SetUnitManaBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)-18.00))
call TriggerSleepAction(0.55)
call DisableTrigger(udg_trigger52)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Zankuha4_Actions takes nothing returns nothing
call PauseUnitBJ(false,udg_unit38)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Zankuha5_Actions takes nothing returns nothing
call PauseUnitBJ(false,udg_unit38)
call DisableTrigger(udg_trigger50)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func001C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[6]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func002C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[5]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func003C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[4]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func004C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[3]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func005C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[2]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001Func006C takes nothing returns boolean
if(not(AngleBetweenPoints(GetUnitLoc(udg_units15[1]),GetUnitLoc(GetEnumUnit()))<=25.00))then
return false
endif
if(not(GetEnumUnit()!=udg_unit38))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001Func001Func001C takes nothing returns boolean
if(Trig_Zankuha6_Func001Func001Func001Func001Func001C())then
return true
endif
if(Trig_Zankuha6_Func001Func001Func001Func001Func002C())then
return true
endif
if(Trig_Zankuha6_Func001Func001Func001Func001Func003C())then
return true
endif
if(Trig_Zankuha6_Func001Func001Func001Func001Func004C())then
return true
endif
if(Trig_Zankuha6_Func001Func001Func001Func001Func005C())then
return true
endif
if(Trig_Zankuha6_Func001Func001Func001Func001Func006C())then
return true
endif
return false
endfunction
function Trig_Zankuha6_Func001Func001Func001C takes nothing returns boolean
if(not Trig_Zankuha6_Func001Func001Func001Func001C())then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001Func001C takes nothing returns boolean
if(not(UnitHasBuffBJ(GetEnumUnit(),'B004')==true))then
return false
endif
return true
endfunction
function Trig_Zankuha6_Func001A takes nothing returns nothing
if(Trig_Zankuha6_Func001Func001C())then
if(Trig_Zankuha6_Func001Func001Func001C())then
call SetUnitPositionLoc(GetEnumUnit(),PolarProjectionBJ(GetUnitLoc(GetEnumUnit()),36.00,(GetUnitFacing(udg_unit38)+1.00)))
call SetUnitAnimation(GetEnumUnit(),"Death")
else
endif
else
endif
endfunction
function Trig_Zankuha6_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(GetPlayableMapRect()),function Trig_Zankuha6_Func001A)
endfunction
function Trig_Zankuha7_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units15[1]),"Abilities\\Weapons\\GlaiveMissile\\GlaiveMissileTarget.mdl")
set udg_effects06[1]=GetLastCreatedEffectBJ()
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units15[2]),"Abilities\\Weapons\\GryphonRiderMissile\\GryphonRiderMissileTarget.mdl")
set udg_effects06[2]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.01)
call DestroyEffectBJ(udg_effects06[1])
call TriggerSleepAction(0.01)
call DestroyEffectBJ(udg_effects06[2])
endfunction
function Trig_Zankuha10_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units15[1],PolarProjectionBJ(GetUnitLoc(udg_units15[1]),55.00,(GetUnitFacing(udg_unit38)+1.00)))
call SetUnitPositionLoc(udg_units15[2],PolarProjectionBJ(GetUnitLoc(udg_units15[2]),43.00,(GetUnitFacing(udg_unit38)-1.00)))
call SetUnitPositionLoc(udg_units15[3],PolarProjectionBJ(GetUnitLoc(udg_units15[2]),51.00,(GetUnitFacing(udg_unit38)+1.00)))
call SetUnitPositionLoc(udg_units15[4],PolarProjectionBJ(GetUnitLoc(udg_units15[2]),49.00,(GetUnitFacing(udg_unit38)-1.00)))
call SetUnitPositionLoc(udg_units15[5],PolarProjectionBJ(GetUnitLoc(udg_units15[2]),67.00,(GetUnitFacing(udg_unit38)+1.00)))
call SetUnitPositionLoc(udg_units15[6],PolarProjectionBJ(GetUnitLoc(udg_units15[2]),46.00,(GetUnitFacing(udg_unit38)-1.00)))
endfunction
function Trig_Byakugan_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A006'))then
return false
endif
return true
endfunction
function Trig_Byakugan_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n000',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(GetSpellAbilityUnit()),bj_UNIT_FACING)
set udg_units03[0]=GetLastCreatedUnit()
set udg_units03[1]=GetSpellAbilityUnit()
call UnitRemoveAbilityBJ('A006',GetSpellAbilityUnit())
call UnitAddAbilityBJ('A008',udg_units03[1])
call UnitAddAbilityBJ('A007',udg_units03[1])
endfunction
function Trig_Byakugan2_Actions takes nothing returns nothing
set udg_location01=GetUnitLoc(udg_units03[1])
call IssuePointOrderLocBJ(udg_units03[0],"farsight",udg_location01)
endfunction
function Trig_Byakugan3_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A008'))then
return false
endif
return true
endfunction
function Trig_Byakugan3_Actions takes nothing returns nothing
call RemoveUnit(udg_units03[0])
call UnitAddAbilityBJ('A006',GetSpellAbilityUnit())
call UnitRemoveAbilityBJ('A008',udg_units03[1])
call UnitRemoveAbilityBJ('A007',udg_units03[1])
endfunction
function Trig_Chidori_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A009'))then
return false
endif
return true
endfunction
function Trig_Chidori_Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori_Func009C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Chidori_Func013C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori_Func019C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger41)
call DisableTrigger(udg_trigger42)
call DisableTrigger(udg_trigger43)
if(Trig_Chidori_Func004C())then
call DisableTrigger(udg_trigger275)
call TriggerSleepAction(0.01)
call DisableTrigger(udg_trigger276)
else
endif
call PauseUnitBJ(true,udg_unit34)
call SetUnitAnimation(udg_unit34,"Spell Three")
call TriggerSleepAction(0.15)
call UnitAddAbilityBJ('A002',udg_unit34)
if(Trig_Chidori_Func009C())then
call PlaySoundBJ(udg_sound13)
else
call PlaySoundBJ(udg_sound12)
endif
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit34,"lightning_ball.mdx")
set udg_effect02=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.70)
if(Trig_Chidori_Func013C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
call PauseUnitBJ(false,udg_unit34)
call SetUnitMoveSpeed(udg_unit34,522.00)
call EnableTrigger(udg_trigger59)
call TriggerSleepAction(5.00)
call EnableTrigger(udg_trigger41)
if(Trig_Chidori_Func019C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
call DestroyEffectBJ(udg_effect02)
call SetUnitMoveSpeed(udg_unit34,280.00)
call DisableTrigger(udg_trigger59)
endfunction
function Trig_Chidori2_Conditions takes nothing returns boolean
if(not(GetAttacker()==udg_unit34))then
return false
endif
return true
endfunction
function Trig_Chidori2_Func002C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori2_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori2_Func022C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Chidori2_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger200)
if(Trig_Chidori2_Func002C())then
call DisableTrigger(udg_trigger275)
call TriggerSleepAction(0.01)
call DisableTrigger(udg_trigger276)
call TriggerSleepAction(0.01)
else
endif
if(Trig_Chidori2_Func003C())then
call UnitDamageTargetBJ(udg_unit34,GetAttackedUnitBJ(),350.00,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL)
else
call UnitDamageTargetBJ(udg_unit34,GetAttackedUnitBJ(),300.00,ATTACK_TYPE_NORMAL,DAMAGE_TYPE_NORMAL)
endif
call PauseUnitBJ(true,udg_unit34)
call SetUnitAnimation(udg_unit34,"Spell Three")
call DestroyEffectBJ(udg_effect02)
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodRifleman.mdl")
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl")
call AddSpecialEffectTargetUnitBJ("foot",GetAttackedUnitBJ(),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger41)
call PauseUnitBJ(false,udg_unit34)
call SetUnitMoveSpeed(udg_unit34,280.00)
call TriggerSleepAction(0.95)
call EnableTrigger(udg_trigger200)
if(Trig_Chidori2_Func022C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Katon_Housenka_no_jutsu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00B'))then
return false
endif
return true
endfunction
function Trig_Katon_Housenka_no_jutsu_Func004Func004C takes nothing returns boolean
if((GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return true
endif
return false
endfunction
function Trig_Katon_Housenka_no_jutsu_Func004C takes nothing returns boolean
if(not Trig_Katon_Housenka_no_jutsu_Func004Func004C())then
return false
endif
return true
endfunction
function Trig_Katon_Housenka_no_jutsu_Func028C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Katon_Housenka_no_jutsu_Actions takes nothing returns nothing
call UnitRemoveAbilityBJ('A002',udg_unit34)
call DisableTrigger(udg_trigger275)
call DisableTrigger(udg_trigger276)
if(Trig_Katon_Housenka_no_jutsu_Func004C())then
call DisableTrigger(udg_trigger275)
call TriggerSleepAction(0.01)
call DisableTrigger(udg_trigger276)
else
endif
set udg_units05[0]=GetSpellAbilityUnit()
call CreateNUnitsAtLoc(1,'o002',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units05[1]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o002',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units05[2]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o002',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units05[3]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o002',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units05[4]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o002',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units05[5]=GetLastCreatedUnit()
call SetUnitPositionLoc(udg_units05[1],GetUnitLoc(udg_units05[0]))
call SetUnitPositionLoc(udg_units05[2],GetUnitLoc(udg_units05[0]))
call SetUnitPositionLoc(udg_units05[3],GetUnitLoc(udg_units05[0]))
call SetUnitPositionLoc(udg_units05[4],GetUnitLoc(udg_units05[0]))
call SetUnitPositionLoc(udg_units05[5],GetUnitLoc(udg_units05[0]))
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.01)
call PauseUnitBJ(true,udg_unit34)
call TriggerSleepAction(0.11)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call SetUnitFacingTimed(udg_units05[1],bj_UNIT_FACING,0)
call IssuePointOrderLocBJ(udg_units05[1],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[1]),400.00,(GetUnitFacing(udg_units05[0])+0.00)))
call SetUnitInvulnerable(udg_unit34,true)
call TriggerSleepAction(0.15)
call IssuePointOrderLocBJ(udg_units05[2],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[2]),360.00,(GetUnitFacing(udg_units05[0])+9.00)))
call TriggerSleepAction(0.15)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call IssuePointOrderLocBJ(udg_units05[3],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[3]),420.00,(GetUnitFacing(udg_units05[0])-9.00)))
call TriggerSleepAction(0.12)
call IssuePointOrderLocBJ(udg_units05[4],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[4]),380.00,(GetUnitFacing(udg_units05[0])+5.00)))
call TriggerSleepAction(0.15)
call SetUnitInvulnerable(udg_unit34,false)
call IssuePointOrderLocBJ(udg_units05[5],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[5]),390.00,(GetUnitFacing(udg_units05[0])-5.00)))
call UnitRemoveAbilityBJ('Aave',udg_unit34)
call PauseUnitBJ(false,udg_unit34)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerSleepAction(2.10)
call RemoveUnit(udg_units05[1])
call RemoveUnit(udg_units05[2])
call RemoveUnit(udg_units05[3])
call RemoveUnit(udg_units05[4])
call RemoveUnit(udg_units05[5])
if(Trig_Katon_Housenka_no_jutsu_Func028C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
endfunction
function Trig_Katon_Hosenka_no_Jutsu2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00B'))then
return false
endif
return true
endfunction
function Trig_Katon_Hosenka_no_Jutsu2_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Katon_Hosenka_no_Jutsu2_Actions takes nothing returns nothing
if(Trig_Katon_Hosenka_no_Jutsu2_Func001C())then
call PlaySoundBJ(udg_sound16)
else
call PlaySoundBJ(udg_sound17)
endif
endfunction
function Trig_Pervii_etap_Lee_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],15.00,"TRIGSTR_451")
call EnableTrigger(udg_trigger63)
call EnableTrigger(udg_trigger64)
call EnableTrigger(udg_trigger65)
endfunction
function Trig_Pervii_etap2_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger66)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_452")
call AddHeroXPSwapped(50,udg_unit40,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger64)
call DisableTrigger(udg_trigger65)
endfunction
function Trig_Pervii_etap3_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger66)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_453")
call DisableTrigger(udg_trigger63)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger65)
endfunction
function Trig_Pervii_etap4_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger66)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_454")
call DisableTrigger(udg_trigger63)
call DisableTrigger(udg_trigger64)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap5_Lee_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],15.00,"TRIGSTR_455")
call EnableTrigger(udg_trigger67)
call EnableTrigger(udg_trigger68)
call EnableTrigger(udg_trigger69)
endfunction
function Trig_Pervii_etap6_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger70)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_456")
call AddHeroXPSwapped(50,udg_unit40,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger68)
call DisableTrigger(udg_trigger69)
endfunction
function Trig_Pervii_etap7_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger70)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_457")
call DisableTrigger(udg_trigger67)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger69)
endfunction
function Trig_Pervii_etap8_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger70)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_458")
call DisableTrigger(udg_trigger67)
call DisableTrigger(udg_trigger68)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap9_Lee_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],15.00,"TRIGSTR_459")
call EnableTrigger(udg_trigger71)
call EnableTrigger(udg_trigger72)
call EnableTrigger(udg_trigger73)
endfunction
function Trig_Pervii_etap10_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger74)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_460")
call AddHeroXPSwapped(50,udg_unit40,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger72)
call DisableTrigger(udg_trigger73)
endfunction
function Trig_Pervii_etap11_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger74)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_461")
call DisableTrigger(udg_trigger71)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger73)
endfunction
function Trig_Pervii_etap12_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger74)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_462")
call DisableTrigger(udg_trigger71)
call DisableTrigger(udg_trigger72)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap13_Lee_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],15.00,"TRIGSTR_463")
call EnableTrigger(udg_trigger75)
call EnableTrigger(udg_trigger76)
call EnableTrigger(udg_trigger77)
endfunction
function Trig_Pervii_etap14_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger78)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_464")
call AddHeroXPSwapped(50,udg_unit40,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger76)
call DisableTrigger(udg_trigger77)
endfunction
function Trig_Pervii_etap15_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger78)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_465")
call DisableTrigger(udg_trigger75)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger77)
endfunction
function Trig_Pervii_etap16_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger78)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_466")
call DisableTrigger(udg_trigger75)
call DisableTrigger(udg_trigger76)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap17_Lee_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],15.00,"TRIGSTR_467")
call EnableTrigger(udg_trigger79)
call EnableTrigger(udg_trigger80)
call EnableTrigger(udg_trigger81)
endfunction
function Trig_Pervii_etap18_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger82)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_468")
call AddHeroXPSwapped(50,udg_unit40,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger80)
call DisableTrigger(udg_trigger81)
endfunction
function Trig_Pervii_etap19_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger82)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_469")
call DisableTrigger(udg_trigger79)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger81)
endfunction
function Trig_Pervii_etap20_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger82)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],2.00,"TRIGSTR_470")
call DisableTrigger(udg_trigger79)
call DisableTrigger(udg_trigger80)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konechnii_triger_Lee_Actions takes nothing returns nothing
endfunction
function Trig_Pervii_etap_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],15.00,"TRIGSTR_429")
call EnableTrigger(udg_trigger84)
call EnableTrigger(udg_trigger85)
call EnableTrigger(udg_trigger86)
call CreateTimerDialogBJ(GetLastCreatedTimerBJ(),"TRIGSTR_616")
call StartTimerBJ(GetLastCreatedTimerBJ(),false,50.00)
call TriggerSleepAction(35.00)
call PlaySoundBJ(udg_sound94)
call SetUnitTimeScalePercent(udg_unit35,80.00)
call TriggerSleepAction(13.00)
call DisableTrigger(udg_trigger84)
call DisableTrigger(udg_trigger85)
call DisableTrigger(udg_trigger86)
call DisableTrigger(udg_trigger87)
call DisableTrigger(udg_trigger88)
call DisableTrigger(udg_trigger89)
call DisableTrigger(udg_trigger90)
call DisableTrigger(udg_trigger91)
call DisableTrigger(udg_trigger92)
call DisableTrigger(udg_trigger93)
call DisableTrigger(udg_trigger94)
call DisableTrigger(udg_trigger95)
call DisableTrigger(udg_trigger96)
call DisableTrigger(udg_trigger97)
call DisableTrigger(udg_trigger98)
call DisableTrigger(udg_trigger99)
call DisableTrigger(udg_trigger100)
call DisableTrigger(udg_trigger101)
call DisableTrigger(udg_trigger102)
call DisableTrigger(udg_trigger105)
call DisableTrigger(udg_trigger147)
call DisableTrigger(udg_trigger63)
call DisableTrigger(udg_trigger126)
call DisableTrigger(udg_trigger106)
call DisableTrigger(udg_trigger148)
call DisableTrigger(udg_trigger64)
call DisableTrigger(udg_trigger127)
call DisableTrigger(udg_trigger107)
call DisableTrigger(udg_trigger149)
call DisableTrigger(udg_trigger65)
call DisableTrigger(udg_trigger128)
call DisableTrigger(udg_trigger108)
call DisableTrigger(udg_trigger150)
call DisableTrigger(udg_trigger66)
call DisableTrigger(udg_trigger129)
call DisableTrigger(udg_trigger109)
call DisableTrigger(udg_trigger151)
call DisableTrigger(udg_trigger67)
call DisableTrigger(udg_trigger130)
call DisableTrigger(udg_trigger110)
call DisableTrigger(udg_trigger152)
call DisableTrigger(udg_trigger68)
call DisableTrigger(udg_trigger131)
call DisableTrigger(udg_trigger111)
call DisableTrigger(udg_trigger153)
call DisableTrigger(udg_trigger69)
call DisableTrigger(udg_trigger132)
call DisableTrigger(udg_trigger112)
call DisableTrigger(udg_trigger154)
call DisableTrigger(udg_trigger70)
call DisableTrigger(udg_trigger133)
call DisableTrigger(udg_trigger113)
call DisableTrigger(udg_trigger155)
call DisableTrigger(udg_trigger71)
call DisableTrigger(udg_trigger134)
call DisableTrigger(udg_trigger114)
call DisableTrigger(udg_trigger156)
call DisableTrigger(udg_trigger72)
call DisableTrigger(udg_trigger135)
call DisableTrigger(udg_trigger115)
call DisableTrigger(udg_trigger157)
call DisableTrigger(udg_trigger73)
call DisableTrigger(udg_trigger136)
call DisableTrigger(udg_trigger116)
call DisableTrigger(udg_trigger158)
call DisableTrigger(udg_trigger74)
call DisableTrigger(udg_trigger137)
call DisableTrigger(udg_trigger117)
call DisableTrigger(udg_trigger159)
call DisableTrigger(udg_trigger75)
call DisableTrigger(udg_trigger138)
call DisableTrigger(udg_trigger118)
call DisableTrigger(udg_trigger160)
call DisableTrigger(udg_trigger76)
call DisableTrigger(udg_trigger139)
call DisableTrigger(udg_trigger119)
call DisableTrigger(udg_trigger161)
call DisableTrigger(udg_trigger77)
call DisableTrigger(udg_trigger140)
call DisableTrigger(udg_trigger120)
call DisableTrigger(udg_trigger162)
call DisableTrigger(udg_trigger78)
call DisableTrigger(udg_trigger141)
call DisableTrigger(udg_trigger121)
call DisableTrigger(udg_trigger163)
call DisableTrigger(udg_trigger79)
call DisableTrigger(udg_trigger142)
call DisableTrigger(udg_trigger122)
call DisableTrigger(udg_trigger164)
call DisableTrigger(udg_trigger80)
call DisableTrigger(udg_trigger143)
call DisableTrigger(udg_trigger123)
call DisableTrigger(udg_trigger165)
call DisableTrigger(udg_trigger81)
call DisableTrigger(udg_trigger144)
call TriggerSleepAction(1.00)
call SetUnitTimeScalePercent(udg_unit35,100.00)
call DestroyTimerDialogBJ(GetLastCreatedTimerDialogBJ())
call TriggerSleepAction(0.50)
call TriggerExecute(udg_trigger361)
call TriggerExecute(udg_trigger366)
call TriggerExecute(udg_trigger369)
endfunction
function Trig_Pervii_etap2_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger87)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_432")
call AddHeroXPSwapped(50,udg_unit34,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger85)
call DisableTrigger(udg_trigger86)
endfunction
function Trig_Pervii_etap3_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger87)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_433")
call DisableTrigger(udg_trigger84)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger86)
endfunction
function Trig_Pervii_etap4_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger87)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_434")
call DisableTrigger(udg_trigger84)
call DisableTrigger(udg_trigger85)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap5_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],15.00,"TRIGSTR_431")
call EnableTrigger(udg_trigger88)
call EnableTrigger(udg_trigger89)
call EnableTrigger(udg_trigger90)
endfunction
function Trig_Pervii_etap6_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger91)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_435")
call AddHeroXPSwapped(50,udg_unit34,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger89)
call DisableTrigger(udg_trigger90)
endfunction
function Trig_Pervii_etap7_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger91)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_436")
call DisableTrigger(udg_trigger88)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger90)
endfunction
function Trig_Pervii_etap8_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger91)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_438")
call DisableTrigger(udg_trigger88)
call DisableTrigger(udg_trigger89)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap9_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],15.00,"TRIGSTR_439")
call EnableTrigger(udg_trigger92)
call EnableTrigger(udg_trigger93)
call EnableTrigger(udg_trigger94)
endfunction
function Trig_Pervii_etap10_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger95)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_440")
call AddHeroXPSwapped(50,udg_unit34,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger93)
call DisableTrigger(udg_trigger94)
endfunction
function Trig_Pervii_etap11_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger95)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_441")
call DisableTrigger(udg_trigger92)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger94)
endfunction
function Trig_Pervii_etap12_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger95)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_442")
call DisableTrigger(udg_trigger92)
call DisableTrigger(udg_trigger93)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap13_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],15.00,"TRIGSTR_443")
call EnableTrigger(udg_trigger96)
call EnableTrigger(udg_trigger97)
call EnableTrigger(udg_trigger98)
endfunction
function Trig_Pervii_etap14_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger99)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_444")
call AddHeroXPSwapped(50,udg_unit34,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger97)
call DisableTrigger(udg_trigger98)
endfunction
function Trig_Pervii_etap15_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger99)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_445")
call DisableTrigger(udg_trigger96)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger98)
endfunction
function Trig_Pervii_etap16_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger99)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_446")
call DisableTrigger(udg_trigger96)
call DisableTrigger(udg_trigger97)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap17_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],15.00,"TRIGSTR_447")
call EnableTrigger(udg_trigger100)
call EnableTrigger(udg_trigger101)
call EnableTrigger(udg_trigger102)
endfunction
function Trig_Pervii_etap18_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger103)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_448")
call AddHeroXPSwapped(50,udg_unit34,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger101)
call DisableTrigger(udg_trigger102)
endfunction
function Trig_Pervii_etap19_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger103)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_449")
call DisableTrigger(udg_trigger100)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger102)
endfunction
function Trig_Pervii_etap20_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger103)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_450")
call DisableTrigger(udg_trigger100)
call DisableTrigger(udg_trigger101)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konechnii_triger_Actions takes nothing returns nothing
endfunction
function Trig_Pervii_etap_Dosu_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],15.00,"TRIGSTR_524")
call EnableTrigger(udg_trigger105)
call EnableTrigger(udg_trigger106)
call EnableTrigger(udg_trigger107)
endfunction
function Trig_Pervii_etap2_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger108)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_525")
call AddHeroXPSwapped(50,udg_unit41,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger106)
call DisableTrigger(udg_trigger107)
endfunction
function Trig_Pervii_etap3_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger108)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_526")
call DisableTrigger(udg_trigger105)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger107)
endfunction
function Trig_Pervii_etap4_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger108)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_527")
call DisableTrigger(udg_trigger105)
call DisableTrigger(udg_trigger106)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap5_Dosu_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],15.00,"TRIGSTR_528")
call EnableTrigger(udg_trigger109)
call EnableTrigger(udg_trigger110)
call EnableTrigger(udg_trigger111)
endfunction
function Trig_Pervii_etap6_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger112)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_529")
call AddHeroXPSwapped(50,udg_unit41,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger110)
call DisableTrigger(udg_trigger111)
endfunction
function Trig_Pervii_etap7_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger112)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_530")
call DisableTrigger(udg_trigger109)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger111)
endfunction
function Trig_Pervii_etap8_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger112)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_531")
call DisableTrigger(udg_trigger109)
call DisableTrigger(udg_trigger110)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap9_Dosu_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],15.00,"TRIGSTR_532")
call EnableTrigger(udg_trigger113)
call EnableTrigger(udg_trigger114)
call EnableTrigger(udg_trigger115)
endfunction
function Trig_Pervii_etap10_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger116)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_533")
call AddHeroXPSwapped(50,udg_unit41,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger114)
call DisableTrigger(udg_trigger115)
endfunction
function Trig_Pervii_etap11_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger116)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_534")
call DisableTrigger(udg_trigger113)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger115)
endfunction
function Trig_Pervii_etap12_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger116)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_535")
call DisableTrigger(udg_trigger113)
call DisableTrigger(udg_trigger114)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap13_Dosu_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],15.00,"TRIGSTR_536")
call EnableTrigger(udg_trigger117)
call EnableTrigger(udg_trigger118)
call EnableTrigger(udg_trigger119)
endfunction
function Trig_Pervii_etap14_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger120)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_537")
call AddHeroXPSwapped(50,udg_unit41,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger118)
call DisableTrigger(udg_trigger119)
endfunction
function Trig_Pervii_etap15_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger120)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_538")
call DisableTrigger(udg_trigger117)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger119)
endfunction
function Trig_Pervii_etap16_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger120)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_539")
call DisableTrigger(udg_trigger117)
call DisableTrigger(udg_trigger118)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap17_Dosu_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],15.00,"TRIGSTR_540")
call EnableTrigger(udg_trigger121)
call EnableTrigger(udg_trigger122)
call EnableTrigger(udg_trigger123)
endfunction
function Trig_Pervii_etap18_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger124)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_541")
call AddHeroXPSwapped(50,udg_unit41,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger122)
call DisableTrigger(udg_trigger123)
endfunction
function Trig_Pervii_etap19_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger124)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_542")
call DisableTrigger(udg_trigger121)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger123)
endfunction
function Trig_Pervii_etap20_Dosu_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger124)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],2.00,"TRIGSTR_543")
call DisableTrigger(udg_trigger121)
call DisableTrigger(udg_trigger122)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konechnii_triger_Dosu_Actions takes nothing returns nothing
endfunction
function Trig_Pervii_etap_Zaku_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],15.00,"TRIGSTR_546")
call EnableTrigger(udg_trigger126)
call EnableTrigger(udg_trigger127)
call EnableTrigger(udg_trigger128)
endfunction
function Trig_Pervii_etap2_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger129)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_547")
call AddHeroXPSwapped(50,udg_unit38,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger127)
call DisableTrigger(udg_trigger128)
endfunction
function Trig_Pervii_etap3_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger129)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_548")
call DisableTrigger(udg_trigger126)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger128)
endfunction
function Trig_Pervii_etap4_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger129)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_549")
call DisableTrigger(udg_trigger126)
call DisableTrigger(udg_trigger127)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap5_Zaku_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],15.00,"TRIGSTR_550")
call EnableTrigger(udg_trigger130)
call EnableTrigger(udg_trigger131)
call EnableTrigger(udg_trigger132)
endfunction
function Trig_Pervii_etap6_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger133)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_551")
call AddHeroXPSwapped(50,udg_unit38,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger131)
call DisableTrigger(udg_trigger132)
endfunction
function Trig_Pervii_etap7_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger133)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_552")
call DisableTrigger(udg_trigger130)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger132)
endfunction
function Trig_Pervii_etap8_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger133)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_553")
call DisableTrigger(udg_trigger130)
call DisableTrigger(udg_trigger131)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap9_Zaku_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],15.00,"TRIGSTR_554")
call EnableTrigger(udg_trigger134)
call EnableTrigger(udg_trigger135)
call EnableTrigger(udg_trigger136)
endfunction
function Trig_Pervii_etap10_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger137)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_555")
call AddHeroXPSwapped(50,udg_unit38,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger135)
call DisableTrigger(udg_trigger136)
endfunction
function Trig_Pervii_etap11_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger137)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_556")
call DisableTrigger(udg_trigger134)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger136)
endfunction
function Trig_Pervii_etap12_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger137)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_557")
call DisableTrigger(udg_trigger134)
call DisableTrigger(udg_trigger135)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap13_Zaku_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],15.00,"TRIGSTR_558")
call EnableTrigger(udg_trigger138)
call EnableTrigger(udg_trigger139)
call EnableTrigger(udg_trigger140)
endfunction
function Trig_Pervii_etap14_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger141)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_559")
call AddHeroXPSwapped(50,udg_unit38,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger139)
call DisableTrigger(udg_trigger140)
endfunction
function Trig_Pervii_etap15_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger141)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_560")
call DisableTrigger(udg_trigger138)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger140)
endfunction
function Trig_Pervii_etap16_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger141)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_561")
call DisableTrigger(udg_trigger138)
call DisableTrigger(udg_trigger139)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap17_Zaku_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],15.00,"TRIGSTR_562")
call EnableTrigger(udg_trigger142)
call EnableTrigger(udg_trigger143)
call EnableTrigger(udg_trigger144)
endfunction
function Trig_Pervii_etap18_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger145)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_563")
call AddHeroXPSwapped(50,udg_unit38,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger143)
call DisableTrigger(udg_trigger144)
endfunction
function Trig_Pervii_etap19_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger145)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_564")
call DisableTrigger(udg_trigger142)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger144)
endfunction
function Trig_Pervii_etap20_Zaku_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger145)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],2.00,"TRIGSTR_565")
call DisableTrigger(udg_trigger142)
call DisableTrigger(udg_trigger143)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konechnii_triger_Zaku_Actions takes nothing returns nothing
endfunction
function Trig_Pervii_etap_Kin_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],15.00,"TRIGSTR_578")
call EnableTrigger(udg_trigger147)
call EnableTrigger(udg_trigger148)
call EnableTrigger(udg_trigger149)
endfunction
function Trig_Pervii_etap2_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger150)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_579")
call AddHeroXPSwapped(50,udg_unit51,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger148)
call DisableTrigger(udg_trigger149)
endfunction
function Trig_Pervii_etap3_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger150)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_580")
call DisableTrigger(udg_trigger147)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger149)
endfunction
function Trig_Pervii_etap4_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger150)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_581")
call DisableTrigger(udg_trigger147)
call DisableTrigger(udg_trigger148)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap5_Kin_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],15.00,"TRIGSTR_582")
call EnableTrigger(udg_trigger151)
call EnableTrigger(udg_trigger152)
call EnableTrigger(udg_trigger153)
endfunction
function Trig_Pervii_etap6_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger154)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_583")
call AddHeroXPSwapped(50,udg_unit51,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger152)
call DisableTrigger(udg_trigger153)
endfunction
function Trig_Pervii_etap7_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger154)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_584")
call DisableTrigger(udg_trigger151)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger153)
endfunction
function Trig_Pervii_etap8_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger154)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_585")
call DisableTrigger(udg_trigger151)
call DisableTrigger(udg_trigger152)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap9_Kin_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],15.00,"TRIGSTR_586")
call EnableTrigger(udg_trigger155)
call EnableTrigger(udg_trigger156)
call EnableTrigger(udg_trigger157)
endfunction
function Trig_Pervii_etap10_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger158)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_587")
call AddHeroXPSwapped(50,udg_unit51,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger156)
call DisableTrigger(udg_trigger157)
endfunction
function Trig_Pervii_etap11_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger158)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_588")
call DisableTrigger(udg_trigger155)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger157)
endfunction
function Trig_Pervii_etap12_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger158)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_589")
call DisableTrigger(udg_trigger155)
call DisableTrigger(udg_trigger156)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap13_Kin_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],15.00,"TRIGSTR_590")
call EnableTrigger(udg_trigger159)
call EnableTrigger(udg_trigger160)
call EnableTrigger(udg_trigger161)
endfunction
function Trig_Pervii_etap14_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger162)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_591")
call AddHeroXPSwapped(50,udg_unit51,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger160)
call DisableTrigger(udg_trigger161)
endfunction
function Trig_Pervii_etap15_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger162)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_592")
call DisableTrigger(udg_trigger159)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger161)
endfunction
function Trig_Pervii_etap16_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger162)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_593")
call DisableTrigger(udg_trigger159)
call DisableTrigger(udg_trigger160)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pervii_etap17_Kin_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],15.00,"TRIGSTR_594")
call EnableTrigger(udg_trigger163)
call EnableTrigger(udg_trigger164)
call EnableTrigger(udg_trigger165)
endfunction
function Trig_Pervii_etap18_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.16)
call TriggerExecute(udg_trigger166)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_595")
call AddHeroXPSwapped(50,udg_unit51,true)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger164)
call DisableTrigger(udg_trigger165)
endfunction
function Trig_Pervii_etap19_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger166)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_596")
call DisableTrigger(udg_trigger163)
call DisableTrigger(GetTriggeringTrigger())
call DisableTrigger(udg_trigger165)
endfunction
function Trig_Pervii_etap20_Kin_Actions takes nothing returns nothing
call TriggerSleepAction(0.15)
call TriggerExecute(udg_trigger166)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],2.00,"TRIGSTR_597")
call DisableTrigger(udg_trigger163)
call DisableTrigger(udg_trigger164)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konechnii_triger_Kin_Actions takes nothing returns nothing
endfunction
function Trig_Goukakyuu_Kopieren4_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00E'))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren4_Func013C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren4_Func034A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Goukakyuu_Kopieren4_Func035C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Goukakyuu_Kopieren4_Actions takes nothing returns nothing
call ClearSelectionForPlayer(Player(0))
set udg_unit09=GetSpellAbilityUnit()
call UnitRemoveAbilityBJ('A002',udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,130.00)
call PlaySoundBJ(udg_sound70)
call SetUnitAnimation(udg_unit34,"Spell One")
call TriggerSleepAction(0.02)
call ClearSelectionForPlayer(Player(0))
call PlaySoundBJ(udg_sound69)
call SetUnitAnimation(udg_unit34,"Spell One")
call TriggerSleepAction(0.02)
call ClearSelectionForPlayer(Player(0))
if(Trig_Goukakyuu_Kopieren4_Func013C())then
call PlaySoundBJ(udg_sound18)
else
call PlaySoundBJ(udg_sound19)
endif
call PlaySoundBJ(udg_sound70)
call SetUnitAnimation(udg_unit34,"Spell One")
call TriggerSleepAction(0.02)
call ClearSelectionForPlayer(Player(0))
call SetUnitAnimation(udg_unit34,"Spell Throw")
call SelectUnitForPlayerSingle(udg_unit34,GetOwningPlayer(udg_unit34))
call EnableTrigger(udg_trigger168)
call EnableTrigger(udg_trigger169)
call CreateNUnitsAtLocFacingLocBJ(1,'h003',GetOwningPlayer(udg_unit09),GetUnitLoc(udg_unit09),GetSpellTargetLoc())
set udg_units06[S2I("GOUKAKYUU4")]=GetLastCreatedUnit()
call PlaySoundBJ(udg_sound69)
call PlaySoundBJ(udg_sound67)
call SetUnitVertexColorBJ(udg_units06[S2I("GOUKAKYUU4")],100,100,100,55.00)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitTimeScalePercent(udg_units06[S2I("GOUKAKYUU4")],3.00)
call TriggerSleepAction(1.94)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit34))
call DisableTrigger(udg_trigger168)
call DisableTrigger(udg_trigger169)
call ForGroupBJ(GetUnitsOfTypeIdAll('h003'),function Trig_Goukakyuu_Kopieren4_Func034A)
if(Trig_Goukakyuu_Kopieren4_Func035C())then
call UnitAddAbilityBJ('A002',udg_unit34)
else
endif
endfunction
function Trig_Goukakyuu_Move_Kopieren4_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units06[S2I("Geschoss4")],PolarProjectionBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),59.00,GetUnitFacing(udg_units06[S2I("Geschoss4")])))
call UnitApplyTimedLifeBJ(1.25,'BTLF',GetLastCreatedUnit())
endfunction
function Trig_Goukakyuu_Special_Kopieren4_Actions takes nothing returns nothing
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit34),10.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),"LW10.mdx")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call TriggerSleepAction(0.02)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units06[S2I("Geschoss4")]),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call DestroyEffectBJ(GetLastCreatedEffectBJ())
endfunction
function Trig_Kage_Bunshin_no_Jutsu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu_Actions takes nothing returns nothing
set udg_units07[0]=GetSpellAbilityUnit()
if(Trig_Kage_Bunshin_no_Jutsu_Func002C())then
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[1]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[1],"shadowclone.mdx")
call PlaySoundBJ(udg_sound108)
call PlaySoundBJ(udg_sound109)
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[2]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[2],"shadowclone.mdx")
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[3]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[3],"shadowclone.mdx")
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[4]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[4],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/5.00))
call SetUnitManaBJ(udg_units07[1],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/5.00))
call SetUnitManaBJ(udg_units07[2],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/5.00))
call SetUnitManaBJ(udg_units07[3],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/5.00))
call SetUnitManaBJ(udg_units07[4],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/5.00))
else
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[1]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[1],"shadowclone.mdx")
call PlaySoundBJ(udg_sound108)
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[2]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[2],"shadowclone.mdx")
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[3]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[3],"shadowclone.mdx")
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[4]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[4],"shadowclone.mdx")
call CreateNUnitsAtLoc(1,'O004',GetOwningPlayer(udg_units07[0]),GetUnitLoc(udg_units07[0]),bj_UNIT_FACING)
set udg_units07[5]=GetLastCreatedUnit()
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[5],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
call SetUnitManaBJ(udg_units07[1],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
call SetUnitManaBJ(udg_units07[2],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
call SetUnitManaBJ(udg_units07[3],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
call SetUnitManaBJ(udg_units07[4],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
call SetUnitManaBJ(udg_units07[5],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])/6.00))
endif
call SetHeroLevelBJ(udg_units07[1],GetHeroLevel(udg_units07[0]),false)
call SetHeroLevelBJ(udg_units07[2],GetHeroLevel(udg_units07[0]),false)
call SetHeroLevelBJ(udg_units07[3],GetHeroLevel(udg_units07[0]),false)
call SetHeroLevelBJ(udg_units07[4],GetHeroLevel(udg_units07[0]),false)
call SetHeroLevelBJ(udg_units07[5],GetHeroLevel(udg_units07[0]),false)
call EnableTrigger(udg_trigger176)
call EnableTrigger(udg_trigger177)
call EnableTrigger(udg_trigger178)
call EnableTrigger(udg_trigger179)
call EnableTrigger(udg_trigger180)
call EnableTrigger(udg_trigger181)
call EnableTrigger(udg_trigger171)
call EnableTrigger(udg_trigger172)
call EnableTrigger(udg_trigger173)
call EnableTrigger(udg_trigger174)
call EnableTrigger(udg_trigger175)
endfunction
function Trig_Kage_Bunshin_no_Jutsu2_Conditions takes nothing returns boolean
if(not(GetUnitLifePercent(udg_units07[1])<=99.99))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu2_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[1],"shadowclone.mdx")
call TriggerSleepAction(0.15)
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[1])))
call RemoveUnit(udg_units07[1])
endfunction
function Trig_Kage_Bunshin_no_Jutsu3_Conditions takes nothing returns boolean
if(not(GetUnitLifePercent(udg_units07[2])<=99.99))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu3_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[2],"shadowclone.mdx")
call TriggerSleepAction(0.15)
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[2])))
call RemoveUnit(udg_units07[2])
endfunction
function Trig_Kage_Bunshin_no_Jutsu4_Conditions takes nothing returns boolean
if(not(GetUnitLifePercent(udg_units07[3])<=99.99))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu4_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[3],"shadowclone.mdx")
call TriggerSleepAction(0.15)
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[3])))
call RemoveUnit(udg_units07[3])
endfunction
function Trig_Kage_Bunshin_no_Jutsu5_Conditions takes nothing returns boolean
if(not(GetUnitLifePercent(udg_units07[4])<=99.99))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu5_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[4],"shadowclone.mdx")
call TriggerSleepAction(0.15)
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[4])))
call RemoveUnit(udg_units07[4])
endfunction
function Trig_Kage_Bunshin_no_Jutsu6_Conditions takes nothing returns boolean
if(not(GetUnitLifePercent(udg_units07[4])<=99.99))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu6_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[5],"shadowclone.mdx")
call TriggerSleepAction(0.15)
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[5])))
call RemoveUnit(udg_units07[5])
endfunction
function Trig_Kage_Bunshin_no_Jutsu7_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu7_Actions takes nothing returns nothing
call TriggerSleepAction(9.00)
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[1],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[1])))
call TriggerSleepAction(0.25)
call RemoveUnit(udg_units07[1])
call EnableTrigger(GetTriggeringTrigger())
call EnableTrigger(udg_trigger181)
endfunction
function Trig_Kage_Bunshin_no_Jutsu8_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu8_Actions takes nothing returns nothing
call TriggerSleepAction(9.10)
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[2],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[2])))
call TriggerSleepAction(0.35)
call RemoveUnit(udg_units07[2])
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kage_Bunshin_no_Jutsu9_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu9_Actions takes nothing returns nothing
call TriggerSleepAction(9.30)
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[3],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[3])))
call TriggerSleepAction(0.25)
call RemoveUnit(udg_units07[3])
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kage_Bunshin_no_Jutsu10_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu10_Actions takes nothing returns nothing
call TriggerSleepAction(9.70)
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[4],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[4])))
call TriggerSleepAction(0.35)
call RemoveUnit(udg_units07[4])
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kage_Bunshin_no_Jutsu11_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu11_Actions takes nothing returns nothing
call TriggerSleepAction(10.00)
call AddSpecialEffectTargetUnitBJ("foot",udg_units07[5],"shadowclone.mdx")
call SetUnitManaBJ(udg_units07[0],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[0])+GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[5])))
call TriggerSleepAction(0.45)
call RemoveUnit(udg_units07[5])
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kage_Bunshin_no_Jutsu12_Actions takes nothing returns nothing
call SetUnitManaBJ(udg_units07[1],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[1])-4.00))
call SetUnitManaBJ(udg_units07[2],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[2])-3.00))
call SetUnitManaBJ(udg_units07[3],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[3])-5.00))
call SetUnitManaBJ(udg_units07[4],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[4])-3.00))
call SetUnitManaBJ(udg_units07[5],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units07[5])-4.00))
endfunction
function Trig_Kage_Bunshin_no_Jutsu13_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu13_Actions takes nothing returns nothing
call TriggerSleepAction(0.04)
call PlaySoundBJ(udg_sound109)
call TriggerSleepAction(0.02)
call PlaySoundBJ(udg_sound108)
call TriggerSleepAction(0.03)
call PlaySoundBJ(udg_sound109)
call TriggerSleepAction(0.14)
call SelectHeroSkill(udg_units07[1],'A00D')
call SelectHeroSkill(udg_units07[2],'A00D')
call SelectHeroSkill(udg_units07[3],'A00D')
call SelectHeroSkill(udg_units07[4],'A00D')
call SelectHeroSkill(udg_units07[5],'A00D')
call UnitRemoveAbilityBJ('A00D',udg_units07[1])
call UnitRemoveAbilityBJ('A00D',udg_units07[2])
call UnitRemoveAbilityBJ('A00D',udg_units07[3])
call UnitRemoveAbilityBJ('A00D',udg_units07[4])
call UnitRemoveAbilityBJ('A00D',udg_units07[5])
endfunction
function Trig_Kage_Bunshin_no_Jutsu14_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00D'))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu14_Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu14_Func003C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kage_Bunshin_no_Jutsu14_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound67)
call TriggerSleepAction(0.05)
if(Trig_Kage_Bunshin_no_Jutsu14_Func003C())then
call PlaySoundBJ(udg_sound20)
else
if(Trig_Kage_Bunshin_no_Jutsu14_Func003Func001C())then
call PlaySoundBJ(udg_sound105)
else
endif
endif
call TriggerSleepAction(12.00)
call DisableTrigger(udg_trigger171)
call DisableTrigger(udg_trigger172)
call DisableTrigger(udg_trigger173)
call DisableTrigger(udg_trigger174)
call DisableTrigger(udg_trigger175)
endfunction
function Trig_Hayabusa_Otoshi_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi_Actions takes nothing returns nothing
call UnitRemoveAbilityBJ('A002',udg_unit34)
set udg_unit10=GetSpellTargetUnit()
set udg_unit11=GetSpellAbilityUnit()
call PauseUnitBJ(true,GetSpellTargetUnit())
call PauseUnitBJ(true,GetSpellAbilityUnit())
call SetUnitAnimation(udg_unit10,"Death")
call SetUnitTimeScalePercent(udg_unit11,185.00)
call SetUnitTimeScalePercent(udg_unit34,1.00)
call ResetUnitAnimation(udg_unit34)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitAnimation(udg_unit11,"Attack Two")
call UnitAddAbilityBJ('Aave',udg_unit10)
call UnitAddAbilityBJ('Aave',udg_unit11)
call SetUnitFlyHeightBJ(udg_unit10,100.00,0.00)
call EnableTrigger(udg_trigger185)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit10,1700.00,100.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit10,2800.00,1700.00)
call TriggerSleepAction(0.39)
call PauseUnitBJ(true,udg_unit10)
call SetUnitAnimation(udg_unit10,"Death")
call TriggerSleepAction(0.19)
call SetUnitAnimation(udg_unit10,"Death")
call SetUnitFlyHeightBJ(udg_unit10,0.00,2800.00)
call UnitRemoveAbilityBJ('Aave',udg_unit10)
call PauseUnitBJ(false,udg_unit10)
call DisableTrigger(udg_trigger185)
call TriggerSleepAction(0.25)
call UnitDamageTargetBJ(udg_unit34,udg_unit10,udg_real03,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call UnitRemoveAbilityBJ('Aave',udg_unit34)
call PauseUnitBJ(false,udg_unit34)
endfunction
function Trig_Hayabusa_Otoshi5_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi5_Actions takes nothing returns nothing
call UnitAddAbilityBJ('Aave',udg_unit11)
call SetUnitFlyHeightBJ(udg_unit11,100.00,0.00)
call TriggerSleepAction(0.21)
call SetUnitFlyHeightBJ(udg_unit11,1700.00,100.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit11,2800.00,1700.00)
call TriggerSleepAction(0.39)
call SetUnitTimeScalePercent(udg_unit11,100.00)
call PauseUnitBJ(true,udg_unit11)
call SetUnitAnimation(udg_unit11,"Stand Ready")
call TriggerSleepAction(0.19)
call SetUnitAnimation(udg_unit11,"Stand Ready")
call SetUnitFlyHeightBJ(udg_unit11,0.00,2800.00)
call UnitRemoveAbilityBJ('Aave',udg_unit11)
call PauseUnitBJ(false,udg_unit11)
endfunction
function Trig_Hayabusa_Otoshi2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi2_Func010C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit10))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi2_Actions takes nothing returns nothing
call TriggerSleepAction(0.04)
call PlaySoundBJ(udg_sound101)
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit10,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.15)
call PlaySoundBJ(udg_sound21)
call TriggerSleepAction(1.50)
if(Trig_Hayabusa_Otoshi2_Func010C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit10),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectTargetUnitBJ("foot",udg_unit10,"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
endif
call AddSpecialEffectTargetUnitBJ("foot",udg_unit10,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endfunction
function Trig_Hayabusa_Otoshi3_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi3_Func002C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit10))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi3_Actions takes nothing returns nothing
call TriggerSleepAction(1.60)
if(Trig_Hayabusa_Otoshi3_Func002C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit10),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit10),"HelGate.mdx")
endif
endfunction
function Trig_Hayabusa_Otoshi4_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi4_Func007C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi4_Actions takes nothing returns nothing
call TriggerSleepAction(1.60)
call PauseUnitBJ(true,udg_unit10)
call TriggerSleepAction(0.05)
call SetUnitAnimation(udg_unit10,"Death")
call TriggerSleepAction(1.75)
call PauseUnitBJ(false,udg_unit10)
if(Trig_Hayabusa_Otoshi4_Func007C())then
call UnitAddAbilityBJ('A002',udg_unit34)
call EnableTrigger(udg_trigger275)
else
endif
endfunction
function Trig_Hayabusa_Otoshi6_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00F'))then
return false
endif
return true
endfunction
function Trig_Hayabusa_Otoshi6_Actions takes nothing returns nothing
call TriggerSleepAction(0.04)
call SetUnitFlyHeightBJ(udg_unit11,100.00,0.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit11,1700.00,100.00)
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit11,2800.00,1700.00)
call TriggerSleepAction(0.52)
call SetUnitFlyHeightBJ(udg_unit11,0.00,2800.00)
endfunction
function Trig_Sofusha_San_no_Tachi_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00H'))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi_Actions takes nothing returns nothing
set udg_unit22=GetSpellTargetUnit()
call PlaySoundBJ(udg_sound22)
call PauseUnitBJ(true,udg_unit22)
call AddLightningLoc("SPLK",GetUnitLoc(udg_unit34),GetUnitLoc(udg_unit22))
call TriggerSleepAction(1.75)
call DestroyLightningBJ(GetLastCreatedLightningBJ())
call TriggerSleepAction(0.25)
call PauseUnitBJ(false,udg_unit22)
call TriggerSleepAction(1.00)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Sofusha_San_no_Tachi2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00H'))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi2_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound103)
call PlaySoundBJ(udg_sound104)
set udg_unit28=GetSpellTargetUnit()
call SetUnitTimeScalePercent(udg_unit34,1.00)
call CreateNUnitsAtLoc(1,'o015',GetOwningPlayer(udg_unit34),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units16[1]=GetLastCreatedUnit()
call SetUnitTimeScalePercent(udg_units16[1],210.00)
call MoveLightningLoc(udg_lightnings01[1],GetUnitLoc(udg_units16[1]),GetUnitLoc(udg_unit34))
call CreateNUnitsAtLoc(1,'o015',GetOwningPlayer(udg_unit34),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units16[2]=GetLastCreatedUnit()
call SetUnitTimeScalePercent(udg_units16[2],210.00)
call MoveLightningLoc(udg_lightnings01[2],GetUnitLoc(udg_units16[2]),GetUnitLoc(udg_unit34))
call EnableTrigger(udg_trigger192)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call CreateNUnitsAtLoc(1,'o015',GetOwningPlayer(udg_unit34),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units16[3]=GetLastCreatedUnit()
call MoveLightningLoc(udg_lightnings01[3],GetUnitLoc(udg_units16[3]),GetUnitLoc(udg_unit34))
call CreateNUnitsAtLoc(1,'o015',GetOwningPlayer(udg_unit34),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units16[4]=GetLastCreatedUnit()
call MoveLightningLoc(udg_lightnings01[4],GetUnitLoc(udg_units16[4]),GetUnitLoc(udg_unit34))
call TriggerSleepAction(1.00)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call EnableTrigger(udg_trigger194)
call PlaySoundBJ(udg_sound22)
call SetUnitTimeScalePercent(udg_units16[1],190.00)
call SetUnitTimeScalePercent(udg_units16[2],190.00)
call SetUnitTimeScalePercent(udg_units16[3],190.00)
call SetUnitTimeScalePercent(udg_units16[4],190.00)
call DisableTrigger(udg_trigger192)
call EnableTrigger(udg_trigger193)
call TriggerSleepAction(0.30)
call SetUnitTimeScalePercent(udg_units16[1],200.00)
call SetUnitTimeScalePercent(udg_units16[2],200.00)
call SetUnitTimeScalePercent(udg_units16[3],200.00)
call SetUnitTimeScalePercent(udg_units16[4],200.00)
call TriggerSleepAction(0.05)
call SetUnitTimeScalePercent(udg_units16[1],300.00)
call SetUnitTimeScalePercent(udg_units16[2],300.00)
call SetUnitTimeScalePercent(udg_units16[3],300.00)
call SetUnitTimeScalePercent(udg_units16[4],300.00)
call TriggerSleepAction(0.05)
call DisableTrigger(udg_trigger193)
call SetUnitTimeScalePercent(udg_units16[1],30.00)
call SetUnitTimeScalePercent(udg_units16[2],30.00)
call SetUnitTimeScalePercent(udg_units16[3],30.00)
call SetUnitTimeScalePercent(udg_units16[4],30.00)
call TriggerSleepAction(0.35)
call SetUnitTimeScalePercent(udg_units16[1],0.10)
call SetUnitTimeScalePercent(udg_units16[2],0.80)
call SetUnitTimeScalePercent(udg_units16[3],0.50)
call SetUnitTimeScalePercent(udg_units16[4],0.20)
call TriggerSleepAction(3.60)
call DisableTrigger(udg_trigger194)
call TriggerSleepAction(0.04)
call MoveLightningLoc(udg_lightnings01[1],GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
call MoveLightningLoc(udg_lightnings01[2],GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
call MoveLightningLoc(udg_lightnings01[3],GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
call MoveLightningLoc(udg_lightnings01[4],GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
call TriggerSleepAction(0.01)
call RemoveUnit(udg_units16[1])
call RemoveUnit(udg_units16[2])
call RemoveUnit(udg_units16[3])
call RemoveUnit(udg_units16[4])
call PauseUnitBJ(false,udg_unit28)
endfunction
function Trig_Sofusha_San_no_Tachi3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units16[1],PolarProjectionBJ(GetUnitLoc(udg_units16[1]),11.00,(GetUnitFacing(udg_unit34)+10.00)))
call SetUnitPositionLoc(udg_units16[2],PolarProjectionBJ(GetUnitLoc(udg_units16[2]),11.00,(GetUnitFacing(udg_unit34)-10.00)))
call SetUnitPositionLoc(udg_units16[3],PolarProjectionBJ(GetUnitLoc(udg_units16[3]),10.00,(GetUnitFacing(udg_unit34)+5.00)))
call SetUnitPositionLoc(udg_units16[4],PolarProjectionBJ(GetUnitLoc(udg_units16[4]),10.00,(GetUnitFacing(udg_unit34)-5.00)))
call MoveLightningLoc(udg_lightnings01[1],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[1]))
call MoveLightningLoc(udg_lightnings01[2],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[2]))
call MoveLightningLoc(udg_lightnings01[3],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[3]))
call MoveLightningLoc(udg_lightnings01[4],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[4]))
endfunction
function Trig_Sofusha_San_no_Tachi4_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_units16[1]),GetUnitLoc(udg_units16[2]))<=15.00))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi4_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_units16[2]),GetUnitLoc(udg_units16[1]))<=15.00))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi4_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_units16[3]),GetUnitLoc(udg_unit28))<=15.00))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi4_Func004C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_units16[4]),GetUnitLoc(udg_unit28))<=15.00))then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi4_Actions takes nothing returns nothing
if(Trig_Sofusha_San_no_Tachi4_Func001C())then
call SetUnitTimeScalePercent(udg_units16[1],1.00)
else
call SetUnitPositionLoc(udg_units16[1],PolarProjectionBJ(GetUnitLoc(udg_units16[1]),12.00,(AngleBetweenPoints(GetUnitLoc(udg_units16[1]),GetUnitLoc(udg_unit28))+1.00)))
call MoveLightningLoc(udg_lightnings01[1],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[1]))
endif
if(Trig_Sofusha_San_no_Tachi4_Func002C())then
call SetUnitTimeScalePercent(udg_units16[2],1.00)
else
call SetUnitPositionLoc(udg_units16[2],PolarProjectionBJ(GetUnitLoc(udg_units16[2]),12.00,AngleBetweenPoints(GetUnitLoc(udg_units16[2]),GetUnitLoc(udg_unit28))))
call MoveLightningLoc(udg_lightnings01[2],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[2]))
endif
if(Trig_Sofusha_San_no_Tachi4_Func003C())then
call SetUnitTimeScalePercent(udg_units16[3],1.00)
else
call SetUnitPositionLoc(udg_units16[3],PolarProjectionBJ(GetUnitLoc(udg_units16[3]),11.00,AngleBetweenPoints(GetUnitLoc(udg_units16[3]),GetUnitLoc(udg_unit28))))
call MoveLightningLoc(udg_lightnings01[3],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[3]))
endif
if(Trig_Sofusha_San_no_Tachi4_Func004C())then
call SetUnitTimeScalePercent(udg_units16[4],1.00)
else
call SetUnitPositionLoc(udg_units16[4],PolarProjectionBJ(GetUnitLoc(udg_units16[4]),11.00,AngleBetweenPoints(GetUnitLoc(udg_units16[4]),GetUnitLoc(udg_unit28))))
call MoveLightningLoc(udg_lightnings01[4],GetUnitLoc(udg_unit34),GetUnitLoc(udg_units16[4]))
endif
endfunction
function Trig_Sofusha_San_no_Tachi5_Func001C takes nothing returns boolean
if((DistanceBetweenPoints(GetUnitLoc(udg_units16[1]),GetUnitLoc(udg_unit28))<=20.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_units16[2]),GetUnitLoc(udg_unit28))<=20.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_units16[3]),GetUnitLoc(udg_unit28))<=20.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_units16[4]),GetUnitLoc(udg_unit28))<=20.00))then
return true
endif
return false
endfunction
function Trig_Sofusha_San_no_Tachi5_Conditions takes nothing returns boolean
if(not Trig_Sofusha_San_no_Tachi5_Func001C())then
return false
endif
return true
endfunction
function Trig_Sofusha_San_no_Tachi5_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit28)
endfunction
function Trig_Sofusha_San_no_Tachi6_Actions takes nothing returns nothing
call AddLightningLoc("SPLK",GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
set udg_lightnings01[1]=GetLastCreatedLightningBJ()
call AddLightningLoc("SPLK",GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
set udg_lightnings01[2]=GetLastCreatedLightningBJ()
call AddLightningLoc("SPLK",GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
set udg_lightnings01[3]=GetLastCreatedLightningBJ()
call AddLightningLoc("SPLK",GetUnitLoc(udg_unit103),GetUnitLoc(udg_unit104))
set udg_lightnings01[4]=GetLastCreatedLightningBJ()
endfunction
function Trig_Kage_Shuriken_no_Jutsu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00K'))then
return false
endif
return true
endfunction
function Trig_Kage_Shuriken_no_Jutsu_Func013C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kage_Shuriken_no_Jutsu_Func024C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Kage_Shuriken_no_Jutsu_Actions takes nothing returns nothing
call UnitRemoveAbilityBJ('A002',udg_unit34)
set udg_units08[0]=GetSpellAbilityUnit()
call SetUnitTimeScalePercent(udg_unit34,5.00)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call CreateNUnitsAtLocFacingLocBJ(1,'h004',GetOwningPlayer(udg_units08[0]),GetUnitLoc(udg_units08[0]),GetSpellTargetLoc())
set udg_units08[1]=GetLastCreatedUnit()
call IssuePointOrderLocBJ(udg_units08[1],"move",GetSpellTargetLoc())
call EnableTrigger(udg_trigger197)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit34,"stand Ready")
call SetUnitTimeScalePercent(udg_unit34,100.00)
if(Trig_Kage_Shuriken_no_Jutsu_Func013C())then
call PlaySoundBJ(udg_sound23)
else
call PlaySoundBJ(udg_sound103)
endif
call TriggerSleepAction(0.20)
call CreateNUnitsAtLoc(1,'h005',GetOwningPlayer(udg_units08[1]),GetUnitLoc(udg_units08[1]),bj_UNIT_FACING)
set udg_units08[2]=GetLastCreatedUnit()
call EnableTrigger(udg_trigger198)
call SetUnitAnimation(udg_unit34,"Attack One")
call TriggerSleepAction(2.10)
call DisableTrigger(udg_trigger198)
call DisableTrigger(udg_trigger197)
call RemoveUnit(udg_units08[1])
call RemoveUnit(udg_units08[2])
if(Trig_Kage_Shuriken_no_Jutsu_Func024C())then
call UnitAddAbilityBJ('A002',udg_unit34)
else
endif
endfunction
function Trig_Kage_Shuriken_no_Jutsu2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units08[1],PolarProjectionBJ(GetUnitLoc(udg_units08[1]),16.00,GetUnitFacing(udg_units08[1])))
endfunction
function Trig_Kage_Shuriken_no_Jutsu3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units08[2],PolarProjectionBJ(GetUnitLoc(udg_units08[2]),14.00,GetUnitFacing(udg_units08[1])))
endfunction
function Trig_Shuriken_v_ogne_Func002001 takes nothing returns boolean
return(GetSpellAbilityId()=='A00B')
endfunction
function Trig_Shuriken_v_ogne_Func002002 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00N',GetSpellAbilityUnit())==1)
endfunction
function Trig_Shuriken_v_ogne_Conditions takes nothing returns boolean
if(not GetBooleanAnd(Trig_Shuriken_v_ogne_Func002001(),Trig_Shuriken_v_ogne_Func002002()))then
return false
endif
return true
endfunction
function Trig_Shuriken_v_ogne_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,4)==1))then
return false
endif
return true
endfunction
function Trig_Shuriken_v_ogne_Actions takes nothing returns nothing
if(Trig_Shuriken_v_ogne_Func001C())then
else
set udg_units09[0]=GetSpellAbilityUnit()
call CreateNUnitsAtLoc(1,'o006',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units09[1]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o006',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units09[2]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o006',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units09[3]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o006',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units09[4]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o006',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units09[5]=GetLastCreatedUnit()
call SetUnitPositionLoc(udg_units09[1],GetUnitLoc(udg_units09[0]))
call SetUnitPositionLoc(udg_units09[2],GetUnitLoc(udg_units09[0]))
call SetUnitPositionLoc(udg_units09[3],GetUnitLoc(udg_units09[0]))
call SetUnitPositionLoc(udg_units09[4],GetUnitLoc(udg_units09[0]))
call SetUnitPositionLoc(udg_units09[5],GetUnitLoc(udg_units09[0]))
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.12)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call PauseUnitBJ(true,udg_unit34)
call SetUnitFacingTimed(udg_units09[1],bj_UNIT_FACING,0)
call IssuePointOrderLocBJ(udg_units09[1],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[1]),400.00,(GetUnitFacing(udg_units05[0])+0.00)))
call TriggerSleepAction(0.15)
call IssuePointOrderLocBJ(udg_units09[2],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[2]),400.00,(GetUnitFacing(udg_units05[0])+9.00)))
call TriggerSleepAction(0.15)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call IssuePointOrderLocBJ(udg_units09[3],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[3]),400.00,(GetUnitFacing(udg_units05[0])-9.00)))
call TriggerSleepAction(0.12)
call IssuePointOrderLocBJ(udg_units09[4],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[4]),400.00,(GetUnitFacing(udg_units05[0])+5.00)))
call TriggerSleepAction(0.15)
call IssuePointOrderLocBJ(udg_units09[5],"shockwave",PolarProjectionBJ(GetUnitLoc(udg_units05[5]),400.00,(GetUnitFacing(udg_units05[0])-5.00)))
call PauseUnitBJ(false,udg_unit34)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveUnit(udg_units09[1])
call RemoveUnit(udg_units09[2])
call RemoveUnit(udg_units09[3])
call RemoveUnit(udg_units09[4])
call RemoveUnit(udg_units09[5])
endif
endfunction
function Trig_Gouken_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00P',GetAttacker())==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func007Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func007Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func007C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func015Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func015C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func035Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func035Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001Func035C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Actions takes nothing returns nothing
if(Trig_Gouken_Func001C())then
if(Trig_Gouken_Func001Func001C())then
set udg_unit13=GetAttacker()
set udg_unit12=GetAttackedUnitBJ()
call SetUnitInvulnerable(udg_unit13,true)
call CreateNUnitsAtLoc(1,'o013',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
call ShowUnitHide(udg_unit13)
call PauseUnitBJ(true,udg_unit34)
if(Trig_Gouken_Func001Func001Func007C())then
call PlaySoundBJ(udg_sound99)
else
if(Trig_Gouken_Func001Func001Func007Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
else
if(Trig_Gouken_Func001Func001Func007Func001Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"blackblink.mdx")
else
call PlaySoundBJ(udg_sound75)
endif
endif
endif
call TriggerSleepAction(0.01)
call StopSoundBJ(udg_sound75,true)
if(Trig_Gouken_Func001Func001Func010C())then
call UnitDamageTargetBJ(udg_unit13,udg_unit12,95.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
call UnitDamageTargetBJ(udg_unit13,udg_unit12,90.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endif
call SetUnitPositionLoc(udg_unit13,PolarProjectionBJ(GetUnitLoc(udg_unit13),(DistanceBetweenPoints(GetUnitLoc(udg_unit12),GetUnitLoc(udg_unit13))+190.00),GetUnitFacing(udg_unit13)))
call TriggerSleepAction(0.01)
call ShowUnitShow(udg_unit13)
call RemoveUnit(GetLastCreatedUnit())
if(Trig_Gouken_Func001Func001Func015C())then
call PlaySoundBJ(udg_sound74)
else
if(Trig_Gouken_Func001Func001Func015Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
else
call PlaySoundBJ(udg_sound99)
endif
endif
call SelectUnitForPlayerSingle(udg_unit34,GetOwningPlayer(udg_unit34))
call SetUnitAnimation(udg_unit13,"Attack Two")
call SetUnitTimeScalePercent(udg_unit34,188.00)
call PlaySoundBJ(udg_sound100)
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,70.00)
call TriggerSleepAction(0.01)
call SetUnitFacingToFaceUnitTimed(udg_unit34,udg_unit12,0.20)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit12,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitVertexColorBJ(udg_unit34,100,100,100,40.00)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call TriggerSleepAction(0.01)
call SetUnitInvulnerable(udg_unit13,false)
call TriggerSleepAction(0.03)
call PauseUnitBJ(false,udg_unit34)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,10.00)
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,0.00)
call TriggerExecute(udg_trigger204)
else
if(Trig_Gouken_Func001Func001Func035C())then
else
if(Trig_Gouken_Func001Func001Func035Func001C())then
set udg_unit13=GetAttacker()
set udg_unit12=GetAttackedUnitBJ()
call PauseUnitBJ(true,udg_unit13)
call PauseUnitBJ(true,udg_unit12)
call UnitAddAbilityBJ('Aave',udg_unit12)
call SetUnitTimeScalePercent(udg_unit13,200.00)
call SetUnitAnimation(udg_unit13,"Attack Two")
call PlaySoundBJ(udg_sound100)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit12),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call UnitDamageTargetBJ(udg_unit13,udg_unit12,40.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.20)
call SetUnitAnimation(udg_unit12,"Death")
call SetUnitAnimation(udg_unit13,"Attack One")
call PlaySoundBJ(udg_sound101)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit12),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call UnitDamageTargetBJ(udg_unit13,udg_unit12,30.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.20)
call UnitRemoveAbilityBJ('Aave',udg_unit12)
call SetUnitTimeScalePercent(udg_unit13,140.00)
call SetUnitAnimation(udg_unit13,"Attack Three")
call TriggerSleepAction(0.03)
call PlaySoundBJ(udg_sound100)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit12),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call UnitDamageTargetBJ(udg_unit13,udg_unit12,40.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.20)
call SetUnitTimeScalePercent(udg_unit13,100.00)
call PauseUnitBJ(false,udg_unit13)
call TriggerSleepAction(0.50)
call PauseUnitBJ(false,udg_unit12)
else
if(Trig_Gouken_Func001Func001Func035Func001Func001C())then
else
set udg_unit13=GetAttacker()
set udg_unit12=GetAttackedUnitBJ()
set udg_location02=PolarProjectionBJ(GetUnitLoc(udg_unit12),500.00,GetUnitFacing(udg_unit12))
call PauseUnitBJ(true,udg_unit13)
call SetUnitTimeScalePercent(udg_unit13,150.00)
call SetUnitTimeScalePercent(udg_unit12,85.00)
call SetUnitAnimation(udg_unit13,"Attack Two")
call PlaySoundBJ(udg_sound101)
call TriggerSleepAction(0.22)
call UnitAddAbilityBJ('Aave',udg_unit12)
call EnableTrigger(udg_trigger201)
call EnableTrigger(udg_trigger202)
call SetUnitAnimation(udg_unit12,"Death")
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.09)
call UnitDamageTargetBJ(udg_unit13,udg_unit12,45.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DisableTrigger(udg_trigger201)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit13),"blackblink.mdx")
call SetUnitVertexColorBJ(udg_unit34,100,100,100,100.00)
call SetUnitPositionLoc(udg_unit13,PolarProjectionBJ(GetUnitLoc(udg_unit12),100.00,(GetUnitFacing(udg_unit12)+120.00)))
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit13),"blackblink.mdx")
set udg_effect07=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.01)
call DestroyEffectBJ(udg_effect07)
call TriggerSleepAction(0.05)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,50.00)
call TriggerSleepAction(0.02)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,0.00)
call EnableTrigger(udg_trigger203)
call DisableTrigger(udg_trigger202)
call SetUnitTimeScalePercent(udg_unit12,100.00)
call SetUnitTimeScalePercent(udg_unit13,100.00)
call UnitRemoveAbilityBJ('Aave',udg_unit12)
call PauseUnitBJ(false,udg_unit13)
call TriggerSleepAction(0.10)
call DisableTrigger(GetTriggeringTrigger())
endif
endif
endif
endif
else
endif
endfunction
function Trig_Gouken2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit12,PolarProjectionBJ(GetUnitLoc(udg_unit12),8.00,GetUnitFacing(udg_unit13)))
endfunction
function Trig_Gouken3_Func001Func002C takes nothing returns boolean
if((GetTerrainTypeBJ(GetUnitLoc(udg_unit12))=='Lrok'))then
return true
endif
return false
endfunction
function Trig_Gouken3_Func001C takes nothing returns boolean
if(not Trig_Gouken3_Func001Func002C())then
return false
endif
return true
endfunction
function Trig_Gouken3_Actions takes nothing returns nothing
if(Trig_Gouken3_Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit12),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit12),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Gouken4_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00P',GetAttacker())==1))then
return false
endif
return true
endfunction
function Trig_Gouken4_Actions takes nothing returns nothing
set udg_unit13=GetAttacker()
set udg_unit12=GetAttackedUnitBJ()
set udg_location02=PolarProjectionBJ(GetUnitLoc(udg_unit12),500.00,GetUnitFacing(udg_unit12))
call PauseUnitBJ(true,udg_unit13)
call PauseUnitBJ(true,udg_unit12)
call UnitAddAbilityBJ('Aave',udg_unit12)
call SetUnitTimeScalePercent(udg_unit13,150.00)
call SetUnitTimeScalePercent(udg_unit12,85.00)
call SetUnitAnimation(udg_unit13,"Attack Two")
call PlaySoundBJ(udg_sound101)
call TriggerSleepAction(0.22)
call EnableTrigger(udg_trigger201)
call EnableTrigger(udg_trigger202)
call SetUnitAnimation(udg_unit12,"Death")
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.09)
call SetUnitLifeBJ(udg_unit12,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit12)-45.00))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DisableTrigger(udg_trigger201)
call DisableTrigger(udg_trigger202)
call SetUnitTimeScalePercent(udg_unit12,100.00)
call SetUnitTimeScalePercent(udg_unit13,100.00)
call PauseUnitBJ(false,udg_unit13)
call TriggerSleepAction(1.00)
call UnitRemoveAbilityBJ('Aave',udg_unit12)
call PauseUnitBJ(false,udg_unit12)
call TriggerSleepAction(0.25)
call EnableTrigger(udg_trigger200)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Gouken5_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger200)
call TriggerSleepAction(3.00)
call EnableTrigger(udg_trigger200)
call TriggerSleepAction(0.01)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Gouken6_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Gouken6_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger200)
endfunction
function Trig_Sabaku_Kyu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00Q'))then
return false
endif
return true
endfunction
function Trig_Sabaku_Kyu_Actions takes nothing returns nothing
set udg_unit14=GetSpellTargetUnit()
call PauseUnitBJ(true,udg_unit14)
call UnitAddAbilityBJ('Aave',udg_unit14)
call CreateNUnitsAtLoc(1,'o007',GetOwningPlayer(udg_unit39),GetUnitLoc(udg_unit14),bj_UNIT_FACING)
set udg_units11[0]=GetLastCreatedUnit()
call UnitAddAbilityBJ('Aave',udg_units11[0])
call SetUnitFlyHeightBJ(udg_units11[0],30.00,0.00)
call SetUnitFlyHeightBJ(udg_unit14,30.00,0.00)
call TriggerSleepAction(0.05)
call UnitAddAbilityBJ('A00S',udg_unit39)
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-30.00))
call SetUnitFlyHeightBJ(udg_units11[0],500.00,30.00)
call SetUnitFlyHeightBJ(udg_unit14,500.00,30.00)
call TriggerSleepAction(0.05)
call SetUnitFlyHeightBJ(udg_units11[0],700.00,500.00)
call SetUnitFlyHeightBJ(udg_unit14,850.00,500.00)
call TriggerSleepAction(1.90)
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-30.00))
call TriggerSleepAction(2.00)
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-30.00))
call TriggerSleepAction(2.00)
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-30.00))
call UnitApplyTimedLifeBJ(2.25,'BTLF',udg_units11[0])
call TriggerSleepAction(2.00)
call UnitRemoveAbilityBJ('A00S',udg_unit39)
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-30.00))
call SetUnitFlyHeightBJ(udg_unit14,0.00,800.00)
call PauseUnitBJ(false,udg_unit14)
endfunction
function Trig_Sabaku_Soso_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00S'))then
return false
endif
return true
endfunction
function Trig_Sabaku_Soso_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit14,"Objects\\Spawnmodels\\Orc\\OrcSmallDeathExplode\\OrcSmallDeathExplode.mdl")
call TriggerSleepAction(0.03)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit14,"Objects\\Spawnmodels\\Undead\\UndeadLargeDeathExplode\\UndeadLargeDeathExplode.mdl")
call SetUnitLifeBJ(udg_unit14,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit14)-100.00))
endfunction
function Trig_Gouken_Lee_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00T',GetAttacker())==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001Func001Func001Func004Func005C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001Func001Func001Func004Func008C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001Func001Func001Func004Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee_Actions takes nothing returns nothing
if(Trig_Gouken_Lee_Func001C())then
else
if(Trig_Gouken_Lee_Func001Func001C())then
else
if(Trig_Gouken_Lee_Func001Func001Func001C())then
set udg_unit16=GetAttacker()
set udg_unit15=GetAttackedUnitBJ()
call EnableTrigger(udg_trigger209)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SetUnitPositionLocFacingLocBJ(udg_unit16,GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit15))
call TriggerSleepAction(0.05)
call SetUnitPositionLocFacingLocBJ(udg_unit16,PolarProjectionBJ(GetUnitLoc(udg_unit15),(DistanceBetweenPoints(GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit16))+60.00),GetUnitFacing(udg_unit16)),GetUnitLoc(udg_unit15))
if(Trig_Gouken_Lee_Func001Func001Func001Func004Func005C())then
call SetUnitAnimation(udg_unit16,"Attack")
else
call SetUnitAnimation(udg_unit16,"Stand Spin")
endif
call SetUnitAnimation(udg_unit15,"Death")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
if(Trig_Gouken_Lee_Func001Func001Func001Func004Func008C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
call UnitDamageTargetBJ(udg_unit16,udg_unit15,16.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Gouken_Lee_Func001Func001Func001Func004Func010C())then
call TriggerSleepAction(0.32)
else
call TriggerSleepAction(0.30)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DisableTrigger(udg_trigger209)
else
endif
endif
endif
endfunction
function Trig_Gouken2_Lee_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),-5.00,GetUnitFacing(udg_unit16)))
endfunction
function Trig_Gouken_Lee22_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01E',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22_Func002Func004Func005C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22_Func002Func004Func008C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22_Func002Func004Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22_Actions takes nothing returns nothing
if(Trig_Gouken_Lee22_Func002C())then
set udg_unit16=GetAttacker()
set udg_unit15=GetAttackedUnitBJ()
call EnableTrigger(udg_trigger211)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SetUnitPositionLocFacingLocBJ(udg_unit16,GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit15))
call TriggerSleepAction(0.05)
call SetUnitPositionLocFacingLocBJ(udg_unit16,PolarProjectionBJ(GetUnitLoc(udg_unit15),(DistanceBetweenPoints(GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit16))+180.00),GetUnitFacing(udg_unit16)),GetUnitLoc(udg_unit15))
if(Trig_Gouken_Lee22_Func002Func004Func005C())then
call SetUnitTimeScalePercent(udg_unit40,180.00)
call SetUnitAnimation(udg_unit16,"Attack")
else
call SetUnitTimeScalePercent(udg_unit40,160.00)
call SetUnitAnimation(udg_unit16,"Attack 2")
endif
call SetUnitAnimation(udg_unit15,"Death")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
if(Trig_Gouken_Lee22_Func002Func004Func008C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
call UnitDamageTargetBJ(udg_unit16,udg_unit15,17.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Gouken_Lee22_Func002Func004Func010C())then
call TriggerSleepAction(0.09)
else
call TriggerSleepAction(0.08)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call SetUnitTimeScalePercent(udg_unit40,100.00)
call DisableTrigger(udg_trigger211)
else
endif
endfunction
function Trig_Gouken2_Lee22_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),-7.00,GetUnitFacing(udg_unit16)))
endfunction
function Trig_Gouken_Lee222_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01F',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee222_Func002Func004Func005C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee222_Func002Func004Func008C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee222_Func002Func004Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee222_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee222_Actions takes nothing returns nothing
if(Trig_Gouken_Lee222_Func002C())then
set udg_unit16=GetAttacker()
set udg_unit15=GetAttackedUnitBJ()
call EnableTrigger(udg_trigger213)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SetUnitPositionLocFacingLocBJ(udg_unit16,GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit15))
call TriggerSleepAction(0.05)
call SetUnitPositionLocFacingLocBJ(udg_unit16,PolarProjectionBJ(GetUnitLoc(udg_unit15),(DistanceBetweenPoints(GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit16))+120.00),GetUnitFacing(udg_unit16)),GetUnitLoc(udg_unit15))
if(Trig_Gouken_Lee222_Func002Func004Func005C())then
call SetUnitTimeScalePercent(udg_unit40,190.00)
call SetUnitAnimation(udg_unit16,"Attack")
else
call SetUnitTimeScalePercent(udg_unit40,170.00)
call SetUnitAnimation(udg_unit16,"Attack 2")
endif
call SetUnitAnimation(udg_unit15,"Death")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
if(Trig_Gouken_Lee222_Func002Func004Func008C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
call UnitDamageTargetBJ(udg_unit16,udg_unit15,18.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Gouken_Lee222_Func002Func004Func010C())then
call TriggerSleepAction(0.07)
else
call TriggerSleepAction(0.06)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call SetUnitTimeScalePercent(udg_unit40,100.00)
call DisableTrigger(udg_trigger213)
else
endif
endfunction
function Trig_Gouken2_Lee222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),-9.00,GetUnitFacing(udg_unit16)))
endfunction
function Trig_Gouken_Lee2222_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01G',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Func002Func004Func005C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Func002Func004Func007C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Func002Func004Func008C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Func002Func004Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee2222_Actions takes nothing returns nothing
if(Trig_Gouken_Lee2222_Func002C())then
set udg_unit16=GetAttacker()
set udg_unit15=GetAttackedUnitBJ()
call EnableTrigger(udg_trigger215)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SetUnitPositionLocFacingLocBJ(udg_unit16,GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit15))
call TriggerSleepAction(0.05)
call SetUnitPositionLocFacingLocBJ(udg_unit16,PolarProjectionBJ(GetUnitLoc(udg_unit15),(DistanceBetweenPoints(GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit16))+120.00),GetUnitFacing(udg_unit16)),GetUnitLoc(udg_unit15))
if(Trig_Gouken_Lee2222_Func002Func004Func005C())then
call SetUnitTimeScalePercent(udg_unit40,200.00)
call SetUnitAnimation(udg_unit16,"Attack")
else
call SetUnitTimeScalePercent(udg_unit40,190.00)
call SetUnitAnimation(udg_unit16,"Attack 2")
endif
call SetUnitAnimation(udg_unit15,"Death")
if(Trig_Gouken_Lee2222_Func002Func004Func007C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"AncientsWrath.mdx")
endif
if(Trig_Gouken_Lee2222_Func002Func004Func008C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
call UnitDamageTargetBJ(udg_unit16,udg_unit15,19.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Gouken_Lee2222_Func002Func004Func010C())then
call TriggerSleepAction(0.04)
else
call TriggerSleepAction(0.03)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call SetUnitTimeScalePercent(udg_unit40,100.00)
call DisableTrigger(udg_trigger215)
else
endif
endfunction
function Trig_Gouken2_Lee2222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),-10.00,GetUnitFacing(udg_unit16)))
endfunction
function Trig_Gouken_Lee22222_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01N',GetAttacker())>=1))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('AItf',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Func003Func004Func005C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Func003Func004Func007C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Func003Func004Func008C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Func003Func004Func010C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Func003C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Gouken_Lee22222_Actions takes nothing returns nothing
if(Trig_Gouken_Lee22222_Func003C())then
set udg_unit16=GetAttacker()
set udg_unit15=GetAttackedUnitBJ()
call EnableTrigger(udg_trigger217)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
call SetUnitPositionLocFacingLocBJ(udg_unit16,GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit15))
call TriggerSleepAction(0.05)
call SetUnitPositionLocFacingLocBJ(udg_unit16,PolarProjectionBJ(GetUnitLoc(udg_unit15),(DistanceBetweenPoints(GetUnitLoc(udg_unit15),GetUnitLoc(udg_unit16))+120.00),GetUnitFacing(udg_unit16)),GetUnitLoc(udg_unit15))
if(Trig_Gouken_Lee22222_Func003Func004Func005C())then
call SetUnitTimeScalePercent(udg_unit40,210.00)
call SetUnitAnimation(udg_unit16,"Attack")
else
call SetUnitTimeScalePercent(udg_unit40,200.00)
call SetUnitAnimation(udg_unit16,"Attack 2")
endif
call SetUnitAnimation(udg_unit15,"Death")
if(Trig_Gouken_Lee22222_Func003Func004Func007C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"Abilities\\Spells\\Orc\\MirrorImage\\MirrorImageCaster.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit16),"AncientsWrath.mdx")
endif
if(Trig_Gouken_Lee22222_Func003Func004Func008C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
call UnitDamageTargetBJ(udg_unit16,udg_unit15,21.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
if(Trig_Gouken_Lee22222_Func003Func004Func010C())then
call TriggerSleepAction(0.02)
else
call TriggerSleepAction(0.01)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call SetUnitTimeScalePercent(udg_unit40,100.00)
call DisableTrigger(udg_trigger217)
else
endif
endfunction
function Trig_Gouken2_Lee22222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),-11.00,GetUnitFacing(udg_unit16)))
endfunction
function Trig_Konoha_Repuu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00V'))then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu_Actions takes nothing returns nothing
set udg_unit16=GetSpellAbilityUnit()
set udg_unit15=GetSpellTargetUnit()
set udg_location04=PolarProjectionBJ(GetUnitLoc(udg_unit15),500.00,GetUnitFacing(udg_unit15))
call PauseUnitBJ(true,udg_unit15)
call PauseUnitBJ(true,udg_unit16)
call UnitAddAbilityBJ('Aave',udg_unit15)
call UnitAddAbilityBJ('A01M',udg_unit15)
call SetUnitInvulnerable(udg_unit16,true)
call SetUnitTimeScalePercent(udg_unit16,200.00)
call SetUnitAnimation(udg_unit16,"Spell Two")
call SetUnitAnimation(udg_unit15,"Death")
call TriggerSleepAction(0.06)
call EnableTrigger(udg_trigger219)
call EnableTrigger(udg_trigger220)
call TriggerSleepAction(0.20)
call SetUnitAnimation(udg_unit16,"Stand Ready")
call SetUnitTimeScalePercent(udg_unit16,100.00)
call UnitDamageTargetBJ(udg_unit40,udg_unit15,udg_real04,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.20)
call UnitRemoveAbilityBJ('A01M',udg_unit15)
call UnitRemoveAbilityBJ('Aave',udg_unit15)
call PauseUnitBJ(false,udg_unit16)
call TriggerSleepAction(0.25)
call SetUnitInvulnerable(udg_unit16,false)
call DisableTrigger(udg_trigger219)
call DisableTrigger(udg_trigger220)
call PauseUnitBJ(false,udg_unit15)
endfunction
function Trig_Konoha_Repuu2_Func001C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)>=5))then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu2_Actions takes nothing returns nothing
if(Trig_Konoha_Repuu2_Func001C())then
call UnitDamageTargetBJ(udg_unit16,udg_unit15,2.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
call UnitDamageTargetBJ(udg_unit16,udg_unit15,1.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endif
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),9.00,(GetUnitFacing(udg_unit16)-85.00)))
endfunction
function Trig_Konoha_Repuu3_Func001C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu3_Actions takes nothing returns nothing
if(Trig_Konoha_Repuu3_Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Konoha_Repuu4_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00V'))then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu4_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound27)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Konoha_Senpu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00U'))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_Actions takes nothing returns nothing
set udg_unit16=GetSpellAbilityUnit()
set udg_unit15=GetSpellTargetUnit()
set udg_location04=PolarProjectionBJ(GetUnitLoc(udg_unit15),500.00,GetUnitFacing(udg_unit15))
call PauseUnitBJ(true,udg_unit15)
call PauseUnitBJ(true,udg_unit16)
call UnitAddAbilityBJ('Aave',udg_unit16)
call SetUnitFlyHeightBJ(udg_unit16,120.00,0.00)
call UnitAddAbilityBJ('A01M',udg_unit15)
call SetUnitInvulnerable(udg_unit16,true)
call SetUnitTimeScalePercent(udg_unit16,200.00)
call SetUnitAnimation(udg_unit16,"Stand Spin")
call SetUnitAnimation(udg_unit15,"Death")
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit16,0.00,200.00)
call EnableTrigger(udg_trigger224)
call TriggerSleepAction(0.30)
call EnableTrigger(udg_trigger223)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit16,"Stand Spin")
call SetUnitTimeScalePercent(udg_unit16,100.00)
call UnitRemoveAbilityBJ('A01M',udg_unit15)
call TriggerSleepAction(0.12)
call UnitRemoveAbilityBJ('Aave',udg_unit16)
call PauseUnitBJ(false,udg_unit16)
call TriggerSleepAction(0.25)
call SetUnitInvulnerable(udg_unit16,false)
call DisableTrigger(udg_trigger223)
call DisableTrigger(udg_trigger224)
call PauseUnitBJ(false,udg_unit15)
endfunction
function Trig_Konoha_Senpu_2_Func001C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)>=4))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_2_Actions takes nothing returns nothing
if(Trig_Konoha_Senpu_2_Func001C())then
call UnitDamageTargetBJ(udg_unit16,udg_unit15,4.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
else
call UnitDamageTargetBJ(udg_unit16,udg_unit15,3.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endif
call SetUnitPositionLoc(udg_unit15,PolarProjectionBJ(GetUnitLoc(udg_unit15),9.00,(GetUnitFacing(udg_unit16)+20.00)))
endfunction
function Trig_Konoha_Senpu_3_Func001Func001C takes nothing returns boolean
if((GetTerrainTypeBJ(GetUnitLoc(udg_unit15))=='Lrok'))then
return true
endif
return false
endfunction
function Trig_Konoha_Senpu_3_Func001C takes nothing returns boolean
if(not Trig_Konoha_Senpu_3_Func001Func001C())then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_3_Actions takes nothing returns nothing
if(Trig_Konoha_Senpu_3_Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit15),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Konoha_Senpu_4_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00U'))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_4_Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_4_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_4_Actions takes nothing returns nothing
if(Trig_Konoha_Senpu_4_Func001C())then
call PlaySoundBJ(udg_sound24)
else
if(Trig_Konoha_Senpu_4_Func001Func002C())then
call PlaySoundBJ(udg_sound26)
else
call PlaySoundBJ(udg_sound25)
endif
endif
endfunction
function Trig_Suna_no_Tate_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00W',GetAttackedUnitBJ())==1))then
return false
endif
return true
endfunction
function Trig_Suna_no_Tate_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("foot",udg_unit39,"gaars sand.mdx")
set udg_effect03=GetLastCreatedEffectBJ()
call UnitAddAbilityBJ('A00X',udg_unit39)
call TriggerSleepAction(0.03)
call DestroyEffectBJ(udg_effect03)
call TriggerSleepAction(0.37)
call UnitRemoveAbilityBJ('A00X',udg_unit39)
endfunction
function Trig_Kyoumeisen_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00Y'))then
return false
endif
return true
endfunction
function Trig_Kyoumeisen_Actions takes nothing returns nothing
set udg_unit17=GetSpellAbilityUnit()
set udg_unit18=GetSpellTargetUnit()
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit18),30.00)
call PauseUnitBJ(true,udg_unit18)
call PauseUnitBJ(true,udg_unit17)
call UnitAddAbilityBJ('Aave',udg_unit18)
call SetUnitTimeScalePercent(udg_unit17,88.00)
call SetUnitTimeScalePercent(udg_unit18,22.00)
call SetUnitAnimation(udg_unit17,"Spell Slam")
call TriggerExecute(udg_trigger228)
call TriggerSleepAction(0.37)
call SetUnitAnimation(udg_unit18,"Death")
call PlaySoundBJ(udg_sound28)
call TriggerSleepAction(1.20)
call DisableTrigger(udg_trigger228)
call PauseUnitBJ(false,udg_unit17)
call TriggerSleepAction(0.40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(0.50)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(0.25)
call UnitRemoveAbilityBJ('Aave',udg_unit18)
call PauseUnitBJ(false,udg_unit18)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit18))
call SetUnitTimeScalePercent(udg_unit17,100.00)
call SetUnitTimeScalePercent(udg_unit18,100.00)
endfunction
function Trig_Kyoumeisen2_Actions takes nothing returns nothing
call UnitDamageTargetBJ(udg_unit17,udg_unit18,10.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[1]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,11.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[2]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,12.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[3]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,13.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[4]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,14.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[5]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,15.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[6]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[7]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.11)
call UnitDamageTargetBJ(udg_unit17,udg_unit18,60.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit17,"Zvuk.mdx")
set udg_effects03[8]=GetLastCreatedEffectBJ()
call TriggerSleepAction(0.01)
call DestroyEffectBJ(udg_effects03[1])
call DestroyEffectBJ(udg_effects03[2])
call TriggerSleepAction(0.02)
call DestroyEffectBJ(udg_effects03[3])
call DestroyEffectBJ(udg_effects03[4])
call TriggerSleepAction(0.03)
call DestroyEffectBJ(udg_effects03[5])
call DestroyEffectBJ(udg_effects03[6])
call TriggerSleepAction(0.50)
call DestroyEffectBJ(udg_effects03[7])
call TriggerSleepAction(0.75)
call DestroyEffectBJ(udg_effects03[8])
endfunction
function Trig_Rezak_zvuka_Dosu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00Z'))then
return false
endif
return true
endfunction
function Trig_Rezak_zvuka_Dosu_Actions takes nothing returns nothing
set udg_unit17=GetSpellAbilityUnit()
set udg_unit18=GetSpellTargetUnit()
set udg_location05=PolarProjectionBJ(GetUnitLoc(udg_unit18),500.00,GetUnitFacing(udg_unit18))
call PauseUnitBJ(true,udg_unit18)
call PauseUnitBJ(true,udg_unit17)
call UnitAddAbilityBJ('Aave',udg_unit18)
call SetUnitTimeScalePercent(udg_unit17,115.00)
call SetUnitAnimation(udg_unit17,"Spell Slam")
call SetUnitAnimation(udg_unit18,"Death")
call EnableTrigger(udg_trigger231)
call PlaySoundBJ(udg_sound29)
call TriggerSleepAction(0.08)
call EnableTrigger(udg_trigger230)
call TriggerSleepAction(0.03)
call PauseUnitBJ(true,udg_unit17)
call SetUnitTimeScalePercent(udg_unit17,100.00)
call TriggerSleepAction(0.08)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HeroBloodElfBlood.mdl")
call PauseUnitBJ(false,udg_unit17)
call TriggerSleepAction(0.03)
call DisableTrigger(udg_trigger230)
call DisableTrigger(udg_trigger231)
call UnitRemoveAbilityBJ('Aave',udg_unit18)
call PauseUnitBJ(false,udg_unit18)
call UnitDamageTargetBJ(udg_unit41,udg_unit18,16.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.35)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodSorceress.mdl")
call UnitDamageTargetBJ(udg_unit41,udg_unit18,16.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.50)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodMortarTeam.mdl")
call UnitDamageTargetBJ(udg_unit41,udg_unit18,15.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(1.00)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodKnight.mdl")
call UnitDamageTargetBJ(udg_unit41,udg_unit18,14.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(1.15)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodPriest.mdl")
call UnitDamageTargetBJ(udg_unit41,udg_unit18,12.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Rezak_zvuka_Dosu2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit18,PolarProjectionBJ(GetUnitLoc(udg_unit18),-9.00,(GetUnitFacing(udg_unit18)+20.00)))
call UnitDamageTargetBJ(udg_unit17,udg_unit18,9.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Rezak_zvuka_Dosu3_Func002Func001C takes nothing returns boolean
if((GetTerrainTypeBJ(GetUnitLoc(udg_unit18))=='Lrok'))then
return true
endif
return false
endfunction
function Trig_Rezak_zvuka_Dosu3_Func002C takes nothing returns boolean
if(not Trig_Rezak_zvuka_Dosu3_Func002Func001C())then
return false
endif
return true
endfunction
function Trig_Rezak_zvuka_Dosu3_Actions takes nothing returns nothing
if(Trig_Rezak_zvuka_Dosu3_Func002C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodSorceress.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit18),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("foot",udg_unit18,"Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodSorceress.mdl")
endif
endfunction
function Trig_Urovni_Sharingana_Func001C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02J',udg_unit34)==2))then
return false
endif
return true
endfunction
function Trig_Urovni_Sharingana_Func002C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02J',udg_unit34)==3))then
return false
endif
return true
endfunction
function Trig_Urovni_Sharingana_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02J',udg_unit34)==4))then
return false
endif
return true
endfunction
function Trig_Urovni_Sharingana_Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02J',udg_unit34)==5))then
return false
endif
return true
endfunction
function Trig_Urovni_Sharingana_Actions takes nothing returns nothing
if(Trig_Urovni_Sharingana_Func001C())then
call SetUnitAbilityLevelSwapped('A011',udg_unit34,2)
else
endif
if(Trig_Urovni_Sharingana_Func002C())then
call SetUnitAbilityLevelSwapped('A011',udg_unit34,3)
else
endif
if(Trig_Urovni_Sharingana_Func003C())then
call SetUnitAbilityLevelSwapped('A011',udg_unit34,4)
else
endif
if(Trig_Urovni_Sharingana_Func004C())then
call SetUnitAbilityLevelSwapped('A011',udg_unit34,5)
else
endif
endfunction
function Trig_Bag_Sharingana_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02J',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Bag_Sharingana_Actions takes nothing returns nothing
call UnitAddAbilityBJ('A012',udg_unit34)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Samoviklichenie_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Samoviklichenie_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound33)
call TriggerExecute(udg_trigger238)
endfunction
function Trig_Ozvuchka_Sharingan_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A012'))then
return false
endif
return true
endfunction
function Trig_Ozvuchka_Sharingan_Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Ozvuchka_Sharingan_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Ozvuchka_Sharingan_Actions takes nothing returns nothing
if(Trig_Ozvuchka_Sharingan_Func001C())then
call PlaySoundBJ(udg_sound30)
else
if(Trig_Ozvuchka_Sharingan_Func001Func002C())then
call PlaySoundBJ(udg_sound31)
else
call PlaySoundBJ(udg_sound32)
endif
endif
endfunction
function Trig_Ozvuchka_Sharingan_Kai_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A016'))then
return false
endif
return true
endfunction
function Trig_Ozvuchka_Sharingan_Kai_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound33)
endfunction
function Trig_Sharingan_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A012'))then
return false
endif
return true
endfunction
function Trig_Sharingan_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,25.00)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call EnableTrigger(udg_trigger239)
call UnitRemoveAbilityBJ('A012',udg_unit34)
call SetUnitOwner(udg_unit46,Player(0),true)
call SetUnitOwner(udg_unit47,Player(0),true)
call SetUnitOwner(udg_unit45,Player(0),true)
call SetUnitOwner(udg_unit42,Player(0),true)
call SetUnitOwner(udg_unit43,Player(0),true)
call SetUnitOwner(udg_unit44,Player(0),true)
call SetUnitOwner(udg_unit48,Player(0),true)
call SetUnitOwner(udg_unit49,Player(0),true)
call SetUnitOwner(udg_unit50,Player(0),true)
call SetUnitOwner(udg_unit52,Player(0),true)
call SetUnitOwner(udg_unit53,Player(0),true)
call SetUnitOwner(udg_unit54,Player(0),true)
call SetUnitOwner(udg_unit56,Player(0),true)
call SetUnitOwner(udg_unit57,Player(0),true)
call SetUnitOwner(udg_unit55,Player(0),true)
call UnitAddAbilityBJ('A011',udg_unit34)
endfunction
function Trig_Sharingan_Kai_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A016'))then
return false
endif
return true
endfunction
function Trig_Sharingan_Kai_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,20.00)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call DisableTrigger(udg_trigger239)
call UnitRemoveAbilityBJ('A011',udg_unit34)
call SetUnitOwner(udg_unit46,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit47,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit45,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit42,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit43,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit44,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit48,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit49,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit50,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit52,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit53,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit54,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit56,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit57,Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitOwner(udg_unit55,Player(PLAYER_NEUTRAL_PASSIVE),true)
call TriggerSleepAction(6.00)
call UnitAddAbilityBJ('A012',udg_unit34)
endfunction
function Trig_Sharingan_vklichin_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Sharingan_vklichin_Actions takes nothing returns nothing
call SetUnitManaBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)-2.00))
endfunction
function Trig_Sharingan2_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)>=50.00))then
return false
endif
return true
endfunction
function Trig_Sharingan2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit42,GetUnitLoc(udg_unit41))
endfunction
function Trig_Sharingan4_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)>=250.00))then
return false
endif
return true
endfunction
function Trig_Sharingan4_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit43,GetUnitLoc(udg_unit41))
endfunction
function Trig_Sharingan6_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)>=450.00))then
return false
endif
return true
endfunction
function Trig_Sharingan6_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit44,GetUnitLoc(udg_unit41))
endfunction
function Trig_Sharingan3_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)<=49.00))then
return false
endif
return true
endfunction
function Trig_Sharingan3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit42,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan5_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)<=249.00))then
return false
endif
return true
endfunction
function Trig_Sharingan5_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit43,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan7_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)<=449.00))then
return false
endif
return true
endfunction
function Trig_Sharingan7_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit44,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan22_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)>=50.00))then
return false
endif
return true
endfunction
function Trig_Sharingan22_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit46,GetUnitLoc(udg_unit34))
endfunction
function Trig_Sharingan44_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)>=250.00))then
return false
endif
return true
endfunction
function Trig_Sharingan44_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit47,GetUnitLoc(udg_unit34))
endfunction
function Trig_Sharingan66_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)>=450.00))then
return false
endif
return true
endfunction
function Trig_Sharingan66_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit45,GetUnitLoc(udg_unit34))
endfunction
function Trig_Sharingan33_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)<=49.00))then
return false
endif
return true
endfunction
function Trig_Sharingan33_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit46,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan55_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)<=249.00))then
return false
endif
return true
endfunction
function Trig_Sharingan55_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit47,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan77_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)<=449.00))then
return false
endif
return true
endfunction
function Trig_Sharingan77_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit45,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan222_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)>=50.00))then
return false
endif
return true
endfunction
function Trig_Sharingan222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit48,GetUnitLoc(udg_unit38))
endfunction
function Trig_Sharingan444_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)>=250.00))then
return false
endif
return true
endfunction
function Trig_Sharingan444_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit49,GetUnitLoc(udg_unit38))
endfunction
function Trig_Sharingan666_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)>=450.00))then
return false
endif
return true
endfunction
function Trig_Sharingan666_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit50,GetUnitLoc(udg_unit38))
endfunction
function Trig_Sharingan333_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)<=49.00))then
return false
endif
return true
endfunction
function Trig_Sharingan333_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit48,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan555_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)<=249.00))then
return false
endif
return true
endfunction
function Trig_Sharingan555_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit49,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan777_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)<=449.00))then
return false
endif
return true
endfunction
function Trig_Sharingan777_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit50,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan2222_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)>=50.00))then
return false
endif
return true
endfunction
function Trig_Sharingan2222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit52,GetUnitLoc(udg_unit51))
endfunction
function Trig_Sharingan4444_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)>=250.00))then
return false
endif
return true
endfunction
function Trig_Sharingan4444_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit53,GetUnitLoc(udg_unit51))
endfunction
function Trig_Sharingan6666_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)>=450.00))then
return false
endif
return true
endfunction
function Trig_Sharingan6666_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit54,GetUnitLoc(udg_unit51))
endfunction
function Trig_Sharingan3333_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)<=49.00))then
return false
endif
return true
endfunction
function Trig_Sharingan3333_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit52,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan5555_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)<=249.00))then
return false
endif
return true
endfunction
function Trig_Sharingan5555_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit53,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan7777_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)<=449.00))then
return false
endif
return true
endfunction
function Trig_Sharingan7777_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit54,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan22222_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)>=50.00))then
return false
endif
return true
endfunction
function Trig_Sharingan22222_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit56,GetUnitLoc(udg_unit40))
endfunction
function Trig_Sharingan44444_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)>=250.00))then
return false
endif
return true
endfunction
function Trig_Sharingan44444_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit57,GetUnitLoc(udg_unit40))
endfunction
function Trig_Sharingan66666_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)>=450.00))then
return false
endif
return true
endfunction
function Trig_Sharingan66666_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit55,GetUnitLoc(udg_unit40))
endfunction
function Trig_Sharingan33333_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)<=49.00))then
return false
endif
return true
endfunction
function Trig_Sharingan33333_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit56,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan55555_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)<=249.00))then
return false
endif
return true
endfunction
function Trig_Sharingan55555_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit57,GetRectCenter(udg_rect01))
endfunction
function Trig_Sharingan77777_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)<=449.00))then
return false
endif
return true
endfunction
function Trig_Sharingan77777_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit55,GetRectCenter(udg_rect01))
endfunction
function Trig_Kage_Senbon_no_Jutsu_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A015'))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func009C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==1))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==2))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func011C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==3))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func012C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==4))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func013C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==5))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func014C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==6))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Func015C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A015',udg_unit51)==7))then
return false
endif
return true
endfunction
function Trig_Kage_Senbon_no_Jutsu_Actions takes nothing returns nothing
set udg_units13[0]=GetSpellAbilityUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLocFacingLocBJ(1,'h007',GetOwningPlayer(udg_units13[0]),GetUnitLoc(udg_units13[0]),GetSpellTargetLoc())
set udg_units13[1]=GetLastCreatedUnit()
call IssuePointOrderLocBJ(udg_units13[1],"move",GetSpellTargetLoc())
call EnableTrigger(udg_trigger271)
call SetUnitAnimation(udg_unit51,"Spell Throw")
call TriggerSleepAction(0.01)
if(Trig_Kage_Senbon_no_Jutsu_Func009C())then
call UnitAddAbilityBJ('A00L',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func010C())then
call UnitAddAbilityBJ('A02D',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func011C())then
call UnitAddAbilityBJ('A02G',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func012C())then
call UnitAddAbilityBJ('A02H',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func013C())then
call UnitAddAbilityBJ('A02I',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func014C())then
call UnitAddAbilityBJ('A02E',udg_units13[1])
else
endif
if(Trig_Kage_Senbon_no_Jutsu_Func015C())then
call UnitAddAbilityBJ('A02F',udg_units13[1])
else
endif
call TriggerSleepAction(0.19)
call CreateNUnitsAtLoc(1,'h008',GetOwningPlayer(udg_units13[1]),GetUnitLoc(udg_units13[1]),GetUnitFacing(udg_unit51))
set udg_units13[2]=GetLastCreatedUnit()
call EnableTrigger(udg_trigger272)
call SetUnitVertexColorBJ(udg_units13[2],100,100,100,100.00)
call TriggerSleepAction(0.14)
call SetUnitVertexColorBJ(udg_units13[2],100,100,100,0.00)
call TriggerSleepAction(0.70)
call DisableTrigger(udg_trigger272)
call DisableTrigger(udg_trigger271)
call RemoveUnit(udg_units13[1])
call RemoveUnit(udg_units13[2])
endfunction
function Trig_Kage_Senbon_no_Jutsu2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units13[1],PolarProjectionBJ(GetUnitLoc(udg_units13[1]),14.00,GetUnitFacing(udg_units13[1])))
endfunction
function Trig_Kage_Senbon_no_Jutsu3_Actions takes nothing returns nothing
call SetUnitPositionLocFacingBJ(udg_units13[2],PolarProjectionBJ(GetUnitLoc(udg_units13[2]),12.00,GetUnitFacing(udg_units13[2])),GetUnitFacing(udg_units13[1]))
endfunction
function Trig_Super_sluh_Func001Func002A takes nothing returns nothing
set udg_fogmodifier01=GetLastCreatedFogModifier()
call CreateFogModifierRadiusLocBJ(false,GetOwningPlayer(udg_unit41),FOG_OF_WAR_VISIBLE,GetUnitLoc(GetEnumUnit()),150.00)
call TriggerSleepAction(0.01)
call FogModifierStop(udg_fogmodifier01)
endfunction
function Trig_Super_sluh_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=25
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsInRangeOfLocAll(2200.00,GetUnitLoc(udg_unit41)),function Trig_Super_sluh_Func001Func002A)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Super_sluh2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A017'))then
return false
endif
return true
endfunction
function Trig_Super_sluh2_Func023A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Super_sluh2_Func025A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Super_sluh2_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit41,"Spell Channel")
call TriggerExecute(udg_trigger273)
call CreateNUnitsAtLoc(1,'o00E',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
call ShowUnitHide(GetLastCreatedUnit())
call TriggerSleepAction(0.10)
call ShowUnitShow(GetLastCreatedUnit())
call TriggerSleepAction(0.15)
call CreateNUnitsAtLoc(1,'o00E',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
call ShowUnitHide(GetLastCreatedUnit())
call TriggerSleepAction(0.10)
call ShowUnitShow(GetLastCreatedUnit())
call TriggerSleepAction(0.15)
call CreateNUnitsAtLoc(1,'o00D',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
call ShowUnitHide(GetLastCreatedUnit())
call TriggerSleepAction(0.10)
call ShowUnitShow(GetLastCreatedUnit())
call TriggerSleepAction(0.35)
call CreateNUnitsAtLoc(1,'o00D',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
call ShowUnitHide(GetLastCreatedUnit())
call TriggerSleepAction(0.10)
call ShowUnitShow(GetLastCreatedUnit())
call TriggerSleepAction(0.35)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00D'),function Trig_Super_sluh2_Func023A)
call TriggerSleepAction(0.10)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00E'),function Trig_Super_sluh2_Func025A)
endfunction
function Trig_Super_skorost_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_unit34))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('Aave',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Actions takes nothing returns nothing
call TriggerSleepAction(0.06)
set udg_location06=GetOrderPointLoc()
call SetUnitTimeScalePercent(udg_unit34,150.00)
call SetUnitAnimation(udg_unit34,"Attack One")
call SetUnitTimeScalePercent(udg_unit34,70.00)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,99.00)
call AddSpecialEffectTargetUnitBJ("hand",udg_unit34,"Abilities\\Weapons\\AvengerMissile\\AvengerMissile.mdl")
set udg_effects05[1]=GetLastCreatedEffectBJ()
if(Trig_Super_skorost_Func010C())then
call ResetUnitAnimation(udg_unit34)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit34,"Death")
call TriggerSleepAction(0.25)
call ResetUnitAnimation(udg_unit34)
else
call EnableTrigger(udg_trigger276)
endif
endfunction
function Trig_Super_skorost2_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A002',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit34),udg_location06)<=115.00))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Actions takes nothing returns nothing
if(Trig_Super_skorost2_Func003C())then
call DestroyEffectBJ(udg_effects05[1])
call SetUnitVertexColorBJ(udg_unit34,100,100,100,0.00)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call SetUnitAnimation(udg_unit34,"Stand Ready")
call DisableTrigger(GetTriggeringTrigger())
else
endif
call SetUnitPositionLocFacingLocBJ(udg_unit34,PolarProjectionBJ(GetUnitLoc(udg_unit34),38.00,AngleBetweenPoints(GetUnitLoc(udg_unit34),udg_location06)),udg_location06)
endfunction
function Trig_Super_skorost_Lee_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_unit40))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('Aave',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call ShowUnitHide(udg_unit40)
call TriggerSleepAction(0.04)
call ShowUnitShow(udg_unit40)
call SelectUnitForPlayerSingle(udg_unit40,GetOwningPlayer(udg_unit40))
set udg_location07=GetOrderPointLoc()
call SetUnitTimeScalePercent(udg_unit40,150.00)
call SetUnitAnimation(udg_unit40,"Spell Walk")
if(Trig_Super_skorost_Lee_Func010C())then
call ResetUnitAnimation(udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.25)
call ResetUnitAnimation(udg_unit40)
else
call EnableTrigger(udg_trigger281)
endif
endfunction
function Trig_Super_skorost_Lee2_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_unit40))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee2_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('Aave',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee2_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call ShowUnitHide(udg_unit40)
call TriggerSleepAction(0.04)
call ShowUnitShow(udg_unit40)
call SelectUnitForPlayerSingle(udg_unit40,GetOwningPlayer(udg_unit40))
set udg_location07=GetOrderPointLoc()
call SetUnitTimeScalePercent(udg_unit40,160.00)
call SetUnitAnimation(udg_unit40,"Spell Walk")
if(Trig_Super_skorost_Lee2_Func010C())then
call ResetUnitAnimation(udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.25)
call ResetUnitAnimation(udg_unit40)
else
call EnableTrigger(udg_trigger282)
endif
endfunction
function Trig_Super_skorost_Lee3_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_unit40))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee3_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('Aave',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee3_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call ShowUnitHide(udg_unit40)
call TriggerSleepAction(0.04)
call ShowUnitShow(udg_unit40)
call SelectUnitForPlayerSingle(udg_unit40,GetOwningPlayer(udg_unit40))
set udg_location07=GetOrderPointLoc()
call SetUnitTimeScalePercent(udg_unit40,170.00)
call SetUnitAnimation(udg_unit40,"Spell Walk")
if(Trig_Super_skorost_Lee3_Func010C())then
call ResetUnitAnimation(udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.25)
call ResetUnitAnimation(udg_unit40)
else
call EnableTrigger(udg_trigger283)
endif
endfunction
function Trig_Super_skorost_Lee4_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_unit40))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee4_Func010C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('Aave',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost_Lee4_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call ShowUnitHide(udg_unit40)
call TriggerSleepAction(0.04)
call ShowUnitShow(udg_unit40)
call SelectUnitForPlayerSingle(udg_unit40,GetOwningPlayer(udg_unit40))
set udg_location07=GetOrderPointLoc()
call SetUnitTimeScalePercent(udg_unit40,200.00)
call SetUnitAnimation(udg_unit40,"Spell Walk")
if(Trig_Super_skorost_Lee4_Func010C())then
call ResetUnitAnimation(udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.25)
call ResetUnitAnimation(udg_unit40)
else
call EnableTrigger(udg_trigger284)
endif
endfunction
function Trig_Super_skorost2_Lee_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01E',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)<=115.00))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee_Actions takes nothing returns nothing
if(Trig_Super_skorost2_Lee_Func003C())then
call SetUnitTimeScalePercent(udg_unit40,100.00)
call SetUnitAnimation(udg_unit40,"stand")
call DisableTrigger(GetTriggeringTrigger())
else
endif
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),20.00,AngleBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)),udg_location07)
endfunction
function Trig_Super_skorost2_Lee2_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01F',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee2_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)<=115.00))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee2_Actions takes nothing returns nothing
if(Trig_Super_skorost2_Lee2_Func003C())then
call SetUnitTimeScalePercent(udg_unit40,100.00)
call SetUnitAnimation(udg_unit40,"stand")
call DisableTrigger(GetTriggeringTrigger())
else
endif
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),40.00,AngleBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)),udg_location07)
endfunction
function Trig_Super_skorost2_Lee3_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01G',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee3_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)<=115.00))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee3_Actions takes nothing returns nothing
if(Trig_Super_skorost2_Lee3_Func003C())then
call SetUnitTimeScalePercent(udg_unit40,100.00)
call SetUnitAnimation(udg_unit40,"stand")
call DisableTrigger(GetTriggeringTrigger())
else
endif
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),45.00,AngleBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)),udg_location07)
endfunction
function Trig_Super_skorost2_Lee4_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01C',udg_unit62)>=1))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee4_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)<=115.00))then
return false
endif
return true
endfunction
function Trig_Super_skorost2_Lee4_Actions takes nothing returns nothing
if(Trig_Super_skorost2_Lee4_Func003C())then
call SetUnitTimeScalePercent(udg_unit40,100.00)
call SetUnitAnimation(udg_unit40,"stand")
call DisableTrigger(GetTriggeringTrigger())
else
endif
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),50.00,AngleBetweenPoints(GetUnitLoc(udg_unit40),udg_location07)),udg_location07)
endfunction
function Trig_Visoko_chistotnii_zvuk_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A018',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func014C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func016A takes nothing returns nothing
set udg_unit20=GetEnumUnit()
call IssuePointOrderLocBJ(udg_unit20,"silence",GetUnitLoc(udg_unit19))
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func023A takes nothing returns nothing
set udg_unit21=GetEnumUnit()
call IssueTargetOrderBJ(udg_unit21,"slow",udg_unit19)
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Visoko_chistotnii_zvuk_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Visoko_chistotnii_zvuk_Actions takes nothing returns nothing
if(Trig_Visoko_chistotnii_zvuk_Func001C())then
else
if(Trig_Visoko_chistotnii_zvuk_Func001Func001C())then
else
if(Trig_Visoko_chistotnii_zvuk_Func001Func001Func001C())then
else
call PauseUnitBJ(true,udg_unit41)
call SetUnitTimeScalePercent(udg_unit41,110.00)
call SetUnitAnimation(udg_unit41,"Spell Throw")
call CreateNUnitsAtLoc(1,'o00G',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o00F',GetOwningPlayer(udg_unit41),GetUnitLoc(udg_unit41),bj_UNIT_FACING)
set udg_unit19=GetAttackedUnitBJ()
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit19),35.00)
call PauseUnitBJ(true,udg_unit19)
call UnitAddAbilityBJ('Aave',udg_unit19)
call SetUnitAnimation(udg_unit19,"Death")
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit41,"Abilities\\Spells\\Other\\Silence\\SilenceAreaBirth.mdl")
call TriggerSleepAction(0.04)
call SetUnitManaBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)-10.00))
if(Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func014C())then
call PlaySoundBJ(udg_sound35)
else
call PlaySoundBJ(udg_sound34)
endif
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit41,"Abilities\\Spells\\Other\\Silence\\SilenceAreaBirth.mdl")
call ForGroupBJ(GetUnitsOfTypeIdAll('o00F'),function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func016A)
call TriggerSleepAction(0.16)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit41,"Abilities\\Spells\\Other\\Silence\\SilenceAreaBirth.mdl")
call PauseUnitBJ(false,udg_unit41)
call TriggerSleepAction(0.25)
call SetUnitTimeScalePercent(udg_unit41,100.00)
call RemoveUnit(udg_unit20)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00G'),function Trig_Visoko_chistotnii_zvuk_Func001Func001Func001Func023A)
call UnitRemoveAbilityBJ('A018',udg_unit41)
call TriggerSleepAction(0.02)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit19,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.30)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit19))
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit19),25.00)
call RemoveUnit(udg_unit21)
call UnitDamageTargetBJ(udg_unit41,udg_unit19,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call SetUnitManaBJ(udg_unit19,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit19)-25.00))
call TriggerSleepAction(0.50)
call UnitRemoveAbilityBJ('Aave',udg_unit19)
call PauseUnitBJ(false,udg_unit19)
call SetUnitManaBJ(udg_unit19,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit19)-25.00))
call UnitDamageTargetBJ(udg_unit41,udg_unit19,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.50)
call SetUnitManaBJ(udg_unit19,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit19)-25.00))
call UnitDamageTargetBJ(udg_unit41,udg_unit19,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.50)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit19))
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit19),15.00)
call SetUnitManaBJ(udg_unit19,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit19)-25.00))
call UnitDamageTargetBJ(udg_unit41,udg_unit19,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.50)
call SetUnitManaBJ(udg_unit19,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit19)-25.00))
call UnitDamageTargetBJ(udg_unit41,udg_unit19,35.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(1.99)
call UnitRemoveAbilityBJ('A02C',udg_unit41)
call TriggerSleepAction(0.01)
call UnitAddAbilityBJ('A02C',udg_unit41)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A02C',udg_unit41,3)
call TriggerSleepAction(1.99)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit19))
call CameraSetEQNoiseForPlayer(GetOwningPlayer(udg_unit19),10.00)
call TriggerSleepAction(0.35)
call CameraClearNoiseForPlayer(GetOwningPlayer(udg_unit19))
endif
endif
endif
endfunction
function Trig_HP_Lee_Func001C takes nothing returns boolean
if((GetUnitAbilityLevelSwapped('A01D',udg_unit40)>=1))then
return true
endif
if((GetUnitAbilityLevelSwapped('A01E',udg_unit40)>=1))then
return true
endif
if((GetUnitAbilityLevelSwapped('A01F',udg_unit40)>=1))then
return true
endif
if((GetUnitAbilityLevelSwapped('AItf',udg_unit40)>=1))then
return true
endif
return false
endfunction
function Trig_HP_Lee_Conditions takes nothing returns boolean
if(not Trig_HP_Lee_Func001C())then
return false
endif
return true
endfunction
function Trig_HP_Lee_Actions takes nothing returns nothing
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+205.00))
endfunction
function Trig_Perevoploshenie_Lee_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01N'))then
return false
endif
return true
endfunction
function Trig_Perevoploshenie_Lee_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01C',udg_unit62)>=1))then
return false
endif
return true
endfunction
function Trig_Perevoploshenie_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.11)
if(Trig_Perevoploshenie_Lee_Func003C())then
call UnitRemoveAbilityBJ('A01C',udg_unit62)
call DisableTrigger(udg_trigger288)
call DisableTrigger(udg_trigger289)
else
call UnitAddAbilityBJ('A01C',udg_unit62)
call EnableTrigger(udg_trigger288)
endif
call TriggerSleepAction(0.01)
call IssueImmediateOrderBJ(udg_unit62,"berserk")
call TriggerSleepAction(10.00)
call EnableTrigger(udg_trigger289)
endfunction
function Trig_Perevoploshenie_Lee2_Actions takes nothing returns nothing
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-3.00))
endfunction
function Trig_Perevoploshenie_Lee3_Actions takes nothing returns nothing
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-1.00))
endfunction
function Trig_Kaimon_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01C'))then
return false
endif
return true
endfunction
function Trig_Kaimon_Func001C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)==1))then
return false
endif
return true
endfunction
function Trig_Kaimon_Func002C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)==2))then
return false
endif
return true
endfunction
function Trig_Kaimon_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)==3))then
return false
endif
return true
endfunction
function Trig_Kaimon_Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)==4))then
return false
endif
return true
endfunction
function Trig_Kaimon_Func005C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01B',udg_unit40)==5))then
return false
endif
return true
endfunction
function Trig_Kaimon_Actions takes nothing returns nothing
if(Trig_Kaimon_Func001C())then
call TriggerExecute(udg_trigger294)
else
endif
if(Trig_Kaimon_Func002C())then
call TriggerExecute(udg_trigger295)
else
endif
if(Trig_Kaimon_Func003C())then
call TriggerExecute(udg_trigger296)
else
endif
if(Trig_Kaimon_Func004C())then
call TriggerExecute(udg_trigger297)
else
endif
if(Trig_Kaimon_Func005C())then
call TriggerExecute(udg_trigger298)
else
endif
call UnitRemoveAbilityBJ('A01B',udg_unit40)
call EnableTrigger(udg_trigger308)
call SetUnitOwner(udg_unit61,GetOwningPlayer(udg_unit40),false)
call TriggerSleepAction(0.40)
call UnitAddAbilityBJ('A01D',udg_unit40)
call UnitAddAbilityBJ('AItx',udg_unit40)
call UnitAddAbilityBJ('AIsx',udg_unit40)
call UnitAddAbilityBJ('AIms',udg_unit40)
call EnableTrigger(udg_trigger291)
call TriggerSleepAction(30.00)
call UnitRemoveAbilityBJ('A01D',udg_unit40)
call UnitRemoveAbilityBJ('AIsx',udg_unit40)
call UnitRemoveAbilityBJ('AIms',udg_unit40)
call UnitRemoveAbilityBJ('AItx',udg_unit40)
call DisableTrigger(udg_trigger291)
endfunction
function Trig_Kaimon2_Actions takes nothing returns nothing
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-1.00))
endfunction
function Trig_Kyuumon_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01D'))then
return false
endif
return true
endfunction
function Trig_Kyuumon_Func015C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AIx5',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Kyuumon_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit40,"Stand")
call UnitAddAbilityBJ('AIaz',udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call SetUnitAnimation(udg_unit40,"stand")
call EnableTrigger(udg_trigger277)
call EnableTrigger(udg_trigger299)
call UnitRemoveAbilityBJ('A01D',udg_unit40)
call TriggerSleepAction(0.40)
call UnitAddAbilityBJ('A01E',udg_unit40)
call TriggerSleepAction(28.00)
call DisableTrigger(udg_trigger277)
call UnitRemoveAbilityBJ('AIaz',udg_unit40)
call UnitRemoveAbilityBJ('A01E',udg_unit40)
call DisableTrigger(udg_trigger299)
if(Trig_Kyuumon_Func015C())then
else
call UnitResetCooldown(udg_unit40)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger293)
call TriggerSleepAction(18.00)
call DisableTrigger(udg_trigger293)
endif
endfunction
function Trig_Perevoploshenie_Actions takes nothing returns nothing
call IssueImmediateOrderBJ(udg_unit40,"metamorphosis")
endfunction
function Trig_Tai_Actions takes nothing returns nothing
call TriggerSleepAction(80.00)
call UnitAddAbilityBJ('A01B',udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A01B',udg_unit40,1)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Tai2_Actions takes nothing returns nothing
call TriggerSleepAction(80.00)
call UnitAddAbilityBJ('A01B',udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A01B',udg_unit40,2)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Tai3_Actions takes nothing returns nothing
call TriggerSleepAction(80.00)
call UnitAddAbilityBJ('A01B',udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A01B',udg_unit40,3)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Tai4_Actions takes nothing returns nothing
call TriggerSleepAction(80.00)
call UnitAddAbilityBJ('A01B',udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A01B',udg_unit40,4)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Tai5_Actions takes nothing returns nothing
call TriggerSleepAction(80.00)
call UnitAddAbilityBJ('A01B',udg_unit40)
call TriggerSleepAction(0.01)
call SetUnitAbilityLevelSwapped('A01B',udg_unit40,5)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kyuumon2_Actions takes nothing returns nothing
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+10.00))
endfunction
function Trig_Seimon_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01E'))then
return false
endif
return true
endfunction
function Trig_Seimon_Func029C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01R',udg_unit40)>=1))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01G',udg_unit40)!=1))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('AItf',udg_unit40)!=1))then
return false
endif
return true
endfunction
function Trig_Seimon_Func037C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AItc',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Seimon_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound63)
call SetUnitAnimation(udg_unit40,"Spell Four")
call DisableTrigger(udg_trigger277)
call EnableTrigger(udg_trigger278)
call EnableTrigger(udg_trigger301)
call EnableTrigger(udg_trigger302)
call UnitAddAbilityBJ('AIx5',udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit40,"Abilities\\Weapons\\IllidanMissile\\IllidanMissile.mdl")
set udg_effects01[0]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Weapons\\IllidanMissile\\IllidanMissile.mdl")
set udg_effects02[0]=GetLastCreatedEffectBJ()
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+400.00))
call UnitRemoveAbilityBJ('A01E',udg_unit40)
call TriggerSleepAction(0.39)
call UnitAddAbilityBJ('A01F',udg_unit40)
call TriggerSleepAction(1.00)
call SetUnitAnimation(udg_unit40,"Stand")
call TriggerSleepAction(27.00)
call UnitRemoveAbilityBJ('AIx5',udg_unit40)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-250.00))
if(Trig_Seimon_Func029C())then
call UnitRemoveAbilityBJ('A01R',udg_unit40)
call UnitAddAbilityBJ('A01S',udg_unit40)
else
endif
call DisableTrigger(udg_trigger301)
call DisableTrigger(udg_trigger302)
call DisableTrigger(udg_trigger278)
call SetUnitPositionLoc(udg_unit60,GetRectCenter(udg_rect01))
call UnitRemoveAbilityBJ('A01F',udg_unit40)
call DestroyEffectBJ(udg_effects01[0])
call DestroyEffectBJ(udg_effects02[0])
if(Trig_Seimon_Func037C())then
else
call UnitResetCooldown(udg_unit40)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger293)
call TriggerSleepAction(18.00)
call DisableTrigger(udg_trigger293)
endif
endfunction
function Trig_Seimon2_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)-5.00))
endfunction
function Trig_Seimon3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit60,GetUnitLoc(udg_unit40))
call EnableTrigger(udg_trigger302)
endfunction
function Trig_Shoumon_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01F'))then
return false
endif
return true
endfunction
function Trig_Shoumon_Func031C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01R',udg_unit40)>=1))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('AItf',udg_unit40)!=1))then
return false
endif
return true
endfunction
function Trig_Shoumon_Func039C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('AItn',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Shoumon_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound64)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit40,"Abilities\\Weapons\\IllidanMissile\\IllidanMissile.mdl")
set udg_effects01[1]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Weapons\\IllidanMissile\\IllidanMissile.mdl")
set udg_effects02[1]=GetLastCreatedEffectBJ()
call SetUnitAnimation(udg_unit40,"Spell Four")
call DisableTrigger(udg_trigger278)
call EnableTrigger(udg_trigger279)
call EnableTrigger(udg_trigger304)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call TriggerSleepAction(0.02)
call UnitAddAbilityBJ('AItc',udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)+2000.00))
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call UnitRemoveAbilityBJ('A01F',udg_unit40)
call TriggerSleepAction(0.38)
call UnitAddAbilityBJ('A01G',udg_unit40)
call TriggerSleepAction(1.00)
call SetUnitAnimation(udg_unit40,"Stand")
call TriggerSleepAction(26.98)
call DestroyEffectBJ(udg_effects01[1])
call DestroyEffectBJ(udg_effects02[1])
call UnitRemoveAbilityBJ('AItc',udg_unit40)
if(Trig_Shoumon_Func031C())then
call UnitRemoveAbilityBJ('A01R',udg_unit40)
call UnitAddAbilityBJ('A01S',udg_unit40)
else
endif
call DisableTrigger(udg_trigger304)
call DisableTrigger(udg_trigger302)
call DisableTrigger(udg_trigger279)
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger302)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-300.00))
call UnitRemoveAbilityBJ('A01G',udg_unit40)
if(Trig_Shoumon_Func039C())then
else
call UnitResetCooldown(udg_unit40)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger293)
call TriggerSleepAction(18.00)
call DisableTrigger(udg_trigger293)
endif
endfunction
function Trig_Shoumon2_Actions takes nothing returns nothing
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)-1.00))
endfunction
function Trig_Tomon_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01G'))then
return false
endif
return true
endfunction
function Trig_Tomon_Func040C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01R',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Tomon_Func054C takes nothing returns boolean
return true
endfunction
function Trig_Tomon_Actions takes nothing returns nothing
call PlaySoundBJ(udg_sound65)
call AddSpecialEffectTargetUnitBJ("hand, left",udg_unit40,"Abilities\\Weapons\\ZigguratMissile\\ZigguratMissile.mdl")
set udg_effects01[2]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Weapons\\ZigguratMissile\\ZigguratMissile.mdl")
set udg_effects02[2]=GetLastCreatedEffectBJ()
call SetUnitAnimation(udg_unit40,"Spell Four")
call DisableTrigger(udg_trigger279)
call EnableTrigger(udg_trigger280)
call EnableTrigger(udg_trigger216)
call UnitAddAbilityBJ('AItf',udg_unit40)
call UnitAddAbilityBJ('AItn',udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call TriggerSleepAction(0.02)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger304)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call TriggerSleepAction(0.02)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NatureExplosion.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"EarthNova.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"AncientsWrath.mdx")
call UnitRemoveAbilityBJ('A01G',udg_unit40)
call SetUnitTimeScalePercent(udg_unit40,5.00)
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit40,"Stand")
call TriggerSleepAction(0.70)
call SetUnitTimeScalePercent(udg_unit40,100.00)
call TriggerSleepAction(15.53)
if(Trig_Tomon_Func040C())then
call UnitRemoveAbilityBJ('A01R',udg_unit40)
call UnitAddAbilityBJ('A01S',udg_unit40)
else
endif
call TriggerSleepAction(10.00)
call DisableTrigger(udg_trigger217)
call DisableTrigger(udg_trigger308)
call SetUnitOwner(udg_unit61,Player(PLAYER_NEUTRAL_PASSIVE),false)
call DestroyEffectBJ(udg_effects01[2])
call DestroyEffectBJ(udg_effects02[2])
call DisableTrigger(udg_trigger307)
call DisableTrigger(udg_trigger304)
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)-2000.00))
call UnitRemoveAbilityBJ('AItf',udg_unit40)
call UnitRemoveAbilityBJ('AItn',udg_unit40)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-250.00))
call DisableTrigger(udg_trigger280)
if(Trig_Tomon_Func054C())then
call UnitResetCooldown(udg_unit40)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger293)
call TriggerSleepAction(12.00)
call DisableTrigger(udg_trigger293)
else
call UnitResetCooldown(udg_unit40)
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger293)
call TriggerSleepAction(12.00)
call DisableTrigger(udg_trigger293)
endif
endfunction
function Trig_Attack_Func002Func001C takes nothing returns boolean
if(not(GetAttacker()==udg_unit40))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01E',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Attack_Func002Func002C takes nothing returns boolean
if(not(GetAttacker()==udg_unit40))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01F',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Attack_Func002Func003C takes nothing returns boolean
if(not(GetAttacker()==udg_unit40))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01G',GetAttacker())>=1))then
return false
endif
return true
endfunction
function Trig_Attack_Func002C takes nothing returns boolean
if(Trig_Attack_Func002Func001C())then
return true
endif
if(Trig_Attack_Func002Func002C())then
return true
endif
if(Trig_Attack_Func002Func003C())then
return true
endif
return false
endfunction
function Trig_Attack_Conditions takes nothing returns boolean
if(not Trig_Attack_Func002C())then
return false
endif
return true
endfunction
function Trig_Attack_Actions takes nothing returns nothing
call SetUnitAnimation(GetAttacker(),"Attack")
endfunction
function Trig_Attack2_Func002Func001C takes nothing returns boolean
if(not(GetAttacker()==udg_unit40))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01C',udg_unit62)>=1))then
return false
endif
return true
endfunction
function Trig_Attack2_Func002C takes nothing returns boolean
if(Trig_Attack2_Func002Func001C())then
return true
endif
return false
endfunction
function Trig_Attack2_Conditions takes nothing returns boolean
if(not Trig_Attack2_Func002C())then
return false
endif
return true
endfunction
function Trig_Attack2_Actions takes nothing returns nothing
call SetUnitAnimation(GetAttacker(),"Attack")
endfunction
function Trig_Vidimost_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit61,GetUnitLoc(udg_unit40))
endfunction
function Trig_KOPIR_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00V'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR_Conditions takes nothing returns boolean
if(not Trig_KOPIR_Func002C())then
return false
endif
return true
endfunction
function Trig_KOPIR_Func001Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00J',udg_unit34)>=3))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01M',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR_Func001C takes nothing returns boolean
if(not Trig_KOPIR_Func001Func004C())then
return false
endif
return true
endfunction
function Trig_KOPIR_Actions takes nothing returns nothing
if(Trig_KOPIR_Func001C())then
call UnitRemoveAbilityBJ('A00J',udg_unit34)
call TriggerSleepAction(0.01)
call UnitAddAbilityBJ('A01H',udg_unit34)
else
endif
endfunction
function Trig_KOPIR2_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00U'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR2_Conditions takes nothing returns boolean
if(not Trig_KOPIR2_Func002C())then
return false
endif
return true
endfunction
function Trig_KOPIR2_Func001Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01H',udg_unit34)>=3))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01M',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR2_Func001C takes nothing returns boolean
if(not Trig_KOPIR2_Func001Func004C())then
return false
endif
return true
endfunction
function Trig_KOPIR2_Actions takes nothing returns nothing
if(Trig_KOPIR2_Func001C())then
call UnitRemoveAbilityBJ('A01H',udg_unit34)
call TriggerSleepAction(0.01)
call UnitAddAbilityBJ('A01L',udg_unit34)
else
endif
endfunction
function Trig_KOPIR3_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00U'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR3_Conditions takes nothing returns boolean
if(not Trig_KOPIR3_Func002C())then
return false
endif
return true
endfunction
function Trig_KOPIR3_Func001Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A00J',udg_unit34)>=3))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01M',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR3_Func001C takes nothing returns boolean
if(not Trig_KOPIR3_Func001Func004C())then
return false
endif
return true
endfunction
function Trig_KOPIR3_Actions takes nothing returns nothing
if(Trig_KOPIR3_Func001C())then
call UnitRemoveAbilityBJ('A00J',udg_unit34)
call TriggerSleepAction(0.01)
call UnitAddAbilityBJ('A01J',udg_unit34)
else
endif
endfunction
function Trig_KOPIR4_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00V'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A011',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR4_Conditions takes nothing returns boolean
if(not Trig_KOPIR4_Func002C())then
return false
endif
return true
endfunction
function Trig_KOPIR4_Func001Func004C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01J',udg_unit34)>=3))then
return false
endif
if(not(GetUnitAbilityLevelSwapped('A01M',udg_unit34)>=1))then
return false
endif
return true
endfunction
function Trig_KOPIR4_Func001C takes nothing returns boolean
if(not Trig_KOPIR4_Func001Func004C())then
return false
endif
return true
endfunction
function Trig_KOPIR4_Actions takes nothing returns nothing
if(Trig_KOPIR4_Func001C())then
call UnitRemoveAbilityBJ('A01J',udg_unit34)
call TriggerSleepAction(0.01)
call UnitAddAbilityBJ('A01L',udg_unit34)
else
endif
endfunction
function Trig_Omote_Renge_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01O'))then
return false
endif
return true
endfunction
function Trig_Omote_Renge_Func116A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Omote_Renge_Actions takes nothing returns nothing
set udg_unit24=GetSpellTargetUnit()
call SetUnitTimeScalePercent(udg_unit40,160.00)
call ShowUnitHide(udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call CreateNUnitsAtLoc(1,'o00L',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit24),bj_UNIT_FACING)
call PauseUnitBJ(true,udg_unit24)
call SetUnitInvulnerable(udg_unit24,true)
call UnitAddAbilityBJ('Aave',udg_unit24)
call UnitAddAbilityBJ('Aave',udg_unit40)
call TriggerSleepAction(0.70)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetUnitLoc(udg_unit24),GetUnitLoc(udg_unit24))
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit24))-140.00),(GetUnitFacing(udg_unit40)-0.00)))
call TriggerSleepAction(0.01)
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit24),1.00,GetUnitFacing(udg_unit24)),GetUnitLoc(udg_unit24))
call SetUnitPositionLoc(udg_unit63,GetUnitLoc(udg_unit40))
call TriggerSleepAction(0.01)
call SetUnitOwner(udg_unit63,GetOwningPlayer(udg_unit40),false)
call TriggerSleepAction(0.27)
call RemoveUnit(GetLastCreatedUnit())
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call TriggerSleepAction(0.01)
call ShowUnitShow(udg_unit40)
call PauseUnitBJ(true,udg_unit40)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,150.00,0.00)
call SetUnitFlyHeightBJ(udg_unit40,50.00,0.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.15)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,400.00,150.00)
call SetUnitFlyHeightBJ(udg_unit40,200.00,50.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.16)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,600.00,400.00)
call SetUnitFlyHeightBJ(udg_unit40,500.00,200.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.17)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,800.00,600.00)
call SetUnitFlyHeightBJ(udg_unit40,700.00,500.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.18)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,1000.00,800.00)
call SetUnitFlyHeightBJ(udg_unit40,750.00,700.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.19)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,1200.00,1000.00)
call SetUnitFlyHeightBJ(udg_unit40,1350.00,750.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.20)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,1400.00,1200.00)
call SetUnitFlyHeightBJ(udg_unit40,1350.00,1350.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.21)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit24,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call SetUnitFlyHeightBJ(udg_unit24,2100.00,1400.00)
call SetUnitFlyHeightBJ(udg_unit40,1350.00,1350.00)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitAnimation(udg_unit24,"Death")
call TriggerSleepAction(0.04)
call PlaySoundBJ(udg_sound66)
call TriggerSleepAction(0.18)
call ShowUnitHide(udg_unit24)
call ShowUnitHide(udg_unit40)
call SetUnitFlyHeightBJ(udg_unit24,0.00,2000.00)
call TriggerSleepAction(0.40)
call SetUnitAnimation(udg_unit40,"Stand")
call SetUnitFlyHeightBJ(udg_unit40,0.00,2700.00)
call SetUnitPositionLoc(udg_unit64,GetUnitLoc(udg_unit40))
call SetUnitFlyHeightBJ(udg_unit64,1000.00,0.00)
call SetUnitAnimation(udg_unit64,"Stand")
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit64,0.00,2500.00)
call PauseUnitBJ(false,udg_unit40)
call SetUnitInvulnerable(udg_unit24,false)
call TriggerSleepAction(0.15)
call CreateNUnitsAtLoc(1,'o00O',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit64,GetRandomLocInRect(udg_rect01))
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"Objects\\Spawnmodels\\Other\\NeutralBuildingExplosion\\NeutralBuildingExplosion.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call ShowUnitShow(udg_unit24)
call ShowUnitShow(udg_unit40)
call SetUnitOwner(udg_unit63,Player(PLAYER_NEUTRAL_PASSIVE),false)
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"slam.mdx")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"slam.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit24),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call UnitRemoveAbilityBJ('Aave',udg_unit24)
call UnitRemoveAbilityBJ('Aave',udg_unit40)
call SetUnitPositionLoc(udg_unit63,GetRandomLocInRect(udg_rect01))
call SetUnitTimeScalePercent(udg_unit40,100.00)
call TriggerSleepAction(0.02)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)-70.00))
call UnitDamageTargetBJ(udg_unit40,udg_unit24,180.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(2.00)
call PauseUnitBJ(false,udg_unit24)
call TriggerSleepAction(1.45)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00O'),function Trig_Omote_Renge_Func116A)
endfunction
function Trig_Pri_vratah_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01N'))then
return false
endif
return true
endfunction
function Trig_Pri_vratah_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01C',udg_unit62)>=1))then
return false
endif
return true
endfunction
function Trig_Pri_vratah_Actions takes nothing returns nothing
call TriggerSleepAction(0.11)
if(Trig_Pri_vratah_Func003C())then
call UnitRemoveAbilityBJ('A01P',udg_unit40)
call UnitAddAbilityBJ('A01O',udg_unit40)
else
call UnitRemoveAbilityBJ('A01O',udg_unit40)
call UnitAddAbilityBJ('A01P',udg_unit40)
endif
endfunction
function Trig_Pri_vratah2_Conditions takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01P',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Pri_vratah2_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger314)
call TriggerSleepAction(0.01)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pri_vratah3_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01E'))then
return false
endif
return true
endfunction
function Trig_Pri_vratah3_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A01S',udg_unit40)>=1))then
return false
endif
return true
endfunction
function Trig_Pri_vratah3_Actions takes nothing returns nothing
call TriggerSleepAction(0.11)
if(Trig_Pri_vratah3_Func003C())then
call UnitRemoveAbilityBJ('A01S',udg_unit40)
call UnitAddAbilityBJ('A01R',udg_unit40)
call EnableTrigger(udg_trigger317)
call EnableTrigger(udg_trigger318)
else
endif
endfunction
function Trig_Pri_vratah33_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01F'))then
return false
endif
return true
endfunction
function Trig_Pri_vratah33_Actions takes nothing returns nothing
call TriggerSleepAction(0.11)
call UnitRemoveAbilityBJ('A01S',udg_unit40)
call UnitAddAbilityBJ('A01R',udg_unit40)
endfunction
function Trig_Pri_vratah333_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01G'))then
return false
endif
return true
endfunction
function Trig_Pri_vratah333_Actions takes nothing returns nothing
call TriggerSleepAction(0.11)
call UnitRemoveAbilityBJ('A01S',udg_unit40)
call UnitAddAbilityBJ('A01R',udg_unit40)
endfunction
function Trig_Ura_Renge_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01R'))then
return false
endif
return true
endfunction
function Trig_Ura_Renge_Actions takes nothing returns nothing
set udg_unit25=GetSpellTargetUnit()
call PauseUnitBJ(true,udg_unit40)
call ShowUnitHide(udg_unit40)
call SetUnitTimeScalePercent(udg_unit40,200.00)
call SetUnitAnimation(udg_unit40,"Spell Walk")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound72)
call ShowUnitShow(udg_unit40)
call PauseUnitBJ(true,udg_unit25)
call UnitAddAbilityBJ('Aave',udg_unit25)
call UnitAddAbilityBJ('Aave',udg_unit40)
call EnableTrigger(udg_trigger320)
call EnableTrigger(udg_trigger322)
call TriggerSleepAction(0.01)
endfunction
function Trig_Ura_Renge2_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit25))<=105.00))then
return false
endif
return true
endfunction
function Trig_Ura_Renge2_Actions takes nothing returns nothing
if(Trig_Ura_Renge2_Func001C())then
call EnableTrigger(udg_trigger323)
call EnableTrigger(udg_trigger327)
call SetUnitAnimation(udg_unit40,"Spell Slam")
call SetUnitFlyHeightBJ(udg_unit25,335.00,0.00)
call SetUnitFlyHeightBJ(udg_unit40,335.00,0.00)
call TriggerExecute(udg_trigger321)
call SetUnitPositionLoc(udg_unit65,OffsetLocation(GetUnitLoc(udg_unit25),0.00,-1000.00))
call SetUnitPositionLoc(udg_unit66,OffsetLocation(GetUnitLoc(udg_unit25),1000.00,0))
call SetUnitPositionLoc(udg_unit67,OffsetLocation(GetUnitLoc(udg_unit25),0.00,1000.00))
call SetUnitPositionLoc(udg_unit68,OffsetLocation(GetUnitLoc(udg_unit25),-1000.00,0))
call DisableTrigger(GetTriggeringTrigger())
else
call SetUnitPositionLocFacingLocBJ(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),52.00,AngleBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit25))),GetUnitLoc(udg_unit25))
endif
endfunction
function Trig_pereklyuchatel_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call DisableTrigger(udg_trigger323)
call EnableTrigger(udg_trigger324)
call SetUnitTimeScalePercent(udg_unit40,1205.00)
set udg_effects04[1]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call UnitDamageTargetBJ(udg_unit40,udg_unit25,5.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.01)
set udg_effects04[5]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"FreezingRing.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"FreezingRing.mdx")
set udg_units14[1]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o00Q',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call SetUnitPositionLoc(udg_units14[1],GetUnitLoc(udg_unit40))
call SetUnitFlyHeightBJ(udg_units14[1],310.00,0.00)
call SetUnitTimeScalePercent(udg_units14[1],120.00)
call UnitDamageTargetBJ(udg_unit40,udg_unit25,15.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger324)
call EnableTrigger(udg_trigger325)
set udg_units14[2]=GetLastCreatedUnit()
call ShowUnitHide(udg_unit40)
set udg_effects04[2]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call UnitDamageTargetBJ(udg_unit40,udg_unit25,15.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.01)
set udg_effects04[6]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call ShowUnitShow(udg_unit40)
call CreateNUnitsAtLoc(1,'o00Q',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call SetUnitPositionLoc(udg_units14[2],GetUnitLoc(udg_unit40))
call SetUnitFlyHeightBJ(udg_units14[2],320.00,0.00)
call SetUnitTimeScalePercent(udg_units14[2],115.00)
call UnitDamageTargetBJ(udg_unit40,udg_unit25,25.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger325)
call EnableTrigger(udg_trigger326)
set udg_units14[3]=GetLastCreatedUnit()
set udg_effects04[3]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"FreezingRing.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"FreezingRing.mdx")
call UnitDamageTargetBJ(udg_unit40,udg_unit25,10.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.01)
set udg_effects04[7]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call CreateNUnitsAtLoc(1,'o00Q',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call SetUnitPositionLoc(udg_units14[3],GetUnitLoc(udg_unit40))
call SetUnitFlyHeightBJ(udg_units14[3],310.00,0.00)
call SetUnitTimeScalePercent(udg_units14[3],115.00)
call UnitDamageTargetBJ(udg_unit40,udg_unit25,30.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger326)
call EnableTrigger(udg_trigger323)
set udg_units14[4]=GetLastCreatedUnit()
call ShowUnitHide(udg_unit40)
set udg_effects04[4]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call UnitDamageTargetBJ(udg_unit40,udg_unit25,20.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.01)
set udg_effects04[8]=GetLastCreatedEffectBJ()
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"blackblink.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"FreezingRing.mdx")
call ShowUnitShow(udg_unit40)
call CreateNUnitsAtLoc(1,'o00Q',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call SetUnitPositionLoc(udg_units14[4],GetUnitLoc(udg_unit40))
call SetUnitFlyHeightBJ(udg_units14[4],320.00,0.00)
call SetUnitTimeScalePercent(udg_units14[4],120.00)
call UnitDamageTargetBJ(udg_unit40,udg_unit25,25.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
call TriggerSleepAction(0.02)
call RemoveUnit(udg_units14[1])
call RemoveUnit(udg_units14[2])
call RemoveUnit(udg_units14[3])
call RemoveUnit(udg_units14[4])
call DestroyEffectBJ(udg_effects04[1])
call DestroyEffectBJ(udg_effects04[2])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerExecute(udg_trigger328)
call PlaySoundBJ(udg_sound73)
endfunction
function Trig_Ura_Renge3_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit25))<=105.00))then
return false
endif
return true
endfunction
function Trig_Ura_Renge3_Actions takes nothing returns nothing
if(Trig_Ura_Renge3_Func001C())then
call DisableTrigger(GetTriggeringTrigger())
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"HelGate.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
endif
endfunction
function Trig_Ura_Renge4_Func001C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge4_Actions takes nothing returns nothing
if(Trig_Ura_Renge4_Func001C())then
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),22.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit65))),GetUnitLoc(udg_unit65))
call SetUnitTimeScalePercent(udg_unit25,600.00)
call SetUnitAnimation(udg_unit25,"Death")
else
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),25.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit65))),GetUnitLoc(udg_unit65))
call SetUnitTimeScalePercent(udg_unit25,700.00)
call SetUnitAnimation(udg_unit25,"Death")
endif
endfunction
function Trig_Ura_Renge5_Func001C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge5_Actions takes nothing returns nothing
if(Trig_Ura_Renge5_Func001C())then
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),23.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit66))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,888.00)
call SetUnitAnimation(udg_unit25,"Death")
else
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),26.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit66))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,444.00)
call SetUnitAnimation(udg_unit25,"Death")
endif
endfunction
function Trig_Ura_Renge6_Func001C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge6_Actions takes nothing returns nothing
if(Trig_Ura_Renge6_Func001C())then
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),22.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit67))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,555.00)
call SetUnitAnimation(udg_unit25,"Death")
else
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),25.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit67))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,590.00)
call SetUnitAnimation(udg_unit25,"Death")
endif
endfunction
function Trig_Ura_Renge7_Func001C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge7_Actions takes nothing returns nothing
if(Trig_Ura_Renge7_Func001C())then
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),23.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit68))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,777.00)
call SetUnitAnimation(udg_unit25,"Death")
else
call SetUnitPositionLocFacingLocBJ(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),26.00,AngleBetweenPoints(GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit68))),GetUnitLoc(udg_unit40))
call SetUnitTimeScalePercent(udg_unit25,444.00)
call SetUnitAnimation(udg_unit25,"Death")
endif
endfunction
function Trig_Ura_Renge_Lee_Func003Func002C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge_Lee_Func003C takes nothing returns boolean
return true
endfunction
function Trig_Ura_Renge_Lee_Actions takes nothing returns nothing
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit25))
if(Trig_Ura_Renge_Lee_Func003C())then
call SetUnitAnimation(udg_unit40,"Attack")
else
if(Trig_Ura_Renge_Lee_Func003Func002C())then
call SetUnitAnimation(udg_unit40,"Spell Slam")
else
call SetUnitAnimation(udg_unit40,"Spell")
endif
endif
endfunction
function Trig_Okonchanie_kombo_Func049A takes nothing returns nothing
call SetUnitTimeScalePercent(GetEnumUnit(),80.00)
endfunction
function Trig_Okonchanie_kombo_Func191A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Okonchanie_kombo_Func193A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Okonchanie_kombo_Func195A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_Okonchanie_kombo_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger327)
call DisableTrigger(udg_trigger320)
call DisableTrigger(udg_trigger323)
call DisableTrigger(udg_trigger324)
call DisableTrigger(udg_trigger325)
call DisableTrigger(udg_trigger326)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetUnitLoc(udg_unit25),GetUnitLoc(udg_unit25))
call SetUnitTimeScalePercent(udg_unit40,100)
call SetUnitTimeScalePercent(udg_unit25,100)
call SetUnitAnimation(udg_unit40,"Spell Five")
call SetUnitTimeScalePercent(udg_unit40,29.00)
call SetUnitAnimation(udg_unit25,"Death")
call SetUnitFlyHeightBJ(udg_unit25,700.00,2000.00)
call SetUnitFlyHeightBJ(udg_unit40,800.00,2500.00)
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit25,700.00,2000.00)
call SetUnitFlyHeightBJ(udg_unit40,800.00,2500.00)
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger329)
call SetUnitFlyHeightBJ(udg_unit25,600.00,700.00)
call SetUnitFlyHeightBJ(udg_unit40,700.00,800.00)
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit25,500.00,600.00)
call SetUnitFlyHeightBJ(udg_unit40,600.00,700.00)
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit25,400.00,500.00)
call SetUnitFlyHeightBJ(udg_unit40,500.00,600.00)
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit25,0.00,400.00)
call SetUnitFlyHeightBJ(udg_unit40,0.00,500.00)
call TriggerSleepAction(0.03)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"NewDirtEXNofire.mdx")
call TriggerSleepAction(0.15)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"NewDirtEXNofire.mdx")
call TriggerSleepAction(0.03)
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-100.00,-100.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,-200.00),"NewDirtEXNofire.mdx")
call TriggerSleepAction(0.02)
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,-300.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),100.00,100.00),"NewDirtEXNofire.mdx")
call CreateNUnitsAtLoc(1,'o00S',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o00S',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o00Q',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call ShowUnitHide(udg_unit40)
call ShowUnitHide(udg_unit25)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00S'),function Trig_Okonchanie_kombo_Func049A)
call CreateNUnitsAtLoc(1,'o00R',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'o00R',GetOwningPlayer(udg_unit40),GetUnitLoc(udg_unit40),bj_UNIT_FACING)
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,200.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,300.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),100.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-100.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,0.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,100.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,200.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,300.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-100.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-200.00),"NewDirtEXNofire.mdx")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-300.00),"NewDirtEXNofire.mdx")
call TriggerSleepAction(0.03)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),-500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit40),0.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),200.00,200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),300.00,300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),400.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),400.00,400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),500.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),500.00,500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-400.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-500.00,0),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),0.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-200.00,-200.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-300.00,-300.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-400.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-400.00,-400.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-500.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(OffsetLocation(GetUnitLoc(udg_unit25),-500.00,-500.00),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call DisableTrigger(udg_trigger329)
call SetUnitTimeScalePercent(udg_unit40,8100.00)
call SetUnitAnimation(udg_unit40,"Death")
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),-585.00,(GetUnitFacing(udg_unit40)+20.00)))
call SetUnitPositionLoc(udg_unit25,PolarProjectionBJ(GetUnitLoc(udg_unit25),485.00,(GetUnitFacing(udg_unit25)+20.00)))
call TriggerSleepAction(0.03)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call TriggerSleepAction(0.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call TriggerSleepAction(0.01)
call ShowUnitShow(udg_unit40)
call ShowUnitShow(udg_unit25)
call UnitRemoveAbilityBJ('Aave',udg_unit25)
call UnitRemoveAbilityBJ('Aave',udg_unit40)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit40),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"earthsmash.mdx")
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit25),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
call TriggerSleepAction(0.10)
call SetUnitTimeScalePercent(udg_unit40,0.01)
call TriggerSleepAction(0.70)
call SetUnitAnimation(udg_unit40,"stand")
call PauseUnitBJ(false,udg_unit40)
call TriggerSleepAction(0.20)
call SetUnitTimeScalePercent(udg_unit40,100.00)
call TriggerSleepAction(2.20)
call PauseUnitBJ(false,udg_unit25)
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00R'),function Trig_Okonchanie_kombo_Func191A)
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00Q'),function Trig_Okonchanie_kombo_Func193A)
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsOfTypeIdAll('o00S'),function Trig_Okonchanie_kombo_Func195A)
endfunction
function Trig_Poslednii_udar_Actions takes nothing returns nothing
call AddSpecialEffectTargetUnitBJ("hand, right",udg_unit40,"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
call UnitDamageTargetBJ(udg_unit40,udg_unit25,5.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Konoha_Repuu_Sasuke2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01I'))then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu_Sasuke2_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,0.10)
set udg_unit27=GetSpellAbilityUnit()
set udg_unit26=GetSpellTargetUnit()
set udg_location08=PolarProjectionBJ(GetUnitLoc(udg_unit26),500.00,GetUnitFacing(udg_unit26))
call PauseUnitBJ(true,udg_unit26)
call PauseUnitBJ(true,udg_unit27)
call UnitAddAbilityBJ('Aave',udg_unit26)
call SetUnitInvulnerable(udg_unit27,true)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit34,-110.00,0.00)
call SetUnitTimeScalePercent(udg_unit27,210.00)
call SetUnitAnimation(udg_unit27,"Attack Two")
call SetUnitAnimation(udg_unit26,"Death")
call TriggerSleepAction(0.01)
call SetUnitFlyHeightBJ(udg_unit34,0.00,-190.00)
call EnableTrigger(udg_trigger331)
call EnableTrigger(udg_trigger332)
call TriggerSleepAction(0.20)
call SetUnitAnimation(udg_unit27,"Stand Ready")
call SetUnitTimeScalePercent(udg_unit27,100.00)
call TriggerSleepAction(0.20)
call UnitRemoveAbilityBJ('Aave',udg_unit26)
call PauseUnitBJ(false,udg_unit27)
call TriggerSleepAction(0.25)
call SetUnitInvulnerable(udg_unit27,false)
call DisableTrigger(udg_trigger331)
call DisableTrigger(udg_trigger332)
call PauseUnitBJ(false,udg_unit26)
endfunction
function Trig_Konoha_Repuu_Sasuke3_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit26,PolarProjectionBJ(GetUnitLoc(udg_unit26),9.00,(GetUnitFacing(udg_unit27)-85.00)))
call UnitDamageTargetBJ(udg_unit27,udg_unit26,1.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Konoha_Repuu_Sasuke4_Func002Func002C takes nothing returns boolean
if((GetTerrainTypeBJ(GetUnitLoc(udg_unit26))=='Lrok'))then
return true
endif
return false
endfunction
function Trig_Konoha_Repuu_Sasuke4_Func002C takes nothing returns boolean
if(not Trig_Konoha_Repuu_Sasuke4_Func002Func002C())then
return false
endif
return true
endfunction
function Trig_Konoha_Repuu_Sasuke4_Actions takes nothing returns nothing
if(Trig_Konoha_Repuu_Sasuke4_Func002C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit26),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit26),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Konoha_Senpu_Sasuke_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01K'))then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_Sasuke_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"blackblink.mdx")
call SetUnitVertexColorBJ(udg_unit34,100,100,100,99.00)
call SetUnitTimeScalePercent(udg_unit34,0.10)
set udg_unit27=GetSpellAbilityUnit()
set udg_unit26=GetSpellTargetUnit()
set udg_location08=PolarProjectionBJ(GetUnitLoc(udg_unit26),500.00,GetUnitFacing(udg_unit26))
call PauseUnitBJ(true,udg_unit26)
call PauseUnitBJ(true,udg_unit27)
call UnitAddAbilityBJ('Aave',udg_unit27)
call SetUnitFlyHeightBJ(udg_unit27,300.00,0.00)
call SetUnitInvulnerable(udg_unit27,true)
call SetUnitAnimation(udg_unit26,"Death")
call TriggerSleepAction(0.00)
call SetUnitFlyHeightBJ(udg_unit27,0.00,400.00)
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,30.00)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit27,200.00)
call SetUnitAnimation(udg_unit27,"Attack Two")
call TriggerSleepAction(0.01)
call SetUnitVertexColorBJ(udg_unit34,100,100,100,0.00)
call EnableTrigger(udg_trigger335)
call TriggerSleepAction(0.04)
call SetUnitTimeScalePercent(udg_unit27,70.00)
call TriggerSleepAction(0.28)
call EnableTrigger(udg_trigger334)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit27,"Stand Spin")
call SetUnitTimeScalePercent(udg_unit27,100.00)
call UnitRemoveAbilityBJ('A01M',udg_unit26)
call TriggerSleepAction(0.12)
call UnitRemoveAbilityBJ('Aave',udg_unit27)
call PauseUnitBJ(false,udg_unit27)
call TriggerSleepAction(0.25)
call SetUnitInvulnerable(udg_unit27,false)
call DisableTrigger(udg_trigger334)
call DisableTrigger(udg_trigger335)
call PauseUnitBJ(false,udg_unit26)
call SetUnitTimeScalePercent(udg_unit34,100.00)
endfunction
function Trig_Konoha_Senpu_Sasuke_2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_unit26,PolarProjectionBJ(GetUnitLoc(udg_unit26),9.00,(GetUnitFacing(udg_unit27)+20.00)))
call UnitDamageTargetBJ(udg_unit27,udg_unit26,2.00,ATTACK_TYPE_MELEE,DAMAGE_TYPE_NORMAL)
endfunction
function Trig_Konoha_Senpu_Sasuke_3_Func001Func002C takes nothing returns boolean
if((GetTerrainTypeBJ(GetUnitLoc(udg_unit26))=='Lrok'))then
return true
endif
return false
endfunction
function Trig_Konoha_Senpu_Sasuke_3_Func001C takes nothing returns boolean
if(not Trig_Konoha_Senpu_Sasuke_3_Func001Func002C())then
return false
endif
return true
endfunction
function Trig_Konoha_Senpu_Sasuke_3_Actions takes nothing returns nothing
if(Trig_Konoha_Senpu_Sasuke_3_Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit26),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit26),"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Konoha_Senpu_Sasuke_4_Actions takes nothing returns nothing
endfunction
function Trig_Pechati_Sasuke_vibor_Actions takes nothing returns nothing
call SelectUnitForPlayerSingle(udg_unit70,GetOwningPlayer(udg_unit34))
call SetUnitManaBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)+1.00))
call UnitResetCooldown(udg_unit34)
endfunction
function Trig_Pechati_Sasuke_Mi_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01V'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Mi_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound69)
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger339)
call EnableTrigger(udg_trigger345)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_Hitsuji_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01W'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Hitsuji_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound70)
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger340)
call EnableTrigger(udg_trigger346)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_Saru_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01X'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Saru_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound69)
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger341)
call EnableTrigger(udg_trigger347)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_I_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01U'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_I_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound70)
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger342)
call EnableTrigger(udg_trigger348)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_Uma_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01Y'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Uma_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound69)
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger343)
call EnableTrigger(udg_trigger349)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_Tora_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01Z'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Func003C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger32)==true))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Func004C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger33)==true))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Func005C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger34)==true))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Func006C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger35)==true))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Func007C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger36)==true))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_Tora_Actions takes nothing returns nothing
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger32)
if(Trig_Pechati_Sasuke_Tora_Func003C())then
call EnableTrigger(udg_trigger33)
else
endif
if(Trig_Pechati_Sasuke_Tora_Func004C())then
call EnableTrigger(udg_trigger34)
else
endif
if(Trig_Pechati_Sasuke_Tora_Func005C())then
call EnableTrigger(udg_trigger35)
else
endif
if(Trig_Pechati_Sasuke_Tora_Func006C())then
call EnableTrigger(udg_trigger36)
else
endif
if(Trig_Pechati_Sasuke_Tora_Func007C())then
call EnableTrigger(udg_trigger37)
else
endif
call AddHeroXPSwapped(29,udg_unit34,true)
call PlaySoundBJ(udg_sound70)
call IssuePointOrderLocBJ(udg_unit34,"breathoffire",GetRectCenter(udg_rect29))
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call TriggerSleepAction(0.05)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call SetUnitTimeScalePercent(udg_unit34,190.00)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_ne_Mi_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01V'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_Mi_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
endfunction
function Trig_Pechati_Sasuke_ne_Hitsuji_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01W'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_Hitsuji_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call DisableTrigger(udg_trigger339)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_ne_Saru_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01X'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_Saru_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call DisableTrigger(udg_trigger340)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_ne_I_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01U'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_I_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call DisableTrigger(udg_trigger341)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_ne_Uma_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01Y'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_Uma_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call DisableTrigger(udg_trigger342)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Pechati_Sasuke_ne_Tora_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()!='A01Z'))then
return false
endif
return true
endfunction
function Trig_Pechati_Sasuke_ne_Tora_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
call EnableTrigger(udg_trigger338)
call EnableTrigger(udg_trigger344)
call DisableTrigger(udg_trigger343)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Udari_po_brevnu3_Actions takes nothing returns nothing
call SelectUnitForPlayerSingle(udg_unit71,GetOwningPlayer(udg_unit34))
endfunction
function Trig_Udari_po_brevnu1_Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu1_Func001Func006Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu1_Func001Func006C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu1_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=80
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Udari_po_brevnu1_Func001Func001C())then
call TriggerSleepAction(0.60)
else
call TriggerSleepAction(0.62)
endif
call UnitRemoveAbilityBJ('A021',udg_unit71)
call UnitRemoveAbilityBJ('A020',udg_unit71)
call UnitRemoveAbilityBJ('A02K',udg_unit71)
call TriggerSleepAction(0.01)
if(Trig_Udari_po_brevnu1_Func001Func006C())then
call UnitAddAbilityBJ('A020',udg_unit71)
else
if(Trig_Udari_po_brevnu1_Func001Func006Func002C())then
call UnitAddAbilityBJ('A021',udg_unit71)
else
call UnitAddAbilityBJ('A02K',udg_unit71)
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Udari_po_brevnu2_Func003C takes nothing returns boolean
if((GetSpellAbilityId()=='A020'))then
return true
endif
if((GetSpellAbilityId()=='A021'))then
return true
endif
if((GetSpellAbilityId()=='A02K'))then
return true
endif
return false
endfunction
function Trig_Udari_po_brevnu2_Conditions takes nothing returns boolean
if(not Trig_Udari_po_brevnu2_Func003C())then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu2_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu2_Actions takes nothing returns nothing
set udg_real03=(udg_real03+3.00)
if(Trig_Udari_po_brevnu2_Func002C())then
call SetUnitTimeScalePercent(udg_unit34,0.10)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,200.00)
call SetUnitAnimation(udg_unit34,"Attack Two")
call AddHeroXPSwapped(11,udg_unit34,true)
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit34,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
else
call SetUnitTimeScalePercent(udg_unit34,0.10)
call TriggerSleepAction(0.01)
call ResetUnitAnimation(udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,210.00)
call SetUnitAnimation(udg_unit34,"Attack Two")
call AddHeroXPSwapped(12,udg_unit34,true)
call TriggerSleepAction(0.01)
call AddSpecialEffectTargetUnitBJ("foot",udg_unit34,"Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl")
endif
endfunction
function Trig_Udari_po_brevnu11_Func001Func006Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu11_Func001Func006C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu11_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=80
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call TriggerSleepAction(0.61)
call UnitRemoveAbilityBJ('A027',udg_unit36)
call UnitRemoveAbilityBJ('A026',udg_unit36)
call UnitRemoveAbilityBJ('A02L',udg_unit36)
call TriggerSleepAction(0.01)
if(Trig_Udari_po_brevnu11_Func001Func006C())then
call UnitAddAbilityBJ('A027',udg_unit36)
else
if(Trig_Udari_po_brevnu11_Func001Func006Func002C())then
call UnitAddAbilityBJ('A026',udg_unit36)
else
call UnitAddAbilityBJ('A02L',udg_unit36)
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function Trig_Udari_po_brevnu22_Func003C takes nothing returns boolean
if((GetSpellAbilityId()=='A026'))then
return true
endif
if((GetSpellAbilityId()=='A027'))then
return true
endif
if((GetSpellAbilityId()=='A02L'))then
return true
endif
return false
endfunction
function Trig_Udari_po_brevnu22_Conditions takes nothing returns boolean
if(not Trig_Udari_po_brevnu22_Func003C())then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu22_Func002Func003C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger443)==true))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu22_Func002Func004C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger443)==true))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu22_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Udari_po_brevnu22_Actions takes nothing returns nothing
set udg_real04=(udg_real03+2.00)
if(Trig_Udari_po_brevnu22_Func002C())then
call SetUnitAnimation(udg_unit40,"Stand Spin")
if(Trig_Udari_po_brevnu22_Func002Func003C())then
call AddHeroXPSwapped(145,udg_unit40,true)
else
call AddHeroXPSwapped(23,udg_unit40,true)
endif
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect42),"Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl")
else
call SetUnitAnimation(udg_unit40,"Attack")
if(Trig_Udari_po_brevnu22_Func002Func004C())then
call AddHeroXPSwapped(155,udg_unit40,true)
else
call AddHeroXPSwapped(26,udg_unit40,true)
endif
call TriggerSleepAction(0.01)
call AddSpecialEffectLocBJ(GetRectCenter(udg_rect42),"Abilities\\Spells\\Orc\\WarStomp\\WarStompCaster.mdl")
endif
endfunction
function Trig_Udari_po_brevnu33_Actions takes nothing returns nothing
call SelectUnitForPlayerSingle(udg_unit36,GetOwningPlayer(udg_unit40))
endfunction
function Trig_Samoe_NACHALO_Func130A takes nothing returns nothing
call IssuePointOrderLocBJ(GetEnumUnit(),"move",GetRectCenter(udg_rect38))
endfunction
function Trig_Samoe_NACHALO_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit41)
call PauseUnitBJ(true,udg_unit51)
call PauseUnitBJ(true,udg_unit38)
call FogMaskEnableOff()
call FogEnableOff()
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(true,udg_unit40)
call CinematicModeBJ(true,GetPlayersAll())
call SetTimeOfDay(12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup14,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup14,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup14,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup14,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup21,Player(4),0)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.50)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.85,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call DisplayTimedTextToForce(GetPlayersAll(),12.00,"TRIGSTR_499")
call TriggerSleepAction(0.20)
call CameraSetupApplyForPlayer(true,udg_camerasetup15,Player(0),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup15,Player(1),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup15,Player(2),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup15,Player(3),14.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup22,Player(4),14.00)
call PlaySoundBJ(udg_sound68)
call TriggerSleepAction(8.45)
call CinematicModeBJ(false,GetPlayersAll())
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect32)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect32)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect32)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect32)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect39)
call TriggerSleepAction(1.00)
call ResetToGameCameraForPlayer(Player(0),1.50)
call ResetToGameCameraForPlayer(Player(1),2.00)
call ResetToGameCameraForPlayer(Player(2),2.00)
call ResetToGameCameraForPlayer(Player(3),2.00)
call ResetToGameCameraForPlayer(Player(4),1.50)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],10.00,"TRIGSTR_500")
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],10.00,"TRIGSTR_598")
call TriggerSleepAction(3.00)
call PlaySoundBJ(udg_sound71)
call TriggerSleepAction(1.00)
call EnableTrigger(udg_trigger06)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],20.00,"TRIGSTR_501")
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],20.00,"TRIGSTR_577")
call TriggerSleepAction(2.00)
call PauseUnitBJ(false,udg_unit34)
call EnableTrigger(udg_trigger337)
call TriggerExecute(udg_trigger353)
call EnableTrigger(udg_trigger354)
call EnableTrigger(udg_trigger355)
call TriggerSleepAction(18.00)
call DisableTrigger(udg_trigger353)
call DisableTrigger(udg_trigger354)
call DisableTrigger(udg_trigger355)
call TriggerSleepAction(0.01)
call SelectUnitForPlayerSingle(udg_unit40,Player(4))
call PauseUnitBJ(true,udg_unit34)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.60)
call DisableTrigger(udg_trigger337)
call TriggerSleepAction(0.40)
call PauseUnitBJ(false,udg_unit34)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect30),GetUnitLoc(udg_unit71))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect40),GetUnitLoc(udg_unit71))
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect33)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect33)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect33)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect33)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect41)
call CameraSetupApplyForPlayer(true,udg_camerasetup16,Player(0),0)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call UnitRemoveAbilityBJ('A001',udg_unit34)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],20.00,"TRIGSTR_502")
call TriggerExecute(udg_trigger351)
call EnableTrigger(udg_trigger352)
call EnableTrigger(udg_trigger350)
call TriggerSleepAction(2.00)
call ResetToGameCameraForPlayer(Player(0),1.00)
call TriggerSleepAction(20.00)
call StopSoundBJ(udg_sound71,true)
call TriggerSleepAction(8.00)
call DisableTrigger(udg_trigger351)
call DisableTrigger(udg_trigger352)
call DisableTrigger(udg_trigger350)
call CinematicModeBJ(true,GetPlayersAll())
call PauseUnitBJ(false,udg_unit40)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.05)
call PlaySoundFromOffsetBJ(udg_sound50,100,18.50)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,"TRIGSTR_516")
call SetCameraBoundsToRectForPlayerBJ(Player(0),GetPlayableMapRect())
call SetCameraBoundsToRectForPlayerBJ(Player(1),GetPlayableMapRect())
call SetCameraBoundsToRectForPlayerBJ(Player(2),GetPlayableMapRect())
call SetCameraBoundsToRectForPlayerBJ(Player(3),GetPlayableMapRect())
call SetCameraBoundsToRectForPlayerBJ(Player(4),GetPlayableMapRect())
call CameraSetupApplyForPlayer(true,udg_camerasetup17,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup17,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup17,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup17,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup17,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup18,Player(0),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup18,Player(1),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup18,Player(2),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup18,Player(3),12.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup18,Player(4),12.00)
call IssuePointOrderLocBJ(udg_unit72,"move",GetRectCenter(udg_rect34))
call IssuePointOrderLocBJ(udg_unit58,"move",GetRectCenter(udg_rect35))
call IssuePointOrderLocBJ(udg_unit73,"move",GetRectCenter(udg_rect36))
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect31),GetUnitLoc(udg_unit69))
call TriggerSleepAction(7.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.05)
call KillUnit(udg_unit72)
call KillUnit(udg_unit58)
call KillUnit(udg_unit73)
call CameraSetupApplyForPlayer(true,udg_camerasetup19,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup19,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup19,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup19,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup19,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup20,Player(0),20.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup20,Player(1),20.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup20,Player(2),20.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup20,Player(3),20.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup20,Player(4),20.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call ForGroupBJ(GetUnitsInRectAll(udg_rect37),function Trig_Samoe_NACHALO_Func130A)
call SelectUnitForPlayerSingle(udg_unit34,Player(0))
call UnitAddAbilityBJ('A00G',udg_unit34)
call TriggerSleepAction(6.50)
call StopSoundBJ(udg_sound50,true)
call TriggerExecute(udg_trigger01)
endfunction
function Trig_Mishka_Actions takes nothing returns nothing
call SetUnitOwner(udg_unit75,Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call UnitRemoveAbilityBJ('Awan',udg_unit75)
endfunction
function Trig_Mishka2_Actions takes nothing returns nothing
call CreateNUnitsAtLoc(1,'n001',Player(PLAYER_NEUTRAL_AGGRESSIVE),GetRectCenter(udg_rect44),bj_UNIT_FACING)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Mishka3_Actions takes nothing returns nothing
call SetUnitOwner(udg_unit74,Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call UnitRemoveAbilityBJ('Awan',udg_unit74)
endfunction
function Trig_Mishka4_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger358)
endfunction
function Trig_Vtoroi_etap_Func015A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),false)
call PauseUnitBJ(false,GetEnumUnit())
endfunction
function Trig_Vtoroi_etap_Func062A takes nothing returns nothing
call PauseUnitBJ(false,GetEnumUnit())
endfunction
function Trig_Vtoroi_etap_Func064C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Vtoroi_etap_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound94,true)
call CinematicModeBJ(true,GetPlayersAll())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.90)
call PlaySoundBJ(udg_sound50)
call TriggerSleepAction(1.00)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect51)
call TriggerSleepAction(0.01)
call CameraSetupApplyForPlayer(true,udg_camerasetup23,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup24,Player(0),9.00)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect46),GetRectCenter(udg_rect49))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect47),GetRectCenter(udg_rect49))
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect48),GetRectCenter(udg_rect49))
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsInRectAll(udg_rect50),function Trig_Vtoroi_etap_Func015A)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.50,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.70)
call EnableTrigger(udg_trigger362)
call TriggerExecute(udg_trigger363)
call SetUnitTimeScalePercent(udg_unit35,245.00)
call TransmissionFromUnitWithNameBJ(bj_FORCE_PLAYER[0],udg_unit35,"TRIGSTR_601",udg_sound76,"TRIGSTR_602",bj_TIMETYPE_ADD,0,true)
call ResetUnitAnimation(udg_unit35)
call TriggerSleepAction(0.10)
call SetUnitTimeScalePercent(udg_unit35,100.00)
call SetUnitTimeScalePercent(udg_unit59,40.00)
call SetUnitAnimation(udg_unit59,"stand Ready")
call TriggerSleepAction(0.60)
call SetUnitTimeScalePercent(udg_unit59,100.00)
call TriggerSleepAction(1.05)
call IssuePointOrderLocBJ(udg_unit35,"move",GetRectCenter(udg_rect52))
call IssuePointOrderLocBJ(udg_unit59,"move",GetRectCenter(udg_rect54))
call IssuePointOrderLocBJ(udg_unit34,"move",GetRectCenter(udg_rect53))
call CameraSetupApplyForPlayer(true,udg_camerasetup25,Player(0),6.00)
call DisplayTextToForce(GetPlayersAll(),"TRIGSTR_600")
call TriggerSleepAction(4.00)
call SetUnitManaBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)+300.00))
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+1000.00))
call SetUnitLifeBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)+1000.00))
call SetUnitOwner(udg_unit35,Player(5),false)
call SetUnitOwner(udg_unit59,Player(7),false)
call TriggerSleepAction(0.10)
call ResetToGameCameraForPlayer(Player(0),1.00)
call CinematicModeBJ(false,GetPlayersAll())
call TriggerSleepAction(2)
call FogEnableOn()
call FogMaskEnableOn()
call IssueImmediateOrderBJ(udg_unit35,"stop")
call IssueImmediateOrderBJ(udg_unit59,"stop")
call EnableTrigger(udg_trigger364)
call EnableTrigger(udg_trigger365)
call EnableTrigger(udg_trigger371)
call EnableTrigger(udg_trigger372)
call EnableTrigger(udg_trigger373)
call EnableTrigger(udg_trigger374)
call EnableTrigger(udg_trigger375)
call EnableTrigger(udg_trigger376)
call EnableTrigger(udg_trigger377)
call EnableTrigger(udg_trigger378)
call EnableTrigger(udg_trigger379)
call TriggerSleepAction(10.00)
call DisplayTextToForce(GetPlayersAll(),"TRIGSTR_1084")
call ForGroupBJ(GetUnitsInRectAll(udg_rect55),function Trig_Vtoroi_etap_Func062A)
call TriggerSleepAction(21.00)
if(Trig_Vtoroi_etap_Func064C())then
call PlaySoundBJ(udg_sound78)
call TriggerSleepAction(145.00)
call PlaySoundBJ(udg_sound48)
call TriggerSleepAction(80.00)
call PlaySoundBJ(udg_sound47)
call TriggerSleepAction(80.00)
call PlaySoundBJ(udg_sound79)
call TriggerSleepAction(400.00)
call DisableTrigger(udg_trigger399)
call DisableTrigger(udg_trigger400)
call DisableTrigger(udg_trigger401)
call DisableTrigger(udg_trigger402)
call DisableTrigger(udg_trigger403)
call TriggerSleepAction(8.00)
call TriggerExecute(udg_trigger392)
else
call PlaySoundBJ(udg_sound79)
call TriggerSleepAction(80.00)
call PlaySoundBJ(udg_sound78)
call TriggerSleepAction(145.00)
call PlaySoundBJ(udg_sound47)
call TriggerSleepAction(80.00)
call PlaySoundBJ(udg_sound48)
call TriggerSleepAction(350.00)
call DisableTrigger(udg_trigger399)
call DisableTrigger(udg_trigger400)
call DisableTrigger(udg_trigger401)
call DisableTrigger(udg_trigger402)
call DisableTrigger(udg_trigger403)
call TriggerSleepAction(8.00)
call TriggerExecute(udg_trigger392)
endif
endfunction
function Trig_Naruto_mahaet_rukami_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit35,"Attack")
endfunction
function Trig_Naruto_mahaet_rukami2_Actions takes nothing returns nothing
call TriggerSleepAction(1.78)
call DisableTrigger(udg_trigger362)
endfunction
function Trig_Beg_k_Sasuke_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_unit34))>=670.00))then
return false
endif
return true
endfunction
function Trig_Beg_k_Sasuke_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(udg_unit35,"move",GetUnitLoc(udg_unit34))
endfunction
function Trig_Beg_k_Sasuke2_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit59),GetUnitLoc(udg_unit34))>=650.00))then
return false
endif
return true
endfunction
function Trig_Beg_k_Sasuke2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(udg_unit59,"move",GetUnitLoc(udg_unit34))
endfunction
function Trig_Vtoroi_etap_Lee_Func011A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),false)
call PauseUnitBJ(false,GetEnumUnit())
endfunction
function Trig_Vtoroi_etap_Lee_Actions takes nothing returns nothing
call TriggerSleepAction(0.90)
call TriggerSleepAction(1.00)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect51)
call TriggerSleepAction(0.01)
call CameraSetupApplyForPlayer(true,udg_camerasetup26,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup27,Player(4),9.00)
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect56),GetRectCenter(udg_rect57))
call SetUnitPositionLocFacingLocBJ(udg_unit37,GetRectCenter(udg_rect58),GetRectCenter(udg_rect57))
call SetUnitPositionLocFacingLocBJ(udg_unit76,GetRectCenter(udg_rect59),GetRectCenter(udg_rect57))
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsInRectAll(udg_rect60),function Trig_Vtoroi_etap_Lee_Func011A)
call TriggerSleepAction(0.70)
call TransmissionFromUnitWithNameBJ(bj_FORCE_PLAYER[4],udg_unit40,"TRIGSTR_621",udg_sound80,"TRIGSTR_622",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(1.10)
call IssuePointOrderLocBJ(udg_unit40,"move",GetRectCenter(udg_rect61))
call IssuePointOrderLocBJ(udg_unit37,"move",GetRectCenter(udg_rect62))
call IssuePointOrderLocBJ(udg_unit76,"move",GetRectCenter(udg_rect63))
call CameraSetupApplyForPlayer(true,udg_camerasetup28,Player(4),6.00)
call TriggerSleepAction(4.00)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+1000.00))
call SetUnitOwner(udg_unit37,Player(9),false)
call SetUnitOwner(udg_unit76,Player(10),false)
call TriggerSleepAction(0.10)
call ResetToGameCameraForPlayer(Player(4),1.00)
call TriggerSleepAction(2)
call IssueImmediateOrderBJ(udg_unit37,"stop")
call IssueImmediateOrderBJ(udg_unit76,"stop")
call EnableTrigger(udg_trigger367)
call EnableTrigger(udg_trigger368)
endfunction
function Trig_Beg_k_Lee_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit37),GetUnitLoc(udg_unit40))>=670.00))then
return false
endif
return true
endfunction
function Trig_Beg_k_Lee_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(udg_unit37,"move",GetUnitLoc(udg_unit40))
endfunction
function Trig_Beg_k_Lee2_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit76),GetUnitLoc(udg_unit40))>=650.00))then
return false
endif
return true
endfunction
function Trig_Beg_k_Lee2_Actions takes nothing returns nothing
call IssuePointOrderLocBJ(udg_unit76,"move",GetUnitLoc(udg_unit40))
endfunction
function Trig_Vtoroi_etap_zvuk_Func017A takes nothing returns nothing
call SetUnitInvulnerable(GetEnumUnit(),false)
call PauseUnitBJ(false,GetEnumUnit())
endfunction
function Trig_Vtoroi_etap_zvuk_Actions takes nothing returns nothing
call TriggerSleepAction(0.90)
call TriggerSleepAction(1.00)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect51)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect51)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect51)
call TriggerSleepAction(0.01)
call CameraSetupApplyForPlayer(true,udg_camerasetup29,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup29,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup29,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup30,Player(1),9.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup30,Player(2),9.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup30,Player(3),9.00)
call SetUnitPositionLocFacingLocBJ(udg_unit41,GetRectCenter(udg_rect64),GetRectCenter(udg_rect67))
call SetUnitPositionLocFacingLocBJ(udg_unit51,GetRectCenter(udg_rect65),GetRectCenter(udg_rect67))
call SetUnitPositionLocFacingLocBJ(udg_unit38,GetRectCenter(udg_rect66),GetRectCenter(udg_rect67))
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsInRectAll(udg_rect68),function Trig_Vtoroi_etap_zvuk_Func017A)
call TriggerSleepAction(0.70)
call TransmissionFromUnitWithNameBJ(GetPlayersAllies(Player(1)),udg_unit41,"TRIGSTR_623",udg_sound81,"TRIGSTR_624",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(1.10)
call IssuePointOrderLocBJ(udg_unit41,"move",GetRectCenter(udg_rect67))
call IssuePointOrderLocBJ(udg_unit38,"move",GetRectCenter(udg_rect69))
call IssuePointOrderLocBJ(udg_unit51,"move",GetRectCenter(udg_rect70))
call CameraSetupApplyForPlayer(true,udg_camerasetup31,Player(1),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup31,Player(2),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup31,Player(3),7.00)
call UnitAddItemSwapped(udg_item01,udg_unit41)
call UnitAddItemSwapped(udg_item02,udg_unit34)
call UnitAddItemSwapped(udg_item03,udg_unit40)
call TriggerSleepAction(4.00)
call ResetToGameCameraForPlayer(Player(1),2.00)
call ResetToGameCameraForPlayer(Player(2),2.00)
call ResetToGameCameraForPlayer(Player(3),2.00)
call EnableTrigger(udg_trigger399)
call EnableTrigger(udg_trigger400)
call EnableTrigger(udg_trigger401)
call EnableTrigger(udg_trigger402)
call EnableTrigger(udg_trigger403)
endfunction
function Trig_kripi_Func001A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_kripi_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRectAll(udg_rect55),function Trig_kripi_Func001A)
endfunction
function Trig_Geroi_v_lesu_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit34),GetUnitLoc(udg_unit40))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit34),GetUnitLoc(udg_unit41))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit34),GetUnitLoc(udg_unit38))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu_Func004C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit34),GetUnitLoc(udg_unit51))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu_Actions takes nothing returns nothing
if(Trig_Geroi_v_lesu_Func001C())then
call AddHeroXPSwapped(100,udg_unit40,false)
else
endif
if(Trig_Geroi_v_lesu_Func002C())then
call AddHeroXPSwapped(100,udg_unit41,false)
else
endif
if(Trig_Geroi_v_lesu_Func003C())then
call AddHeroXPSwapped(100,udg_unit38,false)
else
endif
if(Trig_Geroi_v_lesu_Func004C())then
call AddHeroXPSwapped(100,udg_unit51,false)
else
endif
call PauseUnitBJ(true,udg_unit34)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+100.00))
call SetUnitInvulnerable(udg_unit34,true)
call SetUnitTimeScalePercent(udg_unit34,50.00)
call TriggerSleepAction(0.10)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+100.00))
call SetUnitAnimation(udg_unit34,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit34,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit34,"Death")
call PauseUnitBJ(true,udg_unit34)
call TriggerSleepAction(20.90)
call SetUnitInvulnerable(udg_unit34,false)
call PauseUnitBJ(false,udg_unit34)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+100.00))
call SetUnitTimeScalePercent(udg_unit34,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+100.00))
call SetUnitTimeScalePercent(udg_unit34,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)+25.00))
call SetUnitTimeScalePercent(udg_unit34,100.00)
endfunction
function Trig_Geroi_v_lesu2_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit41),GetUnitLoc(udg_unit34))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu2_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit41),GetUnitLoc(udg_unit40))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu2_Actions takes nothing returns nothing
if(Trig_Geroi_v_lesu2_Func001C())then
call AddHeroXPSwapped(100,udg_unit34,false)
else
endif
if(Trig_Geroi_v_lesu2_Func002C())then
call AddHeroXPSwapped(100,udg_unit40,false)
else
endif
call PauseUnitBJ(true,udg_unit41)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+100.00))
call SetUnitInvulnerable(udg_unit41,true)
call SetUnitTimeScalePercent(udg_unit41,50.00)
call TriggerSleepAction(0.10)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+100.00))
call SetUnitAnimation(udg_unit41,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit41,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit41,"Death")
call PauseUnitBJ(true,udg_unit41)
call TriggerSleepAction(20.90)
call SetUnitInvulnerable(udg_unit41,false)
call PauseUnitBJ(false,udg_unit41)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+100.00))
call SetUnitTimeScalePercent(udg_unit41,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+100.00))
call SetUnitTimeScalePercent(udg_unit41,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)+25.00))
call SetUnitTimeScalePercent(udg_unit41,100.00)
endfunction
function Trig_Geroi_v_lesu3_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit34))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu3_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit41))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu3_Func003C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit38))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu3_Func004C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit40),GetUnitLoc(udg_unit51))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu3_Actions takes nothing returns nothing
if(Trig_Geroi_v_lesu3_Func001C())then
call AddHeroXPSwapped(100,udg_unit34,false)
else
endif
if(Trig_Geroi_v_lesu3_Func002C())then
call AddHeroXPSwapped(100,udg_unit41,false)
else
endif
if(Trig_Geroi_v_lesu3_Func003C())then
call AddHeroXPSwapped(100,udg_unit38,false)
else
endif
if(Trig_Geroi_v_lesu3_Func004C())then
call AddHeroXPSwapped(100,udg_unit51,false)
else
endif
call PauseUnitBJ(true,udg_unit40)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+100.00))
call SetUnitInvulnerable(udg_unit40,true)
call SetUnitTimeScalePercent(udg_unit40,50.00)
call TriggerSleepAction(0.10)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+100.00))
call SetUnitAnimation(udg_unit40,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit40,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit40,"Death")
call PauseUnitBJ(true,udg_unit40)
call TriggerSleepAction(20.90)
call SetUnitInvulnerable(udg_unit40,false)
call PauseUnitBJ(false,udg_unit40)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+100.00))
call SetUnitTimeScalePercent(udg_unit40,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+100.00))
call SetUnitTimeScalePercent(udg_unit40,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)+25.00))
call SetUnitTimeScalePercent(udg_unit40,100.00)
endfunction
function Trig_Geroi_v_lesu4_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit38),GetUnitLoc(udg_unit34))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu4_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit38),GetUnitLoc(udg_unit40))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu4_Actions takes nothing returns nothing
if(Trig_Geroi_v_lesu4_Func001C())then
call AddHeroXPSwapped(100,udg_unit34,false)
else
endif
if(Trig_Geroi_v_lesu4_Func002C())then
call AddHeroXPSwapped(100,udg_unit40,false)
else
endif
call PauseUnitBJ(true,udg_unit38)
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+100.00))
call SetUnitInvulnerable(udg_unit38,true)
call SetUnitTimeScalePercent(udg_unit38,50.00)
call TriggerSleepAction(0.10)
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+100.00))
call SetUnitAnimation(udg_unit38,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit38,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit38,"Death")
call PauseUnitBJ(true,udg_unit38)
call TriggerSleepAction(20.90)
call SetUnitInvulnerable(udg_unit38,false)
call PauseUnitBJ(false,udg_unit38)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+100.00))
call SetUnitTimeScalePercent(udg_unit38,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+100.00))
call SetUnitTimeScalePercent(udg_unit38,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)+25.00))
call SetUnitTimeScalePercent(udg_unit38,100.00)
endfunction
function Trig_Geroi_v_lesu5_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit51),GetUnitLoc(udg_unit34))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu5_Func002C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit51),GetUnitLoc(udg_unit40))<=1400.00))then
return false
endif
return true
endfunction
function Trig_Geroi_v_lesu5_Actions takes nothing returns nothing
if(Trig_Geroi_v_lesu5_Func001C())then
call AddHeroXPSwapped(100,udg_unit34,false)
else
endif
if(Trig_Geroi_v_lesu5_Func002C())then
call AddHeroXPSwapped(100,udg_unit40,false)
else
endif
call PauseUnitBJ(true,udg_unit51)
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+100.00))
call SetUnitInvulnerable(udg_unit51,true)
call SetUnitTimeScalePercent(udg_unit51,50.00)
call TriggerSleepAction(0.10)
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+100.00))
call SetUnitAnimation(udg_unit51,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit51,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit51,"Death")
call PauseUnitBJ(true,udg_unit51)
call TriggerSleepAction(20.90)
call SetUnitInvulnerable(udg_unit51,false)
call PauseUnitBJ(false,udg_unit51)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+100.00))
call SetUnitTimeScalePercent(udg_unit51,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+100.00))
call SetUnitTimeScalePercent(udg_unit51,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)+25.00))
call SetUnitTimeScalePercent(udg_unit51,100.00)
endfunction
function Trig_Geroi_v_lesu6_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit37)
call SetUnitInvulnerable(udg_unit37,true)
call SetUnitTimeScalePercent(udg_unit37,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit37,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit37,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit37,"Death")
call PauseUnitBJ(true,udg_unit37)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit37,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit37)+100.00))
call SetUnitInvulnerable(udg_unit37,false)
call PauseUnitBJ(false,udg_unit37)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit37,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit37)+100.00))
call SetUnitTimeScalePercent(udg_unit37,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit37,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit37)+100.00))
call SetUnitTimeScalePercent(udg_unit37,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit37,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit37)+25.00))
call SetUnitTimeScalePercent(udg_unit37,100.00)
endfunction
function Trig_Geroi_v_lesu7_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit76)
call SetUnitInvulnerable(udg_unit76,true)
call SetUnitTimeScalePercent(udg_unit76,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit76,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit76,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit76,"Death")
call PauseUnitBJ(true,udg_unit76)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit76,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit76)+100.00))
call SetUnitInvulnerable(udg_unit76,false)
call PauseUnitBJ(false,udg_unit76)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit76,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit76)+100.00))
call SetUnitTimeScalePercent(udg_unit76,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit76,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit76)+100.00))
call SetUnitTimeScalePercent(udg_unit76,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit76,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit76)+25.00))
call SetUnitTimeScalePercent(udg_unit76,100.00)
endfunction
function Trig_Geroi_v_lesu8_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit59)
call SetUnitInvulnerable(udg_unit59,true)
call SetUnitTimeScalePercent(udg_unit59,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit59,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit59,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit59,"Death")
call PauseUnitBJ(true,udg_unit59)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit59,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit59)+100.00))
call SetUnitInvulnerable(udg_unit59,false)
call PauseUnitBJ(false,udg_unit59)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit59,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit59)+100.00))
call SetUnitTimeScalePercent(udg_unit59,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit59,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit59)+100.00))
call SetUnitTimeScalePercent(udg_unit59,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit59,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit59)+25.00))
call SetUnitTimeScalePercent(udg_unit59,100.00)
endfunction
function Trig_Geroi_v_lesu9_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit35)
call SetUnitInvulnerable(udg_unit35,true)
call SetUnitTimeScalePercent(udg_unit35,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit35,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit35,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit35,"Death")
call PauseUnitBJ(true,udg_unit35)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)+100.00))
call SetUnitInvulnerable(udg_unit35,false)
call PauseUnitBJ(false,udg_unit35)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)+100.00))
call SetUnitTimeScalePercent(udg_unit35,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)+100.00))
call SetUnitTimeScalePercent(udg_unit35,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)+25.00))
call SetUnitTimeScalePercent(udg_unit35,100.00)
endfunction
function Trig_Geroi_v_lesu10_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit96)
call SetUnitInvulnerable(udg_unit96,true)
call SetUnitTimeScalePercent(udg_unit96,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit96,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit96,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit96,"Death")
call PauseUnitBJ(true,udg_unit96)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit96,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)+100.00))
call SetUnitInvulnerable(udg_unit96,false)
call PauseUnitBJ(false,udg_unit96)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit96,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)+100.00))
call SetUnitTimeScalePercent(udg_unit96,80.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit96,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)+100.00))
call SetUnitTimeScalePercent(udg_unit96,90.00)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit96,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)+25.00))
call SetUnitTimeScalePercent(udg_unit96,100.00)
endfunction
function Trig_Geroi_v_lesu11_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit91)
call SetUnitInvulnerable(udg_unit91,true)
call SetUnitTimeScalePercent(udg_unit91,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit91,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit91,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit91,"Death")
call PauseUnitBJ(true,udg_unit91)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit91,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit91)+100.00))
call SetUnitInvulnerable(udg_unit91,false)
call PauseUnitBJ(false,udg_unit91)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit91,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit91)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit91,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit91)+25.00))
call SetUnitTimeScalePercent(udg_unit91,100.00)
endfunction
function Trig_Geroi_v_lesu12_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit92)
call SetUnitInvulnerable(udg_unit92,true)
call SetUnitTimeScalePercent(udg_unit92,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit92,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit92,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit92,"Death")
call PauseUnitBJ(true,udg_unit92)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit92,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit92)+100.00))
call SetUnitInvulnerable(udg_unit92,false)
call PauseUnitBJ(false,udg_unit92)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit92,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit92)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit92,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit92)+25.00))
call SetUnitTimeScalePercent(udg_unit92,100.00)
endfunction
function Trig_Geroi_v_lesu13_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit93)
call SetUnitInvulnerable(udg_unit93,true)
call SetUnitTimeScalePercent(udg_unit93,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit93,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit93,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit93,"Death")
call PauseUnitBJ(true,udg_unit93)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit93,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit93)+100.00))
call SetUnitInvulnerable(udg_unit93,false)
call PauseUnitBJ(false,udg_unit93)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit93,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit93)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit93,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit93)+25.00))
call SetUnitTimeScalePercent(udg_unit93,100.00)
endfunction
function Trig_Geroi_v_lesu14_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit94)
call SetUnitInvulnerable(udg_unit94,true)
call SetUnitTimeScalePercent(udg_unit94,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit94,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit94,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit94,"Death")
call PauseUnitBJ(true,udg_unit94)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit94,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit94)+100.00))
call SetUnitInvulnerable(udg_unit94,false)
call PauseUnitBJ(false,udg_unit94)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit94,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit94)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit94,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit94)+25.00))
call SetUnitTimeScalePercent(udg_unit94,100.00)
endfunction
function Trig_Geroi_v_lesu15_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit95)
call SetUnitInvulnerable(udg_unit95,true)
call SetUnitTimeScalePercent(udg_unit95,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit95,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit95,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit95,"Death")
call PauseUnitBJ(true,udg_unit95)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit95,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit95)+100.00))
call SetUnitInvulnerable(udg_unit95,false)
call PauseUnitBJ(false,udg_unit95)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit95,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit95)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit95,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit95)+25.00))
call SetUnitTimeScalePercent(udg_unit95,100.00)
endfunction
function Trig_Geroi_v_lesu16_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit100)
call SetUnitInvulnerable(udg_unit100,true)
call SetUnitTimeScalePercent(udg_unit100,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit100,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit100,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit100,"Death")
call PauseUnitBJ(true,udg_unit100)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit100,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit100)+100.00))
call SetUnitInvulnerable(udg_unit100,false)
call PauseUnitBJ(false,udg_unit100)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit100,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit100)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit100,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit100)+25.00))
call SetUnitTimeScalePercent(udg_unit100,100.00)
endfunction
function Trig_Geroi_v_lesu17_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit84)
call SetUnitInvulnerable(udg_unit84,true)
call SetUnitTimeScalePercent(udg_unit84,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit84,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit84,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit84,"Death")
call PauseUnitBJ(true,udg_unit84)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit84,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit84)+100.00))
call SetUnitInvulnerable(udg_unit84,false)
call PauseUnitBJ(false,udg_unit84)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit84,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit84)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit84,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit84)+25.00))
call SetUnitTimeScalePercent(udg_unit84,100.00)
endfunction
function Trig_Geroi_v_lesu18_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit101)
call SetUnitInvulnerable(udg_unit101,true)
call SetUnitTimeScalePercent(udg_unit101,50.00)
call TriggerSleepAction(0.10)
call SetUnitAnimation(udg_unit101,"Death")
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit101,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit101,"Death")
call PauseUnitBJ(true,udg_unit101)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit101,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit101)+100.00))
call SetUnitInvulnerable(udg_unit101,false)
call PauseUnitBJ(false,udg_unit101)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit101,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit101)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit101,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit101)+25.00))
call SetUnitTimeScalePercent(udg_unit101,100.00)
endfunction
function Trig_Geroi_v_lesu19_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit89)
call SetUnitInvulnerable(udg_unit89,true)
call TriggerSleepAction(0.10)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit89,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit89,"Death")
call PauseUnitBJ(true,udg_unit89)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit89,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit89)+100.00))
call SetUnitInvulnerable(udg_unit89,false)
call PauseUnitBJ(false,udg_unit89)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit89,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit89)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit89,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit89)+25.00))
call SetUnitTimeScalePercent(udg_unit89,100.00)
endfunction
function Trig_Geroi_v_lesu20_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit88)
call SetUnitInvulnerable(udg_unit88,true)
call TriggerSleepAction(0.10)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit88,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit88,"Death")
call PauseUnitBJ(true,udg_unit88)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit88,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit88)+100.00))
call SetUnitInvulnerable(udg_unit88,false)
call PauseUnitBJ(false,udg_unit88)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit88,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit88)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit88,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit88)+25.00))
call SetUnitTimeScalePercent(udg_unit88,100.00)
endfunction
function Trig_Geroi_v_lesu21_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit90)
call SetUnitInvulnerable(udg_unit90,true)
call TriggerSleepAction(0.10)
call AddSpecialEffectTargetUnitBJ("overhead",udg_unit90,"Objects\\Spawnmodels\\Human\\HumanBlood\\BloodElfSpellThiefBlood.mdl")
call TriggerSleepAction(1.10)
call SetUnitAnimation(udg_unit90,"Death")
call PauseUnitBJ(true,udg_unit90)
call TriggerSleepAction(28.90)
call SetUnitLifeBJ(udg_unit90,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit90)+100.00))
call SetUnitInvulnerable(udg_unit90,false)
call PauseUnitBJ(false,udg_unit90)
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit90,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit90)+100.00))
call TriggerSleepAction(1.00)
call SetUnitLifeBJ(udg_unit90,(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit90)+25.00))
call SetUnitTimeScalePercent(udg_unit90,100.00)
endfunction
function Trig_Suzet_pro_Oricha_Func029A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_Suzet_pro_Oricha_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger364)
call DisableTrigger(udg_trigger365)
call DisableTrigger(udg_trigger367)
call DisableTrigger(udg_trigger368)
call SetUnitInvulnerable(udg_unit34,true)
call SetUnitInvulnerable(udg_unit59,true)
call SetUnitInvulnerable(udg_unit35,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call DisplayTimedTextToForce(GetPlayersAll(),8.00,"TRIGSTR_659")
call TriggerSleepAction(1.90)
call PlaySoundBJ(udg_sound79)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect76)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect76)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect76)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect76)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect76)
call CinematicModeBJ(true,GetPlayersAll())
call TriggerSleepAction(0.30)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitTimeScalePercent(udg_unit35,800.00)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect72),GetUnitLoc(udg_unit77))
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect71),GetUnitLoc(udg_unit77))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect73),GetUnitLoc(udg_unit77))
call SetUnitAnimation(udg_unit34,"stand Ready")
call SetUnitAnimation(udg_unit77,"stand Ready")
call SetUnitAnimation(udg_unit59,"stand")
call SetUnitAnimation(udg_unit35,"Death")
call TriggerSleepAction(0.01)
call ForGroupBJ(GetUnitsInRectAll(udg_rect51),function Trig_Suzet_pro_Oricha_Func029A)
call CameraSetupApplyForPlayer(true,udg_camerasetup32,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup32,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup32,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup32,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup32,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup33,Player(0),35.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup33,Player(1),35.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup33,Player(2),35.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup33,Player(3),35.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup33,Player(4),35.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit77,"TRIGSTR_647",udg_sound82,"TRIGSTR_648",bj_TIMETYPE_ADD,0,true)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit34,"TRIGSTR_649",udg_sound83,"TRIGSTR_650",bj_TIMETYPE_ADD,0,true)
call IssuePointOrderLocBJ(udg_unit34,"move",GetRectCenter(udg_rect74))
call TriggerSleepAction(1.00)
call SetUnitTimeScalePercent(udg_unit35,100.00)
call SetUnitAnimation(udg_unit77,"Spell summon cossin")
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.05)
call PlaySoundBJ(udg_sound29)
call TriggerSleepAction(1.00)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit34,"TRIGSTR_653",udg_sound86,"TRIGSTR_654",bj_TIMETYPE_ADD,0,true)
call TriggerSleepAction(0.50)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLoc(udg_unit34,GetRectCenter(udg_rect75))
call SetUnitPositionLoc(udg_unit59,GetRectCenter(udg_rect77))
call SetUnitTimeScalePercent(udg_unit34,20.00)
call SetUnitAnimation(udg_unit34,"Death")
call TriggerSleepAction(1.00)
call SetUnitTimeScalePercent(udg_unit34,4.00)
call SetUnitFacingToFaceUnitTimed(udg_unit59,udg_unit77,0.85)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit59,"TRIGSTR_655",udg_sound85,"TRIGSTR_656",bj_TIMETYPE_ADD,0,true)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit77,"TRIGSTR_657",udg_sound84,"TRIGSTR_658",bj_TIMETYPE_ADD,0,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.70,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call StopSoundBJ(udg_sound79,true)
call TriggerExecute(udg_trigger07)
endfunction
function Trig_Pogoda_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Pogoda_Actions takes nothing returns nothing
if(Trig_Pogoda_Func001C())then
call SetTimeOfDay(20.50)
call PlaySoundBJ(udg_sound111)
call TriggerSleepAction(15.00)
call PlaySoundBJ(udg_sound113)
call AddWeatherEffectSaveLast(GetPlayableMapRect(),'RAlr')
call EnableWeatherEffect(GetLastCreatedWeatherEffect(),true)
call TriggerSleepAction(10.00)
call PlaySoundBJ(udg_sound112)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(5.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,20.00)
call TriggerSleepAction(0.01)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(10.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound112)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(15.00)
call EnableWeatherEffect(GetLastCreatedWeatherEffect(),false)
else
call SetTimeOfDay(21.30)
call PlaySoundBJ(udg_sound111)
call TriggerSleepAction(30.00)
call PlaySoundBJ(udg_sound112)
call AddWeatherEffectSaveLast(GetPlayableMapRect(),'RAhr')
call EnableWeatherEffect(GetLastCreatedWeatherEffect(),true)
call TriggerSleepAction(10.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,20.00)
call TriggerSleepAction(0.01)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(8.00)
call PlaySoundBJ(udg_sound112)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(1.00)
call PlaySoundBJ(udg_sound113)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(12.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound112)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(5.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,10.00)
call TriggerSleepAction(0.01)
call PlaySoundBJ(udg_sound112)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,0.01,"ReplaceableTextures\\CameraMasks\\White_mask.blp",100.00,100.00,100.00,95.00)
call TriggerSleepAction(10.00)
call EnableWeatherEffect(GetLastCreatedWeatherEffect(),false)
endif
endfunction
function Trig_Tai_Jutsu1_Func002C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02M',udg_unit34)==1))then
return false
endif
return true
endfunction
function Trig_Tai_Jutsu1_Actions takes nothing returns nothing
if(Trig_Tai_Jutsu1_Func002C())then
call UnitAddAbilityBJ('A00J',udg_unit34)
call DisableTrigger(GetTriggeringTrigger())
else
endif
endfunction
function Trig_Tai_Jutsu2_Func002C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02M',udg_unit34)==2))then
return false
endif
return true
endfunction
function Trig_Tai_Jutsu2_Func003C takes nothing returns boolean
if(not(GetUnitAbilityLevelSwapped('A02M',udg_unit34)==3))then
return false
endif
return true
endfunction
function Trig_Tai_Jutsu2_Actions takes nothing returns nothing
if(Trig_Tai_Jutsu2_Func002C())then
call SetUnitAbilityLevelSwapped('A00J',udg_unit34,2)
else
endif
if(Trig_Tai_Jutsu2_Func003C())then
call SetUnitAbilityLevelSwapped('A00J',udg_unit34,3)
call DisableTrigger(GetTriggeringTrigger())
else
endif
endfunction
function Trig_housenka_re_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A00B'))then
return false
endif
return true
endfunction
function Trig_housenka_re_Func021C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_housenka_re_Actions takes nothing returns nothing
call PauseUnitBJ(true,udg_unit34)
call SetUnitTimeScalePercent(udg_unit34,135.00)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.02)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call TriggerSleepAction(0.03)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.04)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call TriggerSleepAction(0.02)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound70)
call TriggerSleepAction(0.02)
call SetUnitAnimation(udg_unit34,"Spell One")
call PlaySoundBJ(udg_sound69)
call PlaySoundBJ(udg_sound67)
if(Trig_housenka_re_Func021C())then
call PlaySoundBJ(udg_sound16)
else
call PlaySoundBJ(udg_sound17)
endif
call TriggerSleepAction(0.01)
call SetUnitAnimation(udg_unit34,"Spell Throw")
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),16.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[1]=GetLastCreatedUnit()
call EnableTrigger(udg_trigger397)
call TriggerExecute(udg_trigger398)
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),16.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[2]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[3]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,30.00)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[5]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[4]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_unit34,15.00)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[6]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),18.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[8]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),18.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[7]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),18.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[10]=GetLastCreatedUnit()
call TriggerSleepAction(0.02)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),19.00,GetUnitFacing(GetTriggerUnit())),bj_UNIT_FACING)
set udg_units17[9]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),19.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[11]=GetLastCreatedUnit()
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),19.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[12]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),19.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[13]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),20.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[15]=GetLastCreatedUnit()
call TriggerSleepAction(0.02)
call SetUnitTimeScalePercent(udg_unit34,100.00)
call CreateNUnitsAtLoc(1,'o017',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),20.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units17[14]=GetLastCreatedUnit()
call TriggerSleepAction(0.67)
call PauseUnitBJ(false,udg_unit34)
call TriggerSleepAction(2.20)
call DisableTrigger(udg_trigger397)
endfunction
function Trig_housenka_re2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units17[1],PolarProjectionBJ(GetUnitLoc(udg_units17[1]),11.00,GetUnitFacing(udg_unit34)))
call SetUnitPositionLoc(udg_units17[2],PolarProjectionBJ(GetUnitLoc(udg_units17[2]),12.00,(GetUnitFacing(udg_unit34)+5.00)))
call SetUnitPositionLoc(udg_units17[3],PolarProjectionBJ(GetUnitLoc(udg_units17[3]),11.00,(GetUnitFacing(udg_unit34)+10.00)))
call SetUnitPositionLoc(udg_units17[4],PolarProjectionBJ(GetUnitLoc(udg_units17[4]),12.00,(GetUnitFacing(udg_unit34)+15.00)))
call SetUnitPositionLoc(udg_units17[5],PolarProjectionBJ(GetUnitLoc(udg_units17[5]),10.00,(GetUnitFacing(udg_unit34)-5.00)))
call SetUnitPositionLoc(udg_units17[6],PolarProjectionBJ(GetUnitLoc(udg_units17[6]),12.00,(GetUnitFacing(udg_unit34)-10.00)))
call SetUnitPositionLoc(udg_units17[7],PolarProjectionBJ(GetUnitLoc(udg_units17[7]),10.00,(GetUnitFacing(udg_unit34)-15.00)))
call SetUnitPositionLoc(udg_units17[8],PolarProjectionBJ(GetUnitLoc(udg_units17[8]),12.00,(GetUnitFacing(udg_unit34)-6.00)))
call SetUnitPositionLoc(udg_units17[9],PolarProjectionBJ(GetUnitLoc(udg_units17[9]),12.00,(GetUnitFacing(udg_unit34)-7.00)))
call SetUnitPositionLoc(udg_units17[10],PolarProjectionBJ(GetUnitLoc(udg_units17[10]),11.00,(GetUnitFacing(udg_unit34)+7.00)))
call SetUnitPositionLoc(udg_units17[11],PolarProjectionBJ(GetUnitLoc(udg_units17[11]),11.00,(GetUnitFacing(udg_unit34)+8.00)))
call SetUnitPositionLoc(udg_units17[12],PolarProjectionBJ(GetUnitLoc(udg_units17[12]),12.00,(GetUnitFacing(udg_unit34)+3.00)))
call SetUnitPositionLoc(udg_units17[13],PolarProjectionBJ(GetUnitLoc(udg_units17[13]),10.00,(GetUnitFacing(udg_unit34)-3.00)))
call SetUnitPositionLoc(udg_units17[14],PolarProjectionBJ(GetUnitLoc(udg_units17[14]),10.00,(GetUnitFacing(udg_unit34)-14.00)))
call SetUnitPositionLoc(udg_units17[15],PolarProjectionBJ(GetUnitLoc(udg_units17[15]),11.00,(GetUnitFacing(udg_unit34)+14.00)))
endfunction
function Trig_housenka_re3_Func033C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[1]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func036Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func036C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[2]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func039C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[3]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func041C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[4]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func043Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func043C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[5]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func046C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[6]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func049Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func049C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[7]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func051C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[8]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func054C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[9]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func057C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[10]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func060C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[11]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func063C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[12]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func066C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[13]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func068C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[14]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Func071C takes nothing returns boolean
if(not(GetTerrainTypeBJ(GetUnitLoc(udg_units17[15]))=='Lrok'))then
return false
endif
return true
endfunction
function Trig_housenka_re3_Actions takes nothing returns nothing
call TriggerSleepAction(0.43)
call UnitRemoveAbilityBJ('A02O',udg_units17[1])
call UnitRemoveAbilityBJ('A02O',udg_units17[2])
call UnitRemoveAbilityBJ('A02O',udg_units17[3])
call UnitRemoveAbilityBJ('A02O',udg_units17[4])
call UnitRemoveAbilityBJ('A02O',udg_units17[5])
call UnitRemoveAbilityBJ('A02O',udg_units17[6])
call UnitRemoveAbilityBJ('A02O',udg_units17[7])
call UnitRemoveAbilityBJ('A02O',udg_units17[8])
call UnitRemoveAbilityBJ('A02O',udg_units17[9])
call UnitRemoveAbilityBJ('A02O',udg_units17[10])
call UnitRemoveAbilityBJ('A02O',udg_units17[11])
call UnitRemoveAbilityBJ('A02O',udg_units17[12])
call UnitRemoveAbilityBJ('A02O',udg_units17[13])
call UnitRemoveAbilityBJ('A02O',udg_units17[14])
call UnitRemoveAbilityBJ('A02O',udg_units17[15])
call UnitAddAbilityBJ('A02P',udg_units17[1])
call UnitAddAbilityBJ('A02P',udg_units17[2])
call UnitAddAbilityBJ('A02P',udg_units17[3])
call UnitAddAbilityBJ('A02P',udg_units17[4])
call UnitAddAbilityBJ('A02P',udg_units17[5])
call UnitAddAbilityBJ('A02P',udg_units17[6])
call UnitAddAbilityBJ('A02P',udg_units17[7])
call UnitAddAbilityBJ('A02P',udg_units17[8])
call UnitAddAbilityBJ('A02P',udg_units17[9])
call UnitAddAbilityBJ('A02P',udg_units17[10])
call UnitAddAbilityBJ('A02P',udg_units17[11])
call UnitAddAbilityBJ('A02P',udg_units17[12])
call UnitAddAbilityBJ('A02P',udg_units17[13])
call UnitAddAbilityBJ('A02P',udg_units17[14])
call UnitAddAbilityBJ('A02P',udg_units17[15])
call TriggerSleepAction(0.38)
if(Trig_housenka_re3_Func033C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[1]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[1]),"NewDirtEXNofire.mdx")
endif
call RemoveUnit(udg_units17[1])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func036C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[2]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
if(Trig_housenka_re3_Func036Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[2]),"FireNova.mdx")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[2]),"NewDirtEXNofire.mdx")
endif
endif
call RemoveUnit(udg_units17[2])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func039C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[3]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[3]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[3])
if(Trig_housenka_re3_Func041C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[4]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[4]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[4])
if(Trig_housenka_re3_Func043C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[5]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
if(Trig_housenka_re3_Func043Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[5]),"FireNova.mdx")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[5]),"NewDirtEXNofire.mdx")
endif
endif
call RemoveUnit(udg_units17[5])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func046C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[6]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[6]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[6])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func049C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[7]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
if(Trig_housenka_re3_Func049Func001C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[7]),"FireNova.mdx")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[7]),"NewDirtEXNofire.mdx")
endif
endif
call RemoveUnit(udg_units17[7])
if(Trig_housenka_re3_Func051C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[8]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[8]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[8])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func054C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[9]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[9]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[9])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func057C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[10]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[10]),"NewDirtEXNofire.mdx")
endif
call RemoveUnit(udg_units17[10])
call TriggerSleepAction(0.02)
if(Trig_housenka_re3_Func060C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[11]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[11]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[11])
call TriggerSleepAction(0.01)
if(Trig_housenka_re3_Func063C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[12]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[12]),"NewDirtEXNofire.mdx")
endif
call RemoveUnit(udg_units17[12])
call TriggerSleepAction(0.01)
if(Trig_housenka_re3_Func066C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[13]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[13]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[13])
if(Trig_housenka_re3_Func068C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[14]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[14]),"NewDirtEXNofire.mdx")
endif
call RemoveUnit(udg_units17[14])
call TriggerSleepAction(0.01)
if(Trig_housenka_re3_Func071C())then
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[15]),"Objects\\Spawnmodels\\Naga\\NagaDeath\\NagaDeath.mdl")
else
call AddSpecialEffectLocBJ(GetUnitLoc(udg_units17[15]),"FireNova.mdx")
endif
call RemoveUnit(udg_units17[15])
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_ZASTRIAL_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_940")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_941")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_949")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_948")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_947")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],4.00,"TRIGSTR_946")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit34,PolarProjectionBJ(GetUnitLoc(udg_unit34),230.00,(GetUnitFacing(udg_unit34)+1.00)))
endfunction
function Trig_ZASTRIAL2_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_950")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_951")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_952")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_953")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_954")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[1],4.00,"TRIGSTR_955")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit41,PolarProjectionBJ(GetUnitLoc(udg_unit41),230.00,(GetUnitFacing(udg_unit41)+1.00)))
endfunction
function Trig_ZASTRIAL3_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_956")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_957")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_958")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_959")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_960")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[2],4.00,"TRIGSTR_961")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit38,PolarProjectionBJ(GetUnitLoc(udg_unit38),230.00,(GetUnitFacing(udg_unit38)+1.00)))
endfunction
function Trig_ZASTRIAL4_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_962")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_963")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_964")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_965")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_966")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],4.00,"TRIGSTR_967")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit51,PolarProjectionBJ(GetUnitLoc(udg_unit51),230.00,(GetUnitFacing(udg_unit51)+1.00)))
endfunction
function Trig_ZASTRIAL5_Actions takes nothing returns nothing
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_968")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_969")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_970")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_971")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_972")
call TriggerSleepAction(1.00)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],4.00,"TRIGSTR_973")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit40,PolarProjectionBJ(GetUnitLoc(udg_unit40),230.00,(GetUnitFacing(udg_unit40)+1.00)))
endfunction
function Trig_suriken_v_ogne_Func002Func001001 takes nothing returns boolean
return(GetSpellAbilityId()=='A00B')
endfunction
function Trig_suriken_v_ogne_Func002Func001002 takes nothing returns boolean
return(GetUnitAbilityLevelSwapped('A00N',GetSpellAbilityUnit())>=1)
endfunction
function Trig_suriken_v_ogne_Func002C takes nothing returns boolean
if(not GetBooleanAnd(Trig_suriken_v_ogne_Func002Func001001(),Trig_suriken_v_ogne_Func002Func001002()))then
return false
endif
return true
endfunction
function Trig_suriken_v_ogne_Conditions takes nothing returns boolean
if(not Trig_suriken_v_ogne_Func002C())then
return false
endif
return true
endfunction
function Trig_suriken_v_ogne_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_suriken_v_ogne_Actions takes nothing returns nothing
if(Trig_suriken_v_ogne_Func001C())then
else
call TriggerSleepAction(1.06)
call CreateNUnitsAtLoc(1,'o018',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),16.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units18[1]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units18[1],100,100,100,100.00)
call EnableTrigger(udg_trigger405)
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o018',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),16.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units18[2]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units18[2],100,100,100,100.00)
call CreateNUnitsAtLoc(1,'o018',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units18[3]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units18[3],100,100,100,100.00)
call TriggerSleepAction(0.01)
call CreateNUnitsAtLoc(1,'o018',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units18[5]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units18[5],100,100,100,100.00)
call CreateNUnitsAtLoc(1,'o018',GetOwningPlayer(udg_unit34),PolarProjectionBJ(GetUnitLoc(udg_unit34),17.00,GetUnitFacing(udg_unit34)),bj_UNIT_FACING)
set udg_units18[6]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units18[6],100,100,100,100.00)
call TriggerSleepAction(0.01)
call SetUnitTimeScalePercent(udg_units18[1],400.00)
call SetUnitTimeScalePercent(udg_units18[2],400.00)
call SetUnitTimeScalePercent(udg_units18[3],400.00)
call SetUnitTimeScalePercent(udg_units18[5],400.00)
call SetUnitTimeScalePercent(udg_units18[6],400.00)
call TriggerSleepAction(0.55)
call PlaySoundBJ(udg_sound103)
call SetUnitVertexColorBJ(udg_units18[1],100,100,100,0.00)
call SetUnitVertexColorBJ(udg_units18[2],100,100,100,0.00)
call SetUnitVertexColorBJ(udg_units18[3],100,100,100,0.00)
call SetUnitVertexColorBJ(udg_units18[5],100,100,100,0.00)
call SetUnitVertexColorBJ(udg_units18[6],100,100,100,0.00)
call TriggerSleepAction(0.10)
call PlaySoundBJ(udg_sound104)
call TriggerSleepAction(0.10)
call PlaySoundBJ(udg_sound103)
call TriggerSleepAction(0.05)
call PlaySoundBJ(udg_sound104)
call TriggerSleepAction(1.57)
call RemoveUnit(udg_units18[1])
call RemoveUnit(udg_units18[2])
call RemoveUnit(udg_units18[3])
call RemoveUnit(udg_units18[5])
call RemoveUnit(udg_units18[6])
call DisableTrigger(udg_trigger405)
endif
endfunction
function Trig_suriken_v_ogne2_Actions takes nothing returns nothing
call SetUnitPositionLoc(udg_units18[1],PolarProjectionBJ(GetUnitLoc(udg_units18[1]),10.00,GetUnitFacing(udg_unit34)))
call SetUnitPositionLoc(udg_units18[2],PolarProjectionBJ(GetUnitLoc(udg_units18[2]),11.00,(GetUnitFacing(udg_unit34)+5.00)))
call SetUnitPositionLoc(udg_units18[3],PolarProjectionBJ(GetUnitLoc(udg_units18[3]),10.00,(GetUnitFacing(udg_unit34)+10.00)))
call SetUnitPositionLoc(udg_units18[5],PolarProjectionBJ(GetUnitLoc(udg_units18[5]),9.00,(GetUnitFacing(udg_unit34)-5.00)))
call SetUnitPositionLoc(udg_units18[6],PolarProjectionBJ(GetUnitLoc(udg_units18[6]),11.00,(GetUnitFacing(udg_unit34)-10.00)))
endfunction
function Trig_Vibor_moda_Actions takes nothing returns nothing
call SetTimeOfDayScalePercentBJ(0.90)
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(true,udg_unit40)
call PauseUnitBJ(true,udg_unit51)
call PauseUnitBJ(true,udg_unit41)
call PauseUnitBJ(true,udg_unit38)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.35)
call DisplayTimedTextToForce(GetPlayersAll(),2.00,"TRIGSTR_1042")
call TriggerSleepAction(1.10)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],5.00,"TRIGSTR_1040")
endfunction
function Trig_Vibor_moda2_Actions takes nothing returns nothing
call TriggerSleepAction(2.00)
call TriggerExecute(udg_trigger356)
call DisableTrigger(udg_trigger408)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Vibor_moda3_Actions takes nothing returns nothing
call TriggerSleepAction(0.75)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.20,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerExecute(udg_trigger409)
call EnableTrigger(udg_trigger443)
call DisableTrigger(udg_trigger407)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Vibor_moda4_Func017Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Vibor_moda4_Func017Func001C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Vibor_moda4_Func017C takes nothing returns boolean
if(not(GetRandomInt(1,3)==1))then
return false
endif
return true
endfunction
function Trig_Vibor_moda4_Actions takes nothing returns nothing
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect82),GetUnitLoc(udg_unit36))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect83),GetUnitLoc(udg_unit36))
call SetUnitPositionLocFacingLocBJ(udg_unit41,GetRectCenter(udg_rect84),GetUnitLoc(udg_unit78))
call SetUnitPositionLocFacingLocBJ(udg_unit38,GetRectCenter(udg_rect85),GetUnitLoc(udg_unit79))
call SetUnitPositionLocFacingLocBJ(udg_unit51,GetRectCenter(udg_rect86),GetUnitLoc(udg_unit81))
call SetCameraTargetControllerNoZForPlayer(Player(0),udg_unit34,0,0,true)
call SetCameraTargetControllerNoZForPlayer(Player(1),udg_unit51,0,0,true)
call SetCameraTargetControllerNoZForPlayer(Player(2),udg_unit51,0,0,true)
call SetCameraTargetControllerNoZForPlayer(Player(3),udg_unit51,0,0,true)
call SetCameraTargetControllerNoZForPlayer(Player(4),udg_unit40,0,0,true)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],5.00,"TRIGSTR_1053")
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],5.00,"TRIGSTR_1068")
call DisplayTimedTextToForce(bj_FORCE_PLAYER[4],5.00,"TRIGSTR_1078")
call TriggerExecute(udg_trigger353)
call EnableTrigger(udg_trigger354)
call EnableTrigger(udg_trigger355)
if(Trig_Vibor_moda4_Func017C())then
call PlaySoundBJ(udg_sound78)
else
if(Trig_Vibor_moda4_Func017Func001C())then
call PlaySoundBJ(udg_sound47)
else
if(Trig_Vibor_moda4_Func017Func001Func001C())then
call PlaySoundBJ(udg_sound94)
else
call PlaySoundBJ(udg_sound56)
endif
endif
endif
call EnableTrigger(udg_trigger440)
call PauseUnitBJ(false,udg_unit51)
call TriggerSleepAction(4.50)
call EnableTrigger(udg_trigger410)
call EnableTrigger(udg_trigger411)
call EnableTrigger(udg_trigger417)
call EnableTrigger(udg_trigger418)
call TriggerExecute(udg_trigger425)
call TriggerSleepAction(30.00)
call DisableTrigger(udg_trigger353)
call DisableTrigger(udg_trigger354)
call DisableTrigger(udg_trigger355)
call DisableTrigger(udg_trigger440)
endfunction
function Trig_Kontrol_Chakri1_Actions takes nothing returns nothing
call ClearSelectionForPlayer(Player(0))
endfunction
function Trig_Kontrol_Chakri2_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger412)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],0.07,"TRIGSTR_1046")
call TriggerSleepAction(0.35)
call DisableTrigger(udg_trigger412)
call EnableTrigger(udg_trigger413)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],0.07,"TRIGSTR_1047")
call TriggerSleepAction(0.35)
call DisableTrigger(udg_trigger413)
call EnableTrigger(udg_trigger414)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],0.07,"TRIGSTR_1048")
call TriggerSleepAction(0.30)
call DisableTrigger(udg_trigger414)
call EnableTrigger(udg_trigger415)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],0.06,"TRIGSTR_1049")
call TriggerSleepAction(0.25)
call DisableTrigger(udg_trigger415)
call EnableTrigger(udg_trigger416)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],0.05,"TRIGSTR_1050")
call TriggerSleepAction(0.20)
call DisableTrigger(udg_trigger416)
endfunction
function Trig_Kontrol_Chakri3_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kontrol_Chakri3_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,70.00)
if(Trig_Kontrol_Chakri3_Func002C())then
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[1]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units19[1],100,100,100,75.00)
call TriggerSleepAction(0.35)
call RemoveUnit(udg_units19[1])
call AddHeroXPSwapped(150,udg_unit34,false)
else
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_unit30=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_unit30,100,100,100,70.00)
call TriggerSleepAction(0.20)
call RemoveUnit(udg_unit30)
call AddHeroXPSwapped(100,udg_unit34,false)
endif
endfunction
function Trig_Kontrol_Chakri4_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kontrol_Chakri4_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,60.00)
if(Trig_Kontrol_Chakri4_Func002C())then
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[2]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units19[2],100,100,100,65.00)
call TriggerSleepAction(0.35)
call RemoveUnit(udg_units19[2])
call AddHeroXPSwapped(400,udg_unit34,false)
else
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_unit31=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_unit31,100,100,100,60.00)
call TriggerSleepAction(0.20)
call RemoveUnit(udg_unit31)
call AddHeroXPSwapped(350,udg_unit34,false)
endif
endfunction
function Trig_Kontrol_Chakri5_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kontrol_Chakri5_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,50.00)
if(Trig_Kontrol_Chakri5_Func002C())then
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[3]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units19[3],100,100,100,55.00)
call TriggerSleepAction(0.35)
call RemoveUnit(udg_units19[3])
call AddHeroXPSwapped(500,udg_unit34,false)
else
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_unit29=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_unit29,100,100,100,50.00)
call TriggerSleepAction(0.20)
call RemoveUnit(udg_unit29)
call AddHeroXPSwapped(450,udg_unit34,false)
endif
endfunction
function Trig_Kontrol_Chakri6_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_Kontrol_Chakri6_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,40.00)
if(Trig_Kontrol_Chakri6_Func002C())then
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[4]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o01B',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[6]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units19[4],100,100,100,55.00)
call SetUnitVertexColorBJ(udg_units19[6],100,100,100,55.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"FrostNova.mdx")
call TriggerSleepAction(0.15)
call RemoveUnit(udg_units19[4])
call RemoveUnit(udg_units19[6])
call AddHeroXPSwapped(550,udg_unit34,false)
else
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_unit32=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o01B',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[6]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_unit32,100,100,100,50.00)
call SetUnitVertexColorBJ(udg_units19[6],100,100,100,50.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"FrostNova.mdx")
call TriggerSleepAction(0.15)
call RemoveUnit(udg_unit32)
call RemoveUnit(udg_units19[6])
call AddHeroXPSwapped(600,udg_unit34,false)
endif
endfunction
function Trig_Kontrol_Chakri7_Actions takes nothing returns nothing
call SetUnitTimeScalePercent(udg_unit34,30.00)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"FrostNova.mdx")
call CreateNUnitsAtLoc(1,'o01A',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[5]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'o01B',Player(0),GetUnitLoc(udg_unit34),bj_UNIT_FACING)
set udg_units19[8]=GetLastCreatedUnit()
call SetUnitVertexColorBJ(udg_units19[5],100,100,100,35.00)
call TriggerSleepAction(0.05)
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit34),"FrostNova.mdx")
call SetUnitTimeScalePercent(udg_units19[8],800.00)
call PlaySoundBJ(udg_sound93)
call TriggerSleepAction(0.10)
call RemoveUnit(udg_units19[5])
call RemoveUnit(udg_units19[8])
call AddHeroXPSwapped(800,udg_unit34,false)
endfunction
function Trig_Kontrol_Chakri8_Actions takes nothing returns nothing
call SetUnitAnimation(udg_unit34,"Spell One")
endfunction
function Trig_Kontrol_Chakri9_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger419)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri10_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger420)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri11_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger421)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri111_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger422)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri11111_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger423)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri1111_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call EnableTrigger(udg_trigger424)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Kontrol_Chakri12_Actions takes nothing returns nothing
call TriggerSleepAction(0.02)
call DisableTrigger(udg_trigger410)
call DisableTrigger(udg_trigger411)
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(0.08)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_1054")
endfunction
function Trig_Kontrol_Chakri13_Func032C takes nothing returns boolean
if(not(GetHeroLevel(udg_unit34)>=13))then
return false
endif
return true
endfunction
function Trig_Kontrol_Chakri13_Func107A takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),GetRectCenter(udg_rect97))
endfunction
function Trig_Kontrol_Chakri13_Actions takes nothing returns nothing
call CreateTimerDialogBJ(GetLastCreatedTimerBJ(),"TRIGSTR_1058")
call StartTimerBJ(GetLastCreatedTimerBJ(),false,30.00)
call TriggerSleepAction(30.00)
call DisableTrigger(udg_trigger410)
call DisableTrigger(udg_trigger411)
call DisableTrigger(udg_trigger412)
call DisableTrigger(udg_trigger413)
call DisableTrigger(udg_trigger414)
call DisableTrigger(udg_trigger415)
call DisableTrigger(udg_trigger416)
call DisableTrigger(udg_trigger417)
call DisableTrigger(udg_trigger418)
call DisableTrigger(udg_trigger419)
call DisableTrigger(udg_trigger420)
call DisableTrigger(udg_trigger424)
call TriggerSleepAction(0.05)
call DisableTrigger(udg_trigger410)
call DisableTrigger(udg_trigger411)
call DisableTrigger(udg_trigger412)
call DisableTrigger(udg_trigger413)
call DisableTrigger(udg_trigger414)
call DisableTrigger(udg_trigger415)
call DisableTrigger(udg_trigger416)
call DisableTrigger(udg_trigger417)
call DisableTrigger(udg_trigger418)
call DisableTrigger(udg_trigger419)
call DisableTrigger(udg_trigger420)
call DisableTrigger(udg_trigger424)
call TriggerSleepAction(0.70)
call DestroyTimerDialogBJ(GetLastCreatedTimerDialogBJ())
call DisplayTimedTextToForce(bj_FORCE_PLAYER[0],2.00,"TRIGSTR_1056")
if(Trig_Kontrol_Chakri13_Func032C())then
call SetUnitAnimation(udg_unit34,"Stand Two")
else
call SetUnitAnimation(udg_unit34,"Stand One")
endif
call SetUnitTimeScalePercent(udg_unit34,100.00)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,3.30,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.80)
call ResetToGameCameraForPlayer(Player(0),1.00)
call CinematicModeBJ(true,GetPlayersAll())
call SetHeroLevelBJ(udg_unit35,(GetUnitLevel(udg_unit34)+0),false)
call SetHeroLevelBJ(udg_unit59,(GetUnitLevel(udg_unit34)+0),false)
call SetHeroLevelBJ(udg_unit38,(GetUnitLevel(udg_unit51)+0),false)
call SetHeroLevelBJ(udg_unit41,(GetUnitLevel(udg_unit51)+0),false)
call StopSoundBJ(udg_sound78,true)
call StopSoundBJ(udg_sound47,true)
call StopSoundBJ(udg_sound56,true)
call StopSoundBJ(udg_sound94,true)
call TriggerSleepAction(3.20)
call SetTimeOfDay(16.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup44,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup44,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup44,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup44,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup44,Player(4),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup45,Player(0),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup45,Player(1),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup45,Player(2),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup45,Player(3),7.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup45,Player(4),7.00)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect88),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect95),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect96),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit51,GetRectCenter(udg_rect89),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit38,GetRectCenter(udg_rect90),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit41,GetRectCenter(udg_rect91),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit37,GetRectCenter(udg_rect92),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit76,GetRectCenter(udg_rect93),GetUnitLoc(udg_unit80))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect94),GetUnitLoc(udg_unit80))
call UnitRemoveAbilityBJ('A001',udg_unit34)
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger426)
call EnableTrigger(udg_trigger427)
call EnableTrigger(udg_trigger428)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.25,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(0.02)
call SelectUnitForPlayerSingle(udg_unit40,GetOwningPlayer(udg_unit40))
call SetUnitAnimation(udg_unit40,"stand")
call PlaySoundBJ(udg_sound50)
call TriggerSleepAction(0.58)
call CreateFogModifierRectBJ(true,Player(0),FOG_OF_WAR_VISIBLE,udg_rect87)
call SetCameraBoundsToRectForPlayerBJ(Player(0),udg_rect87)
call SetCameraBoundsToRectForPlayerBJ(Player(1),udg_rect87)
call SetCameraBoundsToRectForPlayerBJ(Player(2),udg_rect87)
call SetCameraBoundsToRectForPlayerBJ(Player(3),udg_rect87)
call SetCameraBoundsToRectForPlayerBJ(Player(4),udg_rect87)
call TriggerSleepAction(5.95)
call CameraSetupApplyForPlayer(true,udg_camerasetup46,Player(0),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup46,Player(1),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup46,Player(2),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup46,Player(3),5.00)
call CameraSetupApplyForPlayer(true,udg_camerasetup46,Player(4),5.00)
call TriggerSleepAction(4.90)
call ResetToGameCameraForPlayer(Player(0),2.00)
call ResetToGameCameraForPlayer(Player(1),2.00)
call ResetToGameCameraForPlayer(Player(2),2.00)
call ResetToGameCameraForPlayer(Player(3),2.00)
call ResetToGameCameraForPlayer(Player(4),2.00)
call CinematicModeBJ(false,GetPlayersAll())
call PauseUnitBJ(false,udg_unit34)
call PauseUnitBJ(false,udg_unit40)
call PauseUnitBJ(false,udg_unit41)
call PauseUnitBJ(false,udg_unit38)
call PauseUnitBJ(false,udg_unit51)
call DisplayTimedTextToForce(GetPlayersAll(),2.00,"TRIGSTR_1079")
call TriggerSleepAction(14.00)
call CinematicModeBJ(true,GetPlayersAll())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,1.60,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.80)
call ForGroupBJ(GetUnitsInRectAll(udg_rect87),function Trig_Kontrol_Chakri13_Func107A)
call TriggerSleepAction(0.10)
call SetUnitPositionLoc(udg_unit80,GetRectCenter(udg_rect98))
call SetUnitPositionLoc(udg_unit85,GetRectCenter(udg_rect99))
call SetUnitPositionLoc(udg_unit86,GetRectCenter(udg_rect100))
call SetUnitPositionLoc(udg_unit87,GetRectCenter(udg_rect101))
call SetUnitPositionLoc(udg_unit102,GetRectCenter(udg_rect102))
call TriggerSleepAction(0.10)
call CameraSetupApplyForPlayer(true,udg_camerasetup47,Player(0),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup47,Player(1),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup47,Player(2),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup47,Player(3),0)
call CameraSetupApplyForPlayer(true,udg_camerasetup47,Player(4),0)
call TriggerSleepAction(0.10)
call TriggerExecute(udg_trigger441)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.80,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call TriggerSleepAction(1.90)
call TransmissionFromUnitWithNameBJ(GetPlayersAll(),udg_unit102,"TRIGSTR_1080",udg_sound97,"TRIGSTR_1081",bj_TIMETYPE_ADD,0,true)
call ResetToGameCameraForPlayer(Player(0),1.00)
call ResetToGameCameraForPlayer(Player(1),1.00)
call ResetToGameCameraForPlayer(Player(2),1.00)
call ResetToGameCameraForPlayer(Player(3),1.00)
call ResetToGameCameraForPlayer(Player(4),1.00)
call TriggerSleepAction(0.90)
call CinematicModeBJ(false,GetPlayersAll())
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_STOP_iuniti_Actions takes nothing returns nothing
call IssueImmediateOrderBJ(udg_unit41,"stop")
call IssueImmediateOrderBJ(udg_unit38,"stop")
call IssueImmediateOrderBJ(udg_unit51,"stop")
endfunction
function Trig_STOP_iuniti2_Actions takes nothing returns nothing
call IssueImmediateOrderBJ(udg_unit34,"stop")
call IssueImmediateOrderBJ(udg_unit35,"stop")
call IssueImmediateOrderBJ(udg_unit59,"stop")
endfunction
function Trig_STOP_iuniti3_Actions takes nothing returns nothing
call IssueImmediateOrderBJ(udg_unit40,"stop")
call IssueImmediateOrderBJ(udg_unit37,"stop")
call IssueImmediateOrderBJ(udg_unit76,"stop")
endfunction
function Trig_Mesheni_Func001Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger437)==true))then
return false
endif
return true
endfunction
function Trig_Mesheni_Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger436)==true))then
return false
endif
return true
endfunction
function Trig_Mesheni_Actions takes nothing returns nothing
if(Trig_Mesheni_Func001C())then
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),4.00,(GetUnitFacing(udg_unit82)+0.00)))
else
if(Trig_Mesheni_Func001Func001C())then
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),3.00,(GetUnitFacing(udg_unit82)+0.00)))
else
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),5.00,(GetUnitFacing(udg_unit82)+0.00)))
endif
endif
endfunction
function Trig_Mesheni2_Func001Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger437)==true))then
return false
endif
return true
endfunction
function Trig_Mesheni2_Func001C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger436)==true))then
return false
endif
return true
endfunction
function Trig_Mesheni2_Actions takes nothing returns nothing
if(Trig_Mesheni2_Func001C())then
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),4.00,(GetUnitFacing(udg_unit83)+0.00)))
else
if(Trig_Mesheni2_Func001Func001C())then
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),3.00,(GetUnitFacing(udg_unit83)+0.00)))
else
call SetUnitPositionLoc(udg_unit81,PolarProjectionBJ(GetUnitLoc(udg_unit81),5.00,(GetUnitFacing(udg_unit83)+0.00)))
endif
endif
endfunction
function Trig_Mesheni3_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit83),GetUnitLoc(udg_unit81))<=90.00))then
return false
endif
return true
endfunction
function Trig_Mesheni3_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger430)
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger429)
endfunction
function Trig_Mesheni4_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit82),GetUnitLoc(udg_unit81))<=90.00))then
return false
endif
return true
endfunction
function Trig_Mesheni4_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger429)
call TriggerSleepAction(0.01)
call EnableTrigger(udg_trigger430)
endfunction
function Trig_Mesheni5_Actions takes nothing returns nothing
call AddLightningLoc("LEAS",GetUnitLoc(udg_unit81),GetUnitLoc(udg_unit83))
set udg_lightnings02[1]=GetLastCreatedLightningBJ()
call AddLightningLoc("LEAS",GetUnitLoc(udg_unit81),GetUnitLoc(udg_unit82))
set udg_lightnings02[2]=GetLastCreatedLightningBJ()
endfunction
function Trig_Mesheni6_Actions takes nothing returns nothing
call MoveLightningLoc(udg_lightnings02[1],GetUnitLoc(udg_unit81),GetUnitLoc(udg_unit83))
call MoveLightningLoc(udg_lightnings02[2],GetUnitLoc(udg_unit81),GetUnitLoc(udg_unit82))
endfunction
function Trig_Mesheni7_Actions takes nothing returns nothing
call TriggerSleepAction(6.00)
call EnableTrigger(udg_trigger436)
call TriggerSleepAction(6.00)
call EnableTrigger(udg_trigger437)
call TriggerSleepAction(6.00)
call DisableTrigger(udg_trigger436)
endfunction
function Trig_Mesheni8_Actions takes nothing returns nothing
endfunction
function Trig_Mesheni9_Actions takes nothing returns nothing
endfunction
function Trig_Mesheni10_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A02Z'))then
return false
endif
return true
endfunction
function Trig_Mesheni10_Func004C takes nothing returns boolean
if(not(IsTriggerEnabled(udg_trigger440)==true))then
return false
endif
return true
endfunction
function Trig_Mesheni10_Func013C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit51),GetUnitLoc(udg_unit81))<=900.00))then
return false
endif
return true
endfunction
function Trig_Mesheni10_Actions takes nothing returns nothing
call EnableTrigger(udg_trigger440)
call RemoveUnit(udg_unit33)
call CreateNUnitsAtLocFacingLocBJ(1,'h00I',GetOwningPlayer(GetSpellAbilityUnit()),GetUnitLoc(udg_unit51),GetSpellTargetLoc())
if(Trig_Mesheni10_Func004C())then
set udg_unit33=GetLastCreatedUnit()
else
endif
call SetUnitTimeScalePercent(udg_unit51,200.00)
call SetUnitAnimation(udg_unit51,"Spell Throw")
call EnableTrigger(udg_trigger439)
call TriggerSleepAction(0.05)
call SetUnitTimeScalePercent(GetLastCreatedUnit(),400.00)
call SetUnitTimeScalePercent(udg_unit51,100.00)
call TriggerSleepAction(0.75)
call DisableTrigger(udg_trigger439)
if(Trig_Mesheni10_Func013C())then
else
call AddSpecialEffectLocBJ(GetUnitLoc(GetLastCreatedUnit()),"Abilities\\Weapons\\GlaiveMissile\\GlaiveMissileTarget.mdl")
endif
call RemoveUnit(GetLastCreatedUnit())
endfunction
function Trig_Senbon1_Func001C takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit51),GetUnitLoc(udg_unit81))<=900.00))then
return false
endif
return true
endfunction
function Trig_Senbon1_Actions takes nothing returns nothing
if(Trig_Senbon1_Func001C())then
else
call SetUnitPositionLoc(GetLastCreatedUnit(),PolarProjectionBJ(GetUnitLoc(GetLastCreatedUnit()),17.00,GetUnitFacing(GetLastCreatedUnit())))
endif
call SetUnitPositionLoc(GetLastCreatedUnit(),PolarProjectionBJ(GetUnitLoc(GetLastCreatedUnit()),14.00,GetUnitFacing(GetLastCreatedUnit())))
endfunction
function Trig_Senbon2_Conditions takes nothing returns boolean
if(not(DistanceBetweenPoints(GetUnitLoc(udg_unit81),GetUnitLoc(udg_unit33))<=70.00))then
return false
endif
return true
endfunction
function Trig_Senbon2_Func001C takes nothing returns boolean
if(not(GetRandomInt(1,4)==4))then
return false
endif
return true
endfunction
function Trig_Senbon2_Actions takes nothing returns nothing
if(Trig_Senbon2_Func001C())then
call PlaySoundBJ(udg_sound95)
else
call PlaySoundBJ(udg_sound96)
endif
call RemoveUnit(udg_unit33)
call AddHeroXPSwapped(1050,udg_unit51,false)
call DisplayTimedTextToForce(bj_FORCE_PLAYER[3],1.00,"TRIGSTR_1077")
call DisableTrigger(udg_trigger439)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_TUR_Func059C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound50,true)
call EnableTrigger(udg_trigger443)
call EnableTrigger(udg_trigger364)
call EnableTrigger(udg_trigger365)
call EnableTrigger(udg_trigger367)
call EnableTrigger(udg_trigger368)
call EnableTrigger(udg_trigger371)
call EnableTrigger(udg_trigger372)
call EnableTrigger(udg_trigger373)
call EnableTrigger(udg_trigger374)
call EnableTrigger(udg_trigger375)
call EnableTrigger(udg_trigger376)
call EnableTrigger(udg_trigger377)
call EnableTrigger(udg_trigger378)
call EnableTrigger(udg_trigger379)
call SetUnitPositionLocFacingLocBJ(udg_unit34,GetRectCenter(udg_rect113),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit35,GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit59,GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit89,GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit88,GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit90,GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call CreateFogModifierRectBJ(true,Player(0),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(1),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(2),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(3),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(4),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(5),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(6),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(7),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(8),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(9),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(10),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(11),FOG_OF_WAR_VISIBLE,udg_rect87)
call CreateFogModifierRectBJ(true,Player(0),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(1),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(2),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(3),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(4),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(5),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(6),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(7),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(8),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(9),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(10),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(11),FOG_OF_WAR_MASKED,udg_rect110)
call CreateFogModifierRectBJ(true,Player(0),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(1),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(2),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(3),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(4),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(5),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(6),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(7),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(8),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(9),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(10),FOG_OF_WAR_MASKED,udg_rect109)
call CreateFogModifierRectBJ(true,Player(11),FOG_OF_WAR_MASKED,udg_rect109)
call TriggerSleepAction(1.25)
if(Trig_TUR_Func059C())then
call PlaySoundBJ(udg_sound71)
else
call PlaySoundBJ(udg_sound62)
endif
call TriggerSleepAction(1.80)
call SetUnitOwner(udg_unit88,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit89,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit90,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call DisableTrigger(udg_trigger427)
endfunction
function Trig_TUR2_Func032C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit88)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit89)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit90)<=280.00))then
return false
endif
return true
endfunction
function Trig_TUR2_Conditions takes nothing returns boolean
if(not Trig_TUR2_Func032C())then
return false
endif
return true
endfunction
function Trig_TUR2_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger443)
call DisableTrigger(GetTriggeringTrigger())
call EnableTrigger(udg_trigger427)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit88)
call PauseUnitBJ(true,udg_unit89)
call PauseUnitBJ(true,udg_unit90)
call SetUnitAnimation(udg_unit88,"Death")
call SetUnitAnimation(udg_unit89,"Death")
call SetUnitAnimation(udg_unit90,"Death")
call AddHeroXPSwapped(100,udg_unit34,true)
call AddHeroXPSwapped(100,udg_unit35,true)
call AddHeroXPSwapped(100,udg_unit59,true)
call SetUnitManaBJ(udg_unit34,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit34)+1500.00))
call SetUnitManaBJ(udg_unit35,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit35)+1500.00))
call SetUnitManaBJ(udg_unit59,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit59)+1500.00))
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit88,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit89,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit90,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit34,GetRectCenter(udg_rect111))
call SetUnitPositionLoc(udg_unit35,GetRectCenter(udg_rect111))
call SetUnitPositionLoc(udg_unit59,GetRectCenter(udg_rect111))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger444)
set udg_units20[1]=udg_unit34
set udg_units20[2]=udg_unit59
set udg_units20[3]=udg_unit35
call SetUnitLifeBJ(udg_units20[1],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[1])+1500.00))
call SetUnitLifeBJ(udg_units20[2],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[2])+1500.00))
call SetUnitLifeBJ(udg_units20[3],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[3])+1500.00))
endfunction
function Trig_TUR3_Func030C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit34)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit35)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit59)<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR3_Conditions takes nothing returns boolean
if(not Trig_TUR3_Func030C())then
return false
endif
return true
endfunction
function Trig_TUR3_Func025A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR3_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger442)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(true,udg_unit35)
call PauseUnitBJ(true,udg_unit59)
call SetUnitAnimation(udg_unit34,"Death")
call SetUnitAnimation(udg_unit35,"Death")
call SetUnitAnimation(udg_unit59,"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit88,GetRectCenter(udg_rect111))
call SetUnitPositionLoc(udg_unit89,GetRectCenter(udg_rect111))
call SetUnitPositionLoc(udg_unit90,GetRectCenter(udg_rect111))
call SetUnitPositionLoc(udg_unit34,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit35,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit59,GetRectCenter(udg_rect37))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger444)
set udg_units20[1]=udg_unit89
set udg_units20[2]=udg_unit88
set udg_units20[3]=udg_unit90
call SetUnitLifeBJ(udg_units20[1],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[1])+1500.00))
call SetUnitLifeBJ(udg_units20[2],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[2])+1500.00))
call SetUnitLifeBJ(udg_units20[3],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[3])+1500.00))
call ForGroupBJ(GetUnitsInRectAll(udg_rect111),function Trig_TUR3_Func025A)
call TriggerSleepAction(26.00)
call PauseUnitBJ(true,udg_unit34)
call PauseUnitBJ(true,udg_unit35)
call PauseUnitBJ(true,udg_unit59)
endfunction
function Trig_TUR4_Func017C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR4_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound71,true)
call StopSoundBJ(udg_sound62,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit41,GetRectCenter(udg_rect103),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit38,GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit51,GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit84,GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit101,GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit100,GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call SetUnitOwner(udg_unit84,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit101,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit100,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call DisableTrigger(udg_trigger426)
call EnableTrigger(udg_trigger445)
call EnableTrigger(udg_trigger446)
call TriggerSleepAction(1.25)
if(Trig_TUR4_Func017C())then
call PlaySoundBJ(udg_sound92)
else
call PlaySoundBJ(udg_sound79)
endif
endfunction
function Trig_TUR5_Func032C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit100)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit101)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit84)<=280.00))then
return false
endif
return true
endfunction
function Trig_TUR5_Conditions takes nothing returns boolean
if(not Trig_TUR5_Func032C())then
return false
endif
return true
endfunction
function Trig_TUR5_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger446)
call DisableTrigger(GetTriggeringTrigger())
call EnableTrigger(udg_trigger426)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit101)
call PauseUnitBJ(true,udg_unit100)
call PauseUnitBJ(true,udg_unit84)
call SetUnitAnimation(udg_unit84,"Death")
call SetUnitAnimation(udg_unit101,"Death")
call SetUnitAnimation(udg_unit100,"Death")
call AddHeroXPSwapped(100,udg_unit41,true)
call AddHeroXPSwapped(100,udg_unit38,true)
call AddHeroXPSwapped(100,udg_unit51,true)
call SetUnitManaBJ(udg_unit41,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit41)+1500.00))
call SetUnitManaBJ(udg_unit38,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit38)+1500.00))
call SetUnitManaBJ(udg_unit51,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit51)+1500.00))
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit100,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit101,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit84,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit41,GetRectCenter(udg_rect112))
call SetUnitPositionLoc(udg_unit38,GetRectCenter(udg_rect112))
call SetUnitPositionLoc(udg_unit51,GetRectCenter(udg_rect112))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger447)
set udg_units20[4]=udg_unit41
set udg_units20[5]=udg_unit38
set udg_units20[6]=udg_unit51
call SetUnitLifeBJ(udg_units20[4],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[4])+1500.00))
call SetUnitLifeBJ(udg_units20[5],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[5])+1500.00))
call SetUnitLifeBJ(udg_units20[6],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[6])+1500.00))
endfunction
function Trig_TUR6_Func030C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit41)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit38)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit51)<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR6_Conditions takes nothing returns boolean
if(not Trig_TUR6_Func030C())then
return false
endif
return true
endfunction
function Trig_TUR6_Func025A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR6_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger445)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit41)
call PauseUnitBJ(true,udg_unit38)
call PauseUnitBJ(true,udg_unit51)
call SetUnitAnimation(udg_unit41,"Death")
call SetUnitAnimation(udg_unit38,"Death")
call SetUnitAnimation(udg_unit51,"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit84,GetRectCenter(udg_rect112))
call SetUnitPositionLoc(udg_unit101,GetRectCenter(udg_rect112))
call SetUnitPositionLoc(udg_unit100,GetRectCenter(udg_rect112))
call SetUnitPositionLoc(udg_unit41,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit38,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit51,GetRectCenter(udg_rect37))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger447)
set udg_units20[4]=udg_unit100
set udg_units20[5]=udg_unit101
set udg_units20[6]=udg_unit84
call SetUnitLifeBJ(udg_units20[4],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[4])+1500.00))
call SetUnitLifeBJ(udg_units20[5],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[5])+1500.00))
call SetUnitLifeBJ(udg_units20[6],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[6])+1500.00))
call ForGroupBJ(GetUnitsInRectAll(udg_rect112),function Trig_TUR6_Func025A)
call TriggerSleepAction(26.00)
call PauseUnitBJ(true,udg_unit41)
call PauseUnitBJ(true,udg_unit38)
call PauseUnitBJ(true,udg_unit51)
endfunction
function Trig_TUR7_Func017Func001C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR7_Func017C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR7_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound92,true)
call StopSoundBJ(udg_sound79,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit37,GetRectCenter(udg_rect103),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit76,GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit40,GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit93,GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit92,GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit91,GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call SetUnitOwner(udg_unit93,Player(8),true)
call SetUnitOwner(udg_unit92,Player(8),true)
call SetUnitOwner(udg_unit91,Player(8),true)
call DisableTrigger(udg_trigger428)
call EnableTrigger(udg_trigger448)
call EnableTrigger(udg_trigger449)
call TriggerSleepAction(1.25)
if(Trig_TUR7_Func017C())then
call PlaySoundBJ(udg_sound56)
else
if(Trig_TUR7_Func017Func001C())then
call PlaySoundBJ(udg_sound98)
else
call PlaySoundBJ(udg_sound37)
endif
endif
endfunction
function Trig_TUR8_Func032C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit93)<=260.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit92)<=260.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit91)<=260.00))then
return false
endif
return true
endfunction
function Trig_TUR8_Conditions takes nothing returns boolean
if(not Trig_TUR8_Func032C())then
return false
endif
return true
endfunction
function Trig_TUR8_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger449)
call DisableTrigger(GetTriggeringTrigger())
call EnableTrigger(udg_trigger428)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit93)
call PauseUnitBJ(true,udg_unit92)
call PauseUnitBJ(true,udg_unit91)
call SetUnitAnimation(udg_unit93,"Death")
call SetUnitAnimation(udg_unit92,"Death")
call SetUnitAnimation(udg_unit91,"Death")
call AddHeroXPSwapped(100,udg_unit40,true)
call AddHeroXPSwapped(100,udg_unit37,true)
call AddHeroXPSwapped(100,udg_unit76,true)
call SetUnitManaBJ(udg_unit37,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit37)+1500.00))
call SetUnitManaBJ(udg_unit76,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit76)+1500.00))
call SetUnitManaBJ(udg_unit40,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit40)+1500.00))
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit93,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit92,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit91,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit40,GetRectCenter(udg_rect114))
call SetUnitPositionLoc(udg_unit37,GetRectCenter(udg_rect114))
call SetUnitPositionLoc(udg_unit76,GetRectCenter(udg_rect114))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger450)
set udg_units20[7]=udg_unit40
set udg_units20[8]=udg_unit37
set udg_units20[9]=udg_unit76
call SetUnitLifeBJ(udg_units20[7],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[7])+1500.00))
call SetUnitLifeBJ(udg_units20[8],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[8])+1500.00))
call SetUnitLifeBJ(udg_units20[9],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[9])+1500.00))
endfunction
function Trig_TUR9_Func030C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit40)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit37)<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit76)<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR9_Conditions takes nothing returns boolean
if(not Trig_TUR9_Func030C())then
return false
endif
return true
endfunction
function Trig_TUR9_Func025A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR9_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger448)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit40)
call PauseUnitBJ(true,udg_unit37)
call PauseUnitBJ(true,udg_unit76)
call SetUnitAnimation(udg_unit40,"Death")
call SetUnitAnimation(udg_unit37,"Death")
call SetUnitAnimation(udg_unit76,"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit93,GetRectCenter(udg_rect114))
call SetUnitPositionLoc(udg_unit92,GetRectCenter(udg_rect114))
call SetUnitPositionLoc(udg_unit91,GetRectCenter(udg_rect114))
call SetUnitPositionLoc(udg_unit37,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit76,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit40,GetRectCenter(udg_rect37))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger450)
set udg_units20[7]=udg_unit93
set udg_units20[8]=udg_unit92
set udg_units20[9]=udg_unit91
call SetUnitLifeBJ(udg_units20[7],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[7])+1500.00))
call SetUnitLifeBJ(udg_units20[8],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[8])+1500.00))
call SetUnitLifeBJ(udg_units20[9],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[9])+1500.00))
call ForGroupBJ(GetUnitsInRectAll(udg_rect114),function Trig_TUR9_Func025A)
call TriggerSleepAction(26.00)
call PauseUnitBJ(true,udg_unit40)
call PauseUnitBJ(true,udg_unit37)
call PauseUnitBJ(true,udg_unit76)
endfunction
function Trig_TUR10_Func020C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR10_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound37,true)
call StopSoundBJ(udg_sound56,true)
call StopSoundBJ(udg_sound98,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.00,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_unit94,GetRectCenter(udg_rect103),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit95,GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit96,GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit97,GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit98,GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_unit99,GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call SetUnitOwner(udg_unit94,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit95,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit96,Player(PLAYER_NEUTRAL_AGGRESSIVE),true)
call SetUnitOwner(udg_unit97,Player(11),true)
call SetUnitOwner(udg_unit98,Player(11),true)
call SetUnitOwner(udg_unit99,Player(11),true)
call EnableTrigger(udg_trigger451)
call EnableTrigger(udg_trigger452)
call TriggerSleepAction(1.25)
if(Trig_TUR10_Func020C())then
call PlaySoundBJ(udg_sound47)
else
call PlaySoundBJ(udg_sound48)
endif
endfunction
function Trig_TUR11_Func029C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit94)<=260.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit95)<=260.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)<=260.00))then
return false
endif
return true
endfunction
function Trig_TUR11_Conditions takes nothing returns boolean
if(not Trig_TUR11_Func029C())then
return false
endif
return true
endfunction
function Trig_TUR11_Func028A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR11_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger452)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit97)
call PauseUnitBJ(true,udg_unit98)
call PauseUnitBJ(true,udg_unit99)
call SetUnitAnimation(udg_unit94,"Death")
call SetUnitAnimation(udg_unit95,"Death")
call SetUnitAnimation(udg_unit96,"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit94,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit95,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit96,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit97,GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_unit98,GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_unit99,GetRectCenter(udg_rect115))
call SetUnitManaBJ(udg_unit99,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit99)+1500.00))
call SetUnitManaBJ(udg_unit98,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit98)+1500.00))
call SetUnitManaBJ(udg_unit97,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit97)+1500.00))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger453)
set udg_units20[10]=udg_unit97
set udg_units20[11]=udg_unit98
set udg_units20[12]=udg_unit99
call SetUnitLifeBJ(udg_units20[10],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[10])+1500.00))
call SetUnitLifeBJ(udg_units20[11],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[11])+1500.00))
call SetUnitLifeBJ(udg_units20[12],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[12])+1500.00))
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR11_Func028A)
endfunction
function Trig_TUR12_Func029C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit97)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit98)<=280.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit99)<=280.00))then
return false
endif
return true
endfunction
function Trig_TUR12_Conditions takes nothing returns boolean
if(not Trig_TUR12_Func029C())then
return false
endif
return true
endfunction
function Trig_TUR12_Func028A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR12_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger451)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_unit97)
call PauseUnitBJ(true,udg_unit98)
call PauseUnitBJ(true,udg_unit99)
call SetUnitAnimation(udg_unit97,"Death")
call SetUnitAnimation(udg_unit98,"Death")
call SetUnitAnimation(udg_unit99,"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_unit94,GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_unit95,GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_unit96,GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_unit97,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit98,GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_unit99,GetRectCenter(udg_rect37))
call SetUnitManaBJ(udg_unit94,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit94)+1500.00))
call SetUnitManaBJ(udg_unit95,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit95)+1500.00))
call SetUnitManaBJ(udg_unit96,(GetUnitStateSwap(UNIT_STATE_MANA,udg_unit96)+1500.00))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger453)
set udg_units20[10]=udg_unit94
set udg_units20[11]=udg_unit95
set udg_units20[12]=udg_unit96
call SetUnitLifeBJ(udg_units20[10],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[10])+1500.00))
call SetUnitLifeBJ(udg_units20[11],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[11])+1500.00))
call SetUnitLifeBJ(udg_units20[12],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[12])+1500.00))
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR12_Func028A)
endfunction
function Trig_TUR13_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound47,true)
call StopSoundBJ(udg_sound48,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.70,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_units20[1],GetRectCenter(udg_rect113),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[2],GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[3],GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[5],GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[4],GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[6],GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call PauseUnitBJ(false,udg_units20[1])
call PauseUnitBJ(false,udg_units20[2])
call PauseUnitBJ(false,udg_units20[3])
call PauseUnitBJ(false,udg_units20[4])
call PauseUnitBJ(false,udg_units20[5])
call PauseUnitBJ(false,udg_units20[6])
call SetUnitAnimation(udg_units20[1],"stand")
call SetUnitAnimation(udg_units20[2],"stand")
call SetUnitAnimation(udg_units20[3],"stand")
call SetUnitAnimation(udg_units20[4],"stand")
call SetUnitAnimation(udg_units20[5],"stand")
call SetUnitAnimation(udg_units20[6],"stand")
call TriggerSleepAction(0.60)
call EnableTrigger(udg_trigger454)
call EnableTrigger(udg_trigger455)
call DisableTrigger(udg_trigger426)
call DisableTrigger(udg_trigger427)
call TriggerSleepAction(1.25)
call PlaySoundBJ(udg_sound102)
endfunction
function Trig_TUR14_Func026C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[1])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[2])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[3])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR14_Conditions takes nothing returns boolean
if(not Trig_TUR14_Func026C())then
return false
endif
return true
endfunction
function Trig_TUR14_Func025A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR14_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger455)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[4])
call PauseUnitBJ(true,udg_units20[5])
call PauseUnitBJ(true,udg_units20[6])
call SetUnitAnimation(udg_units20[1],"Death")
call SetUnitAnimation(udg_units20[2],"Death")
call SetUnitAnimation(udg_units20[3],"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_units20[1],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[2],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[3],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[4],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[5],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[6],GetRectCenter(udg_rect115))
call SetUnitManaBJ(udg_units20[4],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[4])+1500.00))
call SetUnitManaBJ(udg_units20[5],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[5])+1500.00))
call SetUnitManaBJ(udg_units20[6],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[6])+1500.00))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger456)
set udg_units20[13]=udg_units20[4]
set udg_units20[14]=udg_units20[5]
set udg_units20[15]=udg_units20[6]
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR14_Func025A)
endfunction
function Trig_TUR15_Func026C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[4])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[5])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[6])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR15_Conditions takes nothing returns boolean
if(not Trig_TUR15_Func026C())then
return false
endif
return true
endfunction
function Trig_TUR15_Func025A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR15_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger454)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[1])
call PauseUnitBJ(true,udg_units20[2])
call PauseUnitBJ(true,udg_units20[3])
call SetUnitAnimation(udg_units20[4],"Death")
call SetUnitAnimation(udg_units20[5],"Death")
call SetUnitAnimation(udg_units20[6],"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_units20[1],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[2],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[3],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[4],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[5],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[6],GetRectCenter(udg_rect37))
call SetUnitManaBJ(udg_units20[1],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[1])+1500.00))
call SetUnitManaBJ(udg_units20[2],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[2])+1500.00))
call SetUnitManaBJ(udg_units20[3],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[3])+1500.00))
call TriggerSleepAction(0.01)
call TriggerExecute(udg_trigger456)
set udg_units20[13]=udg_units20[1]
set udg_units20[14]=udg_units20[2]
set udg_units20[15]=udg_units20[3]
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR15_Func025A)
endfunction
function Trig_TUR16_Func025C takes nothing returns boolean
if(not(GetRandomInt(1,2)==1))then
return false
endif
return true
endfunction
function Trig_TUR16_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound102,true)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,1.70,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_units20[7],GetRectCenter(udg_rect113),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[8],GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[9],GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[10],GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[11],GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[12],GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call PauseUnitBJ(false,udg_units20[7])
call PauseUnitBJ(false,udg_units20[8])
call PauseUnitBJ(false,udg_units20[9])
call PauseUnitBJ(false,udg_units20[10])
call PauseUnitBJ(false,udg_units20[11])
call PauseUnitBJ(false,udg_units20[12])
call SetUnitAnimation(udg_units20[7],"stand")
call SetUnitAnimation(udg_units20[8],"stand")
call SetUnitAnimation(udg_units20[9],"stand")
call SetUnitAnimation(udg_units20[10],"stand")
call SetUnitAnimation(udg_units20[11],"stand")
call SetUnitAnimation(udg_units20[12],"stand")
call DisableTrigger(udg_trigger428)
call EnableTrigger(udg_trigger457)
call EnableTrigger(udg_trigger458)
call TriggerSleepAction(1.85)
if(Trig_TUR16_Func025C())then
call PlaySoundBJ(udg_sound92)
else
call PlaySoundBJ(udg_sound79)
endif
endfunction
function Trig_TUR17_Func034C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[7])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[8])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[9])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR17_Conditions takes nothing returns boolean
if(not Trig_TUR17_Func034C())then
return false
endif
return true
endfunction
function Trig_TUR17_Func032A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR17_Func033A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_TUR17_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger458)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[10])
call PauseUnitBJ(true,udg_units20[11])
call PauseUnitBJ(true,udg_units20[12])
call PauseUnitBJ(true,udg_units20[7])
call PauseUnitBJ(true,udg_units20[8])
call PauseUnitBJ(true,udg_units20[9])
call SetUnitAnimation(udg_units20[7],"Death")
call SetUnitAnimation(udg_units20[8],"Death")
call SetUnitAnimation(udg_units20[9],"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_units20[7],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[8],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[9],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[10],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[11],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[12],GetRectCenter(udg_rect115))
call TriggerSleepAction(0.01)
set udg_units20[16]=udg_units20[10]
set udg_units20[17]=udg_units20[11]
set udg_units20[18]=udg_units20[12]
call SetUnitLifeBJ(udg_units20[16],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[16])+1500.00))
call SetUnitLifeBJ(udg_units20[17],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[17])+1500.00))
call SetUnitLifeBJ(udg_units20[18],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[18])+1500.00))
call SetUnitManaBJ(udg_units20[16],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[16])+1500.00))
call SetUnitManaBJ(udg_units20[17],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[17])+1500.00))
call SetUnitManaBJ(udg_units20[18],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[18])+1500.00))
call TriggerSleepAction(0.05)
call TriggerExecute(udg_trigger459)
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR17_Func032A)
call ForGroupBJ(GetUnitsInRectAll(udg_rect37),function Trig_TUR17_Func033A)
endfunction
function Trig_TUR18_Func034C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[10])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[11])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[12])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR18_Conditions takes nothing returns boolean
if(not Trig_TUR18_Func034C())then
return false
endif
return true
endfunction
function Trig_TUR18_Func032A takes nothing returns nothing
call PauseUnitBJ(true,GetEnumUnit())
endfunction
function Trig_TUR18_Func033A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_TUR18_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger457)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,0.90,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[7])
call PauseUnitBJ(true,udg_units20[8])
call PauseUnitBJ(true,udg_units20[9])
call PauseUnitBJ(true,udg_units20[10])
call PauseUnitBJ(true,udg_units20[11])
call PauseUnitBJ(true,udg_units20[12])
call SetUnitAnimation(udg_units20[10],"Death")
call SetUnitAnimation(udg_units20[11],"Death")
call SetUnitAnimation(udg_units20[12],"Death")
call TriggerSleepAction(1.00)
call SetUnitPositionLoc(udg_units20[7],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[8],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[9],GetRectCenter(udg_rect115))
call SetUnitPositionLoc(udg_units20[10],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[11],GetRectCenter(udg_rect37))
call SetUnitPositionLoc(udg_units20[12],GetRectCenter(udg_rect37))
call TriggerSleepAction(0.01)
set udg_units20[16]=udg_units20[7]
set udg_units20[17]=udg_units20[8]
set udg_units20[18]=udg_units20[9]
call SetUnitLifeBJ(udg_units20[16],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[16])+1500.00))
call SetUnitLifeBJ(udg_units20[17],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[17])+1500.00))
call SetUnitLifeBJ(udg_units20[18],(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[18])+1500.00))
call SetUnitManaBJ(udg_units20[16],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[16])+1500.00))
call SetUnitManaBJ(udg_units20[17],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[17])+1500.00))
call SetUnitManaBJ(udg_units20[18],(GetUnitStateSwap(UNIT_STATE_MANA,udg_units20[18])+1500.00))
call TriggerSleepAction(0.05)
call TriggerExecute(udg_trigger459)
call ForGroupBJ(GetUnitsInRectAll(udg_rect115),function Trig_TUR18_Func032A)
call ForGroupBJ(GetUnitsInRectAll(udg_rect37),function Trig_TUR18_Func033A)
endfunction
function Trig_TUR19_Actions takes nothing returns nothing
call StopSoundBJ(udg_sound92,true)
call StopSoundBJ(udg_sound79,true)
call TriggerExecute(udg_trigger393)
call CinematicFadeBJ(bj_CINEFADETYPE_FADEIN,2.70,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call SetUnitPositionLocFacingLocBJ(udg_units20[13],GetRectCenter(udg_rect113),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[14],GetRectCenter(udg_rect96),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[15],GetRectCenter(udg_rect104),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[16],GetRectCenter(udg_rect105),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[17],GetRectCenter(udg_rect106),GetRectCenter(udg_rect108))
call SetUnitPositionLocFacingLocBJ(udg_units20[18],GetRectCenter(udg_rect107),GetRectCenter(udg_rect108))
call PauseUnitBJ(false,udg_units20[13])
call PauseUnitBJ(false,udg_units20[14])
call PauseUnitBJ(false,udg_units20[15])
call PauseUnitBJ(false,udg_units20[16])
call PauseUnitBJ(false,udg_units20[17])
call PauseUnitBJ(false,udg_units20[18])
call SetUnitAnimation(udg_units20[13],"stand")
call SetUnitAnimation(udg_units20[14],"stand")
call SetUnitAnimation(udg_units20[15],"stand")
call SetUnitAnimation(udg_units20[16],"stand")
call SetUnitAnimation(udg_units20[17],"stand")
call SetUnitAnimation(udg_units20[18],"stand")
call TriggerSleepAction(0.10)
call EnableTrigger(udg_trigger460)
call EnableTrigger(udg_trigger461)
call TriggerSleepAction(1.90)
call PlaySoundBJ(udg_sound114)
endfunction
function Trig_TUR21_Func017C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[13])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[14])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[15])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR21_Conditions takes nothing returns boolean
if(not Trig_TUR21_Func017C())then
return false
endif
return true
endfunction
function Trig_TUR21_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger461)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,2.20,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[13])
call PauseUnitBJ(true,udg_units20[14])
call PauseUnitBJ(true,udg_units20[15])
call SetUnitAnimation(udg_units20[13],"Death")
call SetUnitAnimation(udg_units20[14],"Death")
call SetUnitAnimation(udg_units20[15],"Death")
call TriggerSleepAction(1.00)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[16]),true,false)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[17]),true,false)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[18]),true,false)
call CustomDefeatBJ(GetOwningPlayer(udg_units20[13]),"TRIGSTR_1088")
call CustomDefeatBJ(GetOwningPlayer(udg_units20[14]),"TRIGSTR_1089")
call CustomDefeatBJ(GetOwningPlayer(udg_units20[15]),"TRIGSTR_1090")
endfunction
function Trig_TUR22_Func017C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[16])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[17])<=410.00))then
return false
endif
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_units20[18])<=410.00))then
return false
endif
return true
endfunction
function Trig_TUR22_Conditions takes nothing returns boolean
if(not Trig_TUR22_Func017C())then
return false
endif
return true
endfunction
function Trig_TUR22_Actions takes nothing returns nothing
call DisableTrigger(udg_trigger460)
call DisableTrigger(GetTriggeringTrigger())
call CinematicFadeBJ(bj_CINEFADETYPE_FADEOUT,2.20,"ReplaceableTextures\\CameraMasks\\Black_mask.blp",0,0,0,0)
call PauseUnitBJ(true,udg_units20[16])
call PauseUnitBJ(true,udg_units20[17])
call PauseUnitBJ(true,udg_units20[18])
call SetUnitAnimation(udg_units20[16],"Death")
call SetUnitAnimation(udg_units20[17],"Death")
call SetUnitAnimation(udg_units20[18],"Death")
call TriggerSleepAction(1.00)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[13]),true,false)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[14]),true,false)
call CustomVictoryBJ(GetOwningPlayer(udg_units20[15]),true,false)
call CustomDefeatBJ(GetOwningPlayer(udg_units20[16]),"TRIGSTR_1085")
call CustomDefeatBJ(GetOwningPlayer(udg_units20[17]),"TRIGSTR_1086")
call CustomDefeatBJ(GetOwningPlayer(udg_units20[18]),"TRIGSTR_1087")
endfunction
function Trig_Priminaet_Func001C takes nothing returns boolean
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[4]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[5]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[6]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[7]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[8]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[9]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[10]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[11]))<=300.00))then
return true
endif
if((DistanceBetweenPoints(GetUnitLoc(udg_unit35),GetUnitLoc(udg_units20[12]))<=300.00))then
return true
endif
return false
endfunction
function Trig_Priminaet_Conditions takes nothing returns boolean
if(not Trig_Priminaet_Func001C())then
return false
endif
return true
endfunction
function Trig_Priminaet_Actions takes nothing returns nothing
call IssueImmediateOrderBJ(udg_unit35,"thunderclap")
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(18.00)
call EnableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Krip_na_arene_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit96)<=350.00))then
return false
endif
return true
endfunction
function Trig_Krip_na_arene_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit96),"shadowclone.mdx")
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit96,GetRectCenter(udg_rect90))
call DisableTrigger(GetTriggeringTrigger())
endfunction
function Trig_Krip_na_arene2_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit94)<=340.00))then
return false
endif
return true
endfunction
function Trig_Krip_na_arene2_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit94),"shadowclone.mdx")
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit94,GetRectCenter(udg_rect90))
call SetUnitVertexColorBJ(udg_unit94,100,100,100,60.00)
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(0.10)
call SetUnitVertexColorBJ(udg_unit94,100,100,100,30.00)
call TriggerSleepAction(0.03)
call SetUnitVertexColorBJ(udg_unit94,100,100,100,0.00)
endfunction
function Trig_Krip_na_arene3_Conditions takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_LIFE,udg_unit99)<=330.00))then
return false
endif
return true
endfunction
function Trig_Krip_na_arene3_Actions takes nothing returns nothing
call AddSpecialEffectLocBJ(GetUnitLoc(udg_unit99),"shadowclone.mdx")
call TriggerSleepAction(0.01)
call SetUnitPositionLoc(udg_unit99,GetRectCenter(udg_rect96))
call SetUnitVertexColorBJ(udg_unit99,100,100,100,60.00)
call DisableTrigger(GetTriggeringTrigger())
call TriggerSleepAction(0.10)
call SetUnitVertexColorBJ(udg_unit99,100,100,100,30.00)
call TriggerSleepAction(0.04)
call SetUnitVertexColorBJ(udg_unit99,100,100,100,0.00)
endfunction
function main2 takes nothing returns nothing
call SetCameraBounds(-13824.0+GetCameraMargin(CAMERA_MARGIN_LEFT),-16256.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM),13952.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),15616.0-GetCameraMargin(CAMERA_MARGIN_TOP),-13824.0+GetCameraMargin(CAMERA_MARGIN_LEFT),15616.0-GetCameraMargin(CAMERA_MARGIN_TOP),13952.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),-16256.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCAshenvale\\DNCAshenvaleTerrain\\DNCAshenvaleTerrain.mdl","Environment\\DNC\\DNCAshenvale\\DNCAshenvaleUnit\\DNCAshenvaleUnit.mdl")
call NewSoundEnvironment("Default")
call SetAmbientDaySound("AshenvaleDay")
call SetAmbientNightSound("AshenvaleNight")
call SetMapMusic("Music",true,0)
set udg_sound01=CreateSound("Zankukyokuha.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound01,3446)
call SetSoundChannel(udg_sound01,0)
call SetSoundVolume(udg_sound01,127)
call SetSoundPitch(udg_sound01,1.0)
set udg_sound02=CreateSound("Katon Gokakyu no Jutsu 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound02,2310)
call SetSoundChannel(udg_sound02,0)
call SetSoundVolume(udg_sound02,127)
call SetSoundPitch(udg_sound02,1.0)
set udg_sound03=CreateSound("Katon Gokakyu no Jutsu 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound03,1997)
call SetSoundChannel(udg_sound03,0)
call SetSoundVolume(udg_sound03,127)
call SetSoundPitch(udg_sound03,1.0)
set udg_sound04=CreateSound("Katon Gokakyu no Jutsu 9.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound04,2206)
call SetSoundChannel(udg_sound04,0)
call SetSoundVolume(udg_sound04,127)
call SetSoundPitch(udg_sound04,1.0)
set udg_sound05=CreateSound("Katon Gokakyu no Jutsu 10.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound05,3146)
call SetSoundChannel(udg_sound05,0)
call SetSoundVolume(udg_sound05,127)
call SetSoundPitch(udg_sound05,1.0)
set udg_sound06=CreateSound("Katon Gokakyu no Jutsu 11.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound06,2258)
call SetSoundChannel(udg_sound06,0)
call SetSoundVolume(udg_sound06,127)
call SetSoundPitch(udg_sound06,1.0)
set udg_sound07=CreateSound("Juin.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound07,2520)
call SetSoundChannel(udg_sound07,0)
call SetSoundVolume(udg_sound07,127)
call SetSoundPitch(udg_sound07,1.0)
set udg_sound08=CreateSound("Juin2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound08,2154)
call SetSoundChannel(udg_sound08,0)
call SetSoundVolume(udg_sound08,127)
call SetSoundPitch(udg_sound08,1.0)
set udg_sound09=CreateSound("Juin3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound09,952)
call SetSoundChannel(udg_sound09,0)
call SetSoundVolume(udg_sound09,127)
call SetSoundPitch(udg_sound09,1.0)
set udg_sound10=CreateSound("Shishi Rendan.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound10,1109)
call SetSoundChannel(udg_sound10,0)
call SetSoundVolume(udg_sound10,127)
call SetSoundPitch(udg_sound10,1.0)
set udg_sound11=CreateSound("Shishi Rendan 2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound11,1631)
call SetSoundChannel(udg_sound11,0)
call SetSoundVolume(udg_sound11,119)
call SetSoundPitch(udg_sound11,1.0)
set udg_sound12=CreateSound("Chidori 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound12,900)
call SetSoundChannel(udg_sound12,0)
call SetSoundVolume(udg_sound12,127)
call SetSoundPitch(udg_sound12,1.0)
set udg_sound13=CreateSound("Chidori 3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound13,1788)
call SetSoundChannel(udg_sound13,0)
call SetSoundVolume(udg_sound13,127)
call SetSoundPitch(udg_sound13,1.0)
set udg_sound14=CreateSound("Zankuuha.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound14,1579)
call SetSoundChannel(udg_sound14,0)
call SetSoundVolume(udg_sound14,127)
call SetSoundPitch(udg_sound14,1.0)
set udg_sound15=CreateSound("Zankuuha 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound15,1214)
call SetSoundChannel(udg_sound15,0)
call SetSoundVolume(udg_sound15,127)
call SetSoundPitch(udg_sound15,1.0)
set udg_sound16=CreateSound("Katon Hosenka no Jutsu.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound16,2154)
call SetSoundChannel(udg_sound16,0)
call SetSoundVolume(udg_sound16,127)
call SetSoundPitch(udg_sound16,1.0)
set udg_sound17=CreateSound("Katon Hosenka no Jutsu 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound17,2833)
call SetSoundChannel(udg_sound17,0)
call SetSoundVolume(udg_sound17,127)
call SetSoundPitch(udg_sound17,1.0)
set udg_sound18=CreateSound("Katon Ryuka no Jutsu 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound18,1736)
call SetSoundChannel(udg_sound18,0)
call SetSoundVolume(udg_sound18,127)
call SetSoundPitch(udg_sound18,1.0)
set udg_sound19=CreateSound("Katon Ryuka no Jutsu 3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound19,1997)
call SetSoundChannel(udg_sound19,0)
call SetSoundVolume(udg_sound19,127)
call SetSoundPitch(udg_sound19,1.0)
set udg_sound20=CreateSound("Kage Bunshin no Jutsu 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound20,1474)
call SetSoundChannel(udg_sound20,0)
call SetSoundVolume(udg_sound20,127)
call SetSoundPitch(udg_sound20,1.0)
set udg_sound21=CreateSound("polot.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound21,2206)
call SetSoundChannel(udg_sound21,0)
call SetSoundVolume(udg_sound21,127)
call SetSoundPitch(udg_sound21,1.0)
set udg_sound22=CreateSound("SofushaSannoTachi.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound22,691)
call SetSoundChannel(udg_sound22,0)
call SetSoundVolume(udg_sound22,127)
call SetSoundPitch(udg_sound22,1.0)
set udg_sound23=CreateSound("Kage Shuriken.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound23,1997)
call SetSoundChannel(udg_sound23,0)
call SetSoundVolume(udg_sound23,127)
call SetSoundPitch(udg_sound23,1.0)
set udg_sound24=CreateSound("Konoha Senpu 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound24,1631)
call SetSoundChannel(udg_sound24,0)
call SetSoundVolume(udg_sound24,127)
call SetSoundPitch(udg_sound24,1.0)
set udg_sound25=CreateSound("Konoha Senpu 5.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound25,1997)
call SetSoundChannel(udg_sound25,0)
call SetSoundVolume(udg_sound25,127)
call SetSoundPitch(udg_sound25,1.0)
set udg_sound26=CreateSound("Konoha Senpu 6.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound26,1057)
call SetSoundChannel(udg_sound26,0)
call SetSoundVolume(udg_sound26,127)
call SetSoundPitch(udg_sound26,1.0)
set udg_sound27=CreateSound("Konoha Reppu.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound27,1422)
call SetSoundChannel(udg_sound27,0)
call SetSoundVolume(udg_sound27,127)
call SetSoundPitch(udg_sound27,1.0)
set udg_sound28=CreateSound("1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound28,2206)
call SetSoundChannel(udg_sound28,0)
call SetSoundVolume(udg_sound28,127)
call SetSoundPitch(udg_sound28,1.0)
set udg_sound29=CreateSound("Rezak_Dosu.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound29,952)
call SetSoundChannel(udg_sound29,0)
call SetSoundVolume(udg_sound29,127)
call SetSoundPitch(udg_sound29,1.0)
set udg_sound30=CreateSound("Sharingan 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound30,1370)
call SetSoundChannel(udg_sound30,0)
call SetSoundVolume(udg_sound30,127)
call SetSoundPitch(udg_sound30,1.0)
set udg_sound31=CreateSound("Sharingan 3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound31,1422)
call SetSoundChannel(udg_sound31,0)
call SetSoundVolume(udg_sound31,127)
call SetSoundPitch(udg_sound31,1.0)
set udg_sound32=CreateSound("Sharingan 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound32,1161)
call SetSoundChannel(udg_sound32,0)
call SetSoundVolume(udg_sound32,127)
call SetSoundPitch(udg_sound32,1.0)
set udg_sound33=CreateSound("Sharingan Kai.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound33,900)
call SetSoundChannel(udg_sound33,0)
call SetSoundVolume(udg_sound33,127)
call SetSoundPitch(udg_sound33,1.0)
set udg_sound34=CreateSound("Visokochistotnii zvuk.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound34,1161)
call SetSoundChannel(udg_sound34,0)
call SetSoundVolume(udg_sound34,127)
call SetSoundPitch(udg_sound34,1.0)
set udg_sound35=CreateSound("Visokochistotnii zvuk2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound35,1527)
call SetSoundChannel(udg_sound35,0)
call SetSoundVolume(udg_sound35,127)
call SetSoundPitch(udg_sound35,1.0)
set udg_sound36=CreateSound("Lee.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound36,2844)
call SetSoundChannel(udg_sound36,0)
call SetSoundVolume(udg_sound36,105)
call SetSoundPitch(udg_sound36,1.0)
set udg_sound37=CreateSound("Dlya Lee.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound37,30326)
call SetSoundChannel(udg_sound37,0)
call SetSoundVolume(udg_sound37,74)
call SetSoundPitch(udg_sound37,1.0)
set udg_sound38=CreateSound("Lee3.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound38,1696)
call SetSoundChannel(udg_sound38,0)
call SetSoundVolume(udg_sound38,105)
call SetSoundPitch(udg_sound38,1.0)
set udg_sound39=CreateSound("Lee4.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound39,2427)
call SetSoundChannel(udg_sound39,0)
call SetSoundVolume(udg_sound39,105)
call SetSoundPitch(udg_sound39,1.0)
set udg_sound40=CreateSound("Sasuke.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound40,743)
call SetSoundChannel(udg_sound40,0)
call SetSoundVolume(udg_sound40,97)
call SetSoundPitch(udg_sound40,1.0)
set udg_sound41=CreateSound("Lee2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound41,2740)
call SetSoundChannel(udg_sound41,0)
call SetSoundVolume(udg_sound41,108)
call SetSoundPitch(udg_sound41,1.0)
set udg_sound42=CreateSound("Naruto.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound42,650)
call SetSoundChannel(udg_sound42,0)
call SetSoundVolume(udg_sound42,105)
call SetSoundPitch(udg_sound42,1.0)
set udg_sound43=CreateSound("Naruto2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound43,2949)
call SetSoundChannel(udg_sound43,0)
call SetSoundVolume(udg_sound43,103)
call SetSoundPitch(udg_sound43,1.0)
set udg_sound44=CreateSound("Naruto4.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound44,2532)
call SetSoundChannel(udg_sound44,0)
call SetSoundVolume(udg_sound44,100)
call SetSoundPitch(udg_sound44,1.0)
set udg_sound45=CreateSound("Sakura.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound45,1696)
call SetSoundChannel(udg_sound45,0)
call SetSoundVolume(udg_sound45,96)
call SetSoundPitch(udg_sound45,1.0)
set udg_sound46=CreateSound("Sasuke 2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound46,2467)
call SetSoundChannel(udg_sound46,0)
call SetSoundVolume(udg_sound46,110)
call SetSoundPitch(udg_sound46,1.0)
set udg_sound47=CreateSound("Dlya vseh 4.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound47,44994)
call SetSoundChannel(udg_sound47,0)
call SetSoundVolume(udg_sound47,100)
call SetSoundPitch(udg_sound47,1.0)
set udg_sound48=CreateSound("Dlya vseh 6.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound48,78496)
call SetSoundChannel(udg_sound48,0)
call SetSoundVolume(udg_sound48,127)
call SetSoundPitch(udg_sound48,1.0)
set udg_sound49=CreateSound("Lee5.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound49,2624)
call SetSoundChannel(udg_sound49,0)
call SetSoundVolume(udg_sound49,102)
call SetSoundPitch(udg_sound49,1.0)
set udg_sound50=CreateSound("Dlya vseh 5.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound50,42748)
call SetSoundChannel(udg_sound50,0)
call SetSoundVolume(udg_sound50,80)
call SetSoundPitch(udg_sound50,1.0)
set udg_sound51=CreateSound("Lee6.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound51,3042)
call SetSoundChannel(udg_sound51,0)
call SetSoundVolume(udg_sound51,127)
call SetSoundPitch(udg_sound51,1.0)
set udg_sound52=CreateSound("Dosu1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound52,2740)
call SetSoundChannel(udg_sound52,0)
call SetSoundVolume(udg_sound52,127)
call SetSoundPitch(udg_sound52,1.0)
set udg_sound53=CreateSound("Dosu2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound53,1904)
call SetSoundChannel(udg_sound53,0)
call SetSoundVolume(udg_sound53,127)
call SetSoundPitch(udg_sound53,1.0)
set udg_sound54=CreateSound("Dosu3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound54,2009)
call SetSoundChannel(udg_sound54,0)
call SetSoundVolume(udg_sound54,127)
call SetSoundPitch(udg_sound54,1.0)
set udg_sound55=CreateSound("Dosu4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound55,2532)
call SetSoundChannel(udg_sound55,0)
call SetSoundVolume(udg_sound55,127)
call SetSoundPitch(udg_sound55,1.0)
set udg_string01="Priroda.mp3"
set udg_sound56=CreateSound("Dlya vseh 9.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound56,71483)
call SetSoundChannel(udg_sound56,0)
call SetSoundVolume(udg_sound56,98)
call SetSoundPitch(udg_sound56,1.0)
set udg_sound57=CreateSound("Sakura 2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound57,7012)
call SetSoundChannel(udg_sound57,0)
call SetSoundVolume(udg_sound57,127)
call SetSoundPitch(udg_sound57,1.0)
set udg_sound58=CreateSound("Zaku1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound58,5562)
call SetSoundChannel(udg_sound58,0)
call SetSoundVolume(udg_sound58,127)
call SetSoundPitch(udg_sound58,1.0)
set udg_sound59=CreateSound("Dosu 6.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound59,1486)
call SetSoundChannel(udg_sound59,0)
call SetSoundVolume(udg_sound59,127)
call SetSoundPitch(udg_sound59,1.0)
set udg_sound60=CreateSound("Dosu 5.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound60,1173)
call SetSoundChannel(udg_sound60,0)
call SetSoundVolume(udg_sound60,127)
call SetSoundPitch(udg_sound60,1.0)
set udg_sound61=CreateSound("Lee7.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound61,1382)
call SetSoundChannel(udg_sound61,0)
call SetSoundVolume(udg_sound61,127)
call SetSoundPitch(udg_sound61,1.0)
set udg_sound62=CreateSound("Dlya Lee 2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundChannel(udg_sound62,0)
call SetSoundVolume(udg_sound62,55)
call SetSoundPitch(udg_sound62,1.0)
set udg_sound63=CreateSound("Seimon.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound63,2696)
call SetSoundChannel(udg_sound63,0)
call SetSoundVolume(udg_sound63,127)
call SetSoundPitch(udg_sound63,1.0)
set udg_sound64=CreateSound("Shoumon.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound64,3062)
call SetSoundChannel(udg_sound64,0)
call SetSoundVolume(udg_sound64,127)
call SetSoundPitch(udg_sound64,1.0)
set udg_sound65=CreateSound("Tomon.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound65,3506)
call SetSoundChannel(udg_sound65,0)
call SetSoundVolume(udg_sound65,127)
call SetSoundPitch(udg_sound65,1.0)
set udg_sound66=CreateSound("Omote Renge.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound66,1684)
call SetSoundChannel(udg_sound66,0)
call SetSoundVolume(udg_sound66,127)
call SetSoundPitch(udg_sound66,1.0)
set udg_sound67=CreateSound("Aktivatsia jutsu Konoha.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound67,1370)
call SetSoundChannel(udg_sound67,0)
call SetSoundVolume(udg_sound67,127)
call SetSoundPitch(udg_sound67,1.0)
set udg_sound68=CreateSound("Hokage 1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound68,12446)
call SetSoundChannel(udg_sound68,0)
call SetSoundVolume(udg_sound68,127)
call SetSoundPitch(udg_sound68,1.0)
set udg_sound69=CreateSound("pechat1.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound69,325)
call SetSoundChannel(udg_sound69,0)
call SetSoundVolume(udg_sound69,90)
call SetSoundPitch(udg_sound69,1.0)
set udg_sound70=CreateSound("pechat3.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound70,273)
call SetSoundChannel(udg_sound70,0)
call SetSoundVolume(udg_sound70,85)
call SetSoundPitch(udg_sound70,1.0)
set udg_sound71=CreateSound("Dlya Sasuke.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound71,53510)
call SetSoundChannel(udg_sound71,0)
call SetSoundVolume(udg_sound71,115)
call SetSoundPitch(udg_sound71,1.0)
set udg_sound72=CreateSound("Bistro 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound72,920)
call SetSoundChannel(udg_sound72,0)
call SetSoundVolume(udg_sound72,127)
call SetSoundPitch(udg_sound72,1.0)
set udg_sound73=CreateSound("Ura Renge.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound73,3303)
call SetSoundChannel(udg_sound73,0)
call SetSoundVolume(udg_sound73,127)
call SetSoundPitch(udg_sound73,1.0)
set udg_sound74=CreateSound("Bistro.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound74,1004)
call SetSoundChannel(udg_sound74,0)
call SetSoundVolume(udg_sound74,127)
call SetSoundPitch(udg_sound74,1.0)
set udg_sound75=CreateSound("Bistro 2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound75,743)
call SetSoundChannel(udg_sound75,0)
call SetSoundVolume(udg_sound75,93)
call SetSoundPitch(udg_sound75,1.0)
set udg_sound76=CreateSound("Naruto 5.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound76,3512)
call SetSoundChannel(udg_sound76,0)
call SetSoundVolume(udg_sound76,127)
call SetSoundPitch(udg_sound76,1.0)
set udg_sound77=CreateSound("Sakura 3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound77,1788)
call SetSoundChannel(udg_sound77,0)
call SetSoundVolume(udg_sound77,127)
call SetSoundPitch(udg_sound77,1.0)
set udg_sound78=CreateSound("Dlya vseh.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound78,71378)
call SetSoundChannel(udg_sound78,0)
call SetSoundVolume(udg_sound78,105)
call SetSoundPitch(udg_sound78,1.0)
set udg_sound79=CreateSound("Dlya vseh Kiba.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound79,71848)
call SetSoundChannel(udg_sound79,0)
call SetSoundVolume(udg_sound79,110)
call SetSoundPitch(udg_sound79,1.0)
set udg_sound80=CreateSound("Lee 10.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound80,4662)
call SetSoundChannel(udg_sound80,0)
call SetSoundVolume(udg_sound80,125)
call SetSoundPitch(udg_sound80,1.0)
set udg_sound81=CreateSound("Dosu10.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound81,1631)
call SetSoundChannel(udg_sound81,0)
call SetSoundVolume(udg_sound81,127)
call SetSoundPitch(udg_sound81,1.0)
set udg_sound82=CreateSound("Orich1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound82,3721)
call SetSoundChannel(udg_sound82,0)
call SetSoundVolume(udg_sound82,127)
call SetSoundPitch(udg_sound82,1.0)
set udg_sound83=CreateSound("Sasuke10.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound83,534)
call SetSoundChannel(udg_sound83,0)
call SetSoundVolume(udg_sound83,127)
call SetSoundPitch(udg_sound83,1.0)
set udg_sound84=CreateSound("Orich2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound84,2258)
call SetSoundChannel(udg_sound84,0)
call SetSoundVolume(udg_sound84,127)
call SetSoundPitch(udg_sound84,1.0)
set udg_sound85=CreateSound("Sakura10.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound85,2676)
call SetSoundChannel(udg_sound85,0)
call SetSoundVolume(udg_sound85,127)
call SetSoundPitch(udg_sound85,1.0)
set udg_sound86=CreateSound("Sasuke11.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound86,2833)
call SetSoundChannel(udg_sound86,0)
call SetSoundVolume(udg_sound86,127)
call SetSoundPitch(udg_sound86,1.0)
set udg_sound87=CreateSound("Dosu13 (u_..___ ____. ____ _ ___).mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound87,6751)
call SetSoundChannel(udg_sound87,0)
call SetSoundVolume(udg_sound87,127)
call SetSoundPitch(udg_sound87,1.0)
set udg_sound88=CreateSound("Dosu14 (__ __ _ _____!).mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound88,2206)
call SetSoundChannel(udg_sound88,0)
call SetSoundVolume(udg_sound88,127)
call SetSoundPitch(udg_sound88,1.0)
set udg_sound89=CreateSound("Sakura14 (____! _ __!...).mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound89,2520)
call SetSoundChannel(udg_sound89,0)
call SetSoundVolume(udg_sound89,127)
call SetSoundPitch(udg_sound89,1.0)
set udg_sound90=CreateSound("Zaku13 (U___ __ - _____.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound90,3094)
call SetSoundChannel(udg_sound90,0)
call SetSoundVolume(udg_sound90,127)
call SetSoundPitch(udg_sound90,1.0)
set udg_sound91=CreateSound("Zaku15.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound91,4191)
call SetSoundChannel(udg_sound91,0)
call SetSoundVolume(udg_sound91,127)
call SetSoundPitch(udg_sound91,1.0)
set udg_sound92=CreateSound("Dlya vseh 3.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound92,53092)
call SetSoundChannel(udg_sound92,0)
call SetSoundVolume(udg_sound92,110)
call SetSoundPitch(udg_sound92,1.0)
set udg_sound93=CreateSound("Chakra2.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound93,1840)
call SetSoundChannel(udg_sound93,0)
call SetSoundVolume(udg_sound93,127)
call SetSoundPitch(udg_sound93,1.0)
set udg_sound94=CreateSound("Dlya Kakashi.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundDuration(udg_sound94,33774)
call SetSoundChannel(udg_sound94,0)
call SetSoundVolume(udg_sound94,125)
call SetSoundPitch(udg_sound94,1.0)
set udg_sound95=CreateSound("Popal v meshen.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound95,325)
call SetSoundChannel(udg_sound95,0)
call SetSoundVolume(udg_sound95,127)
call SetSoundPitch(udg_sound95,1.0)
set udg_sound96=CreateSound("Popal v meshen2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound96,325)
call SetSoundChannel(udg_sound96,0)
call SetSoundVolume(udg_sound96,127)
call SetSoundPitch(udg_sound96,1.0)
set udg_sound97=CreateSound("Pristupaite.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound97,1109)
call SetSoundChannel(udg_sound97,0)
call SetSoundVolume(udg_sound97,127)
call SetSoundPitch(udg_sound97,1.0)
set udg_sound98=CreateSound("Dlya vseh 10.mp3",false,false,false,10,10,"")
call SetSoundChannel(udg_sound98,0)
call SetSoundVolume(udg_sound98,127)
call SetSoundPitch(udg_sound98,1.0)
set udg_sound99=CreateSound("Bistro 3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound99,848)
call SetSoundChannel(udg_sound99,0)
call SetSoundVolume(udg_sound99,127)
call SetSoundPitch(udg_sound99,1.0)
set udg_sound100=CreateSound("BUM.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound100,691)
call SetSoundChannel(udg_sound100,0)
call SetSoundVolume(udg_sound100,127)
call SetSoundPitch(udg_sound100,1.0)
set udg_sound101=CreateSound("BUM2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound101,1004)
call SetSoundChannel(udg_sound101,0)
call SetSoundVolume(udg_sound101,127)
call SetSoundPitch(udg_sound101,1.0)
set udg_sound102=CreateSound("Dlya vseh 11.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound102,76289)
call SetSoundChannel(udg_sound102,0)
call SetSoundVolume(udg_sound102,127)
call SetSoundPitch(udg_sound102,1.0)
set udg_sound103=CreateSound("Shuriken.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound103,952)
call SetSoundChannel(udg_sound103,0)
call SetSoundVolume(udg_sound103,127)
call SetSoundPitch(udg_sound103,1.0)
set udg_sound104=CreateSound("Shuriken2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound104,1422)
call SetSoundChannel(udg_sound104,0)
call SetSoundVolume(udg_sound104,127)
call SetSoundPitch(udg_sound104,1.0)
set udg_sound105=CreateSound("Kage Bunshin no Jutsu 4.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound105,1579)
call SetSoundChannel(udg_sound105,0)
call SetSoundVolume(udg_sound105,127)
call SetSoundPitch(udg_sound105,1.0)
set udg_sound106=CreateSound("Katon Gokakyu no Jutsu 7.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound106,2258)
call SetSoundChannel(udg_sound106,0)
call SetSoundVolume(udg_sound106,127)
call SetSoundPitch(udg_sound106,1.0)
set udg_sound107=CreateSound("Katon Gokakyu no Jutsu 12.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound107,2102)
call SetSoundChannel(udg_sound107,0)
call SetSoundVolume(udg_sound107,127)
call SetSoundPitch(udg_sound107,1.0)
set udg_sound108=CreateSound("Klon poivilsa1.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound108,586)
call SetSoundChannel(udg_sound108,0)
call SetSoundVolume(udg_sound108,127)
call SetSoundPitch(udg_sound108,1.0)
set udg_sound109=CreateSound("Klon poivilsa2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound109,691)
call SetSoundChannel(udg_sound109,0)
call SetSoundVolume(udg_sound109,127)
call SetSoundPitch(udg_sound109,1.0)
set udg_sound110=CreateSound("Katon2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound110,1892)
call SetSoundChannel(udg_sound110,0)
call SetSoundVolume(udg_sound110,127)
call SetSoundPitch(udg_sound110,1.0)
set udg_sound111=CreateSound("Groza3.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound111,19917)
call SetSoundChannel(udg_sound111,0)
call SetSoundVolume(udg_sound111,127)
call SetSoundPitch(udg_sound111,1.0)
set udg_sound112=CreateSound("Groza2.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound112,3982)
call SetSoundChannel(udg_sound112,0)
call SetSoundVolume(udg_sound112,127)
call SetSoundPitch(udg_sound112,1.0)
set udg_sound113=CreateSound("Groza.mp3",false,false,false,10,10,"")
call SetSoundDuration(udg_sound113,5968)
call SetSoundChannel(udg_sound113,0)
call SetSoundVolume(udg_sound113,127)
call SetSoundPitch(udg_sound113,1.0)
set udg_sound114=CreateSound("3.mp3",false,false,false,10,10,"DefaultEAXON")
call SetSoundChannel(udg_sound114,0)
call SetSoundVolume(udg_sound114,124)
call SetSoundPitch(udg_sound114,1.0)
call CreateRegions2()
set udg_camerasetup01=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_ROTATION,96.4,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_ANGLE_OF_ATTACK,304.8,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_TARGET_DISTANCE,1515.0,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup01,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup01,-10433.2,-10895.6,0.0)
set udg_camerasetup02=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_ROTATION,152.7,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_ANGLE_OF_ATTACK,324.7,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_TARGET_DISTANCE,1700.0,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup02,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup02,-7226.3,-15145.3,0.0)
set udg_camerasetup03=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_ROTATION,87.2,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_ANGLE_OF_ATTACK,297.8,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_TARGET_DISTANCE,1657.3,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup03,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup03,-10738.9,-10347.0,0.0)
set udg_camerasetup04=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_ROTATION,20.3,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_ANGLE_OF_ATTACK,330.7,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_TARGET_DISTANCE,1479.1,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup04,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup04,-7824.5,-15100.2,0.0)
set udg_camerasetup05=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_ROTATION,119.3,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_ANGLE_OF_ATTACK,312.4,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_TARGET_DISTANCE,1627.0,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup05,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup05,-7509.0,-15221.2,0.0)
set udg_camerasetup06=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_ROTATION,178.8,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_ANGLE_OF_ATTACK,315.7,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_TARGET_DISTANCE,1010.2,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup06,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup06,1344.0,-15544.6,0.0)
set udg_camerasetup07=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_ROTATION,247.6,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_ANGLE_OF_ATTACK,294.6,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_TARGET_DISTANCE,1627.0,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup07,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup07,1081.3,-15178.0,0.0)
set udg_camerasetup08=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_ROTATION,15.3,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_ANGLE_OF_ATTACK,327.6,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_TARGET_DISTANCE,1363.6,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup08,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup08,2421.9,-15321.2,0.0)
set udg_camerasetup09=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_ROTATION,40.7,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_ANGLE_OF_ATTACK,315.7,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_TARGET_DISTANCE,1363.6,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup09,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup09,2724.4,-15338.7,0.0)
set udg_camerasetup10=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_ROTATION,14.3,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_ANGLE_OF_ATTACK,325.1,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_TARGET_DISTANCE,2196.2,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup10,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup10,1818.0,-15471.7,0.0)
set udg_camerasetup11=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_ROTATION,179.8,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_ANGLE_OF_ATTACK,318.2,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_TARGET_DISTANCE,1996.5,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup11,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup11,2223.4,-14930.5,0.0)
set udg_camerasetup12=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_ROTATION,90.1,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_ANGLE_OF_ATTACK,297.9,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_TARGET_DISTANCE,2511.5,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup12,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup12,-7160.7,-15536.6,0.0)
set udg_camerasetup13=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_ROTATION,94.5,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_ANGLE_OF_ATTACK,295.1,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_TARGET_DISTANCE,2511.5,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup13,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup13,-7160.7,-15536.6,0.0)
set udg_camerasetup14=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_ROTATION,49.7,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_ANGLE_OF_ATTACK,304.8,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_TARGET_DISTANCE,1500.0,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup14,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup14,9352.0,11329.2,0.0)
set udg_camerasetup15=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_ROTATION,97.9,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_ANGLE_OF_ATTACK,322.5,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_TARGET_DISTANCE,1127.0,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup15,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup15,9888.4,12356.3,0.0)
set udg_camerasetup16=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_ROTATION,90.2,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_ANGLE_OF_ATTACK,267.2,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_TARGET_DISTANCE,846.7,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup16,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup16,12342.5,14706.8,0.0)
set udg_camerasetup17=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_ROTATION,271.3,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_ANGLE_OF_ATTACK,300.6,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_TARGET_DISTANCE,1996.5,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup17,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup17,-13269.8,-12400.3,0.0)
set udg_camerasetup18=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_ROTATION,271.3,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_ANGLE_OF_ATTACK,300.6,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_TARGET_DISTANCE,1996.5,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup18,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup18,-13262.4,-14062.8,0.0)
set udg_camerasetup19=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_ROTATION,359.6,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_ANGLE_OF_ATTACK,316.3,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_TARGET_DISTANCE,2415.8,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup19,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup19,-9716.3,-15412.0,0.0)
set udg_camerasetup20=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_ROTATION,359.6,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_ANGLE_OF_ATTACK,342.4,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_TARGET_DISTANCE,1996.5,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup20,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup20,-8519.3,-15392.9,0.0)
set udg_camerasetup21=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_ROTATION,78.6,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_ANGLE_OF_ATTACK,305.4,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_TARGET_DISTANCE,2196.2,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup21,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup21,12093.9,8552.7,0.0)
set udg_camerasetup22=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_ROTATION,50.9,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_ANGLE_OF_ATTACK,301.2,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_TARGET_DISTANCE,1024.5,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup22,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup22,13258.6,10080.6,0.0)
set udg_camerasetup23=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_ROTATION,91.6,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_ANGLE_OF_ATTACK,286.3,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_TARGET_DISTANCE,1065.1,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup23,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup23,-1927.7,-3444.8,0.0)
set udg_camerasetup24=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_ROTATION,90.3,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_ANGLE_OF_ATTACK,302.7,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_TARGET_DISTANCE,1065.1,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup24,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup24,-1921.1,-3568.4,0.0)
set udg_camerasetup25=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_ROTATION,90.1,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_ANGLE_OF_ATTACK,301.8,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_TARGET_DISTANCE,1715.4,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup25,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup25,-1885.7,-4541.8,0.0)
set udg_camerasetup26=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_ROTATION,89.9,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_ANGLE_OF_ATTACK,287.2,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_TARGET_DISTANCE,1171.6,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup26,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup26,8144.7,-3354.0,0.0)
set udg_camerasetup27=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_ROTATION,90.4,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_ANGLE_OF_ATTACK,297.3,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_TARGET_DISTANCE,1171.6,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup27,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup27,8148.9,-3476.3,0.0)
set udg_camerasetup28=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_ROTATION,90.8,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_ANGLE_OF_ATTACK,303.8,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_TARGET_DISTANCE,1886.9,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup28,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup28,8178.7,-4799.6,0.0)
set udg_camerasetup29=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_ROTATION,179.9,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_ANGLE_OF_ATTACK,291.3,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_TARGET_DISTANCE,1239.7,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup29,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup29,-2653.9,-12861.0,0.0)
set udg_camerasetup30=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_ROTATION,180.1,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_ANGLE_OF_ATTACK,300.4,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_TARGET_DISTANCE,1239.7,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup30,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup30,-2599.7,-12858.1,0.0)
set udg_camerasetup31=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_ROTATION,179.3,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_ANGLE_OF_ATTACK,312.6,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_TARGET_DISTANCE,1500.0,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup31,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup31,-2591.3,-12867.3,0.0)
set udg_camerasetup32=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_ROTATION,74.9,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_ANGLE_OF_ATTACK,324.0,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_TARGET_DISTANCE,1650.0,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup32,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup32,12393.7,-2626.4,0.0)
set udg_camerasetup33=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_ROTATION,75.0,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_ANGLE_OF_ATTACK,322.2,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_TARGET_DISTANCE,1815.0,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup33,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup33,12393.7,-2626.4,0.0)
set udg_camerasetup34=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_ROTATION,164.1,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_ANGLE_OF_ATTACK,330.9,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_TARGET_DISTANCE,1650.0,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup34,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup34,2176.7,-15001.9,0.0)
set udg_camerasetup35=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_ROTATION,169.8,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_ANGLE_OF_ATTACK,326.3,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_TARGET_DISTANCE,900.0,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup35,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup35,1408.1,-15216.5,0.0)
set udg_camerasetup36=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_ROTATION,24.9,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_ANGLE_OF_ATTACK,335.6,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_TARGET_DISTANCE,1033.2,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup36,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup36,2325.8,-15057.2,0.0)
set udg_camerasetup37=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_ROTATION,129.3,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_ANGLE_OF_ATTACK,304.3,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_TARGET_DISTANCE,3215.4,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup37,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup37,2477.1,-14874.9,0.0)
set udg_camerasetup38=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_ROTATION,178.4,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_ANGLE_OF_ATTACK,308.1,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_TARGET_DISTANCE,900.0,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup38,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup38,1158.4,-15432.5,0.0)
set udg_camerasetup39=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_ROTATION,338.0,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_ANGLE_OF_ATTACK,327.9,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_TARGET_DISTANCE,700.0,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup39,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup39,-7060.7,-15208.6,0.0)
set udg_camerasetup40=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_ROTATION,14.8,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_ANGLE_OF_ATTACK,333.4,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_TARGET_DISTANCE,820.0,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup40,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup40,-7007.5,-15123.7,0.0)
set udg_camerasetup41=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_ROTATION,12.5,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_ANGLE_OF_ATTACK,340.5,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_TARGET_DISTANCE,1000.0,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup41,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup41,2800.3,-14849.8,0.0)
set udg_camerasetup42=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_ROTATION,357.9,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_ANGLE_OF_ATTACK,330.1,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_TARGET_DISTANCE,1024.5,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup42,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup42,2682.4,-15174.6,0.0)
set udg_camerasetup43=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_ROTATION,125.2,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_ANGLE_OF_ATTACK,322.7,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_TARGET_DISTANCE,1363.6,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup43,CAMERA_FIELD_FARZ,5000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup43,1489.8,-15392.6,0.0)
set udg_camerasetup44=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_ROTATION,1.2,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_ANGLE_OF_ATTACK,323.8,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_TARGET_DISTANCE,2283.2,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup44,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup44,10715.3,264.9,0.0)
set udg_camerasetup45=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_ROTATION,87.6,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_ANGLE_OF_ATTACK,283.1,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_TARGET_DISTANCE,3038.9,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup45,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup45,12251.7,1377.8,0.0)
set udg_camerasetup46=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_ROTATION,126.4,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_ANGLE_OF_ATTACK,318.7,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_TARGET_DISTANCE,1000.0,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup46,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup46,11361.1,2358.7,0.0)
set udg_camerasetup47=CreateCameraSetup()
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_ZOFFSET,0.0,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_ROTATION,188.3,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_ANGLE_OF_ATTACK,316.5,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_TARGET_DISTANCE,2511.5,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_ROLL,0.0,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_FIELD_OF_VIEW,70.0,0.0)
call CameraSetupSetField(udg_camerasetup47,CAMERA_FIELD_FARZ,10000.0,0.0)
call CameraSetupSetDestPosition(udg_camerasetup47,12117.2,1921.3,0.0)
call SetPlayerTechResearched(Player(0),'Rusf',1)
call SetPlayerTechResearched(Player(0),'Rusp',1)
call SetPlayerTechResearched(Player(1),'Rusf',1)
call SetPlayerTechResearched(Player(1),'Rusp',1)
call SetPlayerTechResearched(Player(2),'Rusf',1)
call SetPlayerTechResearched(Player(2),'Rusp',1)
call SetPlayerTechResearched(Player(3),'Rusf',1)
call SetPlayerTechResearched(Player(3),'Rusp',1)
call SetPlayerTechResearched(Player(4),'Rusf',1)
call SetPlayerTechResearched(Player(4),'Rusp',1)
call CreateAllItems()
call CreateBuildingsForPlayer0()
call CreateBuildingsForPlayer4()
call CreateNeutralHostile()
call CreateNeutralPassive2()
call CreateUnitsForPlayer0()
call CreateUnitsForPlayer1()
call CreateUnitsForPlayer2()
call CreateUnitsForPlayer3()
call CreateUnitsForPlayer4()
call CreateUnitsForPlayer5()
call CreateUnitsForPlayer7()
call CreateUnitsForPlayer8()
call CreateUnitsForPlayer9()
call CreateUnitsForPlayer10()
call CreateUnitsForPlayer11()
call InitGlobals2()
set udg_trigger01=CreateTrigger()
call DisableTrigger(udg_trigger01)
call TriggerAddAction(udg_trigger01,function Trig_Suzet_Actions)
set udg_trigger02=CreateTrigger()
call DisableTrigger(udg_trigger02)
call TriggerRegisterTimerEventPeriodic(udg_trigger02,1.50)
call TriggerAddAction(udg_trigger02,function Trig_Suzet2_Actions)
set udg_trigger03=CreateTrigger()
call DisableTrigger(udg_trigger03)
call TriggerRegisterTimerEventPeriodic(udg_trigger03,0.40)
call TriggerAddAction(udg_trigger03,function Trig_Suzet3_Actions)
set udg_trigger04=CreateTrigger()
call DisableTrigger(udg_trigger04)
call TriggerRegisterUnitLifeEvent(udg_trigger04,udg_unit34,LESS_THAN_OR_EQUAL,250.00)
call TriggerAddAction(udg_trigger04,function Trig_Suzet4_Actions)
set udg_trigger05=CreateTrigger()
call DisableTrigger(udg_trigger05)
call TriggerRegisterUnitLifeEvent(udg_trigger05,udg_unit40,LESS_THAN_OR_EQUAL,250.00)
call TriggerAddAction(udg_trigger05,function Trig_Suzet5_Actions)
set udg_trigger06=CreateTrigger()
call DisableTrigger(udg_trigger06)
call TriggerRegisterTimerEventPeriodic(udg_trigger06,0.85)
call TriggerAddAction(udg_trigger06,function Trig_Suzet6_Actions)
set udg_trigger07=CreateTrigger()
call DisableTrigger(udg_trigger07)
call TriggerAddAction(udg_trigger07,function Trig_Ataka_zvuka_Actions)
set udg_trigger08=CreateTrigger()
call DisableTrigger(udg_trigger08)
call TriggerRegisterTimerEventPeriodic(udg_trigger08,0.03)
call TriggerAddAction(udg_trigger08,function Trig_Ataka_Lee_Actions)
set udg_trigger09=CreateTrigger()
call DisableTrigger(udg_trigger09)
call TriggerRegisterTimerEventPeriodic(udg_trigger09,0.04)
call TriggerAddAction(udg_trigger09,function Trig_Ataka_Lee2_Actions)
set udg_trigger10=CreateTrigger()
call DisableTrigger(udg_trigger10)
call TriggerRegisterTimerEventPeriodic(udg_trigger10,0.05)
call TriggerAddAction(udg_trigger10,function Trig_Ataka_Lee3_Actions)
set udg_trigger11=CreateTrigger()
call DisableTrigger(udg_trigger11)
call TriggerRegisterTimerEventPeriodic(udg_trigger11,0.18)
call TriggerAddAction(udg_trigger11,function Trig_Ataka_Lee4_Actions)
set udg_trigger12=CreateTrigger()
call DisableTrigger(udg_trigger12)
call TriggerRegisterTimerEventPeriodic(udg_trigger12,1.50)
call TriggerAddAction(udg_trigger12,function Trig_Sakura_povorot_k_Lee_Actions)
set udg_trigger13=CreateTrigger()
call DisableTrigger(udg_trigger13)
call TriggerRegisterUnitLifeEvent(udg_trigger13,udg_unit41,LESS_THAN_OR_EQUAL,210.00)
call TriggerRegisterUnitLifeEvent(udg_trigger13,udg_unit38,LESS_THAN_OR_EQUAL,210.00)
call TriggerRegisterUnitLifeEvent(udg_trigger13,udg_unit51,LESS_THAN_OR_EQUAL,210.00)
call TriggerAddAction(udg_trigger13,function Trig_Lee_vin_Actions)
set udg_trigger14=CreateTrigger()
call DisableTrigger(udg_trigger14)
call TriggerRegisterUnitLifeEvent(udg_trigger14,udg_unit40,LESS_THAN_OR_EQUAL,210.00)
call TriggerAddAction(udg_trigger14,function Trig_Lee_produl_Actions)
set udg_trigger15=CreateTrigger()
call TriggerAddAction(udg_trigger15,function Trig_Nachalo_Actions)
set udg_trigger16=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger16,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger16,Condition(function Trig_cast_Conditions))
call TriggerAddAction(udg_trigger16,function Trig_cast_Actions)
set udg_trigger17=CreateTrigger()
call DisableTrigger(udg_trigger17)
call TriggerRegisterTimerEventPeriodic(udg_trigger17,0.07)
call TriggerAddAction(udg_trigger17,function Trig_move_Actions)
set udg_trigger18=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger18,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger18,Condition(function Trig_Zankukyokuha_Conditions))
call TriggerAddAction(udg_trigger18,function Trig_Zankukyokuha_Actions)
set udg_trigger19=CreateTrigger()
call DisableTrigger(udg_trigger19)
call TriggerRegisterLeaveRectSimple(udg_trigger19,udg_rect22)
call TriggerAddCondition(udg_trigger19,Condition(function Trig_Zona_Conditions))
call TriggerAddAction(udg_trigger19,function Trig_Zona_Actions)
set udg_trigger20=CreateTrigger()
call DisableTrigger(udg_trigger20)
call TriggerAddAction(udg_trigger20,function Trig_Spell_Zaku_anim_Actions)
set udg_trigger21=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(udg_trigger21,Player(0))
call TriggerAddAction(udg_trigger21,function Trig_VIHOD_Actions)
set udg_trigger22=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(udg_trigger22,Player(1))
call TriggerAddAction(udg_trigger22,function Trig_VIHOD2_Actions)
set udg_trigger23=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(udg_trigger23,Player(2))
call TriggerAddAction(udg_trigger23,function Trig_VIHOD3_Actions)
set udg_trigger24=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(udg_trigger24,Player(3))
call TriggerAddAction(udg_trigger24,function Trig_VIHOD4_Actions)
set udg_trigger25=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(udg_trigger25,Player(4))
call TriggerAddAction(udg_trigger25,function Trig_VIHOD5_Actions)
set udg_trigger26=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger26,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger26,Condition(function Trig_Goukakyuu_Kopieren_Conditions))
call TriggerAddAction(udg_trigger26,function Trig_Goukakyuu_Kopieren_Actions)
set udg_trigger27=CreateTrigger()
call DisableTrigger(udg_trigger27)
call TriggerRegisterTimerEventPeriodic(udg_trigger27,0.03)
call TriggerAddAction(udg_trigger27,function Trig_Goukakyuu_Move_Kopieren_Actions)
set udg_trigger28=CreateTrigger()
call DisableTrigger(udg_trigger28)
call TriggerRegisterTimerEventPeriodic(udg_trigger28,0.10)
call TriggerAddAction(udg_trigger28,function Trig_Goukakyuu_Special_Kopieren_Actions)
set udg_trigger29=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger29,EVENT_PLAYER_UNIT_SPELL_CHANNEL)
call TriggerAddCondition(udg_trigger29,Condition(function Trig_Goukakyuu_Kopieren2_Conditions))
call TriggerAddAction(udg_trigger29,function Trig_Goukakyuu_Kopieren2_Actions)
set udg_trigger30=CreateTrigger()
call DisableTrigger(udg_trigger30)
call TriggerRegisterTimerEventPeriodic(udg_trigger30,0.02)
call TriggerAddAction(udg_trigger30,function Trig_Goukakyuu_Move_Kopieren2_Actions)
set udg_trigger31=CreateTrigger()
call DisableTrigger(udg_trigger31)
call TriggerRegisterTimerEventPeriodic(udg_trigger31,0.23)
call TriggerAddAction(udg_trigger31,function Trig_Goukakyuu_Special_Kopieren2_Actions)
set udg_trigger32=CreateTrigger()
call DisableTrigger(udg_trigger32)
call TriggerAddAction(udg_trigger32,function Trig_Dop_Katon_Actions)
set udg_trigger33=CreateTrigger()
call DisableTrigger(udg_trigger33)
call TriggerAddAction(udg_trigger33,function Trig_Dop_Katon2_Actions)
set udg_trigger34=CreateTrigger()
call DisableTrigger(udg_trigger34)
call TriggerAddAction(udg_trigger34,function Trig_Dop_Katon3_Actions)
set udg_trigger35=CreateTrigger()
call DisableTrigger(udg_trigger35)
call TriggerAddAction(udg_trigger35,function Trig_Dop_Katon4_Actions)
set udg_trigger36=CreateTrigger()
call DisableTrigger(udg_trigger36)
call TriggerAddAction(udg_trigger36,function Trig_Dop_Katon5_Actions)
set udg_trigger37=CreateTrigger()
call DisableTrigger(udg_trigger37)
call TriggerAddAction(udg_trigger37,function Trig_Dop_Katon6_Actions)
set udg_trigger38=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger38,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger38,Condition(function Trig_Pechat_Conditions))
call TriggerAddAction(udg_trigger38,function Trig_Pechat_Actions)
set udg_trigger39=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger39,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger39,Condition(function Trig_Pechat2_Conditions))
call TriggerAddAction(udg_trigger39,function Trig_Pechat2_Actions)
set udg_trigger40=CreateTrigger()
call DisableTrigger(udg_trigger40)
call TriggerRegisterTimerEventPeriodic(udg_trigger40,1.00)
call TriggerAddAction(udg_trigger40,function Trig_Pechat3_Actions)
set udg_trigger41=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger41,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger41,Condition(function Trig_Skorost_Conditions))
call TriggerAddAction(udg_trigger41,function Trig_Skorost_Actions)
set udg_trigger42=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger42,0.02)
call TriggerAddAction(udg_trigger42,function Trig_Skorost2_Actions)
set udg_trigger43=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger43,0.16)
call TriggerAddAction(udg_trigger43,function Trig_Skorost3_Actions)
set udg_trigger44=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger44,1.50)
call TriggerAddCondition(udg_trigger44,Condition(function Trig_Proveriatel_Conditions))
call TriggerAddAction(udg_trigger44,function Trig_Proveriatel_Actions)
set udg_trigger45=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger45,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger45,Condition(function Trig_Shishi_Rendan_Conditions))
call TriggerAddAction(udg_trigger45,function Trig_Shishi_Rendan_Actions)
set udg_trigger46=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger46,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger46,Condition(function Trig_Shishi_Rendan2_Conditions))
call TriggerAddAction(udg_trigger46,function Trig_Shishi_Rendan2_Actions)
set udg_trigger47=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger47,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger47,Condition(function Trig_Zankuha_Conditions))
call TriggerAddAction(udg_trigger47,function Trig_Zankuha_Actions)
set udg_trigger48=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger48,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger48,Condition(function Trig_Zankuha2_Conditions))
call TriggerAddAction(udg_trigger48,function Trig_Zankuha2_Actions)
set udg_trigger49=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger49,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger49,Condition(function Trig_Zankuha3_Conditions))
call TriggerAddAction(udg_trigger49,function Trig_Zankuha3_Actions)
set udg_trigger50=CreateTrigger()
call DisableTrigger(udg_trigger50)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger50,GetOwningPlayer(udg_unit38),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerAddAction(udg_trigger50,function Trig_Zankuha4_Actions)
set udg_trigger51=CreateTrigger()
call DisableTrigger(udg_trigger51)
call TriggerRegisterUnitManaEvent(udg_trigger51,udg_unit38,LESS_THAN_OR_EQUAL,25.00)
call TriggerAddAction(udg_trigger51,function Trig_Zankuha5_Actions)
set udg_trigger52=CreateTrigger()
call DisableTrigger(udg_trigger52)
call TriggerRegisterTimerEventPeriodic(udg_trigger52,0.02)
call TriggerAddAction(udg_trigger52,function Trig_Zankuha6_Actions)
set udg_trigger53=CreateTrigger()
call DisableTrigger(udg_trigger53)
call TriggerRegisterTimerEventPeriodic(udg_trigger53,0.20)
call TriggerAddAction(udg_trigger53,function Trig_Zankuha7_Actions)
set udg_trigger54=CreateTrigger()
call DisableTrigger(udg_trigger54)
call TriggerRegisterTimerEventPeriodic(udg_trigger54,0.03)
call TriggerAddAction(udg_trigger54,function Trig_Zankuha10_Actions)
set udg_trigger55=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger55,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger55,Condition(function Trig_Byakugan_Conditions))
call TriggerAddAction(udg_trigger55,function Trig_Byakugan_Actions)
set udg_trigger56=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger56,0.02)
call TriggerAddAction(udg_trigger56,function Trig_Byakugan2_Actions)
set udg_trigger57=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger57,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger57,Condition(function Trig_Byakugan3_Conditions))
call TriggerAddAction(udg_trigger57,function Trig_Byakugan3_Actions)
set udg_trigger58=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger58,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger58,Condition(function Trig_Chidori_Conditions))
call TriggerAddAction(udg_trigger58,function Trig_Chidori_Actions)
set udg_trigger59=CreateTrigger()
call DisableTrigger(udg_trigger59)
call TriggerRegisterAnyUnitEventBJ(udg_trigger59,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger59,Condition(function Trig_Chidori2_Conditions))
call TriggerAddAction(udg_trigger59,function Trig_Chidori2_Actions)
set udg_trigger60=CreateTrigger()
call DisableTrigger(udg_trigger60)
call TriggerRegisterAnyUnitEventBJ(udg_trigger60,EVENT_PLAYER_UNIT_SPELL_CHANNEL)
call TriggerAddCondition(udg_trigger60,Condition(function Trig_Katon_Housenka_no_jutsu_Conditions))
call TriggerAddAction(udg_trigger60,function Trig_Katon_Housenka_no_jutsu_Actions)
set udg_trigger61=CreateTrigger()
call DisableTrigger(udg_trigger61)
call TriggerRegisterAnyUnitEventBJ(udg_trigger61,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger61,Condition(function Trig_Katon_Hosenka_no_Jutsu2_Conditions))
call TriggerAddAction(udg_trigger61,function Trig_Katon_Hosenka_no_Jutsu2_Actions)
set udg_trigger62=CreateTrigger()
call DisableTrigger(udg_trigger62)
call TriggerAddAction(udg_trigger62,function Trig_Pervii_etap_Lee_Actions)
set udg_trigger63=CreateTrigger()
call DisableTrigger(udg_trigger63)
call TriggerRegisterPlayerChatEvent(udg_trigger63,Player(4),"Б",true)
call TriggerAddAction(udg_trigger63,function Trig_Pervii_etap2_Lee_Actions)
set udg_trigger64=CreateTrigger()
call DisableTrigger(udg_trigger64)
call TriggerRegisterPlayerChatEvent(udg_trigger64,Player(4),"В",true)
call TriggerAddAction(udg_trigger64,function Trig_Pervii_etap3_Lee_Actions)
set udg_trigger65=CreateTrigger()
call DisableTrigger(udg_trigger65)
call TriggerRegisterPlayerChatEvent(udg_trigger65,Player(4),"А",true)
call TriggerAddAction(udg_trigger65,function Trig_Pervii_etap4_Lee_Actions)
set udg_trigger66=CreateTrigger()
call DisableTrigger(udg_trigger66)
call TriggerAddAction(udg_trigger66,function Trig_Pervii_etap5_Lee_Actions)
set udg_trigger67=CreateTrigger()
call DisableTrigger(udg_trigger67)
call TriggerRegisterPlayerChatEvent(udg_trigger67,Player(4),"В",true)
call TriggerAddAction(udg_trigger67,function Trig_Pervii_etap6_Lee_Actions)
set udg_trigger68=CreateTrigger()
call DisableTrigger(udg_trigger68)
call TriggerRegisterPlayerChatEvent(udg_trigger68,Player(4),"Б",true)
call TriggerAddAction(udg_trigger68,function Trig_Pervii_etap7_Lee_Actions)
set udg_trigger69=CreateTrigger()
call DisableTrigger(udg_trigger69)
call TriggerRegisterPlayerChatEvent(udg_trigger69,Player(4),"А",true)
call TriggerAddAction(udg_trigger69,function Trig_Pervii_etap8_Lee_Actions)
set udg_trigger70=CreateTrigger()
call DisableTrigger(udg_trigger70)
call TriggerAddAction(udg_trigger70,function Trig_Pervii_etap9_Lee_Actions)
set udg_trigger71=CreateTrigger()
call DisableTrigger(udg_trigger71)
call TriggerRegisterPlayerChatEvent(udg_trigger71,Player(4),"Б",true)
call TriggerAddAction(udg_trigger71,function Trig_Pervii_etap10_Lee_Actions)
set udg_trigger72=CreateTrigger()
call DisableTrigger(udg_trigger72)
call TriggerRegisterPlayerChatEvent(udg_trigger72,Player(4),"В",true)
call TriggerAddAction(udg_trigger72,function Trig_Pervii_etap11_Lee_Actions)
set udg_trigger73=CreateTrigger()
call DisableTrigger(udg_trigger73)
call TriggerRegisterPlayerChatEvent(udg_trigger73,Player(4),"А",true)
call TriggerAddAction(udg_trigger73,function Trig_Pervii_etap12_Lee_Actions)
set udg_trigger74=CreateTrigger()
call DisableTrigger(udg_trigger74)
call TriggerAddAction(udg_trigger74,function Trig_Pervii_etap13_Lee_Actions)
set udg_trigger75=CreateTrigger()
call DisableTrigger(udg_trigger75)
call TriggerRegisterPlayerChatEvent(udg_trigger75,Player(4),"А",true)
call TriggerAddAction(udg_trigger75,function Trig_Pervii_etap14_Lee_Actions)
set udg_trigger76=CreateTrigger()
call DisableTrigger(udg_trigger76)
call TriggerRegisterPlayerChatEvent(udg_trigger76,Player(4),"В",true)
call TriggerAddAction(udg_trigger76,function Trig_Pervii_etap15_Lee_Actions)
set udg_trigger77=CreateTrigger()
call DisableTrigger(udg_trigger77)
call TriggerRegisterPlayerChatEvent(udg_trigger77,Player(4),"Б",true)
call TriggerAddAction(udg_trigger77,function Trig_Pervii_etap16_Lee_Actions)
set udg_trigger78=CreateTrigger()
call DisableTrigger(udg_trigger78)
call TriggerAddAction(udg_trigger78,function Trig_Pervii_etap17_Lee_Actions)
set udg_trigger79=CreateTrigger()
call DisableTrigger(udg_trigger79)
call TriggerRegisterPlayerChatEvent(udg_trigger79,Player(4),"В",true)
call TriggerAddAction(udg_trigger79,function Trig_Pervii_etap18_Lee_Actions)
set udg_trigger80=CreateTrigger()
call DisableTrigger(udg_trigger80)
call TriggerRegisterPlayerChatEvent(udg_trigger80,Player(4),"Б",true)
call TriggerAddAction(udg_trigger80,function Trig_Pervii_etap19_Lee_Actions)
set udg_trigger81=CreateTrigger()
call DisableTrigger(udg_trigger81)
call TriggerRegisterPlayerChatEvent(udg_trigger81,Player(4),"А",true)
call TriggerAddAction(udg_trigger81,function Trig_Pervii_etap20_Lee_Actions)
set udg_trigger82=CreateTrigger()
call DisableTrigger(udg_trigger82)
call TriggerAddAction(udg_trigger82,function Trig_Konechnii_triger_Lee_Actions)
set udg_trigger83=CreateTrigger()
call DisableTrigger(udg_trigger83)
call TriggerAddAction(udg_trigger83,function Trig_Pervii_etap_Actions)
set udg_trigger84=CreateTrigger()
call DisableTrigger(udg_trigger84)
call TriggerRegisterPlayerChatEvent(udg_trigger84,Player(0),"Б",true)
call TriggerAddAction(udg_trigger84,function Trig_Pervii_etap2_Actions)
set udg_trigger85=CreateTrigger()
call DisableTrigger(udg_trigger85)
call TriggerRegisterPlayerChatEvent(udg_trigger85,Player(0),"В",true)
call TriggerAddAction(udg_trigger85,function Trig_Pervii_etap3_Actions)
set udg_trigger86=CreateTrigger()
call DisableTrigger(udg_trigger86)
call TriggerRegisterPlayerChatEvent(udg_trigger86,Player(0),"А",true)
call TriggerAddAction(udg_trigger86,function Trig_Pervii_etap4_Actions)
set udg_trigger87=CreateTrigger()
call DisableTrigger(udg_trigger87)
call TriggerAddAction(udg_trigger87,function Trig_Pervii_etap5_Actions)
set udg_trigger88=CreateTrigger()
call DisableTrigger(udg_trigger88)
call TriggerRegisterPlayerChatEvent(udg_trigger88,Player(0),"В",true)
call TriggerAddAction(udg_trigger88,function Trig_Pervii_etap6_Actions)
set udg_trigger89=CreateTrigger()
call DisableTrigger(udg_trigger89)
call TriggerRegisterPlayerChatEvent(udg_trigger89,Player(0),"Б",true)
call TriggerAddAction(udg_trigger89,function Trig_Pervii_etap7_Actions)
set udg_trigger90=CreateTrigger()
call DisableTrigger(udg_trigger90)
call TriggerRegisterPlayerChatEvent(udg_trigger90,Player(0),"А",true)
call TriggerAddAction(udg_trigger90,function Trig_Pervii_etap8_Actions)
set udg_trigger91=CreateTrigger()
call DisableTrigger(udg_trigger91)
call TriggerAddAction(udg_trigger91,function Trig_Pervii_etap9_Actions)
set udg_trigger92=CreateTrigger()
call DisableTrigger(udg_trigger92)
call TriggerRegisterPlayerChatEvent(udg_trigger92,Player(0),"Б",true)
call TriggerAddAction(udg_trigger92,function Trig_Pervii_etap10_Actions)
set udg_trigger93=CreateTrigger()
call DisableTrigger(udg_trigger93)
call TriggerRegisterPlayerChatEvent(udg_trigger93,Player(0),"В",true)
call TriggerAddAction(udg_trigger93,function Trig_Pervii_etap11_Actions)
set udg_trigger94=CreateTrigger()
call DisableTrigger(udg_trigger94)
call TriggerRegisterPlayerChatEvent(udg_trigger94,Player(0),"А",true)
call TriggerAddAction(udg_trigger94,function Trig_Pervii_etap12_Actions)
set udg_trigger95=CreateTrigger()
call DisableTrigger(udg_trigger95)
call TriggerAddAction(udg_trigger95,function Trig_Pervii_etap13_Actions)
set udg_trigger96=CreateTrigger()
call DisableTrigger(udg_trigger96)
call TriggerRegisterPlayerChatEvent(udg_trigger96,Player(0),"А",true)
call TriggerAddAction(udg_trigger96,function Trig_Pervii_etap14_Actions)
set udg_trigger97=CreateTrigger()
call DisableTrigger(udg_trigger97)
call TriggerRegisterPlayerChatEvent(udg_trigger97,Player(0),"В",true)
call TriggerAddAction(udg_trigger97,function Trig_Pervii_etap15_Actions)
set udg_trigger98=CreateTrigger()
call DisableTrigger(udg_trigger98)
call TriggerRegisterPlayerChatEvent(udg_trigger98,Player(0),"Б",true)
call TriggerAddAction(udg_trigger98,function Trig_Pervii_etap16_Actions)
set udg_trigger99=CreateTrigger()
call DisableTrigger(udg_trigger99)
call TriggerAddAction(udg_trigger99,function Trig_Pervii_etap17_Actions)
set udg_trigger100=CreateTrigger()
call DisableTrigger(udg_trigger100)
call TriggerRegisterPlayerChatEvent(udg_trigger100,Player(0),"В",true)
call TriggerAddAction(udg_trigger100,function Trig_Pervii_etap18_Actions)
set udg_trigger101=CreateTrigger()
call DisableTrigger(udg_trigger101)
call TriggerRegisterPlayerChatEvent(udg_trigger101,Player(0),"Б",true)
call TriggerAddAction(udg_trigger101,function Trig_Pervii_etap19_Actions)
set udg_trigger102=CreateTrigger()
call DisableTrigger(udg_trigger102)
call TriggerRegisterPlayerChatEvent(udg_trigger102,Player(0),"А",true)
call TriggerAddAction(udg_trigger102,function Trig_Pervii_etap20_Actions)
set udg_trigger103=CreateTrigger()
call DisableTrigger(udg_trigger103)
call TriggerAddAction(udg_trigger103,function Trig_Konechnii_triger_Actions)
set udg_trigger104=CreateTrigger()
call DisableTrigger(udg_trigger104)
call TriggerAddAction(udg_trigger104,function Trig_Pervii_etap_Dosu_Actions)
set udg_trigger105=CreateTrigger()
call DisableTrigger(udg_trigger105)
call TriggerRegisterPlayerChatEvent(udg_trigger105,Player(1),"Б",true)
call TriggerAddAction(udg_trigger105,function Trig_Pervii_etap2_Dosu_Actions)
set udg_trigger106=CreateTrigger()
call DisableTrigger(udg_trigger106)
call TriggerRegisterPlayerChatEvent(udg_trigger106,Player(1),"В",true)
call TriggerAddAction(udg_trigger106,function Trig_Pervii_etap3_Dosu_Actions)
set udg_trigger107=CreateTrigger()
call DisableTrigger(udg_trigger107)
call TriggerRegisterPlayerChatEvent(udg_trigger107,Player(1),"А",true)
call TriggerAddAction(udg_trigger107,function Trig_Pervii_etap4_Dosu_Actions)
set udg_trigger108=CreateTrigger()
call DisableTrigger(udg_trigger108)
call TriggerAddAction(udg_trigger108,function Trig_Pervii_etap5_Dosu_Actions)
set udg_trigger109=CreateTrigger()
call DisableTrigger(udg_trigger109)
call TriggerRegisterPlayerChatEvent(udg_trigger109,Player(1),"В",true)
call TriggerAddAction(udg_trigger109,function Trig_Pervii_etap6_Dosu_Actions)
set udg_trigger110=CreateTrigger()
call DisableTrigger(udg_trigger110)
call TriggerRegisterPlayerChatEvent(udg_trigger110,Player(1),"Б",true)
call TriggerAddAction(udg_trigger110,function Trig_Pervii_etap7_Dosu_Actions)
set udg_trigger111=CreateTrigger()
call DisableTrigger(udg_trigger111)
call TriggerRegisterPlayerChatEvent(udg_trigger111,Player(1),"А",true)
call TriggerAddAction(udg_trigger111,function Trig_Pervii_etap8_Dosu_Actions)
set udg_trigger112=CreateTrigger()
call DisableTrigger(udg_trigger112)
call TriggerAddAction(udg_trigger112,function Trig_Pervii_etap9_Dosu_Actions)
set udg_trigger113=CreateTrigger()
call DisableTrigger(udg_trigger113)
call TriggerRegisterPlayerChatEvent(udg_trigger113,Player(1),"Б",true)
call TriggerAddAction(udg_trigger113,function Trig_Pervii_etap10_Dosu_Actions)
set udg_trigger114=CreateTrigger()
call DisableTrigger(udg_trigger114)
call TriggerRegisterPlayerChatEvent(udg_trigger114,Player(1),"В",true)
call TriggerAddAction(udg_trigger114,function Trig_Pervii_etap11_Dosu_Actions)
set udg_trigger115=CreateTrigger()
call DisableTrigger(udg_trigger115)
call TriggerRegisterPlayerChatEvent(udg_trigger115,Player(1),"А",true)
call TriggerAddAction(udg_trigger115,function Trig_Pervii_etap12_Dosu_Actions)
set udg_trigger116=CreateTrigger()
call DisableTrigger(udg_trigger116)
call TriggerAddAction(udg_trigger116,function Trig_Pervii_etap13_Dosu_Actions)
set udg_trigger117=CreateTrigger()
call DisableTrigger(udg_trigger117)
call TriggerRegisterPlayerChatEvent(udg_trigger117,Player(1),"А",true)
call TriggerAddAction(udg_trigger117,function Trig_Pervii_etap14_Dosu_Actions)
set udg_trigger118=CreateTrigger()
call DisableTrigger(udg_trigger118)
call TriggerRegisterPlayerChatEvent(udg_trigger118,Player(1),"В",true)
call TriggerAddAction(udg_trigger118,function Trig_Pervii_etap15_Dosu_Actions)
set udg_trigger119=CreateTrigger()
call DisableTrigger(udg_trigger119)
call TriggerRegisterPlayerChatEvent(udg_trigger119,Player(1),"Б",true)
call TriggerAddAction(udg_trigger119,function Trig_Pervii_etap16_Dosu_Actions)
set udg_trigger120=CreateTrigger()
call DisableTrigger(udg_trigger120)
call TriggerAddAction(udg_trigger120,function Trig_Pervii_etap17_Dosu_Actions)
set udg_trigger121=CreateTrigger()
call DisableTrigger(udg_trigger121)
call TriggerRegisterPlayerChatEvent(udg_trigger121,Player(1),"В",true)
call TriggerAddAction(udg_trigger121,function Trig_Pervii_etap18_Dosu_Actions)
set udg_trigger122=CreateTrigger()
call DisableTrigger(udg_trigger122)
call TriggerRegisterPlayerChatEvent(udg_trigger122,Player(1),"Б",true)
call TriggerAddAction(udg_trigger122,function Trig_Pervii_etap19_Dosu_Actions)
set udg_trigger123=CreateTrigger()
call DisableTrigger(udg_trigger123)
call TriggerRegisterPlayerChatEvent(udg_trigger123,Player(1),"А",true)
call TriggerAddAction(udg_trigger123,function Trig_Pervii_etap20_Dosu_Actions)
set udg_trigger124=CreateTrigger()
call DisableTrigger(udg_trigger124)
call TriggerAddAction(udg_trigger124,function Trig_Konechnii_triger_Dosu_Actions)
set udg_trigger125=CreateTrigger()
call DisableTrigger(udg_trigger125)
call TriggerAddAction(udg_trigger125,function Trig_Pervii_etap_Zaku_Actions)
set udg_trigger126=CreateTrigger()
call DisableTrigger(udg_trigger126)
call TriggerRegisterPlayerChatEvent(udg_trigger126,Player(2),"Б",true)
call TriggerAddAction(udg_trigger126,function Trig_Pervii_etap2_Zaku_Actions)
set udg_trigger127=CreateTrigger()
call DisableTrigger(udg_trigger127)
call TriggerRegisterPlayerChatEvent(udg_trigger127,Player(2),"В",true)
call TriggerAddAction(udg_trigger127,function Trig_Pervii_etap3_Zaku_Actions)
set udg_trigger128=CreateTrigger()
call DisableTrigger(udg_trigger128)
call TriggerRegisterPlayerChatEvent(udg_trigger128,Player(2),"А",true)
call TriggerAddAction(udg_trigger128,function Trig_Pervii_etap4_Zaku_Actions)
set udg_trigger129=CreateTrigger()
call DisableTrigger(udg_trigger129)
call TriggerAddAction(udg_trigger129,function Trig_Pervii_etap5_Zaku_Actions)
set udg_trigger130=CreateTrigger()
call DisableTrigger(udg_trigger130)
call TriggerRegisterPlayerChatEvent(udg_trigger130,Player(2),"В",true)
call TriggerAddAction(udg_trigger130,function Trig_Pervii_etap6_Zaku_Actions)
set udg_trigger131=CreateTrigger()
call DisableTrigger(udg_trigger131)
call TriggerRegisterPlayerChatEvent(udg_trigger131,Player(2),"Б",true)
call TriggerAddAction(udg_trigger131,function Trig_Pervii_etap7_Zaku_Actions)
set udg_trigger132=CreateTrigger()
call DisableTrigger(udg_trigger132)
call TriggerRegisterPlayerChatEvent(udg_trigger132,Player(2),"А",true)
call TriggerAddAction(udg_trigger132,function Trig_Pervii_etap8_Zaku_Actions)
set udg_trigger133=CreateTrigger()
call DisableTrigger(udg_trigger133)
call TriggerAddAction(udg_trigger133,function Trig_Pervii_etap9_Zaku_Actions)
set udg_trigger134=CreateTrigger()
call DisableTrigger(udg_trigger134)
call TriggerRegisterPlayerChatEvent(udg_trigger134,Player(2),"Б",true)
call TriggerAddAction(udg_trigger134,function Trig_Pervii_etap10_Zaku_Actions)
set udg_trigger135=CreateTrigger()
call DisableTrigger(udg_trigger135)
call TriggerRegisterPlayerChatEvent(udg_trigger135,Player(2),"В",true)
call TriggerAddAction(udg_trigger135,function Trig_Pervii_etap11_Zaku_Actions)
set udg_trigger136=CreateTrigger()
call DisableTrigger(udg_trigger136)
call TriggerRegisterPlayerChatEvent(udg_trigger136,Player(2),"А",true)
call TriggerAddAction(udg_trigger136,function Trig_Pervii_etap12_Zaku_Actions)
set udg_trigger137=CreateTrigger()
call DisableTrigger(udg_trigger137)
call TriggerAddAction(udg_trigger137,function Trig_Pervii_etap13_Zaku_Actions)
set udg_trigger138=CreateTrigger()
call DisableTrigger(udg_trigger138)
call TriggerRegisterPlayerChatEvent(udg_trigger138,Player(2),"А",true)
call TriggerAddAction(udg_trigger138,function Trig_Pervii_etap14_Zaku_Actions)
set udg_trigger139=CreateTrigger()
call DisableTrigger(udg_trigger139)
call TriggerRegisterPlayerChatEvent(udg_trigger139,Player(2),"В",true)
call TriggerAddAction(udg_trigger139,function Trig_Pervii_etap15_Zaku_Actions)
set udg_trigger140=CreateTrigger()
call DisableTrigger(udg_trigger140)
call TriggerRegisterPlayerChatEvent(udg_trigger140,Player(2),"Б",true)
call TriggerAddAction(udg_trigger140,function Trig_Pervii_etap16_Zaku_Actions)
set udg_trigger141=CreateTrigger()
call DisableTrigger(udg_trigger141)
call TriggerAddAction(udg_trigger141,function Trig_Pervii_etap17_Zaku_Actions)
set udg_trigger142=CreateTrigger()
call DisableTrigger(udg_trigger142)
call TriggerRegisterPlayerChatEvent(udg_trigger142,Player(2),"В",true)
call TriggerAddAction(udg_trigger142,function Trig_Pervii_etap18_Zaku_Actions)
set udg_trigger143=CreateTrigger()
call DisableTrigger(udg_trigger143)
call TriggerRegisterPlayerChatEvent(udg_trigger143,Player(2),"Б",true)
call TriggerAddAction(udg_trigger143,function Trig_Pervii_etap19_Zaku_Actions)
set udg_trigger144=CreateTrigger()
call DisableTrigger(udg_trigger144)
call TriggerRegisterPlayerChatEvent(udg_trigger144,Player(2),"А",true)
call TriggerAddAction(udg_trigger144,function Trig_Pervii_etap20_Zaku_Actions)
set udg_trigger145=CreateTrigger()
call DisableTrigger(udg_trigger145)
call TriggerAddAction(udg_trigger145,function Trig_Konechnii_triger_Zaku_Actions)
set udg_trigger146=CreateTrigger()
call DisableTrigger(udg_trigger146)
call TriggerAddAction(udg_trigger146,function Trig_Pervii_etap_Kin_Actions)
set udg_trigger147=CreateTrigger()
call DisableTrigger(udg_trigger147)
call TriggerRegisterPlayerChatEvent(udg_trigger147,Player(3),"Б",true)
call TriggerAddAction(udg_trigger147,function Trig_Pervii_etap2_Kin_Actions)
set udg_trigger148=CreateTrigger()
call DisableTrigger(udg_trigger148)
call TriggerRegisterPlayerChatEvent(udg_trigger148,Player(3),"В",true)
call TriggerAddAction(udg_trigger148,function Trig_Pervii_etap3_Kin_Actions)
set udg_trigger149=CreateTrigger()
call DisableTrigger(udg_trigger149)
call TriggerRegisterPlayerChatEvent(udg_trigger149,Player(3),"А",true)
call TriggerAddAction(udg_trigger149,function Trig_Pervii_etap4_Kin_Actions)
set udg_trigger150=CreateTrigger()
call DisableTrigger(udg_trigger150)
call TriggerAddAction(udg_trigger150,function Trig_Pervii_etap5_Kin_Actions)
set udg_trigger151=CreateTrigger()
call DisableTrigger(udg_trigger151)
call TriggerRegisterPlayerChatEvent(udg_trigger151,Player(3),"В",true)
call TriggerAddAction(udg_trigger151,function Trig_Pervii_etap6_Kin_Actions)
set udg_trigger152=CreateTrigger()
call DisableTrigger(udg_trigger152)
call TriggerRegisterPlayerChatEvent(udg_trigger152,Player(3),"Б",true)
call TriggerAddAction(udg_trigger152,function Trig_Pervii_etap7_Kin_Actions)
set udg_trigger153=CreateTrigger()
call DisableTrigger(udg_trigger153)
call TriggerRegisterPlayerChatEvent(udg_trigger153,Player(3),"А",true)
call TriggerAddAction(udg_trigger153,function Trig_Pervii_etap8_Kin_Actions)
set udg_trigger154=CreateTrigger()
call DisableTrigger(udg_trigger154)
call TriggerAddAction(udg_trigger154,function Trig_Pervii_etap9_Kin_Actions)
set udg_trigger155=CreateTrigger()
call DisableTrigger(udg_trigger155)
call TriggerRegisterPlayerChatEvent(udg_trigger155,Player(3),"Б",true)
call TriggerAddAction(udg_trigger155,function Trig_Pervii_etap10_Kin_Actions)
set udg_trigger156=CreateTrigger()
call DisableTrigger(udg_trigger156)
call TriggerRegisterPlayerChatEvent(udg_trigger156,Player(3),"В",true)
call TriggerAddAction(udg_trigger156,function Trig_Pervii_etap11_Kin_Actions)
set udg_trigger157=CreateTrigger()
call DisableTrigger(udg_trigger157)
call TriggerRegisterPlayerChatEvent(udg_trigger157,Player(3),"А",true)
call TriggerAddAction(udg_trigger157,function Trig_Pervii_etap12_Kin_Actions)
set udg_trigger158=CreateTrigger()
call DisableTrigger(udg_trigger158)
call TriggerAddAction(udg_trigger158,function Trig_Pervii_etap13_Kin_Actions)
set udg_trigger159=CreateTrigger()
call DisableTrigger(udg_trigger159)
call TriggerRegisterPlayerChatEvent(udg_trigger159,Player(3),"А",true)
call TriggerAddAction(udg_trigger159,function Trig_Pervii_etap14_Kin_Actions)
set udg_trigger160=CreateTrigger()
call DisableTrigger(udg_trigger160)
call TriggerRegisterPlayerChatEvent(udg_trigger160,Player(3),"В",true)
call TriggerAddAction(udg_trigger160,function Trig_Pervii_etap15_Kin_Actions)
set udg_trigger161=CreateTrigger()
call DisableTrigger(udg_trigger161)
call TriggerRegisterPlayerChatEvent(udg_trigger161,Player(3),"Б",true)
call TriggerAddAction(udg_trigger161,function Trig_Pervii_etap16_Kin_Actions)
set udg_trigger162=CreateTrigger()
call DisableTrigger(udg_trigger162)
call TriggerAddAction(udg_trigger162,function Trig_Pervii_etap17_Kin_Actions)
set udg_trigger163=CreateTrigger()
call DisableTrigger(udg_trigger163)
call TriggerRegisterPlayerChatEvent(udg_trigger163,Player(3),"В",true)
call TriggerAddAction(udg_trigger163,function Trig_Pervii_etap18_Kin_Actions)
set udg_trigger164=CreateTrigger()
call DisableTrigger(udg_trigger164)
call TriggerRegisterPlayerChatEvent(udg_trigger164,Player(3),"Б",true)
call TriggerAddAction(udg_trigger164,function Trig_Pervii_etap19_Kin_Actions)
set udg_trigger165=CreateTrigger()
call DisableTrigger(udg_trigger165)
call TriggerRegisterPlayerChatEvent(udg_trigger165,Player(3),"А",true)
call TriggerAddAction(udg_trigger165,function Trig_Pervii_etap20_Kin_Actions)
set udg_trigger166=CreateTrigger()
call DisableTrigger(udg_trigger166)
call TriggerAddAction(udg_trigger166,function Trig_Konechnii_triger_Kin_Actions)
set udg_trigger167=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger167,EVENT_PLAYER_UNIT_SPELL_CHANNEL)
call TriggerAddCondition(udg_trigger167,Condition(function Trig_Goukakyuu_Kopieren4_Conditions))
call TriggerAddAction(udg_trigger167,function Trig_Goukakyuu_Kopieren4_Actions)
set udg_trigger168=CreateTrigger()
call DisableTrigger(udg_trigger168)
call TriggerRegisterTimerEventPeriodic(udg_trigger168,0.04)
call TriggerAddAction(udg_trigger168,function Trig_Goukakyuu_Move_Kopieren4_Actions)
set udg_trigger169=CreateTrigger()
call DisableTrigger(udg_trigger169)
call TriggerRegisterTimerEventPeriodic(udg_trigger169,0.14)
call TriggerAddAction(udg_trigger169,function Trig_Goukakyuu_Special_Kopieren4_Actions)
set udg_trigger170=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger170,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger170,Condition(function Trig_Kage_Bunshin_no_Jutsu_Conditions))
call TriggerAddAction(udg_trigger170,function Trig_Kage_Bunshin_no_Jutsu_Actions)
set udg_trigger171=CreateTrigger()
call DisableTrigger(udg_trigger171)
call TriggerRegisterTimerEventPeriodic(udg_trigger171,0.15)
call TriggerAddCondition(udg_trigger171,Condition(function Trig_Kage_Bunshin_no_Jutsu2_Conditions))
call TriggerAddAction(udg_trigger171,function Trig_Kage_Bunshin_no_Jutsu2_Actions)
set udg_trigger172=CreateTrigger()
call DisableTrigger(udg_trigger172)
call TriggerRegisterTimerEventPeriodic(udg_trigger172,0.15)
call TriggerAddCondition(udg_trigger172,Condition(function Trig_Kage_Bunshin_no_Jutsu3_Conditions))
call TriggerAddAction(udg_trigger172,function Trig_Kage_Bunshin_no_Jutsu3_Actions)
set udg_trigger173=CreateTrigger()
call DisableTrigger(udg_trigger173)
call TriggerRegisterTimerEventPeriodic(udg_trigger173,0.15)
call TriggerAddCondition(udg_trigger173,Condition(function Trig_Kage_Bunshin_no_Jutsu4_Conditions))
call TriggerAddAction(udg_trigger173,function Trig_Kage_Bunshin_no_Jutsu4_Actions)
set udg_trigger174=CreateTrigger()
call DisableTrigger(udg_trigger174)
call TriggerRegisterTimerEventPeriodic(udg_trigger174,0.15)
call TriggerAddCondition(udg_trigger174,Condition(function Trig_Kage_Bunshin_no_Jutsu5_Conditions))
call TriggerAddAction(udg_trigger174,function Trig_Kage_Bunshin_no_Jutsu5_Actions)
set udg_trigger175=CreateTrigger()
call DisableTrigger(udg_trigger175)
call TriggerRegisterTimerEventPeriodic(udg_trigger175,0.15)
call TriggerAddCondition(udg_trigger175,Condition(function Trig_Kage_Bunshin_no_Jutsu6_Conditions))
call TriggerAddAction(udg_trigger175,function Trig_Kage_Bunshin_no_Jutsu6_Actions)
set udg_trigger176=CreateTrigger()
call DisableTrigger(udg_trigger176)
call TriggerRegisterAnyUnitEventBJ(udg_trigger176,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger176,Condition(function Trig_Kage_Bunshin_no_Jutsu7_Conditions))
call TriggerAddAction(udg_trigger176,function Trig_Kage_Bunshin_no_Jutsu7_Actions)
set udg_trigger177=CreateTrigger()
call DisableTrigger(udg_trigger177)
call TriggerRegisterAnyUnitEventBJ(udg_trigger177,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger177,Condition(function Trig_Kage_Bunshin_no_Jutsu8_Conditions))
call TriggerAddAction(udg_trigger177,function Trig_Kage_Bunshin_no_Jutsu8_Actions)
set udg_trigger178=CreateTrigger()
call DisableTrigger(udg_trigger178)
call TriggerRegisterAnyUnitEventBJ(udg_trigger178,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger178,Condition(function Trig_Kage_Bunshin_no_Jutsu9_Conditions))
call TriggerAddAction(udg_trigger178,function Trig_Kage_Bunshin_no_Jutsu9_Actions)
set udg_trigger179=CreateTrigger()
call DisableTrigger(udg_trigger179)
call TriggerRegisterAnyUnitEventBJ(udg_trigger179,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger179,Condition(function Trig_Kage_Bunshin_no_Jutsu10_Conditions))
call TriggerAddAction(udg_trigger179,function Trig_Kage_Bunshin_no_Jutsu10_Actions)
set udg_trigger180=CreateTrigger()
call DisableTrigger(udg_trigger180)
call TriggerRegisterAnyUnitEventBJ(udg_trigger180,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger180,Condition(function Trig_Kage_Bunshin_no_Jutsu11_Conditions))
call TriggerAddAction(udg_trigger180,function Trig_Kage_Bunshin_no_Jutsu11_Actions)
set udg_trigger181=CreateTrigger()
call DisableTrigger(udg_trigger181)
call TriggerRegisterTimerEventPeriodic(udg_trigger181,0.90)
call TriggerAddAction(udg_trigger181,function Trig_Kage_Bunshin_no_Jutsu12_Actions)
set udg_trigger182=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger182,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger182,Condition(function Trig_Kage_Bunshin_no_Jutsu13_Conditions))
call TriggerAddAction(udg_trigger182,function Trig_Kage_Bunshin_no_Jutsu13_Actions)
set udg_trigger183=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger183,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger183,Condition(function Trig_Kage_Bunshin_no_Jutsu14_Conditions))
call TriggerAddAction(udg_trigger183,function Trig_Kage_Bunshin_no_Jutsu14_Actions)
set udg_trigger184=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger184,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger184,Condition(function Trig_Hayabusa_Otoshi_Conditions))
call TriggerAddAction(udg_trigger184,function Trig_Hayabusa_Otoshi_Actions)
set udg_trigger185=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger185,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger185,Condition(function Trig_Hayabusa_Otoshi5_Conditions))
call TriggerAddAction(udg_trigger185,function Trig_Hayabusa_Otoshi5_Actions)
set udg_trigger186=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger186,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger186,Condition(function Trig_Hayabusa_Otoshi2_Conditions))
call TriggerAddAction(udg_trigger186,function Trig_Hayabusa_Otoshi2_Actions)
set udg_trigger187=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger187,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger187,Condition(function Trig_Hayabusa_Otoshi3_Conditions))
call TriggerAddAction(udg_trigger187,function Trig_Hayabusa_Otoshi3_Actions)
set udg_trigger188=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger188,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger188,Condition(function Trig_Hayabusa_Otoshi4_Conditions))
call TriggerAddAction(udg_trigger188,function Trig_Hayabusa_Otoshi4_Actions)
set udg_trigger189=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger189,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger189,Condition(function Trig_Hayabusa_Otoshi6_Conditions))
call TriggerAddAction(udg_trigger189,function Trig_Hayabusa_Otoshi6_Actions)
set udg_trigger190=CreateTrigger()
call DisableTrigger(udg_trigger190)
call TriggerRegisterAnyUnitEventBJ(udg_trigger190,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger190,Condition(function Trig_Sofusha_San_no_Tachi_Conditions))
call TriggerAddAction(udg_trigger190,function Trig_Sofusha_San_no_Tachi_Actions)
set udg_trigger191=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger191,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger191,Condition(function Trig_Sofusha_San_no_Tachi2_Conditions))
call TriggerAddAction(udg_trigger191,function Trig_Sofusha_San_no_Tachi2_Actions)
set udg_trigger192=CreateTrigger()
call DisableTrigger(udg_trigger192)
call TriggerRegisterTimerEventPeriodic(udg_trigger192,0.01)
call TriggerAddAction(udg_trigger192,function Trig_Sofusha_San_no_Tachi3_Actions)
set udg_trigger193=CreateTrigger()
call DisableTrigger(udg_trigger193)
call TriggerRegisterTimerEventPeriodic(udg_trigger193,0.01)
call TriggerAddAction(udg_trigger193,function Trig_Sofusha_San_no_Tachi4_Actions)
set udg_trigger194=CreateTrigger()
call DisableTrigger(udg_trigger194)
call TriggerRegisterTimerEventPeriodic(udg_trigger194,0.05)
call TriggerAddCondition(udg_trigger194,Condition(function Trig_Sofusha_San_no_Tachi5_Conditions))
call TriggerAddAction(udg_trigger194,function Trig_Sofusha_San_no_Tachi5_Actions)
set udg_trigger195=CreateTrigger()
call TriggerAddAction(udg_trigger195,function Trig_Sofusha_San_no_Tachi6_Actions)
set udg_trigger196=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger196,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger196,Condition(function Trig_Kage_Shuriken_no_Jutsu_Conditions))
call TriggerAddAction(udg_trigger196,function Trig_Kage_Shuriken_no_Jutsu_Actions)
set udg_trigger197=CreateTrigger()
call DisableTrigger(udg_trigger197)
call TriggerRegisterTimerEventPeriodic(udg_trigger197,0.02)
call TriggerAddAction(udg_trigger197,function Trig_Kage_Shuriken_no_Jutsu2_Actions)
set udg_trigger198=CreateTrigger()
call DisableTrigger(udg_trigger198)
call TriggerRegisterTimerEventPeriodic(udg_trigger198,0.02)
call TriggerAddAction(udg_trigger198,function Trig_Kage_Shuriken_no_Jutsu3_Actions)
set udg_trigger199=CreateTrigger()
call DisableTrigger(udg_trigger199)
call TriggerRegisterAnyUnitEventBJ(udg_trigger199,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger199,Condition(function Trig_Shuriken_v_ogne_Conditions))
call TriggerAddAction(udg_trigger199,function Trig_Shuriken_v_ogne_Actions)
set udg_trigger200=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger200,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger200,Condition(function Trig_Gouken_Conditions))
call TriggerAddAction(udg_trigger200,function Trig_Gouken_Actions)
set udg_trigger201=CreateTrigger()
call DisableTrigger(udg_trigger201)
call TriggerRegisterTimerEventPeriodic(udg_trigger201,0.01)
call TriggerAddAction(udg_trigger201,function Trig_Gouken2_Actions)
set udg_trigger202=CreateTrigger()
call DisableTrigger(udg_trigger202)
call TriggerRegisterTimerEventPeriodic(udg_trigger202,0.10)
call TriggerAddAction(udg_trigger202,function Trig_Gouken3_Actions)
set udg_trigger203=CreateTrigger()
call DisableTrigger(udg_trigger203)
call TriggerRegisterAnyUnitEventBJ(udg_trigger203,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger203,Condition(function Trig_Gouken4_Conditions))
call TriggerAddAction(udg_trigger203,function Trig_Gouken4_Actions)
set udg_trigger204=CreateTrigger()
call DisableTrigger(udg_trigger204)
call TriggerAddAction(udg_trigger204,function Trig_Gouken5_Actions)
set udg_trigger205=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger205,1.00)
call TriggerAddCondition(udg_trigger205,Condition(function Trig_Gouken6_Conditions))
call TriggerAddAction(udg_trigger205,function Trig_Gouken6_Actions)
set udg_trigger206=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger206,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger206,Condition(function Trig_Sabaku_Kyu_Conditions))
call TriggerAddAction(udg_trigger206,function Trig_Sabaku_Kyu_Actions)
set udg_trigger207=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger207,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger207,Condition(function Trig_Sabaku_Soso_Conditions))
call TriggerAddAction(udg_trigger207,function Trig_Sabaku_Soso_Actions)
set udg_trigger208=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger208,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger208,Condition(function Trig_Gouken_Lee_Conditions))
call TriggerAddAction(udg_trigger208,function Trig_Gouken_Lee_Actions)
set udg_trigger209=CreateTrigger()
call DisableTrigger(udg_trigger209)
call TriggerRegisterTimerEventPeriodic(udg_trigger209,0.01)
call TriggerAddAction(udg_trigger209,function Trig_Gouken2_Lee_Actions)
set udg_trigger210=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger210,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger210,Condition(function Trig_Gouken_Lee22_Conditions))
call TriggerAddAction(udg_trigger210,function Trig_Gouken_Lee22_Actions)
set udg_trigger211=CreateTrigger()
call DisableTrigger(udg_trigger211)
call TriggerRegisterTimerEventPeriodic(udg_trigger211,0.01)
call TriggerAddAction(udg_trigger211,function Trig_Gouken2_Lee22_Actions)
set udg_trigger212=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger212,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger212,Condition(function Trig_Gouken_Lee222_Conditions))
call TriggerAddAction(udg_trigger212,function Trig_Gouken_Lee222_Actions)
set udg_trigger213=CreateTrigger()
call DisableTrigger(udg_trigger213)
call TriggerRegisterTimerEventPeriodic(udg_trigger213,0.01)
call TriggerAddAction(udg_trigger213,function Trig_Gouken2_Lee222_Actions)
set udg_trigger214=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger214,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger214,Condition(function Trig_Gouken_Lee2222_Conditions))
call TriggerAddAction(udg_trigger214,function Trig_Gouken_Lee2222_Actions)
set udg_trigger215=CreateTrigger()
call DisableTrigger(udg_trigger215)
call TriggerRegisterTimerEventPeriodic(udg_trigger215,0.01)
call TriggerAddAction(udg_trigger215,function Trig_Gouken2_Lee2222_Actions)
set udg_trigger216=CreateTrigger()
call DisableTrigger(udg_trigger216)
call TriggerRegisterAnyUnitEventBJ(udg_trigger216,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger216,Condition(function Trig_Gouken_Lee22222_Conditions))
call TriggerAddAction(udg_trigger216,function Trig_Gouken_Lee22222_Actions)
set udg_trigger217=CreateTrigger()
call DisableTrigger(udg_trigger217)
call TriggerRegisterTimerEventPeriodic(udg_trigger217,0.01)
call TriggerAddAction(udg_trigger217,function Trig_Gouken2_Lee22222_Actions)
set udg_trigger218=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger218,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger218,Condition(function Trig_Konoha_Repuu_Conditions))
call TriggerAddAction(udg_trigger218,function Trig_Konoha_Repuu_Actions)
set udg_trigger219=CreateTrigger()
call DisableTrigger(udg_trigger219)
call TriggerRegisterTimerEventPeriodic(udg_trigger219,0.01)
call TriggerAddAction(udg_trigger219,function Trig_Konoha_Repuu2_Actions)
set udg_trigger220=CreateTrigger()
call DisableTrigger(udg_trigger220)
call TriggerRegisterTimerEventPeriodic(udg_trigger220,0.11)
call TriggerAddAction(udg_trigger220,function Trig_Konoha_Repuu3_Actions)
set udg_trigger221=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger221,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger221,Condition(function Trig_Konoha_Repuu4_Conditions))
call TriggerAddAction(udg_trigger221,function Trig_Konoha_Repuu4_Actions)
set udg_trigger222=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger222,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger222,Condition(function Trig_Konoha_Senpu_Conditions))
call TriggerAddAction(udg_trigger222,function Trig_Konoha_Senpu_Actions)
set udg_trigger223=CreateTrigger()
call DisableTrigger(udg_trigger223)
call TriggerRegisterTimerEventPeriodic(udg_trigger223,0.01)
call TriggerAddAction(udg_trigger223,function Trig_Konoha_Senpu_2_Actions)
set udg_trigger224=CreateTrigger()
call DisableTrigger(udg_trigger224)
call TriggerRegisterTimerEventPeriodic(udg_trigger224,0.11)
call TriggerAddAction(udg_trigger224,function Trig_Konoha_Senpu_3_Actions)
set udg_trigger225=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger225,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger225,Condition(function Trig_Konoha_Senpu_4_Conditions))
call TriggerAddAction(udg_trigger225,function Trig_Konoha_Senpu_4_Actions)
set udg_trigger226=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger226,udg_unit39,EVENT_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger226,Condition(function Trig_Suna_no_Tate_Conditions))
call TriggerAddAction(udg_trigger226,function Trig_Suna_no_Tate_Actions)
set udg_trigger227=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger227,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger227,Condition(function Trig_Kyoumeisen_Conditions))
call TriggerAddAction(udg_trigger227,function Trig_Kyoumeisen_Actions)
set udg_trigger228=CreateTrigger()
call DisableTrigger(udg_trigger228)
call TriggerAddAction(udg_trigger228,function Trig_Kyoumeisen2_Actions)
set udg_trigger229=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger229,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger229,Condition(function Trig_Rezak_zvuka_Dosu_Conditions))
call TriggerAddAction(udg_trigger229,function Trig_Rezak_zvuka_Dosu_Actions)
set udg_trigger230=CreateTrigger()
call DisableTrigger(udg_trigger230)
call TriggerRegisterTimerEventPeriodic(udg_trigger230,0.01)
call TriggerAddAction(udg_trigger230,function Trig_Rezak_zvuka_Dosu2_Actions)
set udg_trigger231=CreateTrigger()
call DisableTrigger(udg_trigger231)
call TriggerRegisterTimerEventPeriodic(udg_trigger231,0.07)
call TriggerAddAction(udg_trigger231,function Trig_Rezak_zvuka_Dosu3_Actions)
set udg_trigger232=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger232,0.04)
call TriggerAddAction(udg_trigger232,function Trig_Urovni_Sharingana_Actions)
set udg_trigger233=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger233,0.10)
call TriggerAddCondition(udg_trigger233,Condition(function Trig_Bag_Sharingana_Conditions))
call TriggerAddAction(udg_trigger233,function Trig_Bag_Sharingana_Actions)
set udg_trigger234=CreateTrigger()
call TriggerRegisterUnitManaEvent(udg_trigger234,udg_unit34,LESS_THAN_OR_EQUAL,2.00)
call TriggerAddCondition(udg_trigger234,Condition(function Trig_Samoviklichenie_Conditions))
call TriggerAddAction(udg_trigger234,function Trig_Samoviklichenie_Actions)
set udg_trigger235=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger235,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger235,Condition(function Trig_Ozvuchka_Sharingan_Conditions))
call TriggerAddAction(udg_trigger235,function Trig_Ozvuchka_Sharingan_Actions)
set udg_trigger236=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger236,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger236,Condition(function Trig_Ozvuchka_Sharingan_Kai_Conditions))
call TriggerAddAction(udg_trigger236,function Trig_Ozvuchka_Sharingan_Kai_Actions)
set udg_trigger237=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger237,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger237,Condition(function Trig_Sharingan_Conditions))
call TriggerAddAction(udg_trigger237,function Trig_Sharingan_Actions)
set udg_trigger238=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger238,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger238,Condition(function Trig_Sharingan_Kai_Conditions))
call TriggerAddAction(udg_trigger238,function Trig_Sharingan_Kai_Actions)
set udg_trigger239=CreateTrigger()
call DisableTrigger(udg_trigger239)
call TriggerRegisterTimerEventPeriodic(udg_trigger239,1.50)
call TriggerAddCondition(udg_trigger239,Condition(function Trig_Sharingan_vklichin_Conditions))
call TriggerAddAction(udg_trigger239,function Trig_Sharingan_vklichin_Actions)
set udg_trigger240=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger240,0.08)
call TriggerAddCondition(udg_trigger240,Condition(function Trig_Sharingan2_Conditions))
call TriggerAddAction(udg_trigger240,function Trig_Sharingan2_Actions)
set udg_trigger241=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger241,0.08)
call TriggerAddCondition(udg_trigger241,Condition(function Trig_Sharingan4_Conditions))
call TriggerAddAction(udg_trigger241,function Trig_Sharingan4_Actions)
set udg_trigger242=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger242,0.08)
call TriggerAddCondition(udg_trigger242,Condition(function Trig_Sharingan6_Conditions))
call TriggerAddAction(udg_trigger242,function Trig_Sharingan6_Actions)
set udg_trigger243=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger243,0.08)
call TriggerAddCondition(udg_trigger243,Condition(function Trig_Sharingan3_Conditions))
call TriggerAddAction(udg_trigger243,function Trig_Sharingan3_Actions)
set udg_trigger244=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger244,0.08)
call TriggerAddCondition(udg_trigger244,Condition(function Trig_Sharingan5_Conditions))
call TriggerAddAction(udg_trigger244,function Trig_Sharingan5_Actions)
set udg_trigger245=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger245,0.08)
call TriggerAddCondition(udg_trigger245,Condition(function Trig_Sharingan7_Conditions))
call TriggerAddAction(udg_trigger245,function Trig_Sharingan7_Actions)
set udg_trigger246=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger246,0.08)
call TriggerAddCondition(udg_trigger246,Condition(function Trig_Sharingan22_Conditions))
call TriggerAddAction(udg_trigger246,function Trig_Sharingan22_Actions)
set udg_trigger247=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger247,0.08)
call TriggerAddCondition(udg_trigger247,Condition(function Trig_Sharingan44_Conditions))
call TriggerAddAction(udg_trigger247,function Trig_Sharingan44_Actions)
set udg_trigger248=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger248,0.08)
call TriggerAddCondition(udg_trigger248,Condition(function Trig_Sharingan66_Conditions))
call TriggerAddAction(udg_trigger248,function Trig_Sharingan66_Actions)
set udg_trigger249=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger249,0.08)
call TriggerAddCondition(udg_trigger249,Condition(function Trig_Sharingan33_Conditions))
call TriggerAddAction(udg_trigger249,function Trig_Sharingan33_Actions)
set udg_trigger250=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger250,0.08)
call TriggerAddCondition(udg_trigger250,Condition(function Trig_Sharingan55_Conditions))
call TriggerAddAction(udg_trigger250,function Trig_Sharingan55_Actions)
set udg_trigger251=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger251,0.08)
call TriggerAddCondition(udg_trigger251,Condition(function Trig_Sharingan77_Conditions))
call TriggerAddAction(udg_trigger251,function Trig_Sharingan77_Actions)
set udg_trigger252=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger252,0.08)
call TriggerAddCondition(udg_trigger252,Condition(function Trig_Sharingan222_Conditions))
call TriggerAddAction(udg_trigger252,function Trig_Sharingan222_Actions)
set udg_trigger253=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger253,0.08)
call TriggerAddCondition(udg_trigger253,Condition(function Trig_Sharingan444_Conditions))
call TriggerAddAction(udg_trigger253,function Trig_Sharingan444_Actions)
set udg_trigger254=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger254,0.08)
call TriggerAddCondition(udg_trigger254,Condition(function Trig_Sharingan666_Conditions))
call TriggerAddAction(udg_trigger254,function Trig_Sharingan666_Actions)
set udg_trigger255=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger255,0.08)
call TriggerAddCondition(udg_trigger255,Condition(function Trig_Sharingan333_Conditions))
call TriggerAddAction(udg_trigger255,function Trig_Sharingan333_Actions)
set udg_trigger256=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger256,0.08)
call TriggerAddCondition(udg_trigger256,Condition(function Trig_Sharingan555_Conditions))
call TriggerAddAction(udg_trigger256,function Trig_Sharingan555_Actions)
set udg_trigger257=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger257,0.08)
call TriggerAddCondition(udg_trigger257,Condition(function Trig_Sharingan777_Conditions))
call TriggerAddAction(udg_trigger257,function Trig_Sharingan777_Actions)
set udg_trigger258=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger258,0.08)
call TriggerAddCondition(udg_trigger258,Condition(function Trig_Sharingan2222_Conditions))
call TriggerAddAction(udg_trigger258,function Trig_Sharingan2222_Actions)
set udg_trigger259=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger259,0.08)
call TriggerAddCondition(udg_trigger259,Condition(function Trig_Sharingan4444_Conditions))
call TriggerAddAction(udg_trigger259,function Trig_Sharingan4444_Actions)
set udg_trigger260=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger260,0.08)
call TriggerAddCondition(udg_trigger260,Condition(function Trig_Sharingan6666_Conditions))
call TriggerAddAction(udg_trigger260,function Trig_Sharingan6666_Actions)
set udg_trigger261=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger261,0.08)
call TriggerAddCondition(udg_trigger261,Condition(function Trig_Sharingan3333_Conditions))
call TriggerAddAction(udg_trigger261,function Trig_Sharingan3333_Actions)
set udg_trigger262=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger262,0.08)
call TriggerAddCondition(udg_trigger262,Condition(function Trig_Sharingan5555_Conditions))
call TriggerAddAction(udg_trigger262,function Trig_Sharingan5555_Actions)
set udg_trigger263=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger263,0.08)
call TriggerAddCondition(udg_trigger263,Condition(function Trig_Sharingan7777_Conditions))
call TriggerAddAction(udg_trigger263,function Trig_Sharingan7777_Actions)
set udg_trigger264=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger264,0.08)
call TriggerAddCondition(udg_trigger264,Condition(function Trig_Sharingan22222_Conditions))
call TriggerAddAction(udg_trigger264,function Trig_Sharingan22222_Actions)
set udg_trigger265=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger265,0.08)
call TriggerAddCondition(udg_trigger265,Condition(function Trig_Sharingan44444_Conditions))
call TriggerAddAction(udg_trigger265,function Trig_Sharingan44444_Actions)
set udg_trigger266=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger266,0.08)
call TriggerAddCondition(udg_trigger266,Condition(function Trig_Sharingan66666_Conditions))
call TriggerAddAction(udg_trigger266,function Trig_Sharingan66666_Actions)
set udg_trigger267=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger267,0.08)
call TriggerAddCondition(udg_trigger267,Condition(function Trig_Sharingan33333_Conditions))
call TriggerAddAction(udg_trigger267,function Trig_Sharingan33333_Actions)
set udg_trigger268=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger268,0.08)
call TriggerAddCondition(udg_trigger268,Condition(function Trig_Sharingan55555_Conditions))
call TriggerAddAction(udg_trigger268,function Trig_Sharingan55555_Actions)
set udg_trigger269=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger269,0.08)
call TriggerAddCondition(udg_trigger269,Condition(function Trig_Sharingan77777_Conditions))
call TriggerAddAction(udg_trigger269,function Trig_Sharingan77777_Actions)
set udg_trigger270=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger270,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(udg_trigger270,Condition(function Trig_Kage_Senbon_no_Jutsu_Conditions))
call TriggerAddAction(udg_trigger270,function Trig_Kage_Senbon_no_Jutsu_Actions)
set udg_trigger271=CreateTrigger()
call DisableTrigger(udg_trigger271)
call TriggerRegisterTimerEventPeriodic(udg_trigger271,0.01)
call TriggerAddAction(udg_trigger271,function Trig_Kage_Senbon_no_Jutsu2_Actions)
set udg_trigger272=CreateTrigger()
call DisableTrigger(udg_trigger272)
call TriggerRegisterTimerEventPeriodic(udg_trigger272,0.01)
call TriggerAddAction(udg_trigger272,function Trig_Kage_Senbon_no_Jutsu3_Actions)
set udg_trigger273=CreateTrigger()
call DisableTrigger(udg_trigger273)
call TriggerAddAction(udg_trigger273,function Trig_Super_sluh_Actions)
set udg_trigger274=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger274,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger274,Condition(function Trig_Super_sluh2_Conditions))
call TriggerAddAction(udg_trigger274,function Trig_Super_sluh2_Actions)
set udg_trigger275=CreateTrigger()
call DisableTrigger(udg_trigger275)
call TriggerRegisterAnyUnitEventBJ(udg_trigger275,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger275,Condition(function Trig_Super_skorost_Conditions))
call TriggerAddAction(udg_trigger275,function Trig_Super_skorost_Actions)
set udg_trigger276=CreateTrigger()
call DisableTrigger(udg_trigger276)
call TriggerRegisterTimerEventPeriodic(udg_trigger276,0.01)
call TriggerAddCondition(udg_trigger276,Condition(function Trig_Super_skorost2_Conditions))
call TriggerAddAction(udg_trigger276,function Trig_Super_skorost2_Actions)
set udg_trigger277=CreateTrigger()
call DisableTrigger(udg_trigger277)
call TriggerRegisterAnyUnitEventBJ(udg_trigger277,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger277,Condition(function Trig_Super_skorost_Lee_Conditions))
call TriggerAddAction(udg_trigger277,function Trig_Super_skorost_Lee_Actions)
set udg_trigger278=CreateTrigger()
call DisableTrigger(udg_trigger278)
call TriggerRegisterAnyUnitEventBJ(udg_trigger278,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger278,Condition(function Trig_Super_skorost_Lee2_Conditions))
call TriggerAddAction(udg_trigger278,function Trig_Super_skorost_Lee2_Actions)
set udg_trigger279=CreateTrigger()
call DisableTrigger(udg_trigger279)
call TriggerRegisterAnyUnitEventBJ(udg_trigger279,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger279,Condition(function Trig_Super_skorost_Lee3_Conditions))
call TriggerAddAction(udg_trigger279,function Trig_Super_skorost_Lee3_Actions)
set udg_trigger280=CreateTrigger()
call DisableTrigger(udg_trigger280)
call TriggerRegisterAnyUnitEventBJ(udg_trigger280,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(udg_trigger280,Condition(function Trig_Super_skorost_Lee4_Conditions))
call TriggerAddAction(udg_trigger280,function Trig_Super_skorost_Lee4_Actions)
set udg_trigger281=CreateTrigger()
call DisableTrigger(udg_trigger281)
call TriggerRegisterTimerEventPeriodic(udg_trigger281,0.01)
call TriggerAddCondition(udg_trigger281,Condition(function Trig_Super_skorost2_Lee_Conditions))
call TriggerAddAction(udg_trigger281,function Trig_Super_skorost2_Lee_Actions)
set udg_trigger282=CreateTrigger()
call DisableTrigger(udg_trigger282)
call TriggerRegisterTimerEventPeriodic(udg_trigger282,0.01)
call TriggerAddCondition(udg_trigger282,Condition(function Trig_Super_skorost2_Lee2_Conditions))
call TriggerAddAction(udg_trigger282,function Trig_Super_skorost2_Lee2_Actions)
set udg_trigger283=CreateTrigger()
call DisableTrigger(udg_trigger283)
call TriggerRegisterTimerEventPeriodic(udg_trigger283,0.01)
call TriggerAddCondition(udg_trigger283,Condition(function Trig_Super_skorost2_Lee3_Conditions))
call TriggerAddAction(udg_trigger283,function Trig_Super_skorost2_Lee3_Actions)
set udg_trigger284=CreateTrigger()
call DisableTrigger(udg_trigger284)
call TriggerRegisterTimerEventPeriodic(udg_trigger284,0.01)
call TriggerAddCondition(udg_trigger284,Condition(function Trig_Super_skorost2_Lee4_Conditions))
call TriggerAddAction(udg_trigger284,function Trig_Super_skorost2_Lee4_Actions)
set udg_trigger285=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger285,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger285,Condition(function Trig_Visoko_chistotnii_zvuk_Conditions))
call TriggerAddAction(udg_trigger285,function Trig_Visoko_chistotnii_zvuk_Actions)
set udg_trigger286=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger286,udg_unit40,LESS_THAN_OR_EQUAL,500.00)
call TriggerAddCondition(udg_trigger286,Condition(function Trig_HP_Lee_Conditions))
call TriggerAddAction(udg_trigger286,function Trig_HP_Lee_Actions)
set udg_trigger287=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger287,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger287,Condition(function Trig_Perevoploshenie_Lee_Conditions))
call TriggerAddAction(udg_trigger287,function Trig_Perevoploshenie_Lee_Actions)
set udg_trigger288=CreateTrigger()
call DisableTrigger(udg_trigger288)
call TriggerRegisterTimerEventPeriodic(udg_trigger288,0.55)
call TriggerAddAction(udg_trigger288,function Trig_Perevoploshenie_Lee2_Actions)
set udg_trigger289=CreateTrigger()
call DisableTrigger(udg_trigger289)
call TriggerRegisterTimerEventPeriodic(udg_trigger289,0.50)
call TriggerAddAction(udg_trigger289,function Trig_Perevoploshenie_Lee3_Actions)
set udg_trigger290=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger290,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger290,Condition(function Trig_Kaimon_Conditions))
call TriggerAddAction(udg_trigger290,function Trig_Kaimon_Actions)
set udg_trigger291=CreateTrigger()
call DisableTrigger(udg_trigger291)
call TriggerRegisterTimerEventPeriodic(udg_trigger291,0.25)
call TriggerAddAction(udg_trigger291,function Trig_Kaimon2_Actions)
set udg_trigger292=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger292,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger292,Condition(function Trig_Kyuumon_Conditions))
call TriggerAddAction(udg_trigger292,function Trig_Kyuumon_Actions)
set udg_trigger293=CreateTrigger()
call DisableTrigger(udg_trigger293)
call TriggerRegisterTimerEventPeriodic(udg_trigger293,0.05)
call TriggerAddAction(udg_trigger293,function Trig_Perevoploshenie_Actions)
set udg_trigger294=CreateTrigger()
call DisableTrigger(udg_trigger294)
call TriggerAddAction(udg_trigger294,function Trig_Tai_Actions)
set udg_trigger295=CreateTrigger()
call DisableTrigger(udg_trigger295)
call TriggerAddAction(udg_trigger295,function Trig_Tai2_Actions)
set udg_trigger296=CreateTrigger()
call DisableTrigger(udg_trigger296)
call TriggerAddAction(udg_trigger296,function Trig_Tai3_Actions)
set udg_trigger297=CreateTrigger()
call DisableTrigger(udg_trigger297)
call TriggerAddAction(udg_trigger297,function Trig_Tai4_Actions)
set udg_trigger298=CreateTrigger()
call DisableTrigger(udg_trigger298)
call TriggerAddAction(udg_trigger298,function Trig_Tai5_Actions)
set udg_trigger299=CreateTrigger()
call DisableTrigger(udg_trigger299)
call TriggerRegisterTimerEventPeriodic(udg_trigger299,0.40)
call TriggerAddAction(udg_trigger299,function Trig_Kyuumon2_Actions)
set udg_trigger300=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger300,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger300,Condition(function Trig_Seimon_Conditions))
call TriggerAddAction(udg_trigger300,function Trig_Seimon_Actions)
set udg_trigger301=CreateTrigger()
call DisableTrigger(udg_trigger301)
call TriggerRegisterTimerEventPeriodic(udg_trigger301,2.90)
call TriggerAddAction(udg_trigger301,function Trig_Seimon2_Actions)
set udg_trigger302=CreateTrigger()
call DisableTrigger(udg_trigger302)
call TriggerRegisterTimerEventPeriodic(udg_trigger302,0.03)
call TriggerAddAction(udg_trigger302,function Trig_Seimon3_Actions)
set udg_trigger303=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger303,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger303,Condition(function Trig_Shoumon_Conditions))
call TriggerAddAction(udg_trigger303,function Trig_Shoumon_Actions)
set udg_trigger304=CreateTrigger()
call DisableTrigger(udg_trigger304)
call TriggerRegisterTimerEventPeriodic(udg_trigger304,0.30)
call TriggerAddAction(udg_trigger304,function Trig_Shoumon2_Actions)
set udg_trigger305=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger305,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger305,Condition(function Trig_Tomon_Conditions))
call TriggerAddAction(udg_trigger305,function Trig_Tomon_Actions)
set udg_trigger306=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger306,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger306,Condition(function Trig_Attack_Conditions))
call TriggerAddAction(udg_trigger306,function Trig_Attack_Actions)
set udg_trigger307=CreateTrigger()
call DisableTrigger(udg_trigger307)
call TriggerRegisterAnyUnitEventBJ(udg_trigger307,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(udg_trigger307,Condition(function Trig_Attack2_Conditions))
call TriggerAddAction(udg_trigger307,function Trig_Attack2_Actions)
set udg_trigger308=CreateTrigger()
call DisableTrigger(udg_trigger308)
call TriggerRegisterTimerEventPeriodic(udg_trigger308,0.01)
call TriggerAddAction(udg_trigger308,function Trig_Vidimost_Actions)
set udg_trigger309=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger309,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger309,Condition(function Trig_KOPIR_Conditions))
call TriggerAddAction(udg_trigger309,function Trig_KOPIR_Actions)
set udg_trigger310=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger310,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger310,Condition(function Trig_KOPIR2_Conditions))
call TriggerAddAction(udg_trigger310,function Trig_KOPIR2_Actions)
set udg_trigger311=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger311,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger311,Condition(function Trig_KOPIR3_Conditions))
call TriggerAddAction(udg_trigger311,function Trig_KOPIR3_Actions)
set udg_trigger312=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger312,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger312,Condition(function Trig_KOPIR4_Conditions))
call TriggerAddAction(udg_trigger312,function Trig_KOPIR4_Actions)
set udg_trigger313=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger313,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger313,Condition(function Trig_Omote_Renge_Conditions))
call TriggerAddAction(udg_trigger313,function Trig_Omote_Renge_Actions)
set udg_trigger314=CreateTrigger()
call DisableTrigger(udg_trigger314)
call TriggerRegisterAnyUnitEventBJ(udg_trigger314,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger314,Condition(function Trig_Pri_vratah_Conditions))
call TriggerAddAction(udg_trigger314,function Trig_Pri_vratah_Actions)
set udg_trigger315=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger315,0.50)
call TriggerAddCondition(udg_trigger315,Condition(function Trig_Pri_vratah2_Conditions))
call TriggerAddAction(udg_trigger315,function Trig_Pri_vratah2_Actions)
set udg_trigger316=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger316,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger316,Condition(function Trig_Pri_vratah3_Conditions))
call TriggerAddAction(udg_trigger316,function Trig_Pri_vratah3_Actions)
set udg_trigger317=CreateTrigger()
call DisableTrigger(udg_trigger317)
call TriggerRegisterAnyUnitEventBJ(udg_trigger317,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger317,Condition(function Trig_Pri_vratah33_Conditions))
call TriggerAddAction(udg_trigger317,function Trig_Pri_vratah33_Actions)
set udg_trigger318=CreateTrigger()
call DisableTrigger(udg_trigger318)
call TriggerRegisterAnyUnitEventBJ(udg_trigger318,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger318,Condition(function Trig_Pri_vratah333_Conditions))
call TriggerAddAction(udg_trigger318,function Trig_Pri_vratah333_Actions)
set udg_trigger319=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger319,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger319,Condition(function Trig_Ura_Renge_Conditions))
call TriggerAddAction(udg_trigger319,function Trig_Ura_Renge_Actions)
set udg_trigger320=CreateTrigger()
call DisableTrigger(udg_trigger320)
call TriggerRegisterTimerEventPeriodic(udg_trigger320,0.01)
call TriggerAddAction(udg_trigger320,function Trig_Ura_Renge2_Actions)
set udg_trigger321=CreateTrigger()
call DisableTrigger(udg_trigger321)
call TriggerAddAction(udg_trigger321,function Trig_pereklyuchatel_Actions)
set udg_trigger322=CreateTrigger()
call DisableTrigger(udg_trigger322)
call TriggerRegisterTimerEventPeriodic(udg_trigger322,0.05)
call TriggerAddAction(udg_trigger322,function Trig_Ura_Renge3_Actions)
set udg_trigger323=CreateTrigger()
call DisableTrigger(udg_trigger323)
call TriggerRegisterTimerEventPeriodic(udg_trigger323,0.01)
call TriggerAddAction(udg_trigger323,function Trig_Ura_Renge4_Actions)
set udg_trigger324=CreateTrigger()
call DisableTrigger(udg_trigger324)
call TriggerRegisterTimerEventPeriodic(udg_trigger324,0.01)
call TriggerAddAction(udg_trigger324,function Trig_Ura_Renge5_Actions)
set udg_trigger325=CreateTrigger()
call DisableTrigger(udg_trigger325)
call TriggerRegisterTimerEventPeriodic(udg_trigger325,0.01)
call TriggerAddAction(udg_trigger325,function Trig_Ura_Renge6_Actions)
set udg_trigger326=CreateTrigger()
call DisableTrigger(udg_trigger326)
call TriggerRegisterTimerEventPeriodic(udg_trigger326,0.01)
call TriggerAddAction(udg_trigger326,function Trig_Ura_Renge7_Actions)
set udg_trigger327=CreateTrigger()
call DisableTrigger(udg_trigger327)
call TriggerRegisterTimerEventPeriodic(udg_trigger327,0.18)
call TriggerAddAction(udg_trigger327,function Trig_Ura_Renge_Lee_Actions)
set udg_trigger328=CreateTrigger()
call DisableTrigger(udg_trigger328)
call TriggerAddAction(udg_trigger328,function Trig_Okonchanie_kombo_Actions)
set udg_trigger329=CreateTrigger()
call DisableTrigger(udg_trigger329)
call TriggerRegisterTimerEventPeriodic(udg_trigger329,0.14)
call TriggerAddAction(udg_trigger329,function Trig_Poslednii_udar_Actions)
set udg_trigger330=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger330,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger330,Condition(function Trig_Konoha_Repuu_Sasuke2_Conditions))
call TriggerAddAction(udg_trigger330,function Trig_Konoha_Repuu_Sasuke2_Actions)
set udg_trigger331=CreateTrigger()
call DisableTrigger(udg_trigger331)
call TriggerRegisterTimerEventPeriodic(udg_trigger331,0.01)
call TriggerAddAction(udg_trigger331,function Trig_Konoha_Repuu_Sasuke3_Actions)
set udg_trigger332=CreateTrigger()
call DisableTrigger(udg_trigger332)
call TriggerRegisterTimerEventPeriodic(udg_trigger332,0.11)
call TriggerAddAction(udg_trigger332,function Trig_Konoha_Repuu_Sasuke4_Actions)
set udg_trigger333=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger333,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger333,Condition(function Trig_Konoha_Senpu_Sasuke_Conditions))
call TriggerAddAction(udg_trigger333,function Trig_Konoha_Senpu_Sasuke_Actions)
set udg_trigger334=CreateTrigger()
call DisableTrigger(udg_trigger334)
call TriggerRegisterTimerEventPeriodic(udg_trigger334,0.01)
call TriggerAddAction(udg_trigger334,function Trig_Konoha_Senpu_Sasuke_2_Actions)
set udg_trigger335=CreateTrigger()
call DisableTrigger(udg_trigger335)
call TriggerRegisterTimerEventPeriodic(udg_trigger335,0.11)
call TriggerAddAction(udg_trigger335,function Trig_Konoha_Senpu_Sasuke_3_Actions)
set udg_trigger336=CreateTrigger()
call DisableTrigger(udg_trigger336)
call TriggerRegisterTimerEventPeriodic(udg_trigger336,0.11)
call TriggerAddAction(udg_trigger336,function Trig_Konoha_Senpu_Sasuke_4_Actions)
set udg_trigger337=CreateTrigger()
call DisableTrigger(udg_trigger337)
call TriggerRegisterTimerEventPeriodic(udg_trigger337,0.03)
call TriggerAddAction(udg_trigger337,function Trig_Pechati_Sasuke_vibor_Actions)
set udg_trigger338=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger338,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger338,Condition(function Trig_Pechati_Sasuke_Mi_Conditions))
call TriggerAddAction(udg_trigger338,function Trig_Pechati_Sasuke_Mi_Actions)
set udg_trigger339=CreateTrigger()
call DisableTrigger(udg_trigger339)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger339,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger339,Condition(function Trig_Pechati_Sasuke_Hitsuji_Conditions))
call TriggerAddAction(udg_trigger339,function Trig_Pechati_Sasuke_Hitsuji_Actions)
set udg_trigger340=CreateTrigger()
call DisableTrigger(udg_trigger340)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger340,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger340,Condition(function Trig_Pechati_Sasuke_Saru_Conditions))
call TriggerAddAction(udg_trigger340,function Trig_Pechati_Sasuke_Saru_Actions)
set udg_trigger341=CreateTrigger()
call DisableTrigger(udg_trigger341)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger341,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger341,Condition(function Trig_Pechati_Sasuke_I_Conditions))
call TriggerAddAction(udg_trigger341,function Trig_Pechati_Sasuke_I_Actions)
set udg_trigger342=CreateTrigger()
call DisableTrigger(udg_trigger342)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger342,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger342,Condition(function Trig_Pechati_Sasuke_Uma_Conditions))
call TriggerAddAction(udg_trigger342,function Trig_Pechati_Sasuke_Uma_Actions)
set udg_trigger343=CreateTrigger()
call DisableTrigger(udg_trigger343)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger343,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger343,Condition(function Trig_Pechati_Sasuke_Tora_Conditions))
call TriggerAddAction(udg_trigger343,function Trig_Pechati_Sasuke_Tora_Actions)
set udg_trigger344=CreateTrigger()
call TriggerRegisterPlayerUnitEventSimple(udg_trigger344,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger344,Condition(function Trig_Pechati_Sasuke_ne_Mi_Conditions))
call TriggerAddAction(udg_trigger344,function Trig_Pechati_Sasuke_ne_Mi_Actions)
set udg_trigger345=CreateTrigger()
call DisableTrigger(udg_trigger345)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger345,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger345,Condition(function Trig_Pechati_Sasuke_ne_Hitsuji_Conditions))
call TriggerAddAction(udg_trigger345,function Trig_Pechati_Sasuke_ne_Hitsuji_Actions)
set udg_trigger346=CreateTrigger()
call DisableTrigger(udg_trigger346)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger346,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger346,Condition(function Trig_Pechati_Sasuke_ne_Saru_Conditions))
call TriggerAddAction(udg_trigger346,function Trig_Pechati_Sasuke_ne_Saru_Actions)
set udg_trigger347=CreateTrigger()
call DisableTrigger(udg_trigger347)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger347,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger347,Condition(function Trig_Pechati_Sasuke_ne_I_Conditions))
call TriggerAddAction(udg_trigger347,function Trig_Pechati_Sasuke_ne_I_Actions)
set udg_trigger348=CreateTrigger()
call DisableTrigger(udg_trigger348)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger348,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger348,Condition(function Trig_Pechati_Sasuke_ne_Uma_Conditions))
call TriggerAddAction(udg_trigger348,function Trig_Pechati_Sasuke_ne_Uma_Actions)
set udg_trigger349=CreateTrigger()
call DisableTrigger(udg_trigger349)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger349,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger349,Condition(function Trig_Pechati_Sasuke_ne_Tora_Conditions))
call TriggerAddAction(udg_trigger349,function Trig_Pechati_Sasuke_ne_Tora_Actions)
set udg_trigger350=CreateTrigger()
call DisableTrigger(udg_trigger350)
call TriggerRegisterTimerEventPeriodic(udg_trigger350,0.03)
call TriggerAddAction(udg_trigger350,function Trig_Udari_po_brevnu3_Actions)
set udg_trigger351=CreateTrigger()
call DisableTrigger(udg_trigger351)
call TriggerAddAction(udg_trigger351,function Trig_Udari_po_brevnu1_Actions)
set udg_trigger352=CreateTrigger()
call DisableTrigger(udg_trigger352)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger352,Player(0),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger352,Condition(function Trig_Udari_po_brevnu2_Conditions))
call TriggerAddAction(udg_trigger352,function Trig_Udari_po_brevnu2_Actions)
set udg_trigger353=CreateTrigger()
call DisableTrigger(udg_trigger353)
call TriggerAddAction(udg_trigger353,function Trig_Udari_po_brevnu11_Actions)
set udg_trigger354=CreateTrigger()
call DisableTrigger(udg_trigger354)
call TriggerRegisterPlayerUnitEventSimple(udg_trigger354,Player(4),EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger354,Condition(function Trig_Udari_po_brevnu22_Conditions))
call TriggerAddAction(udg_trigger354,function Trig_Udari_po_brevnu22_Actions)
set udg_trigger355=CreateTrigger()
call DisableTrigger(udg_trigger355)
call TriggerRegisterTimerEventPeriodic(udg_trigger355,0.03)
call TriggerAddAction(udg_trigger355,function Trig_Udari_po_brevnu33_Actions)
set udg_trigger356=CreateTrigger()
call DisableTrigger(udg_trigger356)
call TriggerAddAction(udg_trigger356,function Trig_Samoe_NACHALO_Actions)
set udg_trigger357=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger357,udg_unit75,EVENT_UNIT_DAMAGED)
call TriggerAddAction(udg_trigger357,function Trig_Mishka_Actions)
set udg_trigger358=CreateTrigger()
call TriggerRegisterEnterRectSimple(udg_trigger358,udg_rect45)
call TriggerAddAction(udg_trigger358,function Trig_Mishka2_Actions)
set udg_trigger359=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger359,udg_unit74,EVENT_UNIT_DAMAGED)
call TriggerAddAction(udg_trigger359,function Trig_Mishka3_Actions)
set udg_trigger360=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger360,60.00)
call TriggerAddAction(udg_trigger360,function Trig_Mishka4_Actions)
set udg_trigger361=CreateTrigger()
call DisableTrigger(udg_trigger361)
call TriggerAddAction(udg_trigger361,function Trig_Vtoroi_etap_Actions)
set udg_trigger362=CreateTrigger()
call DisableTrigger(udg_trigger362)
call TriggerRegisterTimerEventPeriodic(udg_trigger362,0.48)
call TriggerAddAction(udg_trigger362,function Trig_Naruto_mahaet_rukami_Actions)
set udg_trigger363=CreateTrigger()
call DisableTrigger(udg_trigger363)
call TriggerAddAction(udg_trigger363,function Trig_Naruto_mahaet_rukami2_Actions)
set udg_trigger364=CreateTrigger()
call DisableTrigger(udg_trigger364)
call TriggerRegisterTimerEventPeriodic(udg_trigger364,7.00)
call TriggerAddCondition(udg_trigger364,Condition(function Trig_Beg_k_Sasuke_Conditions))
call TriggerAddAction(udg_trigger364,function Trig_Beg_k_Sasuke_Actions)
set udg_trigger365=CreateTrigger()
call DisableTrigger(udg_trigger365)
call TriggerRegisterTimerEventPeriodic(udg_trigger365,7.00)
call TriggerAddCondition(udg_trigger365,Condition(function Trig_Beg_k_Sasuke2_Conditions))
call TriggerAddAction(udg_trigger365,function Trig_Beg_k_Sasuke2_Actions)
set udg_trigger366=CreateTrigger()
call DisableTrigger(udg_trigger366)
call TriggerAddAction(udg_trigger366,function Trig_Vtoroi_etap_Lee_Actions)
set udg_trigger367=CreateTrigger()
call DisableTrigger(udg_trigger367)
call TriggerRegisterTimerEventPeriodic(udg_trigger367,7.00)
call TriggerAddCondition(udg_trigger367,Condition(function Trig_Beg_k_Lee_Conditions))
call TriggerAddAction(udg_trigger367,function Trig_Beg_k_Lee_Actions)
set udg_trigger368=CreateTrigger()
call DisableTrigger(udg_trigger368)
call TriggerRegisterTimerEventPeriodic(udg_trigger368,7.00)
call TriggerAddCondition(udg_trigger368,Condition(function Trig_Beg_k_Lee2_Conditions))
call TriggerAddAction(udg_trigger368,function Trig_Beg_k_Lee2_Actions)
set udg_trigger369=CreateTrigger()
call DisableTrigger(udg_trigger369)
call TriggerAddAction(udg_trigger369,function Trig_Vtoroi_etap_zvuk_Actions)
set udg_trigger370=CreateTrigger()
call TriggerAddAction(udg_trigger370,function Trig_kripi_Actions)
set udg_trigger371=CreateTrigger()
call DisableTrigger(udg_trigger371)
call TriggerRegisterUnitLifeEvent(udg_trigger371,udg_unit34,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger371,function Trig_Geroi_v_lesu_Actions)
set udg_trigger372=CreateTrigger()
call DisableTrigger(udg_trigger372)
call TriggerRegisterUnitLifeEvent(udg_trigger372,udg_unit41,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger372,function Trig_Geroi_v_lesu2_Actions)
set udg_trigger373=CreateTrigger()
call DisableTrigger(udg_trigger373)
call TriggerRegisterUnitLifeEvent(udg_trigger373,udg_unit40,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger373,function Trig_Geroi_v_lesu3_Actions)
set udg_trigger374=CreateTrigger()
call DisableTrigger(udg_trigger374)
call TriggerRegisterUnitLifeEvent(udg_trigger374,udg_unit38,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger374,function Trig_Geroi_v_lesu4_Actions)
set udg_trigger375=CreateTrigger()
call DisableTrigger(udg_trigger375)
call TriggerRegisterUnitLifeEvent(udg_trigger375,udg_unit51,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger375,function Trig_Geroi_v_lesu5_Actions)
set udg_trigger376=CreateTrigger()
call DisableTrigger(udg_trigger376)
call TriggerRegisterUnitLifeEvent(udg_trigger376,udg_unit37,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger376,function Trig_Geroi_v_lesu6_Actions)
set udg_trigger377=CreateTrigger()
call DisableTrigger(udg_trigger377)
call TriggerRegisterUnitLifeEvent(udg_trigger377,udg_unit76,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger377,function Trig_Geroi_v_lesu7_Actions)
set udg_trigger378=CreateTrigger()
call DisableTrigger(udg_trigger378)
call TriggerRegisterUnitLifeEvent(udg_trigger378,udg_unit59,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger378,function Trig_Geroi_v_lesu8_Actions)
set udg_trigger379=CreateTrigger()
call DisableTrigger(udg_trigger379)
call TriggerRegisterUnitLifeEvent(udg_trigger379,udg_unit35,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger379,function Trig_Geroi_v_lesu9_Actions)
set udg_trigger380=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger380,udg_unit96,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger380,function Trig_Geroi_v_lesu10_Actions)
set udg_trigger381=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger381,udg_unit91,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger381,function Trig_Geroi_v_lesu11_Actions)
set udg_trigger382=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger382,udg_unit92,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger382,function Trig_Geroi_v_lesu12_Actions)
set udg_trigger383=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger383,udg_unit93,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger383,function Trig_Geroi_v_lesu13_Actions)
set udg_trigger384=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger384,udg_unit94,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger384,function Trig_Geroi_v_lesu14_Actions)
set udg_trigger385=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger385,udg_unit95,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger385,function Trig_Geroi_v_lesu15_Actions)
set udg_trigger386=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger386,udg_unit100,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger386,function Trig_Geroi_v_lesu16_Actions)
set udg_trigger387=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger387,udg_unit84,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger387,function Trig_Geroi_v_lesu17_Actions)
set udg_trigger388=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger388,udg_unit101,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger388,function Trig_Geroi_v_lesu18_Actions)
set udg_trigger389=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger389,udg_unit89,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger389,function Trig_Geroi_v_lesu19_Actions)
set udg_trigger390=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger390,udg_unit88,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger390,function Trig_Geroi_v_lesu20_Actions)
set udg_trigger391=CreateTrigger()
call TriggerRegisterUnitLifeEvent(udg_trigger391,udg_unit90,LESS_THAN_OR_EQUAL,200.00)
call TriggerAddAction(udg_trigger391,function Trig_Geroi_v_lesu21_Actions)
set udg_trigger392=CreateTrigger()
call DisableTrigger(udg_trigger392)
call TriggerAddAction(udg_trigger392,function Trig_Suzet_pro_Oricha_Actions)
set udg_trigger393=CreateTrigger()
call DisableTrigger(udg_trigger393)
call TriggerAddAction(udg_trigger393,function Trig_Pogoda_Actions)
set udg_trigger394=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger394,0.10)
call TriggerAddAction(udg_trigger394,function Trig_Tai_Jutsu1_Actions)
set udg_trigger395=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger395,0.05)
call TriggerAddAction(udg_trigger395,function Trig_Tai_Jutsu2_Actions)
set udg_trigger396=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger396,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger396,Condition(function Trig_housenka_re_Conditions))
call TriggerAddAction(udg_trigger396,function Trig_housenka_re_Actions)
set udg_trigger397=CreateTrigger()
call DisableTrigger(udg_trigger397)
call TriggerRegisterTimerEventPeriodic(udg_trigger397,0.01)
call TriggerAddAction(udg_trigger397,function Trig_housenka_re2_Actions)
set udg_trigger398=CreateTrigger()
call DisableTrigger(udg_trigger398)
call TriggerAddAction(udg_trigger398,function Trig_housenka_re3_Actions)
set udg_trigger399=CreateTrigger()
call DisableTrigger(udg_trigger399)
call TriggerRegisterPlayerChatEvent(udg_trigger399,Player(0),"-застрял",true)
call TriggerAddAction(udg_trigger399,function Trig_ZASTRIAL_Actions)
set udg_trigger400=CreateTrigger()
call DisableTrigger(udg_trigger400)
call TriggerRegisterPlayerChatEvent(udg_trigger400,Player(1),"-застрял",true)
call TriggerAddAction(udg_trigger400,function Trig_ZASTRIAL2_Actions)
set udg_trigger401=CreateTrigger()
call DisableTrigger(udg_trigger401)
call TriggerRegisterPlayerChatEvent(udg_trigger401,Player(2),"-застрял",true)
call TriggerAddAction(udg_trigger401,function Trig_ZASTRIAL3_Actions)
set udg_trigger402=CreateTrigger()
call DisableTrigger(udg_trigger402)
call TriggerRegisterPlayerChatEvent(udg_trigger402,Player(3),"-застрял",true)
call TriggerAddAction(udg_trigger402,function Trig_ZASTRIAL4_Actions)
set udg_trigger403=CreateTrigger()
call DisableTrigger(udg_trigger403)
call TriggerRegisterPlayerChatEvent(udg_trigger403,Player(4),"-застрял",true)
call TriggerAddAction(udg_trigger403,function Trig_ZASTRIAL5_Actions)
set udg_trigger404=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger404,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger404,Condition(function Trig_suriken_v_ogne_Conditions))
call TriggerAddAction(udg_trigger404,function Trig_suriken_v_ogne_Actions)
set udg_trigger405=CreateTrigger()
call DisableTrigger(udg_trigger405)
call TriggerRegisterTimerEventPeriodic(udg_trigger405,0.01)
call TriggerAddAction(udg_trigger405,function Trig_suriken_v_ogne2_Actions)
set udg_trigger406=CreateTrigger()
call TriggerAddAction(udg_trigger406,function Trig_Vibor_moda_Actions)
set udg_trigger407=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger407,Player(0),"-рпг",true)
call TriggerAddAction(udg_trigger407,function Trig_Vibor_moda2_Actions)
set udg_trigger408=CreateTrigger()
call TriggerRegisterPlayerChatEvent(udg_trigger408,Player(0),"-турнир",true)
call TriggerAddAction(udg_trigger408,function Trig_Vibor_moda3_Actions)
set udg_trigger409=CreateTrigger()
call DisableTrigger(udg_trigger409)
call TriggerAddAction(udg_trigger409,function Trig_Vibor_moda4_Actions)
set udg_trigger410=CreateTrigger()
call DisableTrigger(udg_trigger410)
call TriggerRegisterTimerEventPeriodic(udg_trigger410,0.03)
call TriggerAddAction(udg_trigger410,function Trig_Kontrol_Chakri1_Actions)
set udg_trigger411=CreateTrigger()
call DisableTrigger(udg_trigger411)
call TriggerRegisterTimerEventPeriodic(udg_trigger411,2.00)
call TriggerAddAction(udg_trigger411,function Trig_Kontrol_Chakri2_Actions)
set udg_trigger412=CreateTrigger()
call DisableTrigger(udg_trigger412)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger412,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger412,function Trig_Kontrol_Chakri3_Actions)
set udg_trigger413=CreateTrigger()
call DisableTrigger(udg_trigger413)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger413,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger413,function Trig_Kontrol_Chakri4_Actions)
set udg_trigger414=CreateTrigger()
call DisableTrigger(udg_trigger414)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger414,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger414,function Trig_Kontrol_Chakri5_Actions)
set udg_trigger415=CreateTrigger()
call DisableTrigger(udg_trigger415)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger415,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger415,function Trig_Kontrol_Chakri6_Actions)
set udg_trigger416=CreateTrigger()
call DisableTrigger(udg_trigger416)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger416,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger416,function Trig_Kontrol_Chakri7_Actions)
set udg_trigger417=CreateTrigger()
call DisableTrigger(udg_trigger417)
call TriggerRegisterTimerEventPeriodic(udg_trigger417,1.50)
call TriggerAddAction(udg_trigger417,function Trig_Kontrol_Chakri8_Actions)
set udg_trigger418=CreateTrigger()
call DisableTrigger(udg_trigger418)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger418,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger418,function Trig_Kontrol_Chakri9_Actions)
set udg_trigger419=CreateTrigger()
call DisableTrigger(udg_trigger419)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger419,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger419,function Trig_Kontrol_Chakri10_Actions)
set udg_trigger420=CreateTrigger()
call DisableTrigger(udg_trigger420)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger420,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger420,function Trig_Kontrol_Chakri11_Actions)
set udg_trigger421=CreateTrigger()
call DisableTrigger(udg_trigger421)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger421,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger421,function Trig_Kontrol_Chakri111_Actions)
set udg_trigger422=CreateTrigger()
call DisableTrigger(udg_trigger422)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger422,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger422,function Trig_Kontrol_Chakri11111_Actions)
set udg_trigger423=CreateTrigger()
call DisableTrigger(udg_trigger423)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger423,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger423,function Trig_Kontrol_Chakri1111_Actions)
set udg_trigger424=CreateTrigger()
call DisableTrigger(udg_trigger424)
call TriggerRegisterPlayerKeyEventBJ(udg_trigger424,Player(0),bj_KEYEVENTTYPE_RELEASE,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(udg_trigger424,function Trig_Kontrol_Chakri12_Actions)
set udg_trigger425=CreateTrigger()
call DisableTrigger(udg_trigger425)
call TriggerAddAction(udg_trigger425,function Trig_Kontrol_Chakri13_Actions)
set udg_trigger426=CreateTrigger()
call DisableTrigger(udg_trigger426)
call TriggerRegisterTimerEventPeriodic(udg_trigger426,0.01)
call TriggerAddAction(udg_trigger426,function Trig_STOP_iuniti_Actions)
set udg_trigger427=CreateTrigger()
call DisableTrigger(udg_trigger427)
call TriggerRegisterTimerEventPeriodic(udg_trigger427,0.01)
call TriggerAddAction(udg_trigger427,function Trig_STOP_iuniti2_Actions)
set udg_trigger428=CreateTrigger()
call DisableTrigger(udg_trigger428)
call TriggerRegisterTimerEventPeriodic(udg_trigger428,0.01)
call TriggerAddAction(udg_trigger428,function Trig_STOP_iuniti3_Actions)
set udg_trigger429=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger429,0.01)
call TriggerAddAction(udg_trigger429,function Trig_Mesheni_Actions)
set udg_trigger430=CreateTrigger()
call DisableTrigger(udg_trigger430)
call TriggerRegisterTimerEventPeriodic(udg_trigger430,0.01)
call TriggerAddAction(udg_trigger430,function Trig_Mesheni2_Actions)
set udg_trigger431=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger431,0.01)
call TriggerAddCondition(udg_trigger431,Condition(function Trig_Mesheni3_Conditions))
call TriggerAddAction(udg_trigger431,function Trig_Mesheni3_Actions)
set udg_trigger432=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger432,0.01)
call TriggerAddCondition(udg_trigger432,Condition(function Trig_Mesheni4_Conditions))
call TriggerAddAction(udg_trigger432,function Trig_Mesheni4_Actions)
set udg_trigger433=CreateTrigger()
call TriggerAddAction(udg_trigger433,function Trig_Mesheni5_Actions)
set udg_trigger434=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger434,0.10)
call TriggerAddAction(udg_trigger434,function Trig_Mesheni6_Actions)
set udg_trigger435=CreateTrigger()
call TriggerAddAction(udg_trigger435,function Trig_Mesheni7_Actions)
set udg_trigger436=CreateTrigger()
call DisableTrigger(udg_trigger436)
call TriggerAddAction(udg_trigger436,function Trig_Mesheni8_Actions)
set udg_trigger437=CreateTrigger()
call DisableTrigger(udg_trigger437)
call TriggerAddAction(udg_trigger437,function Trig_Mesheni9_Actions)
set udg_trigger438=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(udg_trigger438,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(udg_trigger438,Condition(function Trig_Mesheni10_Conditions))
call TriggerAddAction(udg_trigger438,function Trig_Mesheni10_Actions)
set udg_trigger439=CreateTrigger()
call DisableTrigger(udg_trigger439)
call TriggerRegisterTimerEventPeriodic(udg_trigger439,0.01)
call TriggerAddAction(udg_trigger439,function Trig_Senbon1_Actions)
set udg_trigger440=CreateTrigger()
call DisableTrigger(udg_trigger440)
call TriggerRegisterTimerEventPeriodic(udg_trigger440,0.01)
call TriggerAddCondition(udg_trigger440,Condition(function Trig_Senbon2_Conditions))
call TriggerAddAction(udg_trigger440,function Trig_Senbon2_Actions)
set udg_trigger441=CreateTrigger()
call DisableTrigger(udg_trigger441)
call TriggerAddAction(udg_trigger441,function Trig_TUR_Actions)
set udg_trigger442=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger442,0.20)
call TriggerAddCondition(udg_trigger442,Condition(function Trig_TUR2_Conditions))
call TriggerAddAction(udg_trigger442,function Trig_TUR2_Actions)
set udg_trigger443=CreateTrigger()
call DisableTrigger(udg_trigger443)
call TriggerRegisterTimerEventPeriodic(udg_trigger443,0.20)
call TriggerAddCondition(udg_trigger443,Condition(function Trig_TUR3_Conditions))
call TriggerAddAction(udg_trigger443,function Trig_TUR3_Actions)
set udg_trigger444=CreateTrigger()
call DisableTrigger(udg_trigger444)
call TriggerAddAction(udg_trigger444,function Trig_TUR4_Actions)
set udg_trigger445=CreateTrigger()
call DisableTrigger(udg_trigger445)
call TriggerRegisterTimerEventPeriodic(udg_trigger445,0.20)
call TriggerAddCondition(udg_trigger445,Condition(function Trig_TUR5_Conditions))
call TriggerAddAction(udg_trigger445,function Trig_TUR5_Actions)
set udg_trigger446=CreateTrigger()
call DisableTrigger(udg_trigger446)
call TriggerRegisterTimerEventPeriodic(udg_trigger446,0.20)
call TriggerAddCondition(udg_trigger446,Condition(function Trig_TUR6_Conditions))
call TriggerAddAction(udg_trigger446,function Trig_TUR6_Actions)
set udg_trigger447=CreateTrigger()
call DisableTrigger(udg_trigger447)
call TriggerAddAction(udg_trigger447,function Trig_TUR7_Actions)
set udg_trigger448=CreateTrigger()
call DisableTrigger(udg_trigger448)
call TriggerRegisterTimerEventPeriodic(udg_trigger448,0.20)
call TriggerAddCondition(udg_trigger448,Condition(function Trig_TUR8_Conditions))
call TriggerAddAction(udg_trigger448,function Trig_TUR8_Actions)
set udg_trigger449=CreateTrigger()
call DisableTrigger(udg_trigger449)
call TriggerRegisterTimerEventPeriodic(udg_trigger449,0.20)
call TriggerAddCondition(udg_trigger449,Condition(function Trig_TUR9_Conditions))
call TriggerAddAction(udg_trigger449,function Trig_TUR9_Actions)
set udg_trigger450=CreateTrigger()
call DisableTrigger(udg_trigger450)
call TriggerAddAction(udg_trigger450,function Trig_TUR10_Actions)
set udg_trigger451=CreateTrigger()
call DisableTrigger(udg_trigger451)
call TriggerRegisterTimerEventPeriodic(udg_trigger451,0.20)
call TriggerAddCondition(udg_trigger451,Condition(function Trig_TUR11_Conditions))
call TriggerAddAction(udg_trigger451,function Trig_TUR11_Actions)
set udg_trigger452=CreateTrigger()
call DisableTrigger(udg_trigger452)
call TriggerRegisterTimerEventPeriodic(udg_trigger452,0.20)
call TriggerAddCondition(udg_trigger452,Condition(function Trig_TUR12_Conditions))
call TriggerAddAction(udg_trigger452,function Trig_TUR12_Actions)
set udg_trigger453=CreateTrigger()
call DisableTrigger(udg_trigger453)
call TriggerAddAction(udg_trigger453,function Trig_TUR13_Actions)
set udg_trigger454=CreateTrigger()
call DisableTrigger(udg_trigger454)
call TriggerRegisterTimerEventPeriodic(udg_trigger454,0.20)
call TriggerAddCondition(udg_trigger454,Condition(function Trig_TUR14_Conditions))
call TriggerAddAction(udg_trigger454,function Trig_TUR14_Actions)
set udg_trigger455=CreateTrigger()
call DisableTrigger(udg_trigger455)
call TriggerRegisterTimerEventPeriodic(udg_trigger455,0.20)
call TriggerAddCondition(udg_trigger455,Condition(function Trig_TUR15_Conditions))
call TriggerAddAction(udg_trigger455,function Trig_TUR15_Actions)
set udg_trigger456=CreateTrigger()
call DisableTrigger(udg_trigger456)
call TriggerAddAction(udg_trigger456,function Trig_TUR16_Actions)
set udg_trigger457=CreateTrigger()
call DisableTrigger(udg_trigger457)
call TriggerRegisterTimerEventPeriodic(udg_trigger457,0.20)
call TriggerAddCondition(udg_trigger457,Condition(function Trig_TUR17_Conditions))
call TriggerAddAction(udg_trigger457,function Trig_TUR17_Actions)
set udg_trigger458=CreateTrigger()
call DisableTrigger(udg_trigger458)
call TriggerRegisterTimerEventPeriodic(udg_trigger458,0.20)
call TriggerAddCondition(udg_trigger458,Condition(function Trig_TUR18_Conditions))
call TriggerAddAction(udg_trigger458,function Trig_TUR18_Actions)
set udg_trigger459=CreateTrigger()
call DisableTrigger(udg_trigger459)
call TriggerAddAction(udg_trigger459,function Trig_TUR19_Actions)
set udg_trigger460=CreateTrigger()
call DisableTrigger(udg_trigger460)
call TriggerRegisterTimerEventPeriodic(udg_trigger460,0.20)
call TriggerAddCondition(udg_trigger460,Condition(function Trig_TUR21_Conditions))
call TriggerAddAction(udg_trigger460,function Trig_TUR21_Actions)
set udg_trigger461=CreateTrigger()
call DisableTrigger(udg_trigger461)
call TriggerRegisterTimerEventPeriodic(udg_trigger461,0.20)
call TriggerAddCondition(udg_trigger461,Condition(function Trig_TUR22_Conditions))
call TriggerAddAction(udg_trigger461,function Trig_TUR22_Actions)
set udg_trigger462=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger462,udg_unit35,EVENT_UNIT_DAMAGED)
call TriggerAddCondition(udg_trigger462,Condition(function Trig_Priminaet_Conditions))
call TriggerAddAction(udg_trigger462,function Trig_Priminaet_Actions)
set udg_trigger463=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger463,2.00)
call TriggerAddCondition(udg_trigger463,Condition(function Trig_Krip_na_arene_Conditions))
call TriggerAddAction(udg_trigger463,function Trig_Krip_na_arene_Actions)
set udg_trigger464=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger464,2.00)
call TriggerAddCondition(udg_trigger464,Condition(function Trig_Krip_na_arene2_Conditions))
call TriggerAddAction(udg_trigger464,function Trig_Krip_na_arene2_Actions)
set udg_trigger465=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger465,2.00)
call TriggerAddCondition(udg_trigger465,Condition(function Trig_Krip_na_arene3_Conditions))
call TriggerAddAction(udg_trigger465,function Trig_Krip_na_arene3_Actions)
call ConditionalTriggerExecute(udg_trigger15)
call ConditionalTriggerExecute(udg_trigger195)
call ConditionalTriggerExecute(udg_trigger370)
call ConditionalTriggerExecute(udg_trigger406)
call ConditionalTriggerExecute(udg_trigger433)
call ConditionalTriggerExecute(udg_trigger435)
endfunction
function InitTrig_init takes nothing returns nothing
call ExecuteFunc("main2")
endfunction