mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
Infiltration can no longer be done programmatically. HP is reset when prestiging
This commit is contained in:
@@ -81,7 +81,8 @@ function infiltrationBoxCreate(inst) {
|
||||
|
||||
var sellButton = clearEventListeners("infiltration-box-sell");
|
||||
setTimeout(function() {
|
||||
sellButton.addEventListener("click", function() {
|
||||
sellButton.addEventListener("click", function(e) {
|
||||
if (!e.isTrusted) {return false;}
|
||||
Player.gainMoney(moneyValue);
|
||||
dialogBoxCreate("You sold the classified information you stole from " + inst.companyName +
|
||||
" for $" + moneyValue + " on the black market!<br><br>" +
|
||||
@@ -99,7 +100,8 @@ function infiltrationBoxCreate(inst) {
|
||||
|
||||
var factionButton = clearEventListeners("infiltration-box-faction");
|
||||
setTimeout(function() {
|
||||
factionButton.addEventListener("click", function() {
|
||||
factionButton.addEventListener("click", function(e) {
|
||||
if (!e.isTrusted) {return false;}
|
||||
var facName = selector.options[selector.selectedIndex].value;
|
||||
lastFac = facName;
|
||||
var faction = Factions[facName];
|
||||
|
||||
Reference in New Issue
Block a user