few more bugfix

This commit is contained in:
Olivier Gagnon 2021-11-17 18:08:58 -05:00
parent 4730347330
commit ef40fb9bb2
7 changed files with 47 additions and 38 deletions

24
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

@ -2412,7 +2412,7 @@ function initAugmentations(): void {
const StaneksGift2 = new Augmentation({ const StaneksGift2 = new Augmentation({
name: AugmentationNames.StaneksGift2, name: AugmentationNames.StaneksGift2,
repCost: 1e5, repCost: 1e6,
moneyCost: 0, moneyCost: 0,
info: info:
"The next evolution is near, A coming together of man and machine. A synthesis greater than the birth of the human " + "The next evolution is near, A coming together of man and machine. A synthesis greater than the birth of the human " +
@ -2453,7 +2453,7 @@ function initAugmentations(): void {
const StaneksGift3 = new Augmentation({ const StaneksGift3 = new Augmentation({
name: AugmentationNames.StaneksGift3, name: AugmentationNames.StaneksGift3,
repCost: 1e7, repCost: 1e8,
moneyCost: 0, moneyCost: 0,
info: info:
"The synthesis of human and machine is nothing to fear. It is our destiny. " + "The synthesis of human and machine is nothing to fear. It is our destiny. " +

@ -868,29 +868,29 @@ export function initBitNodeMultipliers(p: IPlayer): void {
BitNodeMultipliers.PurchasedServerSoftcap = 2.2; BitNodeMultipliers.PurchasedServerSoftcap = 2.2;
BitNodeMultipliers.HackingLevelMultiplier = 0.2; BitNodeMultipliers.HackingLevelMultiplier = 0.4;
BitNodeMultipliers.StrengthLevelMultiplier = 0.2; BitNodeMultipliers.StrengthLevelMultiplier = 0.4;
BitNodeMultipliers.DefenseLevelMultiplier = 0.2; BitNodeMultipliers.DefenseLevelMultiplier = 0.4;
BitNodeMultipliers.DexterityLevelMultiplier = 0.2; BitNodeMultipliers.DexterityLevelMultiplier = 0.4;
BitNodeMultipliers.AgilityLevelMultiplier = 0.2; BitNodeMultipliers.AgilityLevelMultiplier = 0.4;
BitNodeMultipliers.CharismaLevelMultiplier = 0.2; BitNodeMultipliers.CharismaLevelMultiplier = 0.4;
BitNodeMultipliers.ServerMaxMoney = 0.15; BitNodeMultipliers.ServerMaxMoney = 0.45;
BitNodeMultipliers.ServerStartingMoney = 0.75; BitNodeMultipliers.ServerStartingMoney = 0.75;
BitNodeMultipliers.ServerStartingSecurity = 2; BitNodeMultipliers.ServerStartingSecurity = 2;
BitNodeMultipliers.ScriptHackMoney = 0.2; BitNodeMultipliers.ScriptHackMoney = 0.4;
BitNodeMultipliers.CompanyWorkMoney = 0.2; BitNodeMultipliers.CompanyWorkMoney = 0.4;
BitNodeMultipliers.CrimeMoney = 0.2; BitNodeMultipliers.CrimeMoney = 0.4;
BitNodeMultipliers.HacknetNodeMoney = 0.2; BitNodeMultipliers.HacknetNodeMoney = 0.4;
BitNodeMultipliers.CodingContractMoney = 0.2; BitNodeMultipliers.CodingContractMoney = 0.4;
BitNodeMultipliers.CompanyWorkExpGain = 0.1; BitNodeMultipliers.CompanyWorkExpGain = 0.5;
BitNodeMultipliers.ClassGymExpGain = 0.1; BitNodeMultipliers.ClassGymExpGain = 0.5;
BitNodeMultipliers.FactionWorkExpGain = 0.1; BitNodeMultipliers.FactionWorkExpGain = 0.5;
BitNodeMultipliers.HackExpGain = 0.1; BitNodeMultipliers.HackExpGain = 0.5;
BitNodeMultipliers.CrimeExpGain = 0.1; BitNodeMultipliers.CrimeExpGain = 0.5;
BitNodeMultipliers.FactionWorkRepGain = 0.4; BitNodeMultipliers.FactionWorkRepGain = 0.4;
@ -899,8 +899,8 @@ export function initBitNodeMultipliers(p: IPlayer): void {
BitNodeMultipliers.CorporationValuation = 0.001; BitNodeMultipliers.CorporationValuation = 0.001;
BitNodeMultipliers.BladeburnerRank = 0.1; BitNodeMultipliers.BladeburnerRank = 0.2;
BitNodeMultipliers.BladeburnerSkillCost = 5; BitNodeMultipliers.BladeburnerSkillCost = 3;
BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.2; BitNodeMultipliers.StaneksGiftPowerMultiplier = 1.2;
BitNodeMultipliers.StaneksGiftExtraSize = 1; BitNodeMultipliers.StaneksGiftExtraSize = 1;
BitNodeMultipliers.GangSoftcap = 0.2; BitNodeMultipliers.GangSoftcap = 0.2;

@ -27,6 +27,7 @@ import { dialogBoxCreate } from "../../ui/React/DialogBox";
import { SnackbarEvents } from "../../ui/React/Snackbar"; import { SnackbarEvents } from "../../ui/React/Snackbar";
import { N00dles } from "../../utils/helpers/N00dles"; import { N00dles } from "../../utils/helpers/N00dles";
import { Exploit } from "../../Exploits/Exploit"; import { Exploit } from "../../Exploits/Exploit";
import { applyAugmentation } from "../../Augmentation/AugmentationHelpers";
type IProps = { type IProps = {
loc: Location; loc: Location;
@ -131,7 +132,7 @@ export function SpecialLocation(props: IProps): React.ReactElement {
!player.augmentations.some((a) => a.name === AugmentationNames.StaneksGift1) && !player.augmentations.some((a) => a.name === AugmentationNames.StaneksGift1) &&
!player.queuedAugmentations.some((a) => a.name === AugmentationNames.StaneksGift1) !player.queuedAugmentations.some((a) => a.name === AugmentationNames.StaneksGift1)
) { ) {
player.queueAugmentation(AugmentationNames.StaneksGift1); applyAugmentation({ name: AugmentationNames.StaneksGift1, level: 1 });
} }
router.toFaction(faction); router.toFaction(faction);

@ -105,7 +105,15 @@ export function generateResleeves(): Resleeve[] {
const randKey: string = augKeys[randIndex]; const randKey: string = augKeys[randIndex];
// Forbidden augmentations // Forbidden augmentations
if (randKey === AugmentationNames.TheRedPill || randKey === AugmentationNames.NeuroFluxGovernor) { const forbidden = [
AugmentationNames.TheRedPill,
AugmentationNames.NeuroFluxGovernor,
AugmentationNames.StaneksGift1,
AugmentationNames.StaneksGift2,
AugmentationNames.StaneksGift3,
AugmentationNames.StaneksGift4,
];
if (forbidden.includes(randKey)) {
continue; continue;
} }