mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
remove cooling because it fucks with very high level hacking strategies
This commit is contained in:
parent
632de50a73
commit
cb4c06d2ba
18
dist/vendor.bundle.js
vendored
18
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -66,13 +66,6 @@ export class ActiveFragment {
|
|||||||
.map((cell) => [this.x + cell[0], this.y + cell[1]]);
|
.map((cell) => [this.x + cell[0], this.y + cell[1]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
cool(): void {
|
|
||||||
this.numCharge = this.numCharge - Math.log(this.numCharge + 1) / (Math.log(50) * 10);
|
|
||||||
if (this.numCharge < 0) {
|
|
||||||
this.numCharge = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
copy(): ActiveFragment {
|
copy(): ActiveFragment {
|
||||||
// We have to do a round trip because the constructor.
|
// We have to do a round trip because the constructor.
|
||||||
const fragment = FragmentById(this.id);
|
const fragment = FragmentById(this.id);
|
||||||
|
@ -42,7 +42,6 @@ export class StaneksGift implements IStaneksGift {
|
|||||||
|
|
||||||
process(p: IPlayer, numCycles = 1): void {
|
process(p: IPlayer, numCycles = 1): void {
|
||||||
if (!p.hasAugmentation(AugmentationNames.StaneksGift1)) return;
|
if (!p.hasAugmentation(AugmentationNames.StaneksGift1)) return;
|
||||||
this.fragments.filter((f) => f.fragment().type !== FragmentType.Booster).forEach((f) => f.cool());
|
|
||||||
this.storedCycles += numCycles;
|
this.storedCycles += numCycles;
|
||||||
this.storedCycles -= 5;
|
this.storedCycles -= 5;
|
||||||
this.storedCycles = Math.max(0, this.storedCycles);
|
this.storedCycles = Math.max(0, this.storedCycles);
|
||||||
|
Loading…
Reference in New Issue
Block a user