Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //==============================
- //PVP Arena
- //==============================
- // All rights Reserved
- //==============================
- // Author: Taikumi
- //==============================
- amatsu,241,230,3 script PvP Arena Keeper 852,{
- mes "[^FF8000PvP Arena Keeper^000000]";
- mes "Hello there!";
- mes "I am the gatekeeper of the ^FF0000PvP Rooms^000000.";
- next;
- mes "[^FF8000PvP Arena Keeper^000000]";
- mes "Would you like to go challenge other people?";
- mes "Please note that your ^FF0000monster disguise^000000 and ^FF0000your size change^000000 will be resetted once you enter the PvP rooms!";
- next;
- menu
- "Yeah! Bring it on!",M_menu,
- //"Eh? What is PvP? Tell me about the ^FF0000rules^000000.",M_rules,
- "No thanks.. not now.",-;
- mes "[^FF8000PvP Arena Keeper^000000]";
- mes "Your time will come...";
- close;
- M_rules:
- mes "[^FF8000PvP Arena Keeper^000000]";
- mes "PvP is a Player-vs-Player game style that lets you fight, ofcourse, other players!";
- mes "In Blackout RO, there is currently ^FF00003^000000 different PvP rooms.";
- mes "* ^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 Room #1";
- mes "* ^0033FFFree^000000-^0033FFFor^000000-^0033FFAll^000000 Room ^FF0000NightMare^000000";
- mes "* ^CC0000Unreal Deathmatch PVP^000000 Room";
- mes "* ^0000FFThird Job PvP^000000 Room #1";
- next;
- set @MENU_OPTIONS$, "Tell me about ^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000:Tell me about ^CC0000Rule-Enforced^000000:Cancel";
- set @MENU, select(@MENU_OPTIONS$);
- mes "[^FF8000PvP Arena Keeper^000000]";
- switch (@MENU) {
- case 1:
- mes "^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 is a PvP room designed with those who wish to play without getting into trouble in mind.";
- 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.";
- next;
- goto M_rules;
- case 2:
- mes "^CC0000Rule-Enforced^000000 Room is a PvP room made for formal duels and / or PvP in a civilized manner.";
- mes "You cannot res-kill, use foul language, or anything is unappropriate.";
- next;
- goto M_rules;
- default:
- mes "Come back whenever you are ready.";
- close;
- end;
- }
- close;
- M_menu:
- mes "[^FF8000PvP Arena Keeper^000000]";
- mes "Please read the ^FF0000rules^000000 prior to entering these PvP rooms.";
- mes "^0000FFFree^000000-^0000FFFor^000000-^0000FFAll^000000 #1 + Dispell [^FF0000"+ getmapusers("guild_vs3") +"^000000]";
- //mes "^0033FFFree^000000-^0033FFFor^000000-^0033FFAll^000000 #2 [^FF0000"+ getmapusers("guild_vs5") +"^000000]";
- mes "^9900FFRush PVP Room #2^000000 [^FF0000"+ getmapusers("guild_vs5") +"^000000]";
- mes "^CC0000Unreal Deathmatch PVP^000000 [^FF0000"+ getmapusers("pvp_y_5-2") +"^000000]";
- mes "^0000FFThird Job PvP^000000 #1 [^FF0000"+ getmapusers("pvp_y_2-2") +"^000000]";
- mes "^0000FFEmperium Testing (Not PvP)^000000 #1 [^FF0000"+ getmapusers("guild_vs4") +"^000000]";
- next;
- 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";
- set @MENU,select(@MENU_OPTIONS$);
- mes "[^FF8000PvP Arena Keeper^000000]";
- switch (@MENU) {
- case 1:
- if (Class > 4049){
- mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
- close;
- }else{
- mes "Very well, enjoy your time!";
- close2;
- undisguise;
- atcommand strcharinfo(0)+":@size 0";
- sc_end 32; //Increase Agi.
- sc_end 30; //Blessing
- sc_end 35; //Impositio
- sc_end 39; //Kyrie
- sc_end 21; //Endure
- sc_end 43; //Adrenaline Rush
- sc_end 44; //Weapon Perfection
- sc_end 45; //Overtrust
- sc_end 46; //Maximize Power
- sc_end 40; //Magnificat
- sc_end 72; // FCP
- sc_end 73; // FCP
- sc_end 74; // FCP
- sc_end 75; // FCP
- sc_end SC_AUTOGUARD;
- sc_end SC_REFLECTSHIELD;
- sc_end SC_PROVIDENCE;
- sc_end SC_DEFENDER;
- sc_end SC_MAGICROD;
- sc_end SC_SPEARSQUICKEN;
- sc_end SC_AUTOCOUNTER;
- sc_end SC_AURABLADE;
- sc_end SC_PARRYING;
- sc_end SC_CONCENTRATION;
- sc_end SC_BERSERK;
- sc_end SC_FURY;
- sc_end SC_GOSPEL;
- sc_end SC_ASSUMPTIO;
- //setarray @X_COORD[1], 85, 50, 15, 50;
- //setarray @Y_COORD[1], 50, 85, 50, 15;
- //set @RAND, rand(1,4);
- //warp "guild_vs3",@X_COORD[@RAND],@Y_COORD[@RAND];
- warp "guild_vs3",0,0;
- end;
- }
- close;
- case 2:
- if (Class > 4049){
- mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
- close;
- }else {
- mes "This PVP is a fun PVP where ^9900FFyou die if you fail to kill anyone within 30 seconds.^000000";
- mes "Trust No One. Kill everyone on sight.";
- next;
- undisguise;
- // atcommand strcharinfo(0)+":@size 0";
- atcommand "@size 0";
- //setarray @X_COORD[1], 19, 50, 76, 49;
- //setarray @Y_COORD[1], 49, 22, 49, 76;
- //set @RAND, rand(1,4);
- //warp "guild_vs5",@X_COORD[@RAND],@Y_COORD[@RAND];
- //end;
- warp "guild_vs5",0,0;
- deltimer strnpcinfo(0)+"::OnTimerCheck";
- addtimer 30000,strnpcinfo(0)+"::OnTimerCheck";
- end;
- }
- close;
- case 3:
- if (Class > 4049){
- mes "Sorry, 3rd jobs cannot enter this room. Please select the corresponding room for your class.";
- close;
- }else{
- mes "Very well, enjoy your time!";
- close2;
- undisguise;
- atcommand strcharinfo(0)+":@size 0";
- setarray @X_COORD[1], 52, 98, 126, 158, 209, 175, 129, 70;
- setarray @Y_COORD[1], 134, 97, 41, 94, 119, 183, 112, 178;
- set @RAND, rand(1,9);
- warp "pvp_y_5-2",@X_COORD[@RAND],@Y_COORD[@RAND];
- end;
- }
- close;
- case 4:
- if (Class < 4050) {
- mes "Sorry, this room is exclusive for 3rd jobs only.";
- close;
- }else {
- mes "Very well, enjoy your time!";
- close2;
- undisguise;
- atcommand strcharinfo(0)+":@size 0";
- setarray @X_COORD[1], 128, 112, 127, 143;
- setarray @Y_COORD[1], 113, 129, 146, 129;
- set @RAND, rand(1,5);
- warp "pvp_y_2-2",@X_COORD[@RAND],@Y_COORD[@RAND];
- end;
- }
- close;
- case 5:
- mes "I'm sorry, this is disabled for now!!";
- close;
- //undisguise;
- //atcommand strcharinfo(0)+":@size 0";
- //setarray @X_COORD[1], 38, 38, 59, 59;
- //setarray @Y_COORD[1], 59, 40, 40, 60;
- //set @RAND, rand(1,5);
- //warp "guild_vs4",@X_COORD[@RAND],@Y_COORD[@RAND];
- //end;
- default:
- mes "Come back whenever you are ready.";
- close;
- }
- close;
- OnInit:
- setcell "pvp_y_5-2",175,54,207,57,cell_walkable,0;
- end;
- OnTimerCheck:
- if( strcharinfo(3) == "guild_vs5" ){
- message strcharinfo(0),"You died because you didn't kill anyone within 30 seconds.";
- unitkill getcharid(3);
- end;
- OnPCKillEvent:
- deltimer strnpcinfo(0)+"::OnTimerCheck";
- addtimer 30000,strnpcinfo(0)+"::OnTimerCheck";
- }
- end;
- }
- // PVP Room 1 - guild_vs3
- guild_vs3 mapflag pvp
- guild_vs3 mapflag pvp_noguild
- guild_vs3 mapflag nosave amatsu,225,215
- guild_vs3 mapflag nopenalty
- guild_vs3 mapflag nomemo
- guild_vs3 mapflag noteleport
- guild_vs3 mapflag nowarp
- guild_vs3 mapflag nowarpto
- // PVP Room 2 - guild_vs5
- guild_vs5 mapflag pvp
- guild_vs5 mapflag pvp_noguild
- guild_vs5 mapflag nosave amatsu,225,215
- guild_vs5 mapflag nopenalty
- guild_vs5 mapflag nomemo
- guild_vs5 mapflag noteleport
- guild_vs5 mapflag nowarp
- guild_vs5 mapflag nowarpto
- // PVP Room 3 - guild_vs5
- pvp_y_5-2 mapflag pvp
- // pvp_y_5-2 mapflag pvp_unreal
- // pvp_y_5-2 mapflag pvp_dm
- pvp_y_5-2 mapflag pvp_noguild
- pvp_y_5-2 mapflag nosave amatsu,225,215
- pvp_y_5-2 mapflag nopenalty
- pvp_y_5-2 mapflag nomemo
- pvp_y_5-2 mapflag noteleport
- pvp_y_5-2 mapflag nowarp
- pvp_y_5-2 mapflag nowarpto
Advertisement
Add Comment
Please, Sign In to add comment