u64 mult
This commit is contained in:
parent
09f6617094
commit
c4ec34ed39
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user