Fixed bugs with new multiple Augmentations feature. Added getServerMaxMoney() netscript command

This commit is contained in:
Daniel Xie
2017-06-25 18:39:17 -05:00
parent aba6936295
commit 6712d340fb
15 changed files with 240 additions and 48 deletions
+3
View File
@@ -4,6 +4,8 @@ function PlayerObject() {
this.hacking_skill = 1;
//Fighting
this.hp = 10;
this.max_hp = 10;
this.strength = 1; //Damage dealt
this.defense = 1; //Damage received
this.dexterity = 1; //Accuracy
@@ -86,6 +88,7 @@ function PlayerObject() {
this.factions = []; //Names of all factions player has joined
//Augmentations
this.queuedAugmentations = []; //Purchased but not installed, names only
this.augmentations = []; //Names of all installed augmentations
//Crime statistics (Total refers to this 'simulation'. Lifetime is forever)