Added two new factions, Slum Snakes and Tetrads. Added 4 more augmentations for those factions. Fixed some issues with prestiging

This commit is contained in:
Daniel Xie
2017-05-12 13:12:32 -05:00
parent 9f9ea73651
commit 041f195241
7 changed files with 166 additions and 35 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ function PlayerObject() {
this.numTimesHeistTotal = 0;
this.numTimesHeistLifetime = 0;
//Achievements and achievement progress
this.crime_money_mult = 1;
//Flag to let the engine know the player is starting an action
// Current actions: hack, analyze
@@ -1042,7 +1042,7 @@ PlayerObject.prototype.startCrime = function(hackExp, strExp, defExp, dexExp, ag
this.workDexExpGained = dexExp * this.dexterity_exp_mult;
this.workAgiExpGained = agiExp * this.agility_exp_mult;
this.workChaExpGained = chaExp * this.charisma_exp_mult;
this.workMoneyGained = money; //TODO multiplier for this?
this.workMoneyGained = money * this.crime_money_mult;
this.timeNeededToCompleteWork = time;