Переглянути джерело

chore: 注释与文档细节修正

LiuYuYang 1 тиждень тому
батько
коміт
8f976ecca8
3 змінених файлів з 3 додано та 2 видалено
  1. 1 1
      GDD.md
  2. 1 0
      js/config.js
  3. 1 1
      js/ui.js

+ 1 - 1
GDD.md

@@ -116,7 +116,7 @@ B(L) = P_root(R) × (1.05^L − 1) / (1.05 · ln 1.05)          (GDD 式 9)
 P_root(R) = 1.10^(0.6R)                                        (根须层段压缩:指数 0.6)
 ```
 
-### 5.4 地质环境(每 18 层轮换,`floor(D/18) mod 7`)
+### 5.4 地质环境(每 18 层轮换,`floor(D/18) mod 8`)
 
 | 环境 | 效果 |
 |---|---|

+ 1 - 0
js/config.js

@@ -54,6 +54,7 @@ export function skipExpectation(pEff) {
 }
 export function timeMul(pEff) { return 1 + skipExpectation(pEff); }
 
+// 地质环境(按本轮深度每 18 层轮换;floor(D/18) mod 8 取用;extra 字段对应 formulas.envFactors)
 export const ENVS = [
   { id: 'env0', name: '气态尘埃带', color: '#8B93A7', depth: 1.3, desc: '初入空洞边缘,尘屑拖慢世界树', eff: '慢:推进速度 ×0.85' },
   { id: 'env1', name: '引力乱流', color: '#6C8EBF', depth: 1.5, desc: '混乱的引力让根系难以吸收本源,但勘探更有价值', eff: '本源产出 ×0.8' },

+ 1 - 1
js/ui.js

@@ -157,7 +157,7 @@ export class App {
     const lf = this.s.layer;
     this.html('#hud-layer', `${fmt(Math.floor(lf), { int: true })}<small>层</small>`);
     this.setText('#hud-sub', `距下一层 ${fmtPct(Math.min(0.99, lf - Math.floor(lf)), 0)} · 本轮第 ${fmt(Math.floor(lf) - st.start + 1, { int: true })} 层`);
-    this.html('#hud-meta', `${fmt(st.prod)} 本源/秒 · 约 ${st.minutesPerLayer < 0.01 ? '<0.01' : st.minutesPerLayer.toFixed(2)} 分/层(含跳关) · 跳关触发率 ${fmtPct(st.skipP, 0)}`);
+    this.html('#hud-meta', `${fmt(st.prod)} 本源/秒 · 约 ${st.minutesPerLayer < 0.01 ? '<0.01' : st.minutesPerLayer.toFixed(2)} 分/层(含跳关) · 跳关 ${fmtPct(st.skipP, 0)}`);
   }
 
   refreshMainline(st) {