Now I have this BG script and here is a snipet of how people will get their rewards:
if (.bluescore > .redscore){
set .winner, .blue;
mapannounce "gefg_cas02","The Blue Team has won the Rush Battleground.",0;
}
if (.redscore > .bluescore){
mapannounce "gefg_cas02","The Red Team has won the Rush Battleground.",0;
set .winner, .red;
}
if (.redscore == .bluescore){
mapannounce "gefg_cas02","The Rush Battleground ended in a draw.",0;
set .winner, 0;
}
getbgusers .red;
for ( .@i = 0; .@i < $@arenamembersnum; .@i++ ){
set .@bonus, 0;
if (.winner == .red){
set .@bonus, 15;
}
if (.winner == 0){
set .@bonus, 10;
}
getitem 19611, 25+.@bonus,$@arenamembers[.@i];
}
getbgusers .blue;
for ( .@i = 0; .@i < $@arenamembersnum; .@i++ ){
set .@bonus, 0;
if (.winner == .blue){
set .@bonus, 15;
}
if (.winner == 0){
set .@bonus, 10;
}
getitem 19611, 25+.@bonus,$@arenamembers[.@i];
}
Now somehow after a BG run ended, it announced "The Blue Team has won the Rush Battleground.", but somehow only the red team got their rewards.
Note that the rewarding system worked fine for the first 10 runs.
Question
Yuka
Hi,
I'm using AnnieRurus BG script commands: http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/
Now I have this BG script and here is a snipet of how people will get their rewards:
Now somehow after a BG run ended, it announced "The Blue Team has won the Rush Battleground.", but somehow only the red team got their rewards.
Note that the rewarding system worked fine for the first 10 runs.
I have no idea how this could happen, do you?
Thanks for any ideas about that. :s
Edited by YukaLink to comment
Share on other sites
2 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.