Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==== Registration ==== \\
- // ==============================================================================
- // MapFlags
- // *********************************************************************
- bat_room mapflag nomemo
- bat_room mapflag nowarpto
- bat_room mapflag nowarp
- bat_room mapflag nobranch
- bat_room mapflag nopenalty
- bat_room mapflag noteleport
- bat_room mapflag nosave SavePoint
- // BattleGround Warper - Entrance
- // *********************************************************************
- prontera,148,185,5 script CTH 811,{
- mes "[CTH Recruiter]";
- if (getgmlevel() >= 99) goto cthgm;
- if ($@register < 1) {
- set registeredna,0;
- mes "Registration for Capture The Heroes is closed.";
- close;
- } else
- if (isequipped(25456) || isequipped(25457)) goto nonono;
- if (registeredna == 1) {
- set normallook,(getlook(7));
- setlook 7, 244;
- warp "new_3-4",19,64;
- end;
- }
- if (registeredna == 2) {
- set normallook,(getlook(7));
- setlook 7, 90;
- warp "new_3-4",139,105;
- end;
- }
- if (BaseLevel < 265) goto Dipwede;
- mes "The Capture The Heroes will start soon...";
- mes "I was sent here to recruit worthy warriors.";
- next;
- mes "[CTH Recruiter]";
- mes "The forces of good and evil , and are in need of experienced warriors like you. How would you like to lend your power to one of the forces in Anny and CG's Kingdom?";
- next;
- if( select("I Wanna Join:I Don't Want to Join") == 2 )
- {
- mes "[CTH Recruiter]";
- mes "I'll always be stationed here for more soldiers. Feel free to come back whenever you're interested.";
- close;
- }
- mes "[CTH Recruiter]";
- mes "I wish you luck... young warrior.";
- close2;
- goto pilina;
- end;
- Dipwede:
- mes "[CTH Recruiter]";
- mes "I'm sorry but only elite and worthy warriors are aloud to join the Capture The Heroes...";
- mes "";
- mes "Cry Babies aren't allowed.";
- close;
- nonono:
- mes "I'm Sorry but you cannot join the CTH with the Hokage/Akatsuki suit on.";
- close;
- pilina:
- if ($@register < 1) end;
- if ($Team == 1) goto Teamtwo;
- set $Team,1;
- set normallook,(getlook(7));
- setlook 7, 244;
- set Bat_Team,1;
- set registeredna,1;
- warp "new_3-4",19,64;
- sleep2 3000;
- dispbottom "You joined the Warriors of the Light...";
- end;
- Teamtwo:
- set $Team,2;
- set normallook,(getlook(7));
- setlook 7, 90;
- set Bat_Team,2;
- set registeredna,2;
- warp "new_3-4",139,105;
- sleep2 3000;
- dispbottom "You joined the Warriors of the Darkness...";
- end;
- cthgm:
- if (nagstartna==1) goto cthstop;
- mes "Hello Master. Do you want to initiate Capture the Heroes manually?";
- menu "Yes, please",-,"No, maybe next time",canc;
- set nagstartna,1;
- donpcevent "Flavius_BG2::OnCTHStart";
- close;
- cthstop:
- mes "Hello Master, Do you want to stop Capture the Heroes?";
- menu "Yes, please",-,"No, maybe next time",canc;
- announce "Capture the Heroes has been stopped by a Game Master.",0;
- set $@FlaviusBG2, 2;
- set nagstartna,0;
- donpcevent "Flavius_BG2::OnMatchEnd";
- close;
- canc:
- close;
- }
- // BattleGround Warper - Exit
- // *********************************************************************
- bat_room,148,150,4 script Teleporter#bat 124,{
- mes "[Teleporter]";
- mes "Do you wish to leave the battlefield? Use my service to return to town.";
- next;
- if( select("Leave:Don't Leave") == 2 )
- {
- mes "[Teleporter]";
- mes "I'll be here whenever you're in need of my service.";
- close;
- }
- set .@spoint$, getsavepoint(0);
- set .@x, getsavepoint(1);
- set .@y, getsavepoint(2);
- mes "[Teleporter]";
- mes "You will be sent back to " + .@spoint$ + ".";
- close2;
- warp .@spoint$, .@x, .@y;
- end;
- }
- // Kafra
- // *********************************************************************
- bat_room,148,147,4 script Kafra Staff#12::kaf_bat#12 861,{
- cutin "kafra_09",2;
- callfunc "F_Kafra",0,2,1,150,0;
- }
- // General Guillaume
- // *********************************************************************
- bat_room,160,159,3 script General Guillaume#12 420,{
- cutin "bat_kiyom2",2;
- mes "[General Guillaume]";
- mes "Hot-blooded adventurer, we need your ability to win this battle.";
- next;
- cutin "bat_kiyom1",2;
- mes "[General Guillaume]";
- mes "Our great king, Marcel Marollo VII, is very sick lately. His Majesty has declared that he chosen either me or Prince Croix as the next king amongst his 9 sons.";
- next;
- mes "[General Guillaume]";
- mes "Two kings can't share a nation!";
- mes "Only the one victorious from His Majesty's appointed battle will be enthroned.";
- next;
- mes "[General Guillaume]";
- mes "This is however, not just a battle between us. This battle will determine the future of this country. I pledge on my honor to prove that I'm the one who can protect this Maroll from outside threats.";
- next;
- if( select("Yes, I want to join you.:End Conversation") == 2 )
- {
- mes "[General Guillaume]";
- mes "I'll be the one who will capture the flag!";
- close2;
- cutin "",255;
- end;
- }
- cutin "bat_kiyom2",2;
- mes "[General Guillaume]";
- mes "Welcome to my army, comrade.";
- mes "Your eyes tell me that you're a soldier that I can trust.";
- set Bat_Team,1;
- next;
- mes "[General Guillaume]";
- mes "Now, go upstairs and apply for battle with your comrades. I'm sure they'll welcome you whole-heartedly!";
- close2;
- cutin "",255;
- end;
- }
- // General Croix
- // *********************************************************************
- bat_room,160,140,3 script Prince Croix#12 416,{
- cutin "bat_crua1",2;
- mes "[Prince Croix]";
- mes "Wise adventurer, why don't you lend us your power for victory?";
- next;
- cutin "bat_crua2",2;
- mes "[Prince Croix]";
- mes "I do not wish to shed blood, but I have no choice but to fight for the possibility of peace and for the sake of my people.";
- next;
- mes "[Prince Croix]";
- mes "General Guillaume may have an advantage in this battle as he is the great general of Maroll, but that doesn't automatically mean he'll win. I want to win this battle so that I can grant a better future for my people.";
- next;
- if( select("Yes, I want to join you!:End Conversation") == 2 )
- {
- mes "[Prince Croix]";
- mes "For Maroll!";
- close2;
- cutin "",255;
- end;
- }
- mes "[Prince Croix]";
- mes "Thank you so much. I feel like I can win with the help of adventurers like you. Now, please go downstairs and join your comrades in sharpening their skills to fight the enemy!";
- set Bat_Team,2;
- close2;
- cutin "",255;
- end;
- }
- // Time calculation Function
- // *********************************************************************
- function script Time2Str {
- set .@Time_Left, getarg(0) - gettimetick(2);
- set .@Days, .@Time_Left / 86400;
- set .@Time_Left, .@Time_Left - (.@Days * 86400);
- set .@Hours, .@Time_Left / 3600;
- set .@Time_Left, .@Time_Left - (.@Hours * 3600);
- set .@Minutes, .@Time_Left / 60;
- set .@Time_Left, .@Time_Left - (.@Minutes * 60);
- set .@Time$, "";
- if( .@Days > 1 )
- set .@Time$, .@Time$ + .@Days + " days, ";
- else if( .@Days > 0 )
- set .@Time$, .@Time$ + .@Days + " day, ";
- if( .@Hours > 1 )
- set .@Time$, .@Time$ + .@Hours + " hours, ";
- else if( .@Hours > 0 )
- set .@Time$, .@Time$ + .@Hours + " hour, ";
- if( .@Minutes > 1 )
- set .@Time$, .@Time$ + .@Minutes + " minutes, ";
- else if( .@Minutes > 0 )
- set .@Time$, .@Time$ + .@Minutes + " minute, ";
- if( .@Time_Left > 1 || .@Time_Left == 0 )
- set .@Time$, .@Time$ + .@Time_Left + " seconds.";
- else if( .@Time_Left == 1 )
- set .@Time$, .@Time$ + .@Time_Left + " second.";
- return .@Time$;
- }
- // Guillaume Knight - Tierra Valley
- // *********************************************************************
- bat_room,159,178,5 script Guillaume Knight#31 417,{
- mes "[Guillaume Knight]";
- mes "Tierra Gorge is a very steep canyon with two forts residing in the north and south ends of the map.";
- next;
- mes "[Guillaume Knight]";
- mes "There is a ration depot for the Guillaume and Croix armies at the 11 and 8 o'clock directions.";
- next;
- mes "[Guillaume Knight]";
- mes "The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.";
- mes "";
- mes "The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Tierra Officerer - Guillaume
- // *********************************************************************
- bat_room,156,178,5 script Tierra Valley Officer#1 418,{
- mes "[Tierra Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stinky Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Tierra Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Tierra_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Tierra_BG_Tick) + "^000000 to join again Tierra Valley.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",85,224;
- end;
- }
- // Croix Knight - Tierra Valley
- // *********************************************************************
- bat_room,159,121,1 script Croix Knight#31 413,{
- mes "[Croix Knight]";
- mes "Tierra Gorge is a very steep canyon with two forts residing in the north and south ends of the map.";
- next;
- mes "[Croix Knight]";
- mes "There is a ration depot for the Guillaume and Croix armies at the 11 and 8 o'clock directions.";
- next;
- mes "[Croix Knight]";
- mes "The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.";
- mes "";
- mes "The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Tierra Officer - Croix
- // *********************************************************************
- bat_room,156,121,1 script Tierra Valley Officer#2 414,{
- mes "[Tierra Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Tierra Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Tierra_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Tierra_BG_Tick) + "^000000 to join again Tierra Valley.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",85,208;
- end;
- }
- // Guillaume Knight - Tierra
- // *********************************************************************
- bat_room,175,178,5 script Guillaume Knight#32 417,{
- mes "[Guillaume Knight]";
- mes "Tierra Gorge is a very steep canyon with two forts residing in the north and south ends of the map.";
- next;
- mes "[Guillaume Knight]";
- mes "There is a ration depot for the Guillaume and Croix armies at the 11 and 8 o'clock directions.";
- next;
- mes "[Guillaume Knight]";
- mes "The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.";
- mes "";
- mes "The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Tierra Officer - Guillaume
- // *********************************************************************
- bat_room,172,178,5 script Tierra Valley Officer#3 418,{
- mes "[Tierra Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stinky Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Tierra Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Tierra_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Tierra_BG_Tick) + "^000000 to join again Tierra Valley.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",85,94;
- end;
- }
- // Croix Knight - Tierra
- // *********************************************************************
- bat_room,175,121,1 script Croix Knight#32 413,{
- mes "[Croix Knight]";
- mes "Tierra Gorge is a very steep canyon with two forts residing in the north and south ends of the map.";
- next;
- mes "[Croix Knight]";
- mes "There is a ration depot for the Guillaume and Croix armies at the 11 and 8 o'clock directions.";
- next;
- mes "[Croix Knight]";
- mes "The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.";
- mes "";
- mes "The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Tierra Officer - Croix
- // *********************************************************************
- bat_room,172,121,1 script Tierra Valley Officer#4 414,{
- mes "[Tierra Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Tierra Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Tierra_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Tierra_BG_Tick) + "^000000 to join again Tierra Valley.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",85,77;
- end;
- }
- // Guillaune Knight - Flavius
- // *********************************************************************
- bat_room,151,178,5 script Guillaume Knight#33 417,{
- mes "[Guillaume Knight]";
- mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
- next;
- mes "[Guillaume Knight]";
- mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
- next;
- mes "[Guillaume Knight]";
- mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
- next;
- mes "[Guillaume Knight]";
- mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Flavius Officerer - Guillaume
- // *********************************************************************
- bat_room,148,178,5 script Flavius Officer#1 418,{
- mes "[Flavius Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stupid Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Flavius Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Flavius_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Flavius_BG_Tick) + "^000000 to join again Flavius.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",253,94;
- end;
- }
- // Croix Knight - Flavius
- // *********************************************************************
- bat_room,151,121,1 script Croix Knight#33 413,{
- mes "[Croix Knight]";
- mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
- next;
- mes "[Croix Knight]";
- mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
- next;
- mes "[Croix Knight]";
- mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
- next;
- mes "[Croix Knight]";
- mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Flavius Officerer - Croix
- // *********************************************************************
- bat_room,148,121,1 script Flavius Officer#2 414,{
- mes "[Flavius Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Flavius Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Flavius_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Flavius_BG_Tick) + "^000000 to join again Flavius.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",253,77;
- end;
- }
- // Guillaune Knight - Flavius
- // *********************************************************************
- bat_room,167,178,5 script Guillaume Knight#34 417,{
- mes "[Guillaume Knight]";
- mes "The objective of the Flavius Battle CTF is to score 3 points before your enemy, by capture their flag.";
- next;
- mes "[Guillaume Knight]";
- mes "To capture a Flag you need to take the enemy flag, and bring it to your base flag.";
- next;
- mes "[Guillaume Knight]";
- mes "If your fase flag is captured too, you need to kill the flag carrier and take the flag back to your base.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Flavius Officerer - Guillaume
- // *********************************************************************
- bat_room,164,178,5 script Flavius CTF Officer#3 418,{
- mes "[Flavius CTF Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stupid Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Flavius CTF Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Flavius2_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Flavius2_BG_Tick) + "^000000 to join again Flavius CTF.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",57,94;
- end;
- }
- // Croix Knight - Flavius
- // *********************************************************************
- bat_room,167,121,1 script Croix Knight#34 413,{
- mes "[Croix Knight]";
- mes "The objective of the Flavius Battle CTF is to score 3 points before your enemy, by capture their flag.";
- next;
- mes "[Croix Knight]";
- mes "To capture a Flag you need to take the enemy flag, and bring it to your base flag.";
- next;
- mes "[Croix Knight]";
- mes "If your fase flag is captured too, you need to kill the flag carrier and take the flag back to your base.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // Flavius Officerer - Croix
- // *********************************************************************
- bat_room,164,121,1 script Flavius CTF Officer#4 414,{
- mes "[Flavius CTF Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[Flavius CTF Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( Flavius2_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",Flavius2_BG_Tick) + "^000000 to join again Flavius.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",57,77;
- end;
- }
- // Guillaume Knight - KvM
- // *********************************************************************
- bat_room,143,178,5 script Guillaume Knight#35 417,{
- mes "[Guillaume Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Guillaume Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Guillaume Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officerer - Guillaume
- // *********************************************************************
- bat_room,140,178,5 script KVM-A [80-99] Officer#1 418,{
- mes "[KVM A Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stinky Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM A Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMA_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM A.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",253,224;
- end;
- }
- // Croix Knight - KvM
- // *********************************************************************
- bat_room,143,121,1 script Croix Knight#35 413,{
- mes "[Croix Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Croix Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Croix Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officer - Croix
- // *********************************************************************
- bat_room,140,121,1 script KVM-A [80-99] Officer#2 414,{
- mes "[KVM A Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM A Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMA_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM A.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",253,208;
- end;
- }
- // Guillaume Knight - KvM
- // *********************************************************************
- bat_room,135,178,5 script Guillaume Knight#36 417,{
- mes "[Guillaume Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Guillaume Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Guillaume Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officerer - Guillaume
- // *********************************************************************
- bat_room,132,178,5 script KVM-B [80-99] Officer#1 418,{
- mes "[KVM B Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stinky Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM B Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMB_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM B.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",225,224;
- end;
- }
- // Croix Knight - KvM
- // *********************************************************************
- bat_room,135,121,1 script Croix Knight#36 413,{
- mes "[Croix Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Croix Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Croix Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officer - Croix
- // *********************************************************************
- bat_room,132,121,1 script KVM-B [80-99] Officer#2 414,{
- mes "[KVM B Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM B Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMB_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM B.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",225,208;
- end;
- }
- // Guillaume Knight - KvM
- // *********************************************************************
- bat_room,127,178,5 script Guillaume Knight#37 417,{
- mes "[Guillaume Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Guillaume Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Guillaume Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Guillaume Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officerer - Guillaume
- // *********************************************************************
- bat_room,124,178,5 script KVM-C [80-99] Officer#1 418,{
- mes "[KVM C Officer]";
- if( Bat_Team == 2 )
- {
- mes "Get out of here you stinky Croix!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Guillaume Army to those stinky Croixs!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM C Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMC_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM C.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",197,224;
- end;
- }
- // Croix Knight - KvM
- // *********************************************************************
- bat_room,127,121,1 script Croix Knight#37 413,{
- mes "[Croix Knight]";
- mes "To win the Battle of Kriger Von Midgard you and your team must kill all the other opponents before all of you die.";
- next;
- mes "[Croix Knight]";
- mes "The first team to lose all their soldiers loses.";
- next;
- mes "[Croix Knight]";
- mes "Since you cannot come back to battle after you die, taking care on the battlefield is essential.";
- next;
- mes "[Croix Knight]";
- mes "Are you ready for battle? Then apply with the recruiter next to me!";
- close;
- }
- // KvM Officer - Croix
- // *********************************************************************
- bat_room,124,121,1 script KVM-C [80-99] Officer#2 414,{
- mes "[KVM C Officer]";
- if( Bat_Team == 1 )
- {
- mes "Get out of here you stupid Guillaume!";
- close;
- }
- if( Bat_Team == 0 )
- {
- mes "Please sign up for an army with Prince Croix or General Guillaume!";
- close;
- }
- mes "Hello " + strcharinfo(0) + ", let's show the power of the Croix Army to those stinky Guillaumes!";
- next;
- if( select("I want to join your army!:End Conversation") == 2 )
- close;
- mes "[KVM C Officer]";
- if( BG_Delay_Tick >= gettimetick(2) )
- {
- mes "You are a Deserter!!";
- mes "Because of running away, you need to wait ^0000FF" + callfunc("Time2Str",BG_Delay_Tick) + "^000000 to join again a BattleGround.";
- close;
- }
- if( KVMC_BG_Tick >= gettimetick(2) )
- {
- mes "Sorry, you can't join the battle right now.";
- mes "You need to wait ^0000FF" + callfunc("Time2Str",KvM_BG_Tick) + "^000000 to join KvM C.";
- close;
- }
- if( BaseLevel < 80 )
- {
- mes "I'm very please you want to join our army, but I'm sorry: This arena is for players with baselevel from 80 to 99.";
- close;
- }
- mes "Good luck!";
- close2;
- warp "bat_room",197,208;
- end;
- }
- // Guard Dummy
- // *********************************************************************
- bat_room,161,141,3 script Prince Croix's Aid::bat_aid 415,{ end; }
- bat_room,161,139,3 duplicate(bat_aid) Prince Croix's Aid::bat_aid2 415
- bat_room,161,160,3 duplicate(bat_aid) General Guillaume's Aid::bat_aid3 419
- bat_room,161,158,3 duplicate(bat_aid) General Guillaume's Aid::bat_aid4 419
- // Flags
- // *********************************************************************
- - script Light Camp#bat 973,{ end; }
- - script Dark Camp#bat 974,{ end; }
- // Badges Repairman
- // *********************************************************************
- bat_room,138,144,5 script Repairman#bg2 99,{
- callfunc "repairmain","Repairman";
- end;
- }
- // Badges Exchange
- // *********************************************************************
- bat_room,160,150,3 script Erundek#31 109,{
- mes "[Erundek]";
- mes "Welcome, mighty warrior.";
- mes "What can I do for you today ?";
- next;
- switch( select("Check the Catalog","Exchange Bravery Badges","Exchange Valor Badges","Exchange Heroism Badges","Hmm, nothing I guess.") )
- {
- case 1:
- mes "[Erundek]";
- mes "We have many items, so please take a look and purchase deliberately.";
- close2;
- Readbook 11010,1;
- end;
- case 5:
- mes "[Erundek]";
- mes "As you wish.";
- mes "See you later.";
- close;
- case 2: // Bravery Badges
- mes "[Erundek]";
- mes "So you want to exchange ^0000FFBravery Badges^000000 from the Battle of Tierra Valley.";
- mes "What kind of item do you want to exchange?";
- next;
- deletearray .@Item_DB[0],127;
- set .@Badge, 7828;
- switch( select("Weapons:Garment:Footgear:Armor:Accessory") )
- {
- case 1: setarray .@Item_DB[0],13036,13411,1425,1632,1634,1543,1924,1978,1574,1824,1183,1380,13305,1279,1739,13108,13172; set .@Value, 100; break;
- case 2: setarray .@Item_DB[0],2538,2539,2540; set .@Value, 50; break;
- case 3: setarray .@Item_DB[0],2435,2436,2437; set .@Value, 50; break;
- case 4: setarray .@Item_DB[0],2376,2377,2378,2379,2380,2381,2382; set .@Value, 80; break;
- case 5: setarray .@Item_DB[0],2720,2721,2722,2723,2724,2725,2733; set .@Value, 500; break;
- }
- break;
- case 3: // Valor Badges
- mes "[Erundek]";
- mes "So you want to exchange ^FF0000Valor Badges^000000 from the Battle of Flavius.";
- mes "What kind of item do you want to exchange?";
- next;
- deletearray .@Item_DB[0],127;
- set .@Badge, 7829;
- switch( select("Weapons:Garment:Footgear:Armor:Accessory") )
- {
- case 1: setarray .@Item_DB[0],13037,13410,1633,1635,1542,1923,1977,1575,1823,1184,1482,1379,13306,1280,1738,13171,13173,13174; set .@Value, 100; break;
- case 2: setarray .@Item_DB[0],2538,2539,2540; set .@Value, 50; break;
- case 3: setarray .@Item_DB[0],2435,2436,2437; set .@Value, 50; break;
- case 4: setarray .@Item_DB[0],2376,2377,2378,2379,2380,2381,2382; set .@Value, 80; break;
- case 5: setarray .@Item_DB[0],2720,2721,2722,2723,2724,2725,2733; set .@Value, 500; break;
- }
- break;
- case 4: // Heroism Badge
- mes "[Erundek]";
- mes "So you want to exchange ^FFA500Heroism Badges^000000 from the Battle of Kriger Von Midgard.";
- mes "This shop is not available at the moment.";
- close;
- }
- mes "[Erundek]";
- mes "What item do you want to exchange?";
- mes "If you are not sure, check the catalog.";
- next;
- set .@Menu$, "";
- set .@Count, getarraysize(.@Item_DB);
- for( set .@i, 0; .@i < .@Count; set .@i, .@i + 1 )
- set .@Menu$, .@Menu$ + getitemname(.@Item_DB[.@i]) + ":";
- set .@Item_ID, .@Item_DB[select(.@Menu$) - 1];
- mes "[Erundek]";
- mes "Would you like to exchange ^FF0000" + .@Value + " " + getitemname(.@Badge) + "^000000 for a ^0000FF" + getitemname(.@Item_ID) + "^000000?";
- next;
- mes "Remember, Battleground Reward Items are ^FF0000Character Bound^000000.";
- mes "Are you sure you want this item?";
- next;
- if( select("Yes:No") == 2 )
- {
- mes "[Erundek]";
- mes "Do you need more time to check the items?";
- close;
- }
- if( countitem(.@Badge) < .@Value )
- {
- mes "[Erundek]";
- mes "I'm sorry, but you don't have enough badges to exchange.";
- close;
- }
- delitem .@Badge,.@Value;
- getitem .@Item_ID,1;
- mes "[Erundek]";
- mes "Thank you for exchanging.";
- close;
- }
- // === System === \\
- new_3-4,19,69,5 script Registration::Fl2R_Guillaume 418,{
- end;
- OnInit:
- waitingroom "Enter Arena Here",40,"Flavius_BG2::OnGuillaumeJoin",1;
- end;
- OnEnterBG:
- set $@FlaviusBG2_id1, waitingroom2bg("bat_room",197,94,"Flavius_BG2::OnGuillaumeQuit","");
- end;
- }
- new_3-4,139,108,5 script Registration::Fl2R_Croix 414,{
- end;
- OnInit:
- waitingroom "Enter Arena Here",40,"Flavius_BG2::OnCroixJoin",1;
- end;
- OnEnterBG:
- set $@FlaviusBG2_id2, waitingroom2bg("bat_room",197,77,"Flavius_BG2::OnCroixQuit","");
- end;
- }
- // Battleground Engine
- // *********************************************************************
- - script Flavius_BG2 -1,{
- end;
- OnClock0430:
- OnCTHStop:
- set nagstartna,0;
- if ($@Guillaume_Score > $@Croix_Score) goto Guillawin;
- if ($@Guillaume_Score < $@Croix_Score) goto Croixwin;
- if ($@Guillaume_Score == $@Croix_Score) goto Nowinner;
- end;
- OnClock0410:
- OnCTHStart:
- announce "[The Capture The Heroes will start in 4 Minutes]... Please go to Prontera for Registration.",0;
- stopnpctimer;
- set $@Guillaume_Score, 0;
- set $@Croix_Score, 0;
- set $@FlaviusBG2_Victory, 0;
- set $@anuncioF4,0;
- set $@anuncioF3,0;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- set $@RedFlagFalse, 0;
- set $@BlueFlagFalse, 0;
- // NPC's
- disablenpc "Dark Reward#fl2";
- disablenpc "Therapist in Battle#1";
- disablenpc "Therapist in Battle#2";
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- set $@register,1;
- set $@FlaviusBG2, 0;
- if( $@FlaviusBG2_id1 ) { bg_destroy $@FlaviusBG2_id1; set $@FlaviusBG2_id1, 0; }
- if( $@FlaviusBG2_id2 ) { bg_destroy $@FlaviusBG2_id2; set $@FlaviusBG2_id2, 0; }
- sleep 1000;
- mapwarp "bat_b02","prontera",155,179;
- mapwarp "new_2-4","prontera",155,179;
- sleep 2000;
- bg_updatescore "bat_b02",0,0;
- sleep 60000;
- if( $@FlaviusBG2==2 ) end;
- announce "The Capture The Heroes registration will close in 3 Minutes... Please go to Prontera for Registration.",0;
- sleep 60000;
- if( $@FlaviusBG2==2 ) end;
- announce "The Capture The Heroes registration will close in 2 Minutes... Please go to Prontera for Registration.",0;
- sleep 60000;
- if( $@FlaviusBG2==2 ) end;
- announce "The Capture The Heroes registration will close in 1 Minute... Please go to Prontera for Registration.",0;
- sleep 30000;
- if( $@FlaviusBG2==2 ) end;
- announce "The Capture The Heroes registration will close in 30 Seconds... Please go to Prontera for Registration.",0;
- sleep 20000;
- if( $@FlaviusBG2==2 ) end;
- announce "Registration has Ended.",0;
- set $@register,0;
- goto Simulan;
- end;
- Simulan:
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- sleep 2000;
- if( $@FlaviusBG2==2 ) end;
- announce "Please get inside the pubs to enter the Arena, You have 30 seconds to prepare.",0;
- sleep 20000;
- if( $@FlaviusBG2==2 ) end;
- announce "10 Seconds Before Starting, Please Don't Exit the Pubs.",0;
- sleep 7000;
- if( $@FlaviusBG2==2 ) end;
- announce "3",0;
- sleep 1000;
- if( $@FlaviusBG2==2 ) end;
- announce "2",0;
- sleep 1000;
- if( $@FlaviusBG2==2 ) end;
- announce "1",0;
- donpcevent "Flavius_BG2::OnReadyCheck";
- end;
- OnInit:
- setcell "bat_room",201,94,194,90,cell_landprotector,1;
- setcell "bat_room",201,81,194,74,cell_landprotector,1;
- setcell "bat_b02",333,153,326,145,cell_landprotector,1;
- setcell "bat_b02",57,145,65,155,cell_landprotector,1;
- setcell "bat_b02",304,235,319,214,cell_landprotector,1;
- setcell "bat_b02",76,85,99,64,cell_landprotector,1;
- disablenpc "Dark Reward#fl2";
- disablenpc "Therapist in Battle#1";
- disablenpc "Therapist in Battle#2";
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- set nagstartna,0;
- end;
- OnPCLoginEvent:
- if ($@register < 1) set registeredna,0;
- end;
- OnGuillaumeQuit:
- OnCroixQuit:
- if ( $@Blue_Flag_Carrier$ == strcharinfo(0) || $@Red_Flag_Carrier$ == strcharinfo(0)){
- if( Bat_Team == 1) {
- if( $@BlueFlagTaken == 1 ){
- mapannounce "bat_b02","Lucifer of the Dark has been freed.",bc_map,0xFF0000;
- getmapxy (mapname$,.@mapx,.@mapy,0,strcharinfo(0));
- movenpc "Lucifer of the Dark#1",.@mapx,.@mapy;
- set $@BlueFlagFalse, 1;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- sleep 4000;
- enablenpc "Lucifer of the Dark#1";
- end;
- }
- }
- if( Bat_Team == 2) {
- if( $@RedFlagTaken == 1 ){
- mapannounce "bat_b02","Freyja of the Light has been freed.",bc_map,0x0000FF;
- getmapxy (mapname$,.@mapx,.@mapy,0,strcharinfo(0));
- movenpc "Freyja of the Light#1",.@mapx,.@mapy;
- set $@RedFlagFalse, 1;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- sleep 4000;
- enablenpc "Freyja of the Light#1";
- end;
- }
- }
- }
- set BG_Delay_Tick, gettimetick(2) + 1200;
- end;
- OnGuillaumeJoin:
- OnCroixJoin:
- if( $@FlaviusBG2 == 1 ){
- if( $@GuillC < 30 && $@CroiC < 30){
- set .@Guillaume, getwaitingroomstate(0,"Fl2R_Guillaume");
- set .@Croix, getwaitingroomstate(0,"Fl2R_Croix");
- if (.@Guillaume!=0 && .@Croix!=0){
- set $@GuillC, ($@GuillC + 1);
- set $@CroiC, ($@CroiC + 1);
- waitingroom2bg_single($@FlaviusBG2_id1,"bat_b02",311,224,"Fl2R_Guillaume");
- waitingroom2bg_single($@FlaviusBG2_id2,"bat_b02",87,75,"Fl2R_Croix");
- mapannounce "new_3-4","Capture The Heroes: " + $@GuillC + "/40, C: " + $@CroiC + "/40 in Progress!",1,0x610B5E;
- end;
- }
- }
- }
- end;
- OnReadyCheck:
- if( $@FlaviusBG2 )
- end;
- set .@Guillaume, getwaitingroomstate(0,"Fl2R_Guillaume");
- set .@Croix, getwaitingroomstate(0,"Fl2R_Croix");
- // BG Variables
- set $@FlaviusBG2, 1;
- set $@FlaviusBG2_Victory, 0;
- set $@Guillaume_Score, 0;
- set $@Croix_Score, 0;
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- set $@RedFlagFalse, 0;
- set $@BlueFlagFalse, 0;
- // Prepare NPC
- donpcevent "#gfl2_respawn::OnBGStart";
- donpcevent "#cfl2_respawn::OnBGStart";
- enablenpc "Therapist in Battle#1";
- disablenpc "Therapist in Battle#2";
- disablenpc "Dark Reward#fl2";
- // Build and Warp Teams
- donpcevent "Fl2R_Guillaume::OnEnterBG";
- donpcevent "Fl2R_Croix::OnEnterBG";
- // Vamos contando
- set $@GuillC, 10;
- set $@CroiC, 10;
- announce "Capture The Heroes has started!",0;
- initnpctimer;
- // Start Match!!
- OnRoundStart:
- if( $@FlaviusBG2 != 1 ) end;
- areapercentheal "bat_b02",382,2,397,17,100,100;
- areapercentheal "bat_b02",2,282,17,297,100,100;
- bg_warp $@FlaviusBG2_id1,"bat_b02",311,224;
- bg_warp $@FlaviusBG2_id2,"bat_b02",87,75;
- sleep 2000;
- movenpc "Lucifer of the Dark",62,149;
- movenpc "Freyja of the Light",328,150;
- movenpc "Freyja of the Light#1",391,14;
- movenpc "Lucifer of the Dark#1",391,15;
- enablenpc "Lucifer of the Dark";
- enablenpc "Freyja of the Light";
- if( $@FlaviusBG2 != 1 ) end;
- announce "The Capture The Heroes has begun!!",0;
- sleep 5000;
- if( $@FlaviusBG2==2 ) end;
- mapannounce "bat_b02","Capture the Enemy's Heroes and bring it to your Hero to score points.",0;
- sleep 10000;
- if( $@FlaviusBG2==2 ) end;
- mapannounce "bat_b02","The First Team to score the Most Points win!!!.",0;
- sleep 600000;
- if( $@FlaviusBG2==2 ) end;
- donpcevent "Flavius_BG2::OnMatchEnd";
- end;
- OnPCDieEvent:
- if ( $@Blue_Flag_Carrier$ == strcharinfo(0) || $@Red_Flag_Carrier$ == strcharinfo(0)){
- if( Bat_Team == 1) {
- if( $@BlueFlagTaken == 1 ){
- mapannounce "bat_b02", "Lucifer of the Dark has been freed!!!",bc_map,0xFF0000;
- getmapxy (mapname$,.@mapx,.@mapy,0,strcharinfo(0));
- movenpc "Lucifer of the Dark#1",.@mapx,.@mapy;
- set $@BlueFlagFalse, 1;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- sleep 2000;
- enablenpc "Lucifer of the Dark#1";
- sleep 10000;
- if ($@nahawakanluci == 0){
- movenpc "Lucifer of the Dark#1",155,119;
- set $@nahawakanluci,0;
- end;
- }
- end;
- }
- }
- if( Bat_Team == 2) {
- if( $@RedFlagTaken == 1 ){
- mapannounce "bat_b02", "Freyja of the Light has been freed!!!",bc_map,0x0000FF;
- getmapxy (mapname$,.@mapx,.@mapy,0,strcharinfo(0));
- movenpc "Freyja of the Light#1",.@mapx,.@mapy;
- set $@RedFlagFalse, 1;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- sleep 2000;
- enablenpc "Freyja of the Light#1";
- sleep 10000;
- if ($@nahawakanfreya == 0){
- movenpc "Freyja of the Light#1",243,182;
- set $@nahawakanfreya,0;
- end;
- }
- }
- }
- }
- end;
- OnMatchEnd:
- set $@FlaviusBG2, 2;
- stopnpctimer;
- movenpc "Freyja of the Light",391,15;
- movenpc "Lucifer of the Dark",391,14;
- movenpc "Freyja of the Light#1",392,15;
- movenpc "Lucifer of the Dark#1",392,14;
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- donpcevent "#gfl2_respawn::OnBGStop";
- donpcevent "#cfl2_respawn::OnBGStop";
- disablenpc "Therapist in Battle#1";
- disablenpc "Therapist in Battle#2";
- enablenpc "Battle Reward#fl2";
- sleep 2000;
- mapwarp "bat_b02","new_2-4",51,191;
- mapwarp "bat_room","new_2-4",51,191;
- sleep 3000;
- mapannounce "bat_b02","Capture The Heroes will close in 1 minute!",1,0x610B5E;
- initnpctimer;
- end;
- OnTimer30000:
- if( $@FlaviusBG2 == 2 )
- mapannounce "bat_b02","Capture The Heroes will close in 30 seconds!",1,0x610B5E;
- end;
- OnTimer50000:
- if( $@FlaviusBG2 == 2 )
- mapannounce "bat_b02","Capture The Heroes will close in 10 seconds!",1,0x610B5E;
- end;
- OnTimer60000:
- if( $@FlaviusBG2 != 2 )
- end;
- OnReset:
- stopnpctimer;
- set $@Guillaume_Score, 0;
- set $@Croix_Score, 0;
- set $@anuncioF4,0;
- set $@anuncioF3,0;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- set $@RedFlagFalse, 0;
- set $@BlueFlagFalse, 0;
- // NPC's
- disablenpc "Dark Reward#fl2";
- disablenpc "Therapist in Battle#1";
- disablenpc "Therapist in Battle#2";
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- if( $@FlaviusBG2_id1 ) { bg_destroy $@FlaviusBG2_id1; set $@FlaviusBG2_id1, 0; }
- if( $@FlaviusBG2_id2 ) { bg_destroy $@FlaviusBG2_id2; set $@FlaviusBG2_id2, 0; }
- sleep 1000;
- mapwarp "bat_room","new_2-4",51,191;
- sleep 1000;
- mapwarp "bat_b02","new_2-4",51,191;
- sleep 2000;
- bg_updatescore "bat_b02",0,0;
- set $@FlaviusBG2, 0;
- end;
- Guillawin:
- announce "The Warriors of the Light has won the Capture The Heroes!",0;
- set $@FlaviusBG2_Victory, 1;
- donpcevent "Flavius_BG2::OnMatchEnd";
- end;
- Croixwin:
- announce "The Warriors of the Dark has won the Capture The Heroes!",0;
- set $@FlaviusBG2_Victory, 2;
- donpcevent "Flavius_BG2::OnMatchEnd";
- end;
- Nowinner:
- announce "The Capture The Heroes has ended. There are no victors!",0;
- set $@FlaviusBG2_Victory, 3;
- donpcevent "Flavius_BG2::OnMatchEnd";
- end;
- }
- // Banderas estaticas :3
- bat_b02,328,150,5 script Freyja of the Light 1751,1,1,{
- end;
- OnTouch:
- if( Bat_Team == 2 ){
- set @hp, (Hp * 100 / MaxHp);
- if (@hp < 50) goto notenafhp;
- set $@RedFlagTaken, 1;
- set $@Red_Flag_Carrier$,strcharinfo(0);
- mapannounce "bat_b02", "[ "+$@Red_Flag_Carrier$+" ] kidnapped Freyja of the Light",bc_map,0xFF0000;
- disablenpc "Freyja of the Light";
- movenpc "Freyja of the Light",391,15;
- callsub OnRedFlagCarrier;
- end;
- notenafhp:
- announce "You cannot kidnap the Hero. Your HP is below 50%, Please Make sure that your HP is above 50% to successfully kidnap the Hero.",3;
- end;
- }
- if( $@BlueFlagTaken == 1 && $@Blue_Flag_Carrier$ == strcharinfo(0) ){
- mapannounce "bat_b02", "[ "+$@Blue_Flag_Carrier$+" ] successfully devoured Lucifer of the Dark",bc_map,0x0000FF;
- set @banderas,@banderas + 1;
- set $@BlueFlagTaken, 0;
- set $@Blue_Flag_Carrier$,0;
- if( set($@Guillaume_Score, $@Guillaume_Score + 1) < 100 )
- {
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- movenpc "Lucifer of the Dark",62,149;
- movenpc "Freyja of the Light",328,150;
- movenpc "Freyja of the Light#1",391,14;
- movenpc "Lucifer of the Dark#1",391,15;
- sleep 5000;
- mapannounce "bat_b02","The Heroes have been set to their Bases!!",bc_map,0xFFFF00;
- enablenpc "Lucifer of the Dark";
- enablenpc "Freyja of the Light";
- }
- else
- {
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- mapannounce "bat_b02","The Warriors of the Light has won the Capture The Heroes!",1,0x0000FF;
- set $@FlaviusBG2_Victory, 1;
- donpcevent "Flavius_BG2::OnMatchEnd";
- }
- }
- end;
- OnRedFlagCarrier:
- if($@RedFlagTaken == 1) {
- if($@Red_Flag_Carrier$ == strcharinfo(0)) {
- sc_end SC_CLOAKING;
- sc_end SC_CHASEWALK;
- sc_end SC_HIDING;
- sc_start 297,2000,1;
- sc_start SC_ROKISWEIL,1200000,1;
- emotion e_hlp,1;
- percentheal -7,0;
- specialeffect2 58;
- sleep2 2000;
- goto OnRedFlagCarrier;}}
- sc_end 297;
- sc_end SC_ROKISWEIL;
- end;
- }
- bat_b02,62,149,5 script Lucifer of the Dark 1916,1,1,{
- end;
- OnTouch:
- if( Bat_Team == 1 ){
- set @hp2, (Hp * 100 / MaxHp);
- if (@hp2 < 50) goto notenafhp2;
- set $@BlueFlagTaken, 1;
- set $@Blue_Flag_Carrier$,strcharinfo(0);
- mapannounce "bat_b02", "[ "+$@Blue_Flag_Carrier$+" ] kidnapped Lucifer of the Dark",bc_map,0x0000FF;
- disablenpc "Lucifer of the Dark";
- movenpc "Lucifer of the Dark",391,14;
- callsub OnBlueFlagCarrier;
- end;
- notenafhp2:
- announce "You cannot kidnap the Hero. Your HP is below 50%, Please Make sure that your HP is above 50% to successfully kidnap the Hero.",3;
- end;
- }
- if( $@RedFlagTaken == 1 && $@Red_Flag_Carrier$ == strcharinfo(0) ){
- mapannounce "bat_b02", "[ "+$@Red_Flag_Carrier$+" ] successfully devoured Freyja of the Light",bc_map,0xFF0000;
- set @banderas,@banderas + 1;
- set $@RedFlagTaken, 0;
- set $@Red_Flag_Carrier$,0;
- if( set($@Croix_Score, $@Croix_Score + 1) < 100 )
- {
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- disablenpc "Lucifer of the Dark";
- disablenpc "Freyja of the Light";
- disablenpc "Freyja of the Light#1";
- disablenpc "Lucifer of the Dark#1";
- movenpc "Lucifer of the Dark",62,149;
- movenpc "Freyja of the Light",328,150;
- movenpc "Freyja of the Light#1",391,14;
- movenpc "Lucifer of the Dark#1",391,15;
- sleep 5000;
- mapannounce "bat_b02","The Heroes have been set to their Bases!!",bc_map,0xFFFF00;
- enablenpc "Lucifer of the Dark";
- enablenpc "Freyja of the Light";
- }
- else
- {
- bg_updatescore "bat_b02",$@Guillaume_Score,$@Croix_Score;
- mapannounce "bat_b02","The Warriors of the Dark has won the Capture The Heroes!",1,0xFF0000;
- set $@FlaviusBG2_Victory, 2;
- donpcevent "Flavius_BG2::OnMatchEnd";
- }
- }
- end;
- OnBlueFlagCarrier:
- if($@BlueFlagTaken == 1) {
- if($@Blue_Flag_Carrier$ == strcharinfo(0)) {
- sc_end SC_CLOAKING;
- sc_end SC_CHASEWALK;
- sc_end SC_HIDING;
- sc_start 297,2000,1;
- sc_start SC_ROKISWEIL,1200000,1;
- emotion e_hlp,1;
- percentheal -7,0;
- specialeffect2 58;
- sleep2 2000;
- goto OnBlueFlagCarrier;}}
- sc_end 297;
- sc_end SC_ROKISWEIL;
- end;
- }
- //Banderas que dropean al morir, y se mueven :3!
- bat_b02,390,13,5 script Lucifer of the Dark#1 1916,1,1,{
- end;
- OnTouch:
- if( Bat_Team == 1 ){
- set $@nahawakanluci,1;
- set $@BlueFlagFalse, 0;
- set $@BlueFlagTaken, 1;
- set $@Blue_Flag_Carrier$,strcharinfo(0);
- mapannounce "bat_b02","[ "+$@Blue_Flag_Carrier$+" ] kidnapped Lucifer of the Dark!!!",bc_map,0xFF0000;
- disablenpc "Lucifer of the Dark#1";
- movenpc "Lucifer of the Dark#1",390,13;
- callsub OnBlueFlagCarrier;
- end;
- }
- if( Bat_Team == 2 ){
- set $@Blue_Returned$,strcharinfo(0);
- mapannounce "bat_b02","[ "+$@Blue_Returned$+" ] rescued Lucifer of the Dark...",bc_map,0xFF0000;
- set $@nahawakanluci,1;
- set $@Blue_Returned$,0;
- set $@BlueFlagFalse, 0;
- disablenpc "Lucifer of the Dark#1";
- movenpc "Lucifer of the Dark#1",390,13;
- movenpc "Lucifer of the Dark",62,149;
- enablenpc "Lucifer of the Dark";
- end;
- }
- end;
- OnBlueFlagCarrier:
- if($@BlueFlagTaken == 1) {
- if($@Blue_Flag_Carrier$ == strcharinfo(0)) {
- sc_end SC_CLOAKING;
- sc_end SC_CHASEWALK;
- sc_end SC_HIDING;
- sc_start 297,2000,1;
- sc_start SC_ROKISWEIL,1200000,1;
- emotion e_hlp,1;
- percentheal -7,0;
- specialeffect2 58;
- sleep2 2000;
- goto OnBlueFlagCarrier;}}
- sc_end 297;
- sc_end SC_ROKISWEIL;
- end;
- }
- bat_b02,390,14,5 script Freyja of the Light#1 1751,1,1,{
- end;
- OnTouch:
- if( Bat_Team == 2 ){
- set $@nahawakanfreya,1;
- set $@RedFlagFalse, 0;
- set $@RedFlagTaken, 1;
- set $@Red_Flag_Carrier$,strcharinfo(0);
- mapannounce "bat_b02", "[ "+$@Red_Flag_Carrier$+" ] kidnapped Freyja of the Light!!!",bc_map,0x0000FF;
- disablenpc "Freyja of the Light#1";
- movenpc "Freyja of the Light#1",390,13;
- callsub OnRedFlagCarrier;
- end;
- }
- if( Bat_Team == 1 ){
- set $@Red_Returned$,strcharinfo(0);
- mapannounce "bat_b02","[ "+$@Red_Returned$+" ] rescued Freyja of the Light...",bc_map,0x0000FF;
- set $@nahawakanfreya,1;
- set $@Red_Returned$,0;
- set $@RedFlagFalse, 0;
- disablenpc "Freyja of the Light#1";
- movenpc "Freyja of the Light#1",390,14;
- movenpc "Freyja of the Light",328,150;
- enablenpc "Freyja of the Light";
- end;
- }
- end;
- OnRedFlagCarrier:
- if($@RedFlagTaken == 1) {
- if($@Red_Flag_Carrier$ == strcharinfo(0)) {
- sc_end SC_CLOAKING;
- sc_end SC_CHASEWALK;
- sc_end SC_HIDING;
- sc_start 297,2000,1;
- sc_start SC_ROKISWEIL,1200000,1;
- emotion e_hlp,1;
- percentheal -7,0;
- specialeffect2 58;
- sleep2 2000;
- goto OnRedFlagCarrier;}}
- sc_end 297;
- sc_end SC_ROKISWEIL;
- end;
- }
- // Map View de las banderas.
- - script viewmapred -,{
- end;
- OnPCLoadMapEvent:
- OnViewRed:
- getmapxy .@MAPNAME$,@X,@Y,0,strcharinfo(0);
- if(.@MAPNAME$ == "bat_b02") {
- if($@FlaviusBG2 == 2) {
- viewpoint 2,.yE,.yE,1,0x0000ff;
- end;}
- if($@FlaviusBG2 == 1) {
- if ($@RedFlagFalse == 1) {
- getmapxy(.mapES$, .xE, .yE,1,"Freyja of the Light#1");
- viewpoint 1,.xE,.yE,1,0x0000ff;
- sleep2 1000;
- goto OnViewRed;
- }
- if ($@RedFlagTaken == 1) {
- getmapxy(.mapES$, .xE, .yE,0,$@Red_Flag_Carrier$);
- viewpoint 1,.xE,.yE,1,0x0000ff;
- sleep2 1000;
- goto OnViewRed;
- }
- }
- getmapxy(.mapES$, .xE, .yE,1,"Freyja of the Light");
- viewpoint 1,.xE,.yE,1,0x0000ff;
- sleep2 1000;
- goto OnViewRed;
- }
- end;
- }
- - script viewmapblue -,{
- end;
- OnPCLoadMapEvent:
- OnViewBlue:
- getmapxy .@MAPNAME$,@X,@Y,0,strcharinfo(0);
- if(.@MAPNAME$ == "bat_b02") {
- if($@FlaviusBG2 == 2) {
- viewpoint 2,.yEE,.yEE,2,0xff0000;
- end;}
- if($@FlaviusBG2 == 1) {
- if ($@BlueFlagFalse == 1) {
- getmapxy(.mapEES$, .xEE, .yEE,1,"Lucifer of the Dark#1");
- viewpoint 1,.xEE,.yEE,2,0xff0000;
- sleep2 1000;
- goto OnViewBlue;
- }
- if ($@BlueFlagTaken == 1) {
- getmapxy(.mapEES$, .xEE, .yEE,0,$@Blue_Flag_Carrier$);
- viewpoint 1,.xEE,.yEE,2,0xff0000;
- sleep2 1000;
- goto OnViewBlue;
- }
- }
- getmapxy(.mapEES$, .xEE, .yEE,1,"Lucifer of the Dark");
- viewpoint 1,.xEE,.yEE,2,0xff0000;
- sleep2 1000;
- goto OnViewBlue;
- }
- end;
- }
- // Battleground rewards
- // *********************************************************************
- new_2-4,51,191,5 script Battle Reward#fl2 851,{
- if( $@FlaviusBG2_Victory == Bat_Team )
- { // Victory
- mes "[Swandery]";
- mes "Blessed Warrior";
- mes "Let's enjoy our glorious victory!";
- mes "" + strcharinfo(0) + ", its a sign reflecting victory";
- getitem 7829,10;
- set registeredna,0;
- warp "prontera",155,179;
- end;
- }
- else
- { // Derrota
- mes "[Swandery]";
- mes "You lost, but you're dedicated to this battle.";
- mes "This is a reward for your great dedication!";
- mes "Just take this defeat a lesson, and later you would definitely learn.";
- set registeredna,0;
- getitem 741,1;
- warp "prontera",155,179;
- end;
- }
- set Flavius2_BG_Tick, gettimetick(2) + 300;
- getitem 25454, .@Reward;
- if(.@rewardb != 0) {
- dispbottom "You've won "+.@rewardb+" extra medals for captured heroes";
- getitem 25454,.@rewardb;}
- setlook 7,normallook;
- set registeredna,0;
- bg_leave;
- warp "prontera",155,179;
- end;
- }
- // Battleground Therapist
- // *********************************************************************
- bat_room,197,97,5 script Therapist in Battle#1 95,{
- mes "[Therapist in battle]";
- mes "Just close your eyes, and take a deep breathe.";
- mes "You can be free from pain.";
- percentheal 100,100;
- sc_start SC_MAGNIFICAT,300000,5;
- specialeffect2 312;
- close;
- }
- bat_room,197,74,1 script Therapist in battle#2 95,{
- mes "[Therapist in battle]";
- mes "Just close your eyes, and take a deep breathe.";
- mes "You can be free from pain.";
- percentheal 100,100;
- sc_start SC_MAGNIFICAT,300000,5;
- specialeffect2 312;
- close;
- }
- // Battleground Respawn
- // *********************************************************************
- bat_room,197,97,0 script #gfl2_respawn 139,{
- end;
- OnBGStart:
- initnpctimer;
- end;
- OnBGStop:
- stopnpctimer;
- end;
- OnTimer24000:
- misceffect 83;
- end;
- OnTimer25000:
- areapercentheal "bat_room",201,98,194,90,100,100;
- areawarp "bat_room",201,98,194,90,"bat_b02",311,224;
- initnpctimer;
- end;
- }
- bat_b02,197,74,0 script #cfl2_respawn 139,{
- end;
- OnBGStart:
- initnpctimer;
- end;
- OnBGStop:
- stopnpctimer;
- end;
- OnTimer24000:
- misceffect 83;
- end;
- OnTimer25000:
- areapercentheal "bat_room",201,81,194,73,100,100;
- areawarp "bat_room",201,81,194,73,"bat_b02",87,75;
- initnpctimer;
- end;
- }
- // Flags
- // *********************************************************************
- bat_b02,304,231,1 duplicate(Light Camp#bat) Light Camp#bat32 973
- bat_b02,319,231,1 duplicate(Light Camp#bat) Light Camp#bat33 973
- bat_b02,304,218,1 duplicate(Light Camp#bat) Light Camp#bat34 973
- bat_b02,319,218,1 duplicate(Light Camp#bat) Light Camp#bat35 973
- bat_b02,304,231,1 duplicate(Light Camp#bat) Light Camp#bat36 973
- bat_b02,304,231,1 duplicate(Light Camp#bat) Light Camp#bat37 973
- bat_b02,335,142,1 duplicate(Light Camp#bat) Light Camp#bat38 973
- bat_b02,335,157,1 duplicate(Light Camp#bat) Light Camp#bat39 973
- bat_b02,390,16,1 duplicate(Light Camp#bat) Light Camp#bat40 973
- bat_b02,292,163,1 duplicate(Light Camp#bat) Light Camp#bat41 973
- bat_b02,292,136,1 duplicate(Light Camp#bat) Light Camp#bat42 973
- bat_b02,241,185,1 duplicate(Light Camp#bat) Light Camp#bat43 973
- bat_b02,247,179,1 duplicate(Light Camp#bat) Light Camp#bat44 973
- bat_b02,96,81,1 duplicate(Dark Camp#bat) Dark Camp#bat30 974
- bat_b02,96,68,1 duplicate(Dark Camp#bat) Dark Camp#bat31 974
- bat_b02,79,81,1 duplicate(Dark Camp#bat) Dark Camp#bat32 974
- bat_b02,79,68,1 duplicate(Dark Camp#bat) Dark Camp#bat33 974
- bat_b02,96,81,1 duplicate(Dark Camp#bat) Dark Camp#bat34 974
- bat_b02,96,81,1 duplicate(Dark Camp#bat) Dark Camp#bat35 974
- bat_b02,59,164,1 duplicate(Dark Camp#bat) Dark Camp#bat36 974
- bat_b02,59,137,1 duplicate(Dark Camp#bat) Dark Camp#bat37 974
- bat_b02,10,296,1 duplicate(Dark Camp#bat) Dark Camp#bat38 974
- bat_b02,110,162,1 duplicate(Dark Camp#bat) Dark Camp#bat39 974
- bat_b02,110,137,1 duplicate(Dark Camp#bat) Dark Camp#bat40 974
- bat_b02,152,120,1 duplicate(Dark Camp#bat) Dark Camp#bat41 974
- bat_b02,158,114,1 duplicate(Dark Camp#bat) Dark Camp#bat42 974
- // MapFlags
- // *********************************************************************
- new_3-4 mapflag nomemo
- new_3-4 mapflag nosave SavePoint
- new_3-4 mapflag noteleport
- new_3-4 mapflag nowarp
- new_3-4 mapflag noreturn
- new_3-4 mapflag nobranch
- new_3-4 mapflag nopenalty
- new_3-4 mapflag nowarpto
- new_2-4 mapflag nowarp
- new_2-4 mapflag nowarpto
- new_2-4 mapflag nomemo
- new_2-4 mapflag nosave SavePoint
- new_2-4 mapflag noteleport
- new_2-4 mapflag nowarp
- new_2-4 mapflag noreturn
- new_2-4 mapflag nobranch
- new_2-4 mapflag nopenalty
- bat_b02 mapflag battleground 2
- bat_b02 mapflag nomemo
- bat_b02 mapflag nocommand
- bat_b02 mapflag nosave SavePoint
- bat_b02 mapflag noteleport
- bat_b02 mapflag nowarp
- bat_b02 mapflag nowarpto
- bat_b02 mapflag noreturn
- bat_b02 mapflag nobranch
- bat_b02 mapflag nopenalty
- bat_b02 mapflag loadevent
- splendide mapflag noskill
- bat_a02 mapflag nowarpto
- que_bingo mapflag nowarp
- que_bingo mapflag nowarpto
- que_bingo mapflag noreturn
- que_bingo mapflag nobranch
- que_bingo mapflag noteleport
- que_bingo mapflag nopenalty
- sec_pri mapflag nowarp
- sec_pri mapflag nowarpto
- sec_pri mapflag noreturn
- sec_pri mapflag nobranch
- sec_pri mapflag noteleport
- sec_pri mapflag nopenalty
- prontera mapflag restricted 1
- guild_vs1 mapflag nomemo
- guild_vs1 mapflag noteleport
- guild_vs1 mapflag nowarp
- guild_vs1 mapflag noreturn
- guild_vs1 mapflag nobranch
- guild_vs1 mapflag nowarpto
- guild_vs2 mapflag nomemo
- guild_vs2 mapflag noteleport
- guild_vs2 mapflag nowarp
- guild_vs2 mapflag noreturn
- guild_vs2 mapflag nobranch
- guild_vs2 mapflag nowarpto
- poring_w01 mapflag restricted 2
- prt_gld mapflag pvp off
- alde_gld mapflag pvp off
- pay_gld mapflag pvp off
- job3_war02 mapflag nowarp
- job3_war02 mapflag nowarpto
- //prontera mapflag autotrade no
- //morocc mapflag autotrade no
- //geffen mapflag autotrade no
- //payon mapflag autotrade no
- //alberta mapflag autotrade no
- //izlude mapflag autotrade no
- //aldebaran mapflag autotrade no
- //lutie mapflag autotrade no
- //comodo mapflag autotrade no
- //yuno mapflag autotrade no
- //amatsu mapflag autotrade no
- //gonryun mapflag autotrade no
- //umbala mapflag autotrade no
- //niflheim mapflag autotrade no
- //louyang mapflag autotrade no
- //ayothaya mapflag autotrade no
- //enbroch mapflag autotrade no
- //lighthalzen mapflag autotrade no
- //einbech mapflag autotrade no
- //hugel mapflag autotrade no
- //rachel mapflag autotrade no
- //veins mapflag autotrade no
- //moscovia mapflag autotrade no
- //splendide mapflag autotrade no
- prontera mapflag novending
- morocc mapflag novending
- geffen mapflag novending
- payon mapflag novending
- alberta mapflag novending
- izlude mapflag novending
- aldebaran mapflag novending
- xmas mapflag novending
- comodo mapflag novending
- yuno mapflag novending
- amatsu mapflag novending
- gonryun mapflag novending
- umbala mapflag novending
- niflheim mapflag novending
- louyang mapflag novending
- ayothaya mapflag novending
- einbroch mapflag novending
- lighthalzen mapflag novending
- einbech mapflag novending
- hugel mapflag novending
- rachel mapflag novending
- veins mapflag novending
- moscovia mapflag novending
- gef_tower mapflag nowarpto
- gef_tower mapflag nowarp
- bat_b02,87,85,3 script Healer#boa1 81,{
- if (Bat_Team == 1) end;
- if ( $@Blue_Flag_Carrier$ == strcharinfo(0) || $@Red_Flag_Carrier$ == strcharinfo(0)) end;
- percentheal 100,100;
- sc_start SC_BLESSING,300000,10;
- sc_start SC_INCREASEAGI,300000,10;
- sc_start SC_MAGNIFICAT,300000,5;
- close;
- }
- bat_b02,313,235,3 script Healer#boa2 81,{
- if (Bat_Team == 2) end;
- if ( $@Blue_Flag_Carrier$ == strcharinfo(0) || $@Red_Flag_Carrier$ == strcharinfo(0)) end;
- percentheal 100,100;
- sc_start SC_BLESSING,300000,10;
- sc_start SC_INCREASEAGI,300000,10;
- sc_start SC_MAGNIFICAT,300000,5;
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement