java.js
// Base for upgrades that give you more points every time you click
Base for upgrades that give you more points every time you click
Base for upgrades that give you more points every time you click
function clickUpgrade(upincrease, sizevar) {
	spc = spc + upincrease;
	size = size - sizevar;
	spentonupgrades = spentonupgrades + sizevar;
	spentonclickupgrades = spentonclickupgrades + sizevar;
	newcost = sizevar * 1.15;
	newcost = Math.round(newcost);
	upgradesbought++;
	clickupgradesbought++;
	return newcost;
}
function clickUpgrade ( upincrease , sizevar ) { spc = spc + upincrease ; size = size - sizevar ; spentonupgrades = spentonupgrades + sizevar ; spentonclickupgrades = spentonclickupgrades + sizevar ; newcost = sizevar * 1.15 ; newcost = Math . round ( newcost ) ; upgradesbought ++ ; clickupgradesbought ++ ; return newcost ; }
Base for upgrades that give you more points every time you click
Base for upgrades that give you more points every time you click