Minor fixes to new Sleeve API

This commit is contained in:
danielyxie
2019-03-19 16:38:49 -07:00
parent d75ff5d95b
commit dfd7aa2d2e
6 changed files with 33 additions and 8 deletions
+5 -1
View File
@@ -283,7 +283,11 @@ PlayerObject.prototype.prestigeAugmentation = function() {
for (let i = 0; i < this.sleeves.length; ++i) {
if (this.sleeves[i] instanceof Sleeve) {
this.sleeves[i].shockRecovery(this);
if (this.sleeves[i].shock >= 100) {
this.sleeves[i].synchronize(this);
} else {
this.sleeves[i].shockRecovery(this);
}
}
}