Compare commits
2 Commits
6c16ab7d48
...
b1e78c98a8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e78c98a8 | ||
|
|
58bdebf450 |
@@ -175,7 +175,7 @@ export async function purchaseAndUpgradeServers(ns) {
|
|||||||
if (pServcount >= 9) {
|
if (pServcount >= 9) {
|
||||||
sFrontZero = "";
|
sFrontZero = "";
|
||||||
}
|
}
|
||||||
let hostname = ns.purchaseServer("pserv-" + sFrontZero + (aServers.length), targetRamInitial);
|
let hostname = ns.purchaseServer("pserv-" + sFrontZero + pServcount, targetRamInitial);
|
||||||
ns.tprint("Purchased " + cCyan + hostname + cReset);
|
ns.tprint("Purchased " + cCyan + hostname + cReset);
|
||||||
ns.toast("Purchased " + hostname, "info", 10000);
|
ns.toast("Purchased " + hostname, "info", 10000);
|
||||||
pServcount = listPurchasedServers(ns).length;
|
pServcount = listPurchasedServers(ns).length;
|
||||||
|
|||||||
Reference in New Issue
Block a user