Board Thread:Role Ideas (Neutral)/@comment-30105631-20161117060909/@comment-24675428-20161119205643

ChickenPieNuggetz wrote:

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. I dont really know flash, but the point was this can be coded by me, who doesnt do code for a living, in maybe 10-15 minutes, all the regular stuff needed to impliment a new role aside.