CORPORATION: Remove DreamSense upgrade (#2232)

This commit is contained in:
catloversg
2025-07-10 15:40:36 +07:00
committed by GitHub
parent 8deb34e64d
commit 6c7783aa85
17 changed files with 55 additions and 91 deletions
+7 -1
View File
@@ -90,7 +90,13 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
function getUpgradeLevelCost(upgradeName: CorpUpgradeName): number {
const corporation = getCorporation();
const cost = calculateUpgradeCost(corporation, CorpUpgrades[upgradeName], 1 as PositiveInteger);
const upgrade = CorpUpgrades[upgradeName];
const cost = calculateUpgradeCost(
upgrade.basePrice,
upgrade.priceMult,
corporation.upgrades[upgradeName].level,
1 as PositiveInteger,
);
return cost;
}