chore: 清理未用变量 + 新增星图天赋目标提示 + ignore skills/

This commit is contained in:
2026-06-23 14:15:29 +00:00
parent cc02fc2e7f
commit 9a17849859
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -146,3 +146,4 @@ dev.out.log
*.tsbuildinfo
next-env.d.ts
.vercel
skills/
+3 -1
View File
@@ -82,7 +82,6 @@ export default function Page() {
const ownedTechCount = Object.values(ownedTech).filter((v) => v > 0).length;
const ownedFragCount = Object.values(ownedFragments).filter(Boolean).length;
const ownedAchCount = Object.values(ownedAchievements).filter(Boolean).length;
const ownedConstCount = ownedConstellation.length;
const canPrestige = contact >= 100;
const hasPendingPerk = pendingPerkChoices && pendingPerkChoices.length > 0;
@@ -101,6 +100,9 @@ export default function Page() {
if (energy >= 1 && totalDecoded >= 3) {
goal = "「探险」标签可深入遗迹,获取丰厚奖励";
}
if (ascensions >= 1 && ownedConstellation.length > 0) {
goal = `星图天赋已觉醒 ${ownedConstellation.length}/18,继续飞升获取更多`;
}
if (warehouseFull) {
goal = "⚠ 仓库已满,产能浪费中!请解码晶体或升级仓库";
}