build bunch of fixes

This commit is contained in:
Olivier Gagnon
2021-09-21 20:30:00 -04:00
parent c94ec2f170
commit 0c932dd4d1
24 changed files with 553 additions and 1075 deletions
+2 -2
View File
@@ -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
})();
}
+2 -2
View File
@@ -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);
})();
}