mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-08 11:29:19 +01:00
Bug fixes
This commit is contained in:
@ -757,7 +757,7 @@ applyAugmentation = function(aug, faction) {
|
|||||||
Player.defense_exp_mult *= 1.05;
|
Player.defense_exp_mult *= 1.05;
|
||||||
Player.dexterity_exp_mult *= 1.05;
|
Player.dexterity_exp_mult *= 1.05;
|
||||||
Player.agility_exp_mult *= 1.05;
|
Player.agility_exp_mult *= 1.05;
|
||||||
this.charisma_exp_mult *= 1.05;
|
Player.charisma_exp_mult *= 1.05;
|
||||||
break;
|
break;
|
||||||
case "Neurotrainer II": //Medium level
|
case "Neurotrainer II": //Medium level
|
||||||
Player.hacking_exp_mult *= 1.1;
|
Player.hacking_exp_mult *= 1.1;
|
||||||
|
@ -25,8 +25,6 @@ function displayCreateProgramContent() {
|
|||||||
httpWormALink.style.display = "none";
|
httpWormALink.style.display = "none";
|
||||||
sqlInjectALink.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)
|
//PortHack.exe (in case you delete it lol)
|
||||||
if (Player.getHomeComputer().programs.indexOf(Programs.NukeProgram) == -1) {
|
if (Player.getHomeComputer().programs.indexOf(Programs.NukeProgram) == -1) {
|
||||||
portHackALink.style.display = "block";
|
portHackALink.style.display = "block";
|
||||||
|
@ -438,6 +438,10 @@ var Engine = {
|
|||||||
displayAugmentationsContent: function() {
|
displayAugmentationsContent: function() {
|
||||||
var augmentationsList = document.getElementById("augmentations-list");
|
var augmentationsList = document.getElementById("augmentations-list");
|
||||||
|
|
||||||
|
while (augmentationsList.firstChild) {
|
||||||
|
augmentationsList.removeChild(augmentationsList.firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
for (var i = 0; i < Player.augmentations.length; ++i) {
|
for (var i = 0; i < Player.augmentations.length; ++i) {
|
||||||
var augName = Player.augmentations[i];
|
var augName = Player.augmentations[i];
|
||||||
var aug = Augmentations[augName];
|
var aug = Augmentations[augName];
|
||||||
|
Reference in New Issue
Block a user