mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
BITNODE: IPvGO territory control strategy game (#934)
This commit is contained in:
committed by
GitHub
parent
c6141f2adf
commit
7ef12a0323
@@ -51,6 +51,8 @@ import { achievements } from "../../Achievements/Achievements";
|
||||
|
||||
import { isCompanyWork } from "../../Work/CompanyWork";
|
||||
import { isMember } from "../../utils/EnumHelper";
|
||||
import { getGoPlayerStartingState } from "../../Go/boardState/goConstants";
|
||||
import { resetGoNodePower } from "../../Go/effects/effect";
|
||||
|
||||
export function init(this: PlayerObject): void {
|
||||
/* Initialize Player's home computer */
|
||||
@@ -112,6 +114,8 @@ export function prestigeAugmentation(this: PlayerObject): void {
|
||||
|
||||
this.sleeves.forEach((sleeve) => (sleeve.shock <= 0 ? sleeve.synchronize() : sleeve.shockRecovery()));
|
||||
|
||||
resetGoNodePower(this);
|
||||
|
||||
this.lastUpdate = new Date().getTime();
|
||||
|
||||
// Statistics Trackers
|
||||
@@ -148,6 +152,7 @@ export function prestigeSourceFile(this: PlayerObject): void {
|
||||
resetGangs();
|
||||
this.corporation = null;
|
||||
this.bladeburner = null;
|
||||
this.go = getGoPlayerStartingState();
|
||||
|
||||
// Reset Stock market
|
||||
this.hasWseAccount = false;
|
||||
|
||||
Reference in New Issue
Block a user