public Effect[] randomizeEffects(double effectModifier) {
		int effects = 0;
		if (r.nextInt(100) < 40) {
			effects++;
			if (r.nextBoolean()) {
				effects++;
			} else {
				if (r.nextBoolean() && r.nextBoolean()) {
					effects++;
					if (r.nextBoolean()) {
						effects++;
						if (r.nextBoolean()) {
							effects++;
						}
					}
				}
			}
		}
		Effect[] ef = new Effect[0];
		if (effects <= 2) {
			ef = generateEffect(true, effectModifier, effects);
		} else if (effects <= 4) {
			ef = generateEffect(false, effectModifier, effects);
		} else {
			ef = getUnique();
		}
		return ef;
	}