K.I.S.S.

---------- Post added at 10:54 PM ---------- Previous post was at 10:53 PM ----------

Beta testing shows the program is working 100% on all items and tome is restricted from the discount.

---------- Post added at 11:03 PM ---------- Previous post was at 10:54 PM ----------

Current maths for those interested:
Code:
//Subtract the number of difference balance should start at and mult the amount of discount to apply per level of difference
            new Float:balanceMult = (GetTeamScore(EmemyTeam)-GetTeamScore(ClientTeam)-1)*0.05;
            
            //Apply limit to max discount
            if(balanceMult>0.75)
            {
                balanceMult=0.75;
            }
            
            //Inverse the balanceMult as to deduct that % from the initial cost
            balanceMult=1-balanceMult;