fix: pump times

This commit is contained in:
TrèsAbhi committed 2025-12-19 15:17:45 -06:00
1 parent a2a794eb74
commit 8929e503ea
2 files changed
+12 -1

No files matched your search

@@ -144,7 +144,13 @@ function patch(stage0: StageParameters, stage1: StageParameters) {
}
if (stage1.pump_reload_times.length > 0) {
throw new Error("Pump reload times not implemented");
stage0.pump_reload_times = [...stage1.pump_reload_times];
}
if (stage1.pump_reload_times.length < stage0.pump_reload_times.length) {
throw new Error(
`Pump reload times go down???? (${stage0.pump_reload_times.length} -> ${stage1.pump_reload_times.length})`
);
}
if (stage1.pitch_limits_up.length > 0 && stage0.pitch_limits_up.length > 0) {
@@ -104,6 +104,11 @@ export const characteristics = {
break;
}
case GunType.AutoReloader: {
return -Infinity;
break;
}
default:
throw new Error("Unknown gun type");
}