Advertisement
Guest User

3v3

a guest
Jun 10th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. //===== eAthena Script =======================================
  2. //= War Of Rune
  3. //===== By: ==================================================
  4. //= WanMan or Katazui or Kaji
  5. //===== Server ==============================================
  6. //= For lightrogaming-network.tk
  7. //===== Current Version: =====================================
  8. //= 1.0
  9. //===== Compatible With: =====================================
  10. //= eAthena 7.15 +
  11. //===== Description: =========================================
  12. //= War of Rune is for Party of 10
  13. //===== Additional Comments: =================================
  14. //= Starts Every 2 Hours
  15. //= Edit Lines 144 and 34
  16. //============================================================
  17. - script WoR#disable -1,{
  18.  
  19. OnInit:
  20. disablenpc "War of Rune#WoR";
  21. disablenpc "War of Rune#banker";
  22. end;
  23. }
  24.  
  25. - script WoRannouncer -1,{
  26. L_play:
  27. OnHour2:
  28. pvpoff "guild_vs1";
  29. killmonsterall "guild_vs1";
  30. announce "WoR: Hello! It's time again for War of Rune (AKA: WoR)",0;
  31. sleep2 10000;
  32. announce "WoR: Please Register and talk to me in Prontera!",0;
  33. sleep2 10000;
  34. announce "WoR: I will not let anyone register after 1 minute. Prize will be <PRIZE AMOUNT> <PRIZE>.",0;
  35. hideonnpc "War of Rune#WoR";
  36. OnMinute1:
  37. announce "WoR: Closed. Next Round is in 2 Hours.",0;
  38. hideoffnpc "War of Rune#WoR";
  39. donpcevent "War of Rune#banker::L_playwor";
  40. end;
  41. }
  42.  
  43.  
  44. prontera,147,167,6 script War of Rune#WoR 753,{
  45. mes "[War of Rune]";
  46. mes "Hello!";
  47. mes "Would you like to register for ^FF0000 War of Rune ^000000?";
  48. menu "Sure",L_yes,"No Thanks",L_close,"Information",L_info;
  49. L_info:
  50. next;
  51. mes "Script Made by: Katazui";
  52. next;
  53. mes "[War of Rune]";
  54. mes "Well, you need a Party of 3. And another Party of 3.";
  55. mes "All you have to do is Kill the each other.";
  56. mes "Last Party standing, Wins.";
  57. mes "Would you like to register?";
  58. menu "Sure",L_yes,"No Thanks",L_close;
  59. L_yes:
  60. next;
  61. mes "[War of Rune]";
  62. mes "Okay. You need a Party of 3.";
  63. mes "Also, make sure you have another party of 3.";
  64. mes "Just make sure you have a party of 3 yourself.";
  65. mes "Do you have a party of 3?";
  66. menu "Yup",L_p10,"Umm... I need to re-count",L_close;
  67. L_p10:
  68. getpartymember getcharid(1);
  69. set .@partymembercount, $@partymembercount;
  70. if(.@partymembercount == 3) goto L_p11;
  71. next;
  72. mes "[War of Rune]";
  73. mes "You are not in a Party of 3...";
  74. next;
  75. close;
  76. end;
  77.  
  78.  
  79. L_close:
  80. mes "[War of Rune]";
  81. mes "Okay, Come back later!";
  82. next;
  83. close;
  84. end;
  85. L_p11:
  86. mes "[War of Rune]";
  87. mes "Alrightly!";
  88. mes "Please wait till the other people comes to the WoR.";
  89. next;
  90. warpparty "guild_vs1",50,50,getcharid(1);
  91. end;
  92.  
  93. }
  94.  
  95. guild_vs1,50,57 script War of Rune#banker 753,{
  96. mes "[War of Rune]";
  97. mapannounce "guild_vs1","WoR: You won. Tell me you Party Name. 1 Person only or you will error.",0;
  98. mes "Input Party Name";
  99. input $@n;
  100. next;
  101. mes "[War of Rune]";
  102. mes "Congrats";
  103. close2;
  104. hideoffnpc "War of Rune#banker";
  105. mapannounce "guild_vs1","WoR: To get your prize please kill 1 Poring. If you don't kill it after 1 minute. You will not get your prize.",0;
  106. monster guild_vs1,0,0,"Prize",1002,150,"prize::OnMobKilled";
  107. sleep2 10000;
  108. announce "WoR: "+$@n+" has won the War of Rune! Congrats!",0;
  109. OnMinute1:
  110. warpparty "prontera",150,150,getcharid(1);
  111. donpcevent "WoRannouncer::L_play";
  112. end;
  113. //playTime
  114. L_playwor:
  115. mapannounce "guild_vs1","WoR: Welcome to WoR!",0;
  116. sleep2 10000;
  117. mapannounce "guild_vs1","WoR: It's Simple... All you have to do it kick each other asses.",0;
  118. sleep2 10000;
  119. mapannounce "guild_vs1","WoR: You may use Ygg Berrys, and make sure you buff up...",0;
  120. sleep2 10000;
  121. mapannounce "guild_vs1","WoR: If one of your Party mates dies, and the rest wins. The one who dies doesn't get the prize.",0;
  122. sleep2 10000;
  123. mapannounce "guild_vs1","WoR: Okay... That's that....",0;
  124. sleep2 10000;
  125. mapannounce "guild_vs1","WoR: Ready... Set...",0;
  126. sleep2 10000;
  127. mapannounce "guild_vs1","WoR: FIGHT!!!",0;
  128. pvpon "guild_vs1";
  129. goto L_if;
  130. L_if:
  131. if (getmapusers("guild_vs1") <= 3) goto L_champ;
  132. if (getmapusers("guild_vs1") == 0) goto L_no1;
  133. goto L_if;
  134. end;
  135. L_no1:
  136. announce "WoR: Aww! No one won! Or No one joined... What a Pity.",0;
  137. donpcevent "WoRannouncer::L_play";
  138. end;
  139. L_champ:
  140. hideonnpc "War of Rune#banker";
  141. mapannounce "guild_vs1","WoR: Come to me and tell me your party.",0;
  142. end;
  143. }
  144.  
  145. - script prize -1,{
  146. OnMobKilled:
  147. warp prontera,150,150;
  148. getitem <PRIZE ID>,<PRIZE AMOUNT>;
  149. end;
  150.  
  151. }
  152.  
  153. guild_vs1 mapflag nowarp
  154. guild_vs1 mapflag nowarpto
  155. guild_vs1 mapflag noteleport
  156. guild_vs1 mapflag nosave
  157. guild_vs1 mapflag nomemo
  158. guild_vs1 mapflag nobranch
  159.  
  160.  
  161. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement