mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +01:00
Bug fixes
This commit is contained in:
parent
acc3b8cf89
commit
9f7d6d7bba
@ -757,7 +757,7 @@ applyAugmentation = function(aug, faction) {
|
||||
Player.defense_exp_mult *= 1.05;
|
||||
Player.dexterity_exp_mult *= 1.05;
|
||||
Player.agility_exp_mult *= 1.05;
|
||||
this.charisma_exp_mult *= 1.05;
|
||||
Player.charisma_exp_mult *= 1.05;
|
||||
break;
|
||||
case "Neurotrainer II": //Medium level
|
||||
Player.hacking_exp_mult *= 1.1;
|
||||
|
@ -24,9 +24,7 @@ function displayCreateProgramContent() {
|
||||
relaySmtpALink.style.display = "none";
|
||||
httpWormALink.style.display = "none";
|
||||
sqlInjectALink.style.display = "none";
|
||||
|
||||
//TODO These addEventListeners should only happen once so I guess just put them in Engine.init()
|
||||
|
||||
|
||||
//PortHack.exe (in case you delete it lol)
|
||||
if (Player.getHomeComputer().programs.indexOf(Programs.NukeProgram) == -1) {
|
||||
portHackALink.style.display = "block";
|
||||
|
@ -438,6 +438,10 @@ var Engine = {
|
||||
displayAugmentationsContent: function() {
|
||||
var augmentationsList = document.getElementById("augmentations-list");
|
||||
|
||||
while (augmentationsList.firstChild) {
|
||||
augmentationsList.removeChild(augmentationsList.firstChild);
|
||||
}
|
||||
|
||||
for (var i = 0; i < Player.augmentations.length; ++i) {
|
||||
var augName = Player.augmentations[i];
|
||||
var aug = Augmentations[augName];
|
||||
|
Loading…
Reference in New Issue
Block a user