mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Merge pull request #979 from danielyxie/dev
hotfix farming rep and hacking mission or infiltrations
This commit is contained in:
commit
d627890047
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/vendor.bundle.js
vendored
2
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -178,6 +178,7 @@ export class FactionRoot extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
startHackingMission(): void {
|
startHackingMission(): void {
|
||||||
const fac = this.props.faction;
|
const fac = this.props.faction;
|
||||||
|
this.props.p.singularityStopWork();
|
||||||
this.props.engine.loadMissionContent();
|
this.props.engine.loadMissionContent();
|
||||||
this.props.startHackingMissionFn(fac);
|
this.props.startHackingMissionFn(fac);
|
||||||
}
|
}
|
||||||
|
@ -198,6 +198,7 @@ export class CompanyLocation extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
const data = loc.infiltrationData;
|
const data = loc.infiltrationData;
|
||||||
if (data == null) { return; }
|
if (data == null) { return; }
|
||||||
|
this.props.p.singularityStopWork();
|
||||||
beginInfiltration(this.props.locName, data.startingSecurityLevel, data.baseRewardValue, data.maxClearanceLevel, data.difficulty);
|
beginInfiltration(this.props.locName, data.startingSecurityLevel, data.baseRewardValue, data.maxClearanceLevel, data.difficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,6 +156,7 @@ export interface IPlayer {
|
|||||||
regenerateHp(amt: number): void;
|
regenerateHp(amt: number): void;
|
||||||
recordMoneySource(amt: number, source: string): void;
|
recordMoneySource(amt: number, source: string): void;
|
||||||
setMoney(amt: number): void;
|
setMoney(amt: number): void;
|
||||||
|
singularityStopWork(): void;
|
||||||
startBladeburner(p: any): void;
|
startBladeburner(p: any): void;
|
||||||
startClass(costMult: number, expMult: number, className: string): void;
|
startClass(costMult: number, expMult: number, className: string): void;
|
||||||
startCorporation(corpName: string, additionalShares?: number): void;
|
startCorporation(corpName: string, additionalShares?: number): void;
|
||||||
|
Loading…
Reference in New Issue
Block a user