viewing paste Unknown #17889 | 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
        // =======================================================
        // Team Rewards
        // =======================================================
        set .@Reward, 1 + (.Team1_Score * 1);
        set .@Reward2, 2 + (.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,7828,.@Reward2,0,0,"BG_RUSH",1,7,.@Won;
        // =======================================================
        set .@Reward, 1 + (.Team2_Score * 1);
        set .@Reward2, 2 + (.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_Team1,7828,.@Reward2,0,0,"BG_RUSH",1,7,.@Won;
        // =======================================================
Viewed 351 times, submitted by unknown.