From 8e11e25904303dea42708bebabcbfbe46bf34fb2 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 3 Dec 2021 15:45:39 -0500 Subject: [PATCH] release bn13 --- src/CotMG/Fragment.ts | 9 --------- src/CotMG/StaneksGift.ts | 4 ++-- src/CotMG/ui/FragmentInspector.tsx | 4 +++- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/CotMG/Fragment.ts b/src/CotMG/Fragment.ts index 6b4b8ac56..22509d074 100644 --- a/src/CotMG/Fragment.ts +++ b/src/CotMG/Fragment.ts @@ -142,15 +142,6 @@ export function FragmentById(id: number): Fragment | null { 1, // limit ), ); - Fragments.push( - new Fragment( - 8, // id - Shapes.O, - FragmentType.Hacking, // type - 1, // power - 1, // limit - ), - ); Fragments.push( new Fragment( 10, // id diff --git a/src/CotMG/StaneksGift.ts b/src/CotMG/StaneksGift.ts index 9f540c884..b1bd7e287 100644 --- a/src/CotMG/StaneksGift.ts +++ b/src/CotMG/StaneksGift.ts @@ -33,7 +33,7 @@ export class StaneksGift implements IStaneksGift { af.numCharge++; const cotmg = Factions["Church of the Machine God"]; - cotmg.playerReputation += (player.faction_rep_mult * (Math.pow(threads, 0.95) * (cotmg.favor + 100))) / 100; + cotmg.playerReputation += (player.faction_rep_mult * (Math.pow(threads, 0.95) * (cotmg.favor + 100))) / 1000; } inBonus(): boolean { @@ -43,7 +43,7 @@ export class StaneksGift implements IStaneksGift { process(p: IPlayer, numCycles = 1): void { if (!p.hasAugmentation(AugmentationNames.StaneksGift1)) return; this.storedCycles += numCycles; - this.storedCycles -= 5; + this.storedCycles -= 10; this.storedCycles = Math.max(0, this.storedCycles); this.updateMults(p); StaneksGiftEvents.emit(); diff --git a/src/CotMG/ui/FragmentInspector.tsx b/src/CotMG/ui/FragmentInspector.tsx index f5fb50855..135ca2dc9 100644 --- a/src/CotMG/ui/FragmentInspector.tsx +++ b/src/CotMG/ui/FragmentInspector.tsx @@ -48,7 +48,9 @@ export function FragmentInspector(props: IProps): React.ReactElement { } const f = props.fragment.fragment(); - let charge = numeralWrapper.formatStaneksGiftCharge(props.fragment.avgCharge * props.fragment.numCharge); + let charge = `${numeralWrapper.formatStaneksGiftCharge(props.fragment.avgCharge)} avg. * ${ + props.fragment.numCharge + } times`; let effect = "N/A"; // Boosters and cooling don't deal with heat. if ([FragmentType.Booster, FragmentType.None, FragmentType.Delete].includes(f.type)) {