Fixed bug where sleeves's exp didnt properly reset on prestige. Updated versions to v0.46.0. Added production build

This commit is contained in:
danielyxie
2019-04-03 16:58:15 -07:00
parent 804e4c23e3
commit 36499ae9f2
8 changed files with 159 additions and 158 deletions
+6
View File
@@ -436,6 +436,12 @@ export class Sleeve extends Person {
* Called on every sleeve for a Source File prestige
*/
prestige(p: IPlayer) {
this.hacking_exp = 0;
this.strength_exp = 0;
this.defense_exp = 0;
this.dexterity_exp = 0;
this.agility_exp = 0;
this.charisma_exp = 0;
this.resetTaskStatus();
this.earningsForSleeves = createTaskTracker();
this.earningsForPlayer = createTaskTracker();