viewing paste Unknown #17891 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
        // =======================================================
        // 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;
        // =======================================================
Viewed 311 times, submitted by unknown.