arena_lvl70.txt 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101
  1. //===== eAthena Script ========================================
  2. //= Izlude Arena lvl 70
  3. //===== By: ==================================================
  4. //= SinSloth
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= Any Athena Version
  9. //===== Description: =========================================
  10. //= Izlude Battle Arena Level 70
  11. //===== Additional Comments: =================================
  12. //= 1.0 First version.
  13. //= 1.1 Replaced effect numerics with constants. [Samuray22]
  14. //============================================================
  15. arena_room,52,42,7 script lvl 70s Waiting Room 124,{
  16. end;
  17. OnInit:
  18. waitingroom "Individual ; lvl 70 or higher",50,"lvl 70s Waiting Room::OnStartArena",1;
  19. enablewaitingroomevent;
  20. end;
  21. OnStartArena:
  22. enablenpc "ArenaFee#70";
  23. warpwaitingpc "force_3-1",99,12;
  24. donpcevent "arena#70::Onstart";
  25. disablewaitingroomevent;
  26. end;
  27. Onstart:
  28. enablewaitingroomevent;
  29. end;
  30. }
  31. force_3-1,99,12,1 script ArenaFee#70 139,1,1,{
  32. OnInit:
  33. disablenpc "ArenaFee#70";
  34. end;
  35. OnTouch:
  36. set Zeny,Zeny -1000;
  37. disablenpc "ArenaFee#70";
  38. end;
  39. }
  40. force_3-1,99,20,4 script Cadillac#arena 124,{
  41. end;
  42. OnInit:
  43. set $@mapcount70, 0;
  44. end;
  45. Onstart:
  46. initnpctimer;
  47. set $arena_min70st,gettime(2);
  48. set $arena_sec70st,gettime(1);
  49. end;
  50. OnTimer3000:
  51. mapannounce "force_3-1","Good day, my name is Cadillac, the guide of Time Force Battle for lvl 70s!",0;
  52. end;
  53. OnTimer4000:
  54. mapannounce "force_3-1","Remember your right decision will save a lot of your time!",0;
  55. end;
  56. OnTimer7000:
  57. mapannounce "force_3-1","In order to complete this battle course, you must start from the far left of this room to the clock wise direction. Please move to the far left side. You have 7 minutes from now.",0;
  58. end;
  59. OnTimer60000:
  60. set $@mapcount70, getmapusers ("force_3-1");
  61. if ($@mapcount70 == 0) {
  62. donpcevent "Cadillac#arena::Onfailclearstage";
  63. }
  64. mapannounce "force_3-1","Remaining Time : 6 minutes ",0;
  65. end;
  66. OnTimer120000:
  67. set $@mapcount70, getmapusers ("force_3-1");
  68. if ($@mapcount70 == 0) {
  69. donpcevent "Cadillac#arena::Onfailclearstage";
  70. }
  71. mapannounce "force_3-1","Remaining Time : 5 minutes ",0;
  72. end;
  73. OnTimer180000:
  74. set $@mapcount70, getmapusers ("force_3-1");
  75. if ($@mapcount70 == 0) {
  76. donpcevent "Cadillac#arena::Onfailclearstage";
  77. }
  78. mapannounce "force_3-1","Remaining Time : 4 minutes ",0;
  79. end;
  80. OnTimer240000:
  81. set $@mapcount70, getmapusers ("force_3-1");
  82. if ($@mapcount70 == 0) {
  83. donpcevent "Cadillac#arena::Onfailclearstage";
  84. }
  85. mapannounce "force_3-1","Remaining Time : 3 minutes ",0;
  86. end;
  87. OnTimer300000:
  88. set $@mapcount70, getmapusers ("force_3-1");
  89. if ($@mapcount70 == 0) {
  90. donpcevent "Cadillac#arena::Onfailclearstage";
  91. }
  92. mapannounce "force_3-1","Remaining Time : 2 minutes ",0;
  93. end;
  94. OnTimer360000:
  95. set $@mapcount70, getmapusers ("force_3-1");
  96. if ($@mapcount70 == 0) {
  97. donpcevent "Cadillac#arena::Onfailclearstage";
  98. }
  99. mapannounce "force_3-1","Remaining Time : 1 minute ",0;
  100. end;
  101. OnTimer420000:
  102. mapannounce "force_3-1","Your time is over. I hope you had a good time~",0;
  103. end;
  104. OnTimer425000:
  105. OnTimer426000:
  106. OnTimer427000:
  107. OnTimer428000:
  108. OnTimer429000:
  109. OnTimer430000:
  110. OnTimer431000:
  111. OnTimer432000:
  112. OnTimer433000:
  113. OnTimer434000:
  114. mapwarp "force_3-1","prt_are_in",126,87,0,0;
  115. end;
  116. OnTimer435000:
  117. mapwarp "force_3-1","prt_are_in",126,87,0,0;
  118. donpcevent "Cadillac#arena::Onfailclearstage";
  119. end;
  120. Ontimeroff:
  121. stopnpctimer;
  122. end;
  123. Onfailclearstage:
  124. donpcevent "cast#70::Ontimeover1";
  125. mapwarp "force_3-1","prt_are_in",126,87,0,0;
  126. donpcevent "Cadillac#arena::Ontimeroff";
  127. donpcevent "arena#70::Onreset_all";
  128. donpcevent "alloff#70::Onon";
  129. donpcevent "lvl 70s Waiting Room::Onstart";
  130. end;
  131. On01_start:
  132. mapannounce "force_3-1","In order to clear this battle, you must kill all Kobolds!",0;
  133. end;
  134. On01_end:
  135. mapannounce "force_3-1","A door to the north room has opened!",0;
  136. end;
  137. On02_start:
  138. mapannounce "force_3-1","In order to clear this battle, you must kill all Horongs and escape!",0;
  139. end;
  140. On02_end:
  141. mapannounce "force_3-1","A door to the north room has opened!",0;
  142. end;
  143. On03_start:
  144. mapannounce "force_3-1","In order to clear this battle, you must kill all monsters except Enchanted Peach Trees!",0;
  145. end;
  146. On03_end:
  147. mapannounce "force_3-1","Clear! A door to the east room has opened!",0;
  148. end;
  149. On04_start:
  150. mapannounce "force_3-1","In order to clear this battle, you must kill all Stem Worms while dodging Bathories!",0;
  151. end;
  152. On04_end:
  153. mapannounce "force_3-1","A door to the east room has opened!",0;
  154. end;
  155. On05_start:
  156. mapannounce "force_3-1","In order to clear this battle, you must kill all Argiopes!",0;
  157. end;
  158. On05_end:
  159. mapannounce "force_3-1","Clear! A door to the south room has opened!",0;
  160. end;
  161. On06_start:
  162. mapannounce "force_3-1","In order to clear this battle, you must kill all Hammer Goblins!",0;
  163. end;
  164. On06_end:
  165. mapannounce "force_3-1","A door to the south room has opened!",0;
  166. end;
  167. On07_start:
  168. mapannounce "force_3-1","In order to clear this battle, you must kill an Alice in the center!",0;
  169. end;
  170. On07_end:
  171. mapannounce "force_3-1","Clear! A door to the west room has opened!",0;
  172. end;
  173. On08_start:
  174. mapannounce "force_3-1","Please escape to the north exit!",0;
  175. end;
  176. On09_start:
  177. mapannounce "force_3-1","In order to clear this battle, you must kill a Kobold Leader and all Kobolds!",0;
  178. end;
  179. On09_end:
  180. mapannounce "force_3-1","Boss Clear! - A door at the north has opened. Thank you. ",0;
  181. end;
  182. }
  183. force_3-1,10,56,4 script arena#70 139,{
  184. Onreset_01:
  185. donpcevent "force_01ex#70::Onreset";
  186. donpcevent "force_02start#70::Onon";
  187. enablenpc "force_01_02#70";
  188. end;
  189. Onreset_02:
  190. donpcevent "force_02ex#70::Onreset";
  191. donpcevent "force_03start#70::Onon";
  192. enablenpc "force_02_03#70";
  193. end;
  194. Onreset_03:
  195. enablenpc "force_03_04#70";
  196. donpcevent "force_04start#70::Onon";
  197. donpcevent "force_03ex#70::Onreset";
  198. end;
  199. Onreset_04:
  200. enablenpc "force_04_05#70";
  201. donpcevent "force_05start#70::Onon";
  202. donpcevent "force_04ex#70::Onreset";
  203. end;
  204. Onreset_05:
  205. enablenpc "force_05_06#70";
  206. donpcevent "force_06start#70::Onon";
  207. donpcevent "force_05ex#70::Onreset";
  208. end;
  209. Onreset_06:
  210. enablenpc "force_06_07#70";
  211. donpcevent "force_07start#70::Onon";
  212. donpcevent "force_06ex#70::Onreset";
  213. end;
  214. Onreset_07:
  215. enablenpc "force_07_08#70";
  216. donpcevent "force_07ex#70::Onreset";
  217. donpcevent "force_08start#70::Onon";
  218. end;
  219. Onreset_08:
  220. donpcevent "force_09start#70::Onon";
  221. enablenpc "force_08_09#70";
  222. end;
  223. Onreset_09:
  224. enablenpc "force_exit#70";
  225. end;
  226. Onstart:
  227. disablenpc "force_01_02#70";
  228. disablenpc "force_02_03#70";
  229. disablenpc "force_03_04#70";
  230. disablenpc "force_04_05#70";
  231. disablenpc "force_05_06#70";
  232. disablenpc "force_06_07#70";
  233. disablenpc "force_07_08#70";
  234. disablenpc "force_08_09#70";
  235. disablenpc "force_exit#70";
  236. donpcevent "Cadillac#arena::Ontimeroff";
  237. donpcevent "force_09mob#70::Ontimeroff";
  238. donpcevent "force_01mob#70::Onreset";
  239. donpcevent "force_02mob#70::Onreset";
  240. donpcevent "force_03mob#70::Onreset";
  241. donpcevent "force_04mob#70::Onreset";
  242. donpcevent "force_05mob#70::Onreset";
  243. donpcevent "force_06mob#70::Onreset";
  244. donpcevent "force_07mob#70::Onreset";
  245. donpcevent "force_08mob#70::Onreset";
  246. donpcevent "force_09mob#70::Onreset";
  247. donpcevent "force_01ex#70::Onreset";
  248. donpcevent "force_02ex#70::Onreset";
  249. donpcevent "force_03ex#70::Onreset";
  250. donpcevent "force_04ex#70::Onreset";
  251. donpcevent "force_05ex#70::Onreset";
  252. donpcevent "force_06ex#70::Onreset";
  253. donpcevent "force_07ex#70::Onreset";
  254. donpcevent "force_08ex#70::Onreset";
  255. donpcevent "force_09ex#70::Onreset";
  256. enablenpc "force_08_01#70";
  257. donpcevent "force_01start#70::Onon";
  258. donpcevent "Cadillac#arena::Onstart";
  259. end;
  260. Onreset_all:
  261. donpcevent "force_01mob#70::Onreset";
  262. donpcevent "force_02mob#70::Onreset";
  263. donpcevent "force_03mob#70::Onreset";
  264. donpcevent "force_04mob#70::Onreset";
  265. donpcevent "force_05mob#70::Onreset";
  266. donpcevent "force_06mob#70::Onreset";
  267. donpcevent "force_07mob#70::Onreset";
  268. donpcevent "force_09mob#70::Onreset";
  269. donpcevent "force_01ex#70::Onreset";
  270. donpcevent "force_02ex#70::Onreset";
  271. donpcevent "force_03ex#70::Onreset";
  272. donpcevent "force_04ex#70::Onreset";
  273. donpcevent "force_05ex#70::Onreset";
  274. donpcevent "force_06ex#70::Onreset";
  275. donpcevent "force_07ex#70::Onreset";
  276. donpcevent "force_08ex#70::Onreset";
  277. donpcevent "force_09ex#70::Onreset";
  278. end;
  279. }
  280. force_3-1,62,26,1 script force_08_01#70 45,1,1,{
  281. OnTouch:
  282. donpcevent "Cadillac#arena::On01_start";
  283. warp "force_3-1",40,26;
  284. end;
  285. }
  286. force_3-1,25,44,1 script force_01_02#70 45,1,1,{
  287. OnTouch:
  288. donpcevent "Cadillac#arena::On02_start";
  289. warp "force_3-1",25,69;
  290. end;
  291. }
  292. force_3-1,25,134,1 script force_02_03#70 45,1,1,{
  293. OnTouch:
  294. donpcevent "Cadillac#arena::On03_start";
  295. warp "force_3-1",25,159;
  296. end;
  297. }
  298. force_3-1,44,174,1 script force_03_04#70 45,1,1,{
  299. OnTouch:
  300. donpcevent "Cadillac#arena::On04_start";
  301. warp "force_3-1",69,174;
  302. end;
  303. }
  304. force_3-1,134,174,1 script force_04_05#70 45,1,1,{
  305. OnTouch:
  306. donpcevent "Cadillac#arena::On05_start";
  307. warp "force_3-1",159,174;
  308. end;
  309. }
  310. force_3-1,174,155,1 script force_05_06#70 45,1,1,{
  311. OnTouch:
  312. donpcevent "Cadillac#arena::On06_start";
  313. warp "force_3-1",174,130;
  314. end;
  315. }
  316. force_3-1,174,65,1 script force_06_07#70 45,1,1,{
  317. OnTouch:
  318. donpcevent "Cadillac#arena::On07_start";
  319. warp "force_3-1",174,40;
  320. end;
  321. }
  322. force_3-1,155,26,1 script force_07_08#70 45,1,1,{
  323. OnTouch:
  324. donpcevent "Cadillac#arena::On08_start";
  325. warp "force_3-1",132,26;
  326. enablenpc "force_08_09#70";
  327. end;
  328. }
  329. force_3-1,99,54,1 script force_08_09#70 45,1,1,{
  330. OnTouch:
  331. donpcevent "Cadillac#arena::On09_start";
  332. warp "force_3-1",99,82;
  333. end;
  334. }
  335. force_3-1,99,124,1 script force_exit#70 45,1,1,{
  336. OnTouch:
  337. donpcevent "Cadillac#arena::Ontimeroff";
  338. donpcevent "#arn_timer_70::Onon";
  339. mapwarp "force_3-1","prt_are_in",22,87,0,0;
  340. end;
  341. }
  342. force_3-1,1,1,1 script force_01start#70 -1,{
  343. Onon:
  344. donpcevent "force_01mob#70::Onon";
  345. end;
  346. }
  347. force_3-1,10,56,4 script force_01mob#70 139,{
  348. Onon:
  349. monster "force_3-1",25,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath";
  350. monster "force_3-1",20,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath";
  351. monster "force_3-1",25,20,"Kobold",1546,1,"force_01mob#70::OnMobDeath";
  352. monster "force_3-1",30,36,"Kobold",1547,1,"force_01mob#70::OnMobDeath";
  353. monster "force_3-1",28,15,"Kobold",1547,1,"force_01mob#70::OnMobDeath";
  354. set $force_01_70,5;
  355. end;
  356. Onreset:
  357. killmonster "force_3-1","force_01mob#70::OnMobDeath";
  358. end;
  359. OnMobDeath:
  360. set $force_01_70,$force_01_70 -1;
  361. if ($force_01_70 < 1) {
  362. donpcevent "Cadillac#arena::On01_end";
  363. donpcevent "arena#70::Onreset_01";
  364. }
  365. end;
  366. }
  367. force_3-1,1,1,1 script force_02start#70 -1,{
  368. Onon:
  369. donpcevent "force_02mob#70::Onon";
  370. end;
  371. }
  372. force_3-1,10,56,4 script force_02ex#70 139,{
  373. Onreset:
  374. killmonster "force_3-1","force_02ex#70::OnMobEx";
  375. end;
  376. Onsummonmob2:
  377. monster "force_3-1",21,78,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
  378. monster "force_3-1",22,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
  379. monster "force_3-1",29,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx";
  380. monster "force_3-1",25,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
  381. monster "force_3-1",26,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
  382. monster "force_3-1",27,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
  383. monster "force_3-1",28,101,"Mummy",1393,1,"force_02ex#70::OnMobEx";
  384. monster "force_3-1",24,104,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
  385. monster "force_3-1",24,113,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
  386. monster "force_3-1",29,120,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
  387. monster "force_3-1",29,126,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
  388. monster "force_3-1",30,110,"Ghoul",1423,1,"force_02ex#70::OnMobEx";
  389. end;
  390. OnMobEx:
  391. end;
  392. }
  393. force_3-1,10,56,4 script force_02mob#70 139,{
  394. Onreset:
  395. killmonster "force_3-1","force_02mob#70::OnMobDeath";
  396. end;
  397. Onon:
  398. monster "force_3-1",25,79,"Horong",1578,1,"force_02mob#70::OnMobDeath";
  399. monster "force_3-1",29,114,"Horong",1578,1,"force_02mob#70::OnMobDeath";
  400. donpcevent "force_02ex#70::Onsummonmob2";
  401. set $force_02_70,2;
  402. end;
  403. OnMobDeath:
  404. set $force_02_70,$force_02_70 -1;
  405. if ($force_02_70 < 1) {
  406. donpcevent "Cadillac#arena::On02_end";
  407. donpcevent "arena#70::Onreset_02";
  408. }
  409. end;
  410. }
  411. force_3-1,1,1,1 script force_03start#70 -1,{
  412. Onon:
  413. donpcevent "force_03mob#70::Onon";
  414. end;
  415. }
  416. force_3-1,10,56,4 script force_03ex#70 139,{
  417. Onreset:
  418. killmonster "force_3-1","force_03ex#70::OnMobEx";
  419. end;
  420. Onsummonmob_03:
  421. monster "force_3-1",10,170,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx";
  422. monster "force_3-1",26,180,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx";
  423. end;
  424. OnMobEx:
  425. end;
  426. }
  427. force_3-1,20,56,4 script force_03mob#70 139,{
  428. Onon:
  429. donpcevent "force_03ex#70::Onsummonmob_03";
  430. monster "force_3-1",23,174,"Parasite",1555,1,"force_03mob#70::OnMobDeath";
  431. monster "force_3-1",33,173,"Parasite",1555,1,"force_03mob#70::OnMobDeath";
  432. monster "force_3-1",26,166,"Blood Butterfly",1526,1,"force_03mob#70::OnMobDeath";
  433. set $force_03_70,3;
  434. end;
  435. Onreset:
  436. killmonster "force_3-1","force_03mob#70::OnMobDeath";
  437. end;
  438. OnMobDeath:
  439. set $force_03_70,$force_03_70 -1;
  440. donpcevent "force_03ex#70::Onsummonmob_03";
  441. if ($force_03_70 < 1) {
  442. donpcevent "Cadillac#arena::On03_end";
  443. donpcevent "arena#70::Onreset_03";
  444. }
  445. end;
  446. }
  447. force_3-1,1,1,1 script force_04start#70 -1,{
  448. Onon:
  449. donpcevent "force_04mob#70::Onon";
  450. end;
  451. }
  452. force_3-1,10,56,4 script force_04ex#70 139,{
  453. Onreset:
  454. killmonster "force_3-1","force_04ex#70::OnMobEx";
  455. end;
  456. Onsummonmob_04:
  457. monster "force_3-1",94,179,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  458. monster "force_3-1",110,179,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  459. monster "force_3-1",90,170,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  460. monster "force_3-1",100,170,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  461. monster "force_3-1",125,178,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  462. monster "force_3-1",125,169,"Bathory",1525,1,"force_04ex#70::OnMobEx";
  463. end;
  464. OnMobEx:
  465. end;
  466. }
  467. force_3-1,22,56,4 script force_04mob#70 139,{
  468. Onon:
  469. donpcevent "force_04ex#70::Onsummonmob_04";
  470. monster "force_3-1",87,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
  471. monster "force_3-1",103,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
  472. monster "force_3-1",96,170,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath";
  473. set $force_04_70,3;
  474. end;
  475. Onreset:
  476. killmonster "force_3-1","force_04mob#70::OnMobDeath";
  477. end;
  478. OnMobDeath:
  479. set $force_04_70,$force_04_70 -1;
  480. if ($force_04_70 < 1) {
  481. donpcevent "Cadillac#arena::On04_end";
  482. donpcevent "arena#70::Onreset_04";
  483. }
  484. end;
  485. }
  486. force_3-1,1,1,1 script force_05start#70 -1,{
  487. Onon:
  488. donpcevent "force_05mob#70::Onon";
  489. end;
  490. }
  491. force_3-1,10,56,4 script force_05ex#70 139,{
  492. Onreset:
  493. killmonster "force_3-1","force_05ex#70::OnMobEx";
  494. end;
  495. Onsummonmob_05:
  496. set $@randmonster70,rand(1,2);
  497. switch($@randmonster70) {
  498. case 1:
  499. monster "force_3-1",174,174,"Ride Word",1478,1,"force_05ex#70::OnMobEx";
  500. break;
  501. case 2:
  502. monster "force_3-1",173,173,"Mantis",1457,1,"force_05ex#70::OnMobEx";
  503. break;
  504. }
  505. end;
  506. OnMobEx:
  507. end;
  508. }
  509. force_3-1,24,56,4 script force_05mob#70 139,{
  510. Onon:
  511. monster "force_3-1",164,183,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
  512. monster "force_3-1",168,158,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
  513. monster "force_3-1",175,174,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
  514. monster "force_3-1",176,179,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
  515. monster "force_3-1",183,160,"Argiope",1429,1,"force_05mob#70::OnMobDeath";
  516. set $force_05_70,5;
  517. end;
  518. Onreset:
  519. killmonster "force_3-1","force_05mob#70::OnMobDeath";
  520. end;
  521. OnMobDeath:
  522. set $force_05_70,$force_05_70 -1;
  523. if ($force_05_70 < 1) {
  524. donpcevent "Cadillac#arena::On05_end";
  525. donpcevent "arena#70::Onreset_05";
  526. }
  527. else donpcevent "force_05ex#70::Onsummonmob_05";
  528. end;
  529. }
  530. force_3-1,1,1,1 script force_06start#70 -1,{
  531. Onon:
  532. donpcevent "force_06mob#70::Onon";
  533. end;
  534. }
  535. force_3-1,10,56,4 script force_06ex#70 139,{
  536. Onreset:
  537. killmonster "force_3-1","force_06ex#70::OnMobEx";
  538. end;
  539. Onsummonmob_06:
  540. monster "force_3-1",176,99,"Goblin",1534,1,"force_06ex#70::OnMobEx";
  541. monster "force_3-1",170,86,"Goblin",1535,1,"force_06ex#70::OnMobEx";
  542. monster "force_3-1",176,97,"Goblin",1535,1,"force_06ex#70::OnMobEx";
  543. monster "force_3-1",170,108,"Goblin",1535,1,"force_06ex#70::OnMobEx";
  544. monster "force_3-1",176,112,"Goblin",1536,1,"force_06ex#70::OnMobEx";
  545. monster "force_3-1",173,120,"Goblin",1536,1,"force_06ex#70::OnMobEx";
  546. monster "force_3-1",177,74,"Goblin",1536,1,"force_06ex#70::OnMobEx";
  547. monster "force_3-1",173,118,"Goblin",1538,1,"force_06ex#70::OnMobEx";
  548. monster "force_3-1",171,101,"Goblin",1538,1,"force_06ex#70::OnMobEx";
  549. monster "force_3-1",174,118,"Goblin",1538,1,"force_06ex#70::OnMobEx";
  550. end;
  551. OnMobEx:
  552. end;
  553. }
  554. force_3-1,18,56,4 script force_06mob#70 139,{
  555. Onon:
  556. donpcevent "force_06ex#70::Onsummonmob_06";
  557. monster "force_3-1",173,90,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
  558. monster "force_3-1",173,79,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
  559. monster "force_3-1",172,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
  560. monster "force_3-1",175,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
  561. monster "force_3-1",171,118,"Goblin",1537,1,"force_06mob#70::OnMobDeath";
  562. set $force_06_70,5;
  563. end;
  564. Onreset:
  565. killmonster "force_3-1","force_06mob#70::OnMobDeath";
  566. end;
  567. OnMobDeath:
  568. set $force_06_70,$force_06_70 -1;
  569. if ($force_06_70 < 1) {
  570. donpcevent "Cadillac#arena::On06_end";
  571. donpcevent "arena#70::Onreset_06";
  572. }
  573. end;
  574. }
  575. force_3-1,1,1,1 script force_07start#70 -1,{
  576. Onon:
  577. donpcevent "force_07mob#70::Onon";
  578. end;
  579. }
  580. force_3-1,12,56,4 script force_07ex#70 139,{
  581. Onreset:
  582. killmonster "force_3-1","force_07ex#70::OnMobEx";
  583. end;
  584. Onsummonmob_07:
  585. monster "force_3-1",168,26,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
  586. monster "force_3-1",186,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
  587. monster "force_3-1",160,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
  588. monster "force_3-1",188,33,"Nightmare",1427,1,"force_07ex#70::OnMobEx";
  589. monster "force_3-1",174,13,"Raydric",1453,1,"force_07ex#70::OnMobEx";
  590. monster "force_3-1",163,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  591. monster "force_3-1",164,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  592. monster "force_3-1",163,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  593. monster "force_3-1",164,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  594. monster "force_3-1",187,13,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  595. monster "force_3-1",187,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  596. monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  597. monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx";
  598. OnMobEx:
  599. end;
  600. }
  601. force_3-1,18,56,4 script force_07mob#70 139,{
  602. Onon:
  603. donpcevent "force_07ex#70::Onsummonmob_07";
  604. monster "force_3-1",174,25,"Alice",1521,1,"force_07mob#70::OnMobDeath";
  605. set $force_07_70,1;
  606. end;
  607. Onreset:
  608. killmonster "force_3-1","force_07mob#70::OnMobDeath";
  609. end;
  610. OnMobDeath:
  611. set $force_07_70,$force_07_70 -1;
  612. if ($force_07_70 < 1) {
  613. donpcevent "Cadillac#arena::On07_end";
  614. donpcevent "arena#70::Onreset_07";
  615. }
  616. end;
  617. }
  618. force_3-1,1,1,1 script force_08start#70 -1,{
  619. Onon:
  620. donpcevent "force_08ex#70::Onon";
  621. end;
  622. }
  623. force_3-1,18,56,4 script force_08ex#70 139,{
  624. Onon:
  625. donpcevent "arena#70::Onreset_08";
  626. end;
  627. }
  628. force_3-1,1,1,1 script force_09start#70 -1,{
  629. Onon:
  630. donpcevent "force_09mob#70::Onon";
  631. end;
  632. }
  633. force_3-1,10,56,4 script force_09ex#70 139,{
  634. Onreset:
  635. killmonster "force_3-1","force_09ex#70::OnMobEx";
  636. end;
  637. Onsummonmob_09:
  638. monster "force_3-1",93,100,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  639. monster "force_3-1",94,100,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  640. monster "force_3-1",93,99,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  641. monster "force_3-1",85,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  642. monster "force_3-1",87,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  643. monster "force_3-1",89,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  644. monster "force_3-1",91,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  645. monster "force_3-1",93,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  646. monster "force_3-1",95,114,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  647. monster "force_3-1",85,112,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  648. monster "force_3-1",85,110,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  649. monster "force_3-1",85,108,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  650. monster "force_3-1",85,106,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  651. monster "force_3-1",85,104,"Familiar",1419,1,"force_09ex#70::OnMobEx";
  652. end;
  653. OnMobEx:
  654. end;
  655. }
  656. force_3-1,16,56,4 script force_09mob#70 139,{
  657. Onon:
  658. monster "force_3-1",99,99,"Kobold Leader",1548,1,"force_09mob#70::OnMobDeath";
  659. monster "force_3-1",98,99,"Kobold",1545,1,"force_09mob#70::OnMobDeath";
  660. monster "force_3-1",100,99,"Kobold",1546,1,"force_09mob#70::OnMobDeath";
  661. monster "force_3-1",99,98,"Kobold",1547,1,"force_09mob#70::OnMobDeath";
  662. donpcevent "force_09ex#70::Onsummonmob_09";
  663. set $force_09_70,4;
  664. end;
  665. Onreset:
  666. killmonster "force_3-1","force_09mob#70::OnMobDeath";
  667. end;
  668. OnMobDeath:
  669. set $force_09_70,$force_09_70 -1;
  670. if ($force_09_70 < 1) {
  671. donpcevent "Cadillac#arena::On09_end";
  672. donpcevent "arena#70::Onreset_09";
  673. donpcevent "arena#70::Onreset_all";
  674. set $arena_min70end,gettime(2);
  675. set $arena_sec70end,gettime(1);
  676. }
  677. end;
  678. }
  679. prt_are_in,129,83,3 script Staff#70-1 67,{
  680. mes "[Staff]";
  681. mes "You did a good job.";
  682. mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
  683. next;
  684. if (arena_point == 30000) {
  685. mes "[Staff]";
  686. mes "Uh huh!";
  687. mes "You already have enough arena points.";
  688. mes "Please spend some arena points later. When I see you next time, I will make sure to give you some reward.";
  689. next;
  690. }
  691. else set arena_point, arena_point + 1;
  692. mes "[Staff]";
  693. mes "Let me guide you outside. I hope you had a good time.";
  694. close2;
  695. specialeffect2 EF_EXIT;
  696. warp "arena_room",100,75;
  697. end;
  698. }
  699. prt_are_in,25,84,3 script Staff#70-2 67,{
  700. if($arena_min70end < $arena_min70st)
  701. {
  702. if($arena_sec70end < $arena_sec70st)
  703. {
  704. set @record_min70,60 - $arena_min70st + $arena_min70end -1;
  705. set @record_sec70,60 - $arena_sec70st + $arena_sec70end;
  706. }
  707. else
  708. {
  709. set @record_min70,60 - $arena_min70st + $arena_min70end;
  710. set @record_sec70,$arena_sec70end - $arena_sec70st;
  711. }
  712. }
  713. else
  714. {
  715. if($arena_sec70end < $arena_sec70st)
  716. {
  717. set @record_min70,$arena_min70end - $arena_min70st -1;
  718. set @record_sec70,60 - $arena_sec70st + $arena_sec70end;
  719. }
  720. else
  721. {
  722. set @record_min70,$arena_min70end - $arena_min70st;
  723. set @record_sec70,$arena_sec70end - $arena_sec70st;
  724. }
  725. }
  726. set @gap70,(60 * $top_70min + $top_70sec) - (60 * @record_min70 + @record_sec70);
  727. mes "[Staff]";
  728. mes "Wow, you did a good job~ ";
  729. mes "Your name is...^3131FF" + strcharinfo(0) +"^000000, isn't it?";
  730. mes "^3131FF"+ strcharinfo(0) +"^000000, total time you spent to pass the battle..";
  731. next;
  732. mes "[Staff]";
  733. mes "is "+@record_min70+"minutes "+@record_sec70+"seconds.";
  734. mes "Congratulations!";
  735. next;
  736. mes "[Staff]";
  737. mes "The fastest player among people who cleared lvl 70s arena time force battle is ^3131FF"+$arena_70topn$+"^000000.";
  738. next;
  739. mes "[Staff]";
  740. mes "^3131FF"+$arena_70topn$+"^000000's running time was ^3131FF"+$top_70min+"^000000minutes ^3131FF"+$top_70sec+"^000000seconds.";
  741. next;
  742. if (@gap70 < 0) {
  743. mes "[Staff]";
  744. mes "Although you failed to make a new record, I hope you will succeed next time.";
  745. next;
  746. if (arena_point > 29980) {
  747. mes "[Staff]";
  748. mes "Then let me reward you with some arena points....eh?";
  749. mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
  750. next;
  751. mes "[Staff]";
  752. mes "You can check the amount of arena points you have in the arena waiting room.";
  753. next;
  754. mes "[Staff]";
  755. mes "I hope you had a good time and let me guide you to the entrance of arena.";
  756. mes "Thank you.";
  757. close2;
  758. }
  759. else
  760. {
  761. set arena_point, arena_point + 20;
  762. mes "[Staff]";
  763. mes "Let me reward you some arena points.";
  764. mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
  765. next;
  766. mes "[Staff]";
  767. mes "Let me guide you to the entrance of arena.";
  768. mes "See you later~";
  769. close2;
  770. }
  771. specialeffect2 EF_EXIT;
  772. donpcevent "cast#70::Onnomal1";
  773. warp "arena_room",100,75;
  774. donpcevent "#arn_timer_70::Onstop";
  775. donpcevent "alloff#70::Onon";
  776. donpcevent "lvl 70s Waiting Room::Onstart";
  777. end;
  778. }
  779. else
  780. {
  781. emotion e_omg;
  782. mes "[Staff]";
  783. mes "Wow! You have renewed the record!";
  784. mes "What a great job!";
  785. next;
  786. mes "[Staff]";
  787. mes "You have been recorded as the fastest player among people who cleared ^FF0000Arena Time Force Battle lvl 70s^000000, ^3131FF"+strcharinfo(0)+"^000000.";
  788. set $top_70min, @record_min70;
  789. set $top_70sec, @record_sec70;
  790. set $arena_70topn$,strcharinfo(0);
  791. donpcevent "Vendigos::Onlinerec_70";
  792. next;
  793. if (arena_point > 29970) {
  794. mes "[Staff]";
  795. mes "Then let me reward you with some arena points....eh?";
  796. mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
  797. next;
  798. mes "[Staff]";
  799. mes "You can check the amount of arena points you have in the arena waiting room.";
  800. next;
  801. mes "[Staff]";
  802. mes "I hope you had a good time and let me guide you to the entrance of arena.";
  803. mes "Thank you.";
  804. close2;
  805. }
  806. else
  807. {
  808. mes "[Staff]";
  809. mes "Let me reward you with some arena points.";
  810. mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time.";
  811. next;
  812. set arena_point, arena_point + 50;
  813. mes "[Staff]";
  814. mes "Let me reward you some arena points.";
  815. mes "If you wish to check the amount of arena points you have, please go talk to ^3131FFVendigos^000000 at the arena entrance.";
  816. next;
  817. mes "[Staff]";
  818. mes "Let me guide you to the entrance of arena.";
  819. mes "See you later~";
  820. close2;
  821. }
  822. specialeffect2 EF_HIT5;
  823. donpcevent "cast#70::Onnomal2";
  824. warp "arena_room",100,75;
  825. donpcevent "#arn_timer_70::Onstop";
  826. donpcevent "alloff#70::Onon";
  827. donpcevent "lvl 70s Waiting Room::Onstart";
  828. end;
  829. }
  830. }
  831. prt_are_in,14,195,3 script #arn_timer_70 139,{
  832. Onon:
  833. initnpctimer;
  834. end;
  835. OnTimer2000:
  836. mapannounce "prt_are_in","This broadcast informs you about the restriction for arena lvl 70s.",0,0xFFCE00;
  837. end;
  838. OnTimer3000:
  839. mapannounce "prt_are_in","For a smooth game play, exit warp portal will be activated in 1 minute.",0,0xFFCE00;
  840. end;
  841. OnTimer4000:
  842. mapannounce "prt_are_in","Please proceed your battle quickly as possible in order to avoid disadvantage. Thank you for your cooperation.",0,0xFFCE00;
  843. end;
  844. OnTimer60000:
  845. donpcevent "cast#70::Ontimeover2";
  846. donpcevent "arn_warp_70::Onout";
  847. donpcevent "#arn_timer_70::Onstop";
  848. donpcevent "alloff#70::Onon";
  849. donpcevent "lvl 70s Waiting Room::Onstart";
  850. end;
  851. Onstop:
  852. stopnpctimer;
  853. end;
  854. }
  855. prt_are_in,1,1,1 script arn_warp_70 -1,{
  856. Onout:
  857. areawarp "prt_are_in",22,183,20,20,"arena_room",100,75;
  858. end;
  859. }
  860. force_3-1,10,55,4 script cast#70 139,{
  861. Ontimeover1:
  862. mapannounce "force_3-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00;
  863. end;
  864. Ontimeover2:
  865. mapannounce "force_3-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00;
  866. end;
  867. Onnomal1:
  868. mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00;
  869. end;
  870. Onnomal2:
  871. mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00;
  872. end;
  873. }
  874. force_3-1,100,60,3 script alloff#70 139,{
  875. Onon:
  876. mapwarp "force_3-1","prt_are_in",126,190,0,0;
  877. donpcevent "force_01mob#70::Onreset";
  878. donpcevent "force_02mob#70::Onreset";
  879. donpcevent "force_03mob#70::Onreset";
  880. donpcevent "force_04mob#70::Onreset";
  881. donpcevent "force_05mob#70::Onreset";
  882. donpcevent "force_06mob#70::Onreset";
  883. donpcevent "force_07mob#70::Onreset";
  884. donpcevent "force_08mob#70::Onreset";
  885. donpcevent "force_09mob#70::Onreset";
  886. donpcevent "force_01ex#70::Onreset";
  887. donpcevent "force_02ex#70::Onreset";
  888. donpcevent "force_03ex#70::Onreset";
  889. donpcevent "force_04ex#70::Onreset";
  890. donpcevent "force_05ex#70::Onreset";
  891. donpcevent "force_06ex#70::Onreset";
  892. donpcevent "force_07ex#70::Onreset";
  893. donpcevent "force_08ex#70::Onreset";
  894. donpcevent "force_09ex#70::Onreset";
  895. donpcevent "Cadillac#arena::Ontimeroff";
  896. disablenpc "Cadillac#arena";
  897. disablenpc "force_01_02#70";
  898. disablenpc "force_02_03#70";
  899. disablenpc "force_03_04#70";
  900. disablenpc "force_04_05#70";
  901. disablenpc "force_05_06#70";
  902. disablenpc "force_06_07#70";
  903. disablenpc "force_07_08#70";
  904. disablenpc "force_08_09#70";
  905. disablenpc "force_exit#70";
  906. disablenpc "arena#70";
  907. donpcevent "#arn_timer_70::Onstop";
  908. enablenpc "Cadillac#arena";
  909. enablenpc "arena#70";
  910. end;
  911. OnInit:
  912. if(!$top_70min && !$top_70sec) set $top_70min,7;
  913. end;
  914. }