mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
release bn13
This commit is contained in:
parent
d4ebc46a19
commit
8e11e25904
@ -142,15 +142,6 @@ export function FragmentById(id: number): Fragment | null {
|
|||||||
1, // limit
|
1, // limit
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
Fragments.push(
|
|
||||||
new Fragment(
|
|
||||||
8, // id
|
|
||||||
Shapes.O,
|
|
||||||
FragmentType.Hacking, // type
|
|
||||||
1, // power
|
|
||||||
1, // limit
|
|
||||||
),
|
|
||||||
);
|
|
||||||
Fragments.push(
|
Fragments.push(
|
||||||
new Fragment(
|
new Fragment(
|
||||||
10, // id
|
10, // id
|
||||||
|
@ -33,7 +33,7 @@ export class StaneksGift implements IStaneksGift {
|
|||||||
af.numCharge++;
|
af.numCharge++;
|
||||||
|
|
||||||
const cotmg = Factions["Church of the Machine God"];
|
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 {
|
inBonus(): boolean {
|
||||||
@ -43,7 +43,7 @@ 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.storedCycles += numCycles;
|
this.storedCycles += numCycles;
|
||||||
this.storedCycles -= 5;
|
this.storedCycles -= 10;
|
||||||
this.storedCycles = Math.max(0, this.storedCycles);
|
this.storedCycles = Math.max(0, this.storedCycles);
|
||||||
this.updateMults(p);
|
this.updateMults(p);
|
||||||
StaneksGiftEvents.emit();
|
StaneksGiftEvents.emit();
|
||||||
|
@ -48,7 +48,9 @@ export function FragmentInspector(props: IProps): React.ReactElement {
|
|||||||
}
|
}
|
||||||
const f = props.fragment.fragment();
|
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";
|
let effect = "N/A";
|
||||||
// Boosters and cooling don't deal with heat.
|
// Boosters and cooling don't deal with heat.
|
||||||
if ([FragmentType.Booster, FragmentType.None, FragmentType.Delete].includes(f.type)) {
|
if ([FragmentType.Booster, FragmentType.None, FragmentType.Delete].includes(f.type)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user