viewing paste Unknown #17897 | 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 26 27 28 29 30 31 32 33
        // =======================================================
        // Team Rewards
        // =======================================================
        set .@Reward, 5 + .Score;
        set .@Reward2, 15 + (.Team1_Score * 2);
        set .@Won,2;
 
        if( .Score >= 6 )
        { // Emperium Taken
                set .@Reward, .@Reward + 5;
                set .@Reward2, .@Reward + 9;
                set .@Won,0;
        }
 
        bg_reward .Atacker,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;
        bg_reward .Atacker,7828,.@Reward2,0,0,"BG_CON",1,6,.@Won;
 
        set .Score, 6 - .Score; // Switch for Defender
 
        set .@Reward, 5 + .Score;
        set .@Reward2, 15 + (.Team1_Score * 2);
        set .@Won,2;
 
        if( .Score >= 1 )
        { // Emperium Defended
                set .@Reward, .@Reward + 5;
                set .@Reward2, .@Reward + 9;
                set .@Won,0;
        }
 
        bg_reward .Defender,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;
        bg_reward .Defender,7828,.@Reward2,0,0,"BG_CON",1,6,.@Won;
        // =======================================================
Viewed 668 times, submitted by milk.