mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 17:53:55 +01:00
allbuild commit 5d36336d
This commit is contained in:
parent
5d36336db9
commit
d04e05eac8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -353,7 +353,8 @@ export function NetscriptBladeburner(
|
|||||||
checkBladeburnerCity("switchCity", cityName);
|
checkBladeburnerCity("switchCity", cityName);
|
||||||
const bladeburner = player.bladeburner;
|
const bladeburner = player.bladeburner;
|
||||||
if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
|
if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
|
||||||
return bladeburner.city === cityName;
|
bladeburner.city = cityName;
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
getStamina: function (): [number, number] {
|
getStamina: function (): [number, number] {
|
||||||
helper.updateDynamicRam("getStamina", getRamCost(player, "bladeburner", "getStamina"));
|
helper.updateDynamicRam("getStamina", getRamCost(player, "bladeburner", "getStamina"));
|
||||||
|
Loading…
Reference in New Issue
Block a user