From ecb934ebba6ac3fbd35d8816c1802f0d134ef4ac Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:32:29 +0530 Subject: ItemID to Constant: other Folder --- npc/other/pvp.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/other/pvp.txt') diff --git a/npc/other/pvp.txt b/npc/other/pvp.txt index 436dbd9dc..4632a0c4b 100644 --- a/npc/other/pvp.txt +++ b/npc/other/pvp.txt @@ -245,7 +245,7 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 4_M_02 mes "Please double check"; mes "that you have the admission or viewing ticket."; next; - if ((countitem(7028) == 0) && (countitem(7029) == 0)) { + if ((countitem(Invite_For_Duel) == 0) && (countitem(Admission_For_Duel) == 0)) { mes "[Gate Keeper]"; mes "Eh? You don't have it? Then I"; mes "am sorry, this fight square is"; @@ -333,7 +333,7 @@ function script F_PVP_FSRS { //== Event Contestant Entrance ============================= pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{ - if (countitem(7028) == 0) { + if (countitem(Invite_For_Duel) == 0) { mes "[PVP Combat Square Register Staff]"; mes "Eh? How did you get in here?"; mes "This is the entrance for players only."; @@ -355,7 +355,7 @@ pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{ mes "OK! I will send you inside"; mes "Good luck!"; close2; - delitem 7028,1; //Invite_For_Duel + delitem Invite_For_Duel,1; .@rand = rand(.@size); warp "pvp_2vs2", .warp_x[.@rand], .warp_y[.@rand]; deletearray .warp_x[.@rand],1; @@ -375,7 +375,7 @@ OnInit: //== Spectator Entrance ==================================== - script Spectator's Entrance#dum::PVPSpectator -1,{ - if (countitem(7029) == 0) { + if (countitem(Admission_For_Duel) == 0) { mes "[PVP Compete Square Register Staff]"; mes "This is the entrance for viewers."; mes "For details about players entrance please proceed to the Register Staff on your left."; @@ -385,7 +385,7 @@ OnInit: mes "[PVP Combat Square Register Staff]"; mes "You got it, thanks for participating. Have fun!"; close2; - delitem 7029,1; //Admission_For_Duel + delitem Admission_For_Duel,1; switch(rand(1,4)) { case 1: warp "pvp_2vs2",39,7; end; case 2: warp "pvp_2vs2",39,73; end; -- cgit v1.2.3-70-g09d2