lhz_dun_re.txt 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //===== rAthena Script =======================================
  2. //= Lighthalzen Dungeon(Biolabs) Monster Spawn Script
  3. //===== By: ==================================================
  4. // The Prometheus Project, rAthena dev team
  5. //===== Current Version: =====================================
  6. //= 1.9
  7. //===== Compatible With: =====================================
  8. //= Any Athena
  9. //===== Additional Comments: =================================
  10. //= 08/24/05 : Added 1st version. [Muad_Dib]
  11. //= 1.1: Some corrections to level 1, 2 as pointed out by
  12. //= MasterofMuppets. [Skotlex]
  13. //= 1.3: Some fixes based on kRO's "RO Map" [Poki#3]
  14. //= I also made the place more Moby ^^
  15. //= 1.4: Adjusted spawns according to own info from iRO [MasterOfMuppets]
  16. //= 1.5: More accurate spawn numbers and iRO names thanks to Tharis [Playtester]
  17. //= 1.6: Official X.3 spawns [Playtester]
  18. //= 1.7 Corrected MVP spawn function to be standard to iRO. [L0ne_W0lf]
  19. //= - A random 99 will now be spawned when the MVP spawns.
  20. //= - Spare spawn and MVP spawn now spawn in official locations.
  21. //= - Expandeded timer to allow for varying spawn times.
  22. //= 1.7a Added dummy event to keep from causnig warnings. [L0ne_W0lf]
  23. //= 1.8 Corrected MVP spawn variance (Labs2 MVP). [L0ne_W0lf]
  24. //= 1.9 Added Bio4 spawns. [Chilly]
  25. //= 1.9a Moved Bio4 spawns to separate file. [Kenpachi]
  26. //============================================================
  27. //========================================================================================
  28. // lhz_dun04 - Bio-life Labs 4F
  29. //========================================================================================
  30. lhz_dun04,0,0,0,0 monster Randel 2221,50,5000,0,0
  31. lhz_dun04,0,0,0,0 monster Flamel 2222,50,5000,0,0
  32. lhz_dun04,0,0,0,0 monster Celia 2223,50,5000,0,0
  33. lhz_dun04,0,0,0,0 monster Chen 2224,50,5000,0,0
  34. lhz_dun04,0,0,0,0 monster Gertie 2225,50,5000,0,0
  35. lhz_dun04,0,0,0,0 monster Alphoccio 2226,50,5000,0,0
  36. lhz_dun04,0,0,0,0 monster Trentini 2227,50,5000,0,0
  37. lhz_dun04,0,0,0,0 monster Paladin Randel 2228,1,2700000,2400000,1
  38. lhz_dun04,0,0,0,0 monster Creator Flamel 2229,1,3000000,2700000,1
  39. lhz_dun04,0,0,0,0 monster Professor Celia 2230,1,2580000,2340000,1
  40. lhz_dun04,0,0,0,0 monster Champion Chen 2231,1,2700000,2500000,1
  41. lhz_dun04,0,0,0,0 monster Stalker Gertie 2232,1,3300000,3000000,1
  42. lhz_dun04,0,0,0,0 monster Clown Alphoccio 2233,1,2580000,2460000,1
  43. lhz_dun04,0,0,0,0 monster Gypsy Trentini 2234,1,2580000,2460000,1
  44. lhz_dun04,0,0,0 script mvp_lhz_dun04 -1,{
  45. OnTimer6000000: // delay1 = 6000000 ms (100 min)
  46. stopnpctimer;
  47. sleep rand(0,30)*60000; // 0 to 30 minutes
  48. OnInit:
  49. // Select Coordinates to summon a random MVP on
  50. switch(rand(1,7)) {
  51. case 1: set .@x,77; set .@y,251; break;
  52. case 2: set .@x,147; set .@y,224; break;
  53. case 3: set .@x,219; set .@y,219; break;
  54. case 4: set .@x,244; set .@y,120; break;
  55. case 5: set .@x,149; set .@y,41; break;
  56. case 6: set .@x,53; set .@y,109; break;
  57. case 7: set .@x,149; set .@y,151; break;
  58. }
  59. set .@mob,rand(2235,2241);
  60. monster "lhz_dun04",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";
  61. // Select Coordinates to summon a random 99 on
  62. switch(rand(1,7)) {
  63. case 1: set .@x2,77; set .@y2,251; break;
  64. case 2: set .@x2,147; set .@y2,224; break;
  65. case 3: set .@x2,219; set .@y2,219; break;
  66. case 4: set .@x2,244; set .@y2,120; break;
  67. case 5: set .@x2,149; set .@y2,41; break;
  68. case 6: set .@x2,53; set .@y2,109; break;
  69. case 7: set .@x2,149; set .@y2,151; break;
  70. }
  71. set .@mob2,rand(2228,2234);
  72. monster "lhz_dun04",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";
  73. end;
  74. OnMyMVPDead:
  75. killmonster "lhz_dun04",strnpcinfo(3)+"::OnMy99Dead";
  76. initnpctimer;
  77. OnMy99Dead:
  78. end;
  79. }