v0.44.1 Duplicate Sleeve updates

This commit is contained in:
danielyxie
2019-02-26 00:51:48 -08:00
committed by danielyxie
parent b26568bf7d
commit a277810095
7 changed files with 180 additions and 13 deletions
+2 -2
View File
@@ -281,7 +281,7 @@ PlayerObject.prototype.prestigeAugmentation = function() {
for (let i = 0; i < this.sleeves.length; ++i) {
if (this.sleeves[i] instanceof Sleeve) {
this.sleeves[i].resetTaskStatus();
this.sleeves[i].shockRecovery(this);
}
}
@@ -372,7 +372,7 @@ PlayerObject.prototype.prestigeSourceFile = function() {
// Duplicate sleeves are reset to level 1 every Bit Node (but the number of sleeves you have persists)
this.sleeves.length = SourceFileFlags[10] + this.sleevesFromCovenant;
for (let i = 0; i < this.sleeves.length; ++i) {
this.sleeves[i] = new Sleeve();
this.sleeves[i] = new Sleeve(this);
}
this.isWorking = false;