public void magicAttack(Enemy[] e, int c) {
		if (magicType.equals("fire")) {
			int damage = (super.getLevel() / 4) + magicLevel + gen.nextInt(5)
					+ 1;
			e[c].damageTaken(damage);
		}
		else if (magicType.equals("blizzard")) {
			int damage = (super.getLevel() / 4) + magicLevel + gen.nextInt(5)
					+ 1;
			e[c].damageTaken(damage);
		}
		else if (magicType.equals("thunder")) {
			int damage = (super.getLevel() / 4) + magicLevel + gen.nextInt(5)
					+ 1;
			e[c].damageTaken(damage);
		}
		else if (magicType.equals("flood")) {
			for (int x = 0; x < 3; x++) {
				int damage = (super.getLevel() / 4) + magicLevel
						+ gen.nextInt(5) + 1;
				e[x].damageTaken(damage);
			}
		}
		else if (magicType.equals("quake")) {
			int damage = (super.getLevel() / 4) + magicLevel
					+ e[c].getTotalDefence() + 3;
			e[c].damageTaken(damage);
		}
	}