int charClassId = player.getBaseClass();
if (charClassId >= 88) charClassId = player.getClassId().getParent().ordinal();
final PlayerRace npcRace = getVillageMasterRace();
final ClassType npcTeachType = getVillageMasterTeachType();
PlayerClass currClass = PlayerClass.values()[charClassId];
/**
* If the race of your main class is Elf or Dark Elf,