Update starter value reduction thresholds to be per-cost
parent
11bd7fdbca
commit
26bef151f4
|
@ -1067,14 +1067,35 @@ export class GameData {
|
||||||
let thresholdA: integer;
|
let thresholdA: integer;
|
||||||
let thresholdB: integer;
|
let thresholdB: integer;
|
||||||
|
|
||||||
if (baseValue >= 8)
|
switch (baseValue) {
|
||||||
[ thresholdA, thresholdB ] = [ 3, 10 ];
|
case 1:
|
||||||
else if (baseValue >= 6)
|
[ thresholdA, thresholdB ] = [ 25, 100 ];
|
||||||
[ thresholdA, thresholdB ] = [ 5, 20 ];
|
break;
|
||||||
else if (baseValue >= 4)
|
case 2:
|
||||||
[ thresholdA, thresholdB ] = [ 10, 30 ];
|
[ thresholdA, thresholdB ] = [ 20, 70 ];
|
||||||
else
|
break;
|
||||||
[ thresholdA, thresholdB ] = [ 25, 100 ];
|
case 3:
|
||||||
|
[ thresholdA, thresholdB ] = [ 15, 50 ];
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
[ thresholdA, thresholdB ] = [ 10, 30 ];
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
[ thresholdA, thresholdB ] = [ 8, 25 ];
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
[ thresholdA, thresholdB ] = [ 5, 15 ];
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
[ thresholdA, thresholdB ] = [ 4, 12 ];
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
[ thresholdA, thresholdB ] = [ 3, 10 ];
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
[ thresholdA, thresholdB ] = [ 2, 5 ];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (caughtHatchedCount >= thresholdA) {
|
if (caughtHatchedCount >= thresholdA) {
|
||||||
value = decrementValue(value);
|
value = decrementValue(value);
|
||||||
|
|
Loading…
Reference in New Issue