@LabelIndex 6804
@StringIndex 1348
class 0 cleric_coach : guild_coach {
handler:
	EventHandler LEARN_SKILL_REQUESTED(talker) {
		if( ( ( myself.sm.race == 0 && myself::IsInCategory(47,talker.occupation) ) || ( myself.sm.race == 1 && myself::IsInCategory(51,talker.occupation) ) ) || ( myself.sm.race == 2 && myself::IsInCategory(55,talker.occupation) ) ) {
			myself::ShowSkillList(talker,"");
		} else {
			myself::ShowPage(talker,fnClassMismatch);
		}
	}

	EventHandler ENCHANT_SKILL_REQUESTED(talker,action_id) {
		if( ( ( myself.sm.race == 0 && myself::IsInCategory(47,talker.occupation) ) || ( myself.sm.race == 1 && myself::IsInCategory(51,talker.occupation) ) ) || ( myself.sm.race == 2 && myself::IsInCategory(55,talker.occupation) ) ) {
			if( myself::IsInCategory(9,talker.occupation) ) {
				if( talker.level > 75 ) {
					if( talker.transformID == 312 || talker.transformID == 313 || talker.transformID == 314 || talker.transformID == 315 || talker.transformID == 316 || talker.transformID == 317 || talker.transformID == 318 ) {
						myself::ShowPage(talker,"skillenchant_notvang.htm");
					} else {
						myself::ShowEnchantSkillList(talker,action_id);
					}
				} else {
					myself::ShowPage(talker,fnLevelMismatch);
				}
			} else {
				myself::ShowPage(talker,fnNotFourthClass);
			}
		} else {
			myself::ShowPage(talker,fnClassMismatch);
		}
	}

}
