Skip to content

Instantly share code, notes, and snippets.

const MAXGP = 800;
const MAXSECONDS = 3600;
const CORDIALGP = 300, HQCORDIALGP = 350, HICORDIALGP = 400;
const CORDIALCD = 240, HQCORDIALCD = 216, HICORDIALCD = 180;
function fullGP (potGP, potMaxCD) {
var seconds = 0;
var potCD = 0;
var potsUsed = 0;
var gp = 800;