mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 04:23:48 +01:00
commit
02bdb41768
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -36,8 +36,9 @@ export function NetscriptExtra(player: IPlayer, workerScript: WorkerScript): INe
|
|||||||
real_document.completely_unused_field = undefined;
|
real_document.completely_unused_field = undefined;
|
||||||
},
|
},
|
||||||
alterReality: function (): void {
|
alterReality: function (): void {
|
||||||
const x = false;
|
const x = eval("false");
|
||||||
console.warn("I am sure that this variable is false");
|
console.warn("I am sure that this variable is false.");
|
||||||
|
// add Math.random so webpack doesn't optimise the if away
|
||||||
if (x !== false) {
|
if (x !== false) {
|
||||||
console.warn("Reality has been altered!");
|
console.warn("Reality has been altered!");
|
||||||
player.giveExploit(Exploit.RealityAlteration);
|
player.giveExploit(Exploit.RealityAlteration);
|
||||||
|
Loading…
Reference in New Issue
Block a user