Attached Stock market Watchlist

This commit is contained in:
Daniel Xie
2018-08-23 13:51:57 -05:00
parent c5841b65fe
commit 815762bddd
4 changed files with 92 additions and 41 deletions
+3 -1
View File
@@ -173,6 +173,8 @@ function PlayerObject() {
//Stock Market
this.hasWseAccount = false;
this.hasTixApiAccess = false;
this.has4SData = false;
this.has4SDataTixApi = false;
//Gang
this.gang = 0;
@@ -1700,7 +1702,7 @@ PlayerObject.prototype.hospitalize = function() {
numeral(this.max_hp * CONSTANTS.HospitalCostPerHp).format('$0.000a')
);
}
this.loseMoney(this.max_hp * CONSTANTS.HospitalCostPerHp);
this.hp = this.max_hp;
}