mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 14:27:03 +02:00
Merge pull request #2906 from waffleattack/patch-2
Reset Location Upon Reset
This commit is contained in:
@@ -433,7 +433,7 @@ export class Sleeve extends Person {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called on every sleeve for a Source File prestige
|
* Called on every sleeve for a Source File Prestige
|
||||||
*/
|
*/
|
||||||
prestige(p: IPlayer): void {
|
prestige(p: IPlayer): void {
|
||||||
// Reset exp
|
// Reset exp
|
||||||
@@ -454,6 +454,10 @@ export class Sleeve extends Person {
|
|||||||
this.augmentations = [];
|
this.augmentations = [];
|
||||||
this.resetMultipliers();
|
this.resetMultipliers();
|
||||||
|
|
||||||
|
// Reset Location
|
||||||
|
|
||||||
|
this.city=CityName.Sector12;
|
||||||
|
|
||||||
// Reset sleeve-related stats
|
// Reset sleeve-related stats
|
||||||
this.shock = 1;
|
this.shock = 1;
|
||||||
this.storedCycles = 0;
|
this.storedCycles = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user