remove cooling because it fucks with very high level hacking strategies

This commit is contained in:
Olivier Gagnon 2021-11-18 15:42:49 -05:00
parent 632de50a73
commit cb4c06d2ba
5 changed files with 12 additions and 20 deletions

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]]);
}
cool(): void {
this.numCharge = this.numCharge - Math.log(this.numCharge + 1) / (Math.log(50) * 10);
if (this.numCharge < 0) {
this.numCharge = 0;
}
}
copy(): ActiveFragment {
// We have to do a round trip because the constructor.
const fragment = FragmentById(this.id);

@ -42,7 +42,6 @@ export class StaneksGift implements IStaneksGift {
process(p: IPlayer, numCycles = 1): void {
if (!p.hasAugmentation(AugmentationNames.StaneksGift1)) return;
this.fragments.filter((f) => f.fragment().type !== FragmentType.Booster).forEach((f) => f.cool());
this.storedCycles += numCycles;
this.storedCycles -= 5;
this.storedCycles = Math.max(0, this.storedCycles);