Fix skill_id_to_type to not suck