This commit is contained in:
ntr 2019-03-29 22:23:53 +11:00
parent 09f6617094
commit e77545eaec

View File

@ -180,14 +180,14 @@ impl Spec {
if team_colours.red >= 5 { mult += 20 };
if team_colours.red >= 10 { mult += 30 };
if team_colours.red >= 20 { mult += 50 };
(mult * team_colours.blue) as u64
mult * team_colours.blue as u64
},
Spec::LRSI => modified + {
let mut mult: u64 = 5;
if team_colours.green >= 2 && team_colours.red >= 2 { mult += 5 };
if team_colours.green >= 5 && team_colours.red >= 5 { mult += 10 };
if team_colours.green >= 10 && team_colours.red >= 10 { mult += 20 };
mult * (team_colours.green + team_colours.red) as u64
mult * (team_colours.green + team_colours.red as u64)
},
Spec::LBSI => modified + {
let mut mult: u64 = 5;