public void setEffects()
	{
		switch(type)
		{
			case 0: typeString = "Splash";
				splashRadius = 50*level;
				phrase1 = "Splash Radius: " + splashRadius;
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 1: typeString = "Gold";
				extraGold = 50*level;
				phrase1 = "Gold/Kill: " + extraGold;
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 2: typeString = "Range";
				extraRange = 70*level;
				phrase1 = "Extra Range: " + extraRange;
				range = 300+(50*level);
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 3: typeString = "Poison";
				poisonDmg = 1*level;//poison damage per second
				poisonTime = 5000;//duration in milliseconds
				phrase1 = "Poison Dmg: " + poisonDmg;
				phrase2 = "Poison Time: " + (int)(poisonTime/1000);
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 4: typeString = "Slow";
				slowPercent = 1-0.12*level;
				slowTime = 1500 + 400*level;
				phrase1 = "Slow Amount: " + (int)((100-(slowPercent*100))) + "%";
				phrase2 = "Slow Time: " + (double)((double)slowTime/1000);
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 5: typeString = "Freeze";
				freezeChance = 30;
				freezeTime = 500*level;
				phrase1 = "Freeze Chance: " + freezeChance + "%";
				phrase2 = "Freeze Time: " + (double)((double)freezeTime/1000);
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 6: typeString = "Rapid"; 
				reloadCount = 150-20*level;
				phrase1 = "Reload Time: " + (double)reloadCount/1000;
				range = 300;
				damage = 2*level;
				break;
			case 7: typeString = "Sight";
				trueSightRange = 300+100*level;
				phrase1 = "Sight Range: " + trueSightRange;
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
			case 8: typeString = "Dizzy";
				confusionChance = 30;
				confusionTime = 600*level;
				phrase1 = "Dizzy Chance: " + confusionChance + "%";
				phrase2 = "Dizzy Time: " + (double)((double)confusionTime/(double)1000);
				range = 300;
				damage = 2*level;
				reloadCount = 200-5*level;
				break;
		}
	}