yuhsing

Untitled

Sep 6th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  1.  
  2. //==============================
  3. //PVP Arena
  4. //==============================
  5. // All rights Reserved
  6. //==============================
  7. // Author: Taikumi
  8. //==============================
  9.  
  10. amatsu,241,230,3 script PvP Arena Keeper 852,{
  11. mes "[^FF8000PvP Arena Keeper^000000]";
  12. mes "Hello there!";
  13. mes "I am the gatekeeper of the ^FF0000PvP Rooms^000000.";
  14. next;
  15. mes "[^FF8000PvP Arena Keeper^000000]";
  16. mes "Would you like to go challenge other people?";
  17. mes "Please note that your ^FF0000monster disguise^000000 and ^FF0000your size change^000000 will be resetted once you enter the PvP rooms!";
  18. next;
  19. menu
  20. "Yeah! Bring it on!",M_menu,
  21. //"Eh? What is PvP? Tell me about the ^FF0000rules^000000.",M_rules,
  22. "No thanks.. not now.",-;
  23.  
  24. mes "[^FF8000PvP Arena Keeper^000000]";
  25. mes "Your time will come...";
  26. close;
  27.  
  28. M_rules:
  29. mes "[^FF8000PvP Arena Keeper^000000]";
  30. mes "PvP is a Player-vs-Player game style that lets you fight, ofcourse, other players!";
  31. mes "In Blackout RO, there is currently ^FF00003^000000 different PvP rooms.";
  32. mes "* ^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 Room #1";
  33. mes "* ^0033FFFree^000000-^0033FFFor^000000-^0033FFAll^000000 Room ^FF0000NightMare^000000";
  34. mes "* ^CC0000Unreal Deathmatch PVP^000000 Room";
  35. mes "* ^0000FFThird Job PvP^000000 Room #1";
  36. next;
  37. set @MENU_OPTIONS$, "Tell me about ^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000:Tell me about ^CC0000Rule-Enforced^000000:Cancel";
  38. set @MENU, select(@MENU_OPTIONS$);
  39. mes "[^FF8000PvP Arena Keeper^000000]";
  40. switch (@MENU) {
  41. case 1:
  42. mes "^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 is a PvP room designed with those who wish to play without getting into trouble in mind.";
  43. mes "You can go all wild, team up, fight back, res-kill, but please keep the language ^FF0000clean^000000, as there are still under-age players playing.";
  44. next;
  45. goto M_rules;
  46.  
  47. case 2:
  48. mes "^CC0000Rule-Enforced^000000 Room is a PvP room made for formal duels and / or PvP in a civilized manner.";
  49. mes "You cannot res-kill, use foul language, or anything is unappropriate.";
  50. next;
  51. goto M_rules;
  52.  
  53. default:
  54. mes "Come back whenever you are ready.";
  55. close;
  56. end;
  57. }
  58. close;
  59.  
  60. M_menu:
  61. mes "[^FF8000PvP Arena Keeper^000000]";
  62. mes "Please read the ^FF0000rules^000000 prior to entering these PvP rooms.";
  63. mes "^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 #1 + Dispell [^FF0000"+ getmapusers("guild_vs3") +"^000000]";
  64. //mes "^0033FFFree^000000-^0033FFFor^000000-^0033FFAll^000000 #2 [^FF0000"+ getmapusers("guild_vs5") +"^000000]";
  65. mes "^9900FFRush PVP Room #2^000000 [^FF0000"+ getmapusers("guild_vs5") +"^000000]";
  66. mes "^CC0000Unreal Deathmatch PVP^000000 [^FF0000"+ getmapusers("pvp_y_5-2") +"^000000]";
  67. mes "^0000FFThird Job PvP^000000 #1 [^FF0000"+ getmapusers("pvp_y_2-2") +"^000000]";
  68. mes "^0000FFEmperium Testing (Not PvP)^000000 #1 [^FF0000"+ getmapusers("guild_vs4") +"^000000]";
  69. next;
  70. set @MENU_OPTIONS$, "^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 Room #1 + Dispell:^9900FFRush PVP Room #2^000000:^CC0000Deathmode & Unreal PVP^000000 Room:^0000FFThird Job PvP #1^000000:^0000FFEmperium Testing^000000:Cancel";
  71. set @MENU,select(@MENU_OPTIONS$);
  72. mes "[^FF8000PvP Arena Keeper^000000]";
  73. switch (@MENU) {
  74. case 1:
  75. if (Class > 4049){
  76. mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
  77. close;
  78. }else{
  79. mes "Very well, enjoy your time!";
  80. close2;
  81. undisguise;
  82. atcommand strcharinfo(0)+":@size 0";
  83.  
  84. sc_end 32; //Increase Agi.
  85. sc_end 30; //Blessing
  86. sc_end 35; //Impositio
  87. sc_end 39; //Kyrie
  88. sc_end 21; //Endure
  89. sc_end 43; //Adrenaline Rush
  90. sc_end 44; //Weapon Perfection
  91. sc_end 45; //Overtrust
  92. sc_end 46; //Maximize Power
  93. sc_end 40; //Magnificat
  94. sc_end 72; // FCP
  95. sc_end 73; // FCP
  96. sc_end 74; // FCP
  97. sc_end 75; // FCP
  98. sc_end SC_AUTOGUARD;
  99. sc_end SC_REFLECTSHIELD;
  100. sc_end SC_PROVIDENCE;
  101. sc_end SC_DEFENDER;
  102. sc_end SC_MAGICROD;
  103. sc_end SC_SPEARSQUICKEN;
  104. sc_end SC_AUTOCOUNTER;
  105. sc_end SC_AURABLADE;
  106. sc_end SC_PARRYING;
  107. sc_end SC_CONCENTRATION;
  108. sc_end SC_BERSERK;
  109. sc_end SC_FURY;
  110. sc_end SC_GOSPEL;
  111. sc_end SC_ASSUMPTIO;
  112.  
  113. //setarray @X_COORD[1], 85, 50, 15, 50;
  114. //setarray @Y_COORD[1], 50, 85, 50, 15;
  115. //set @RAND, rand(1,4);
  116. //warp "guild_vs3",@X_COORD[@RAND],@Y_COORD[@RAND];
  117. warp "guild_vs3",0,0;
  118. end;
  119. }
  120. close;
  121.  
  122. case 2:
  123. if (Class > 4049){
  124. mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
  125. close;
  126. }else {
  127. mes "This PVP is a fun PVP where ^9900FFyou die if you fail to kill anyone within 30 seconds.^000000";
  128. mes "Trust No One. Kill everyone on sight.";
  129. next;
  130. undisguise;
  131. // atcommand strcharinfo(0)+":@size 0";
  132. atcommand "@size 0";
  133. //setarray @X_COORD[1], 19, 50, 76, 49;
  134. //setarray @Y_COORD[1], 49, 22, 49, 76;
  135. //set @RAND, rand(1,4);
  136. //warp "guild_vs5",@X_COORD[@RAND],@Y_COORD[@RAND];
  137. //end;
  138. warp "guild_vs5",0,0;
  139. deltimer strnpcinfo(0)+"::OnTimerCheck";
  140. addtimer 30000,strnpcinfo(0)+"::OnTimerCheck";
  141. end;
  142. }
  143. close;
  144.  
  145. case 3:
  146. if (Class > 4049){
  147. mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
  148. close;
  149. }else{
  150. mes "Very well, enjoy your time!";
  151. close2;
  152. undisguise;
  153. atcommand strcharinfo(0)+":@size 0";
  154. setarray @X_COORD[1], 52, 98, 126, 158, 209, 175, 129, 70;
  155. setarray @Y_COORD[1], 134, 97, 41, 94, 119, 183, 112, 178;
  156. set @RAND, rand(1,9);
  157. warp "pvp_y_5-2",@X_COORD[@RAND],@Y_COORD[@RAND];
  158. end;
  159. }
  160. close;
  161. case 4:
  162. if (Class < 4050) {
  163. mes "Sorry, this room is exclusive for 3rd jobs only.";
  164. close;
  165. }else {
  166. mes "Very well, enjoy your time!";
  167. close2;
  168. undisguise;
  169. atcommand strcharinfo(0)+":@size 0";
  170. setarray @X_COORD[1], 128, 112, 127, 143;
  171. setarray @Y_COORD[1], 113, 129, 146, 129;
  172. set @RAND, rand(1,5);
  173. warp "pvp_y_2-2",@X_COORD[@RAND],@Y_COORD[@RAND];
  174. end;
  175. }
  176. close;
  177. case 5:
  178. mes "I'm sorry, this is disabled for now!!";
  179. close;
  180. //undisguise;
  181. //atcommand strcharinfo(0)+":@size 0";
  182. //setarray @X_COORD[1], 38, 38, 59, 59;
  183. //setarray @Y_COORD[1], 59, 40, 40, 60;
  184. //set @RAND, rand(1,5);
  185. //warp "guild_vs4",@X_COORD[@RAND],@Y_COORD[@RAND];
  186. //end;
  187. default:
  188. mes "Come back whenever you are ready.";
  189. close;
  190. }
  191. close;
  192.  
  193. OnInit:
  194. setcell "pvp_y_5-2",175,54,207,57,cell_walkable,0;
  195. end;
  196.  
  197.  
  198. OnTimerCheck:
  199. if( strcharinfo(3) == "guild_vs5" ){
  200. message strcharinfo(0),"You died because you didn't kill anyone within 30 seconds.";
  201. unitkill getcharid(3);
  202. end;
  203. OnPCKillEvent:
  204. deltimer strnpcinfo(0)+"::OnTimerCheck";
  205. addtimer 30000,strnpcinfo(0)+"::OnTimerCheck";
  206. }
  207. end;
  208.  
  209. }
  210.  
  211. // PVP Room 1 - guild_vs3
  212. guild_vs3 mapflag pvp
  213. guild_vs3 mapflag pvp_noguild
  214. guild_vs3 mapflag nosave amatsu,225,215
  215. guild_vs3 mapflag nopenalty
  216. guild_vs3 mapflag nomemo
  217. guild_vs3 mapflag noteleport
  218. guild_vs3 mapflag nowarp
  219. guild_vs3 mapflag nowarpto
  220.  
  221. // PVP Room 2 - guild_vs5
  222. guild_vs5 mapflag pvp
  223. guild_vs5 mapflag pvp_noguild
  224. guild_vs5 mapflag nosave amatsu,225,215
  225. guild_vs5 mapflag nopenalty
  226. guild_vs5 mapflag nomemo
  227. guild_vs5 mapflag noteleport
  228. guild_vs5 mapflag nowarp
  229. guild_vs5 mapflag nowarpto
  230.  
  231. // PVP Room 3 - guild_vs5
  232. pvp_y_5-2 mapflag pvp
  233. // pvp_y_5-2 mapflag pvp_unreal
  234. // pvp_y_5-2 mapflag pvp_dm
  235. pvp_y_5-2 mapflag pvp_noguild
  236. pvp_y_5-2 mapflag nosave amatsu,225,215
  237. pvp_y_5-2 mapflag nopenalty
  238. pvp_y_5-2 mapflag nomemo
  239. pvp_y_5-2 mapflag noteleport
  240. pvp_y_5-2 mapflag nowarp
  241. pvp_y_5-2 mapflag nowarpto
Advertisement
Add Comment
Please, Sign In to add comment