From 8f0dad0d1051fa5e83a667793a62d2f4e16a14f1 Mon Sep 17 00:00:00 2001
From: danielyxie CPU Core Firewall Spam Shield CPU Core Firewall Spam Shield
" +
"-Rebalanced BitNode-4 so that hacking is slightly less profitable
" +
"-Rebalanced BitNode-5 so that Infiltration is more profitable and gives more faction rep
" +
- "-Rebalanced BitNode-11 so that Crime and Infiltration are more profitable. Infiltration also gives more faction rep.
"
+ "-Rebalanced BitNode-11 so that Crime and Infiltration are more profitable. Infiltration also gives more faction rep.
" +
+ "-Fixed an annoying issue in Hacking Missions where sometimes you would click a Node but it wouldnt actually get selected
"
}
@@ -36461,12 +36462,12 @@ HackingMission.prototype.createNodeDomElement = function(nodeObj) {
var txt;
switch (nodeObj.type) {
case NodeTypes.Core:
- txt = "CPU Core
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-cpu-node");
break;
case NodeTypes.Firewall:
- txt = "Firewall
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-firewall-node");
break;
@@ -36476,7 +36477,7 @@ HackingMission.prototype.createNodeDomElement = function(nodeObj) {
nodeDiv.classList.add("hack-mission-database-node");
break;
case NodeTypes.Spam:
- txt = "Spam
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-spam-node");
break;
@@ -36487,14 +36488,14 @@ HackingMission.prototype.createNodeDomElement = function(nodeObj) {
break;
case NodeTypes.Shield:
default:
- txt = "
Shield
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-shield-node");
break;
}
txt += "
Atk: " + Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.atk, 1) +
- "
Def: " + Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.def, 1);
+ "
Def: " + Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.def, 1) + "
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
break;
case NodeTypes.Firewall:
- txt = "Firewall
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
break;
case NodeTypes.Database:
@@ -36524,7 +36525,7 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
break;
case NodeTypes.Spam:
- txt = "Spam
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
break;
case NodeTypes.Transfer:
@@ -36533,7 +36534,7 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
break;
case NodeTypes.Shield:
default:
- txt = "
Shield
" + "HP: " +
+ txt = "
" + "HP: " +
Object(__WEBPACK_IMPORTED_MODULE_6__utils_StringHelperFunctions_js__["c" /* formatNumber */])(nodeObj.hp, 1);
break;
}
@@ -36543,8 +36544,11 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
if (nodeObj.action) {
txt += "
" + nodeObj.action;
}
- //txt += "
CPU Core
" + "HP: " +
formatNumber(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-cpu-node");
break;
case NodeTypes.Firewall:
- txt = "Firewall
" + "HP: " +
+ txt = "
Firewall
" + "HP: " +
formatNumber(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-firewall-node");
break;
@@ -711,7 +711,7 @@ HackingMission.prototype.createNodeDomElement = function(nodeObj) {
nodeDiv.classList.add("hack-mission-database-node");
break;
case NodeTypes.Spam:
- txt = "Spam
" + "HP: " +
+ txt = "
Spam
" + "HP: " +
formatNumber(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-spam-node");
break;
@@ -722,14 +722,14 @@ HackingMission.prototype.createNodeDomElement = function(nodeObj) {
break;
case NodeTypes.Shield:
default:
- txt = "
Shield
" + "HP: " +
+ txt = "
Shield
" + "HP: " +
formatNumber(nodeObj.hp, 1);
nodeDiv.classList.add("hack-mission-shield-node");
break;
}
txt += "
Atk: " + formatNumber(nodeObj.atk, 1) +
- "
Def: " + formatNumber(nodeObj.def, 1);
+ "
Def: " + formatNumber(nodeObj.def, 1) + "
CPU Core
" + "HP: " +
formatNumber(nodeObj.hp, 1);
break;
case NodeTypes.Firewall:
- txt = "Firewall
" + "HP: " +
+ txt = "
Firewall
" + "HP: " +
formatNumber(nodeObj.hp, 1);
break;
case NodeTypes.Database:
@@ -759,7 +759,7 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
formatNumber(nodeObj.hp, 1);
break;
case NodeTypes.Spam:
- txt = "Spam
" + "HP: " +
+ txt = "
Spam
" + "HP: " +
formatNumber(nodeObj.hp, 1);
break;
case NodeTypes.Transfer:
@@ -768,7 +768,7 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
break;
case NodeTypes.Shield:
default:
- txt = "
Shield
" + "HP: " +
+ txt = "
Shield
" + "HP: " +
formatNumber(nodeObj.hp, 1);
break;
}
@@ -778,8 +778,11 @@ HackingMission.prototype.updateNodeDomElement = function(nodeObj) {
if (nodeObj.action) {
txt += "
" + nodeObj.action;
}
- //txt += "