yuhsing

Untitled

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