Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Made by iTouch
- // ----------------------------------------------------------------------------
- // Ultimate PvP Warper ver. 1
- // Features:
- // Baby PvP Room
- // PvP Square(Every 2 days Random PvP Room)
- // PvP Nightmare
- // PvP Lowlvl( Supports 1 - 150 Lvl)
- // PvP No Potion (Berrys , Ygg seed , Any potions , etc. are restricted)
- // PvP Non Donator (Got Items are restricted here)
- // -----------------------------------------------------------------------------
- // ver. 2 update idea:
- // Adding a PvP Room that removes the buffs of the player when entering the room
- // Adding a PvP Room for GM's Only so GM's will have fun
- // -----------------------------------------------------------------------------
- // Special thanks to:
- // icescope of eAthena for helping me configuring the error at PvP Square
- // -----------------------------------------------------------------------------
- //Mapflags
- guild_vs2 mapflag pvp
- guild_vs2 mapflag nobranch
- guild_vs2 mapflag nopenalty
- guild_vs2 mapflag pvp_noguild
- guild_vs2-1 mapflag pvp_nightmaredrop random,equip,300
- guild_vs2-1 mapflag nobranch
- guild_vs2-1 mapflag nopenalty
- guild_vs2-1 mapflag pvp_noguild
- guild_vs2-2 mapflag pvp
- guild_vs2-2 mapflag nopenalty
- guild_vs2-2 mapflag nobranch
- guild_vs2-2 mapflag pvp_noguild
- prontera.gat,165,164,4 script Ultimate PvP Warper 966,{
- mes "[PvP Warper]";
- mes "which room you want to join?";
- switch(select("PVP Square ["+getmapusers("guild_vs2")+"/20]:PVP Nightmare ["+getmapusers("guild_vs2-1")+"/20]:Baby Room ["+getmapusers("guild_vs2-2")+"/20]")) {
- case 1: // PVP NoPotion
- if (getmapusers("guild_vs2") > 99) callsub S_full;
- for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) {
- if (countitem(.NoPotion_ids[.@i])) {
- mes "You can not bring potions in this pvp.";
- close;
- }
- }
- callsub S_payment;
- warp "guild_vs2",0,0;
- end;
- case 2: // PVP NoPotion
- if (getmapusers("guild_vs2-1") > 99) callsub S_full;
- for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) {
- if (countitem(.NoPotion_ids[.@i])) {
- mes "You can not bring potions in this pvp.";
- close;
- }
- }
- callsub S_payment;
- warp "guild_vs2-1",0,0;
- end;
- case 3: // Baby PvP Room
- if (getmapusers("pvp_n_3-3") > 99) callsub S_full;
- if (Class < 4023 || Class > 4045) goto L_NotBaby;
- callsub S_payment;
- warp "pvp_n_3-3",0,0;
- end;
- L_NotBaby:
- mes "Only baby can access";
- close;
- }
- S_full:
- mes "I'm sorry this room is full ";
- mes "Come Later";
- close;
- S_payment:
- if (Zeny < (98*BaseLevel + 0)) {
- mes "Not with you don't have enough zeny";
- mes "It cost you" + (98*BaseLevel + 0) + "to enter";
- close;
- }
- set Zeny, Zeny - (98*BaseLevel + 0);
- return;
- OnInit:
- waitingroom " P v P R O O M ",0;
- end;
- // items not allowed in PVP NoPotion
- setarray .NoPotion_ids[0], 607, 608;
- // items not allowed in Non Donator PVP
- setarray .NoDonator_ids[0], 2410, 1530;
- end;
- }
- moscovia.gat,226,198,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#1 966
- alberta.gat,110,140,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#3 966 // Kliwa
- aldebaran.gat,147,115,1 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#4 965 // Kliwa
- amatsu.gat,207,86,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#5 966 // Kliwa
- ayothaya.gat,155,117,2 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#6 966 // Kliwa
- comodo.gat,206,80,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#7 966 // Kliwa
- einbech.gat,198,83,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#8 966 // Taas Kaliwa
- einbroch.gat,174,172,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#9 966 // Taas Kaliwa
- geffen.gat,124,68,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#10 966
- gonryun.gat,162,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#11 966
- hugel.gat,91,158,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#12 966
- izlude.gat,134,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#13 966
- lighthalzen.gat,166,101,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#14 966
- louyang.gat,214,120,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#15 966
- xmas.gat,154,136,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#16 966
- morocc.gat,163,97,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#17 966
- payon.gat,148,226,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#18 966
- rachel.gat,135,115,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#19 966
- veins.gat,219,127,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#20 966
- yuno.gat,163,170,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#21 966
- umbala.gat,106,159,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#22 966
- poring_c02,139,81,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#23 966
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement