mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 17:23:00 +02:00
CORPORATION: Remove DreamSense upgrade (#2232)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user