Skip to content

Commit cd65838

Browse files
authored
Update script.js
fixed everyone stuck in loops hopefully
1 parent 3f4d1aa commit cd65838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assassin/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sfc32(a, b, c, d) {
2424
return (t >>> 0) / 4294967296;
2525
}
2626
}
27-
const seedgen = () => (119);//(Math.random()*2**32)>>>0;
27+
const seedgen = () => (77);//(Math.random()*2**32)>>>0;
2828
const getRand = sfc32(seedgen(), seedgen(), seedgen(), seedgen());
2929
for(let i=0; i<2; i++) console.log(getRand());
3030

@@ -68,7 +68,7 @@ function submit() {
6868
document.getElementById("revealButton").remove();
6969

7070
let myIndex = initialList.indexOf(myInitials);
71-
let myTarget = initialList[(myIndex + 4) % initialList.length];
71+
let myTarget = initialList[(myIndex + 1) % initialList.length];
7272
let myMethod = killAction[myIndex];
7373
console.log("Target: " + myTarget + "\nMethod: " + myMethod);
7474
createText(myTarget);

0 commit comments

Comments
 (0)