Skip to content

Commit

Permalink
采矿设施全部算上采矿科技的加成
Browse files Browse the repository at this point in the history
  • Loading branch information
makuwa8992 authored Dec 16, 2024
1 parent e45ffdc commit 8ad4e03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/global_state.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,10 @@ export class GlobalState {
|| factory_name === "原油萃取站" || factory_name === "抽水机" || factory_name === "聚束液体汲取设施"
|| factory_name === "轨道采集器" || factory_name === "大气采集站"
|| factory_name === "采矿机" || factory_name === "大型采矿机" || factory_name === "行星基地") {
item_graph[item]["产出倍率"] *= scheme_data.mining_rate["科技面板倍率"];
if (factory_name === "采矿机") {
item_graph[item]["产出倍率"] *= scheme_data.mining_rate["科技面板倍率"];
item_graph[item]["产出倍率"] *= scheme_data.mining_rate["小矿机覆盖矿脉数"];
} else if (factory_name === "大型采矿机") {
item_graph[item]["产出倍率"] *= scheme_data.mining_rate["科技面板倍率"];
item_graph[item]["产出倍率"] *= (scheme_data.mining_rate["大矿机覆盖矿脉数"] * scheme_data.mining_rate["大矿机工作倍率"]);
} else if (factory_name === "原油萃取站") {
item_graph[item]["产出倍率"] *= scheme_data.mining_rate["油井期望面板"];
Expand Down Expand Up @@ -809,4 +808,4 @@ export class GlobalState {

return lp_cost;//返回求解器求解结果
}
}
}

0 comments on commit 8ad4e03

Please sign in to comment.