Red Pill and Export bug fixes

This commit is contained in:
Daniel Xie 2017-07-06 22:24:59 -04:00
parent 2fd9add22d
commit d910a89fd9
2 changed files with 3 additions and 1 deletions

@ -1740,6 +1740,8 @@ applyAugmentation = function(aug, reapply=false) {
Player.hacking_chance_mult *= 1.3; Player.hacking_chance_mult *= 1.3;
Player.hacking_money_mult *= 2; Player.hacking_money_mult *= 2;
break; break;
case AugmentationNames.TheRedPill:
break;
case AugmentationNames.SPTN97: case AugmentationNames.SPTN97:
Player.strength_mult *= 1.75; Player.strength_mult *= 1.75;
Player.defense_mult *= 1.75; Player.defense_mult *= 1.75;

@ -316,7 +316,7 @@ BitburnerSaveObject.prototype.exportGame = function() {
this.SpecialServerIpsSave = JSON.stringify(SpecialServerIps); this.SpecialServerIpsSave = JSON.stringify(SpecialServerIps);
this.AugmentationsSave = JSON.stringify(Augmentations); this.AugmentationsSave = JSON.stringify(Augmentations);
this.AliasesSave = JSON.stringify(Aliases); this.AliasesSave = JSON.stringify(Aliases);
this.GlobalAliasesSave = JSON.stringify(GlobalAliasesSave); this.GlobalAliasesSave = JSON.stringify(GlobalAliases);
this.MessagesSave = JSON.stringify(Messages); this.MessagesSave = JSON.stringify(Messages);
this.VersionSave = JSON.stringify(CONSTANTS.Version); this.VersionSave = JSON.stringify(CONSTANTS.Version);