Board Thread:Role Ideas (Neutral)/@comment-30105631-20161117060909/@comment-29669939-20161119084342

Rexanator3000 wrote: Seriously, this isnt that hard to code.

boolean isPycho;

int random = (int)(Math.random*2)+1;

if (random == 1)

//run Serial Killer code at night

else

//run whatever code for the role they normally are

or atleast thats java

I think the game runs on flash, which means they use action script - a more classical version of JavaScript.

So you're probably close.