public static Element getFromChar(char c) {
	switch (Character.toUpperCase(c)) {
	    case 'F':
		return FIRE;
	    case 'I':
		return ICE;
	    case 'L':
		return LIGHTING;
	    case 'S':
		return POISON;
	    case 'H':
		return HOLY;
	    case 'P':
		return PHYSICAL;
	    case 'D': // Added on v.92 MSEA
		return DARKNESS;
	}
	throw new IllegalArgumentException("unknown element char " + c);
    }