// =======================================================
// Team Rewards
// =======================================================
set .BG_Team1, $@BG_Team1;
set .BG_Team2, $@BG_Team2;
set .@Reward, 5 + .Team1_Score;
set .@Reward2, 15 + (.Team1_Score * 2);
if( .Team1_Score > .Team2_Score )
set .@Won,0;
else
set .@Won,2;
bg_reward @$BG_Team1,7773,.@Reward,0,0,"BG_RUSH",1,7,.@Won;
bg_reward @$BG_Team1,7829,.@Reward2,0,0,"BG_RUSH",1,7,.@Won;
// =======================================================
set .@Reward, 5 + .Team2_Score;
set .@Reward2, 15 + (.Team2_Score * 2);
if( .Team2_Score > .Team1_Score )
set .@Won,0;
else
set .@Won,2;
bg_reward @$BG_Team2,7773,.@Reward,0,0,"BG_RUSH",1,7,.@Won;
bg_reward @$BG_Team2,7829,.@Reward2,0,0,"BG_RUSH",1,7,.@Won;
// =======================================================