recovery stuff
This commit is contained in:
+5
-2
@@ -175,7 +175,10 @@ impl Cryp {
|
||||
|
||||
let stam_max = match self.lvl == 64 {
|
||||
true => u64::max_value(),
|
||||
false => 2_u64.pow(self.lvl.into()),
|
||||
false => match self.lvl == 1 {
|
||||
true => 4_u64,
|
||||
false => 2_u64.pow(self.lvl.into()),
|
||||
},
|
||||
};
|
||||
|
||||
let stam_min = match self.lvl == 1 {
|
||||
@@ -184,7 +187,7 @@ impl Cryp {
|
||||
};
|
||||
|
||||
let other_max = match self.lvl == 1 {
|
||||
true => 2_u64,
|
||||
true => 4_u64,
|
||||
false => 2_u64.pow(self.lvl.saturating_sub(1).into()),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user