Hi there beloved master scripters!
May I request a modified script of Flavius Battleground which has auto shuffle joining players? A script like anniruru's BG_pvp_round.txt that automatically shuffles players when joining battleground.
Quote
//===== rAthena Script =======================================
//= BattleGround System - Flavius
//===== Description: =========================================
//= [Official Conversion]
//= Flavius Battleground.
//= - Winning Team: 9 badges (11 if VIP)
//= - Losing Team: 3 badges (5 if VIP)
//===== Changelogs: ==========================================
//= 1.0 First Version. [L0ne_W0lf]
//= 1.1 Fixed pink crystal spawning as blue. [L0ne_W0lf]
//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
//= 1.3 Removed MaxLvl check in waitingrooms. Replaced setwall with setcell.
//= 1.4 Label standardization. [Euphy]
//= 1.5 Added GM management function. [Euphy]
//= 1.6 Added VIP features and created a reward function. [Euphy]
//= 1.7 Made Crystals immune to attacks until Guardians are defeated. [Cydh/Aleos]
//= 1.8 Added battle_config checks to allow this script to use the new queue interface or the previous method. [Aleos]
//============================================================
OnMyMobDead:
if (mobcount("bat_b01","guardian#bat_b01_a::OnMyMobDead") < 1) {
donpcevent "cell#bat_b01_a::OnGreen";
mapannounce "bat_b01", "The Guardian protecting Guillaume's Crystal has been slain.",bc_map,"0xFFCE00";
setunitdata $@FlavBG1_C1_ID,UMOB_DMGIMMUNE,0; // Make Crystal damageable again
}
end;
}
OnMyMobDead:
if (mobcount("bat_b01","guardian#bat_b01_b::OnMyMobDead") < 1) {
donpcevent "cell#bat_b01_b::OnGreen";
mapannounce "bat_b01", "The Guardian protecting Croix's Crystal has been slain.",bc_map,"0xFFCE00";
setunitdata $@FlavBG1_C2_ID,UMOB_DMGIMMUNE,0; // Make Crystal damageable again
}
end;
}
bat_b01,10,294,3 script Battle Therapist#b01_a 95,{
specialeffect2 EF_HEAL;
mes "[Battle Therapist]";
mes "Just close your eyes,";
mes "and take a deep breath.";
mes "You can be free from pain.";
close;
bat_b01,389,14,3 script Battle Therapist#b01_b 95,{
specialeffect2 EF_HEAL;
mes "[Battle Therapist]";
mes "Just close your eyes,";
mes "and take a deep breath.";
mes "You can be free from pain.";
close;
OnTimer7000:
mapannounce "bat_b01", "Guillaume Vintenar Axl Rose : Let's attack to destroy that Crystal!",bc_map,"0xFF9900";
end;
OnTimer8000:
mapannounce "bat_b01", "Croix Vintenar Swandery : Even though Guillaume is struggling to win against us, the victory is ours. Let's show them our power.",bc_map,"0xFF99CC";
end;
OnTimer1800000:
mapannounce "bat_b01", "Marollo VII : Guillaume Marollo, Croix Marollo! And their followers!",bc_map,"0x99CC00";
end;
OnTimer1803000:
mapannounce "bat_b01", "Marollo VII : Both camps are competitive, so it's hard to judge which team is superior.",bc_map,"0x99CC00";
end;
OnTimer1808000:
mapannounce "bat_b01", "Marollo VII : This battle of Flavian is such a waste of time. I will decide victory and defeat by your progress.",bc_map,"0x99CC00";
end;
OnTimer1822000:
mapannounce "bat_b01", "Marollo VII : If you can't accept the results, try again in another valley battle!",bc_map,"0x99CC00";
end;
bat_b01,10,294,3 script Vintenar#bat_b01_aover 419,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id1 == getcharid(4)) {
if (.@A_B_gap > 0)
callfunc "F_BG_Badge",1,"Guillaume","Flavius"; //Guillaume wins
else if (.@A_B_gap == 0)
callfunc "F_BG_Badge",0,"Guillaume","Flavius"; //Tie
else
callfunc "F_BG_Badge",0,"Guillaume","Flavius"; //Croix wins
}
else {
mes "[Axl Rose]";
mes "Why are you here, Croix mercenary? I am definitely sure of victory against foolish Croix such as you. Ha!";
close;
}
bg_leave;
if (!getbattleflag("feature.bgqueue"))
warp "bat_room",154,150;
end;
bat_b01,389,14,3 script Vintenar#bat_b01_bover 415,{
set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id2 == getcharid(4)) {
if (.@A_B_gap > 0)
callfunc "F_BG_Badge",0,"Croix","Flavius"; //Guillaume wins
else if (.@A_B_gap == 0)
callfunc "F_BG_Badge",0,"Croix","Flavius"; //Tie
else
callfunc "F_BG_Badge",1,"Croix","Flavius"; //Croix wins
}
else {
mes "[Swandery]";
mes "Why do you come here as a Guillaume? You will be sent to where you should be!";
close;
}
bg_leave;
if (!getbattleflag("feature.bgqueue"))
warp "bat_room",154,150;
end;
bat_b01,1,10,3 script Release all#b01 81,{
set .@i, callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "Cancelled.";
close;
} else if (.@i == 0) {
end;
} else {
mes "May I help you?";
next;
switch(select("Release all.:Cancel.")) {
case 1:
mes "Bye.";
close2;
mapwarp "bat_b01","bat_room",154,150;
end;
case 2:
mes "Cancelled.";
close;
}
}
}
// BG Queue makes these scripts useless
- script BGQueueInit#flavius01 -1,{
end;
Question
playniks
Hi there beloved master scripters!
May I request a modified script of Flavius Battleground which has auto shuffle joining players? A script like anniruru's BG_pvp_round.txt that automatically shuffles players when joining battleground.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.