mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 05:47:14 +02:00
build bunch of fixes
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Player } from "../Player";
|
||||
import { Exploit } from "./Exploit";
|
||||
|
||||
(function () {
|
||||
export function startTampering(): void {
|
||||
const a = 55;
|
||||
setInterval(function () {
|
||||
if (a.toExponential() !== "5.5e+1") {
|
||||
Player.giveExploit(Exploit.PrototypeTampering);
|
||||
}
|
||||
}, 15 * 60 * 1000); // 15 minutes
|
||||
})();
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Player } from "../Player";
|
||||
import { Exploit } from "./Exploit";
|
||||
|
||||
(function () {
|
||||
export function startUnclickable(): void {
|
||||
function clickTheUnclickable(event: MouseEvent): void {
|
||||
if (!event.target || !(event.target instanceof Element)) return;
|
||||
const display = window.getComputedStyle(event.target as Element).display;
|
||||
@@ -19,4 +19,4 @@ import { Exploit } from "./Exploit";
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", targetElement);
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user