class 1 orc_lv2_master : guild_master_lv2
{
parameter:
	int	lv1_class1 = 44;
	int	lv1_class2 = 49;
	int	lv2_class11 = 45;
	int	lv2_class12 = 47;
	int	lv2_class21 = 50;
	int	proof11 = 1592;
	int	proof12 = 1615;
	int	proof21 = 1631;

handler:
	EventHandler MENU_SELECTED(talker,ask,reply)
	{
		if( ask == -2 && reply == 1 )
		{
			if( talker.race == 3 )
			{
				if( myself::IsInCategory(0,talker.occupation) )
				{
					myself::ShowPage(talker,fnClassList1);
				}
				else if( myself::IsInCategory(1,talker.occupation) )
				{
					myself::ShowPage(talker,fnClassList2);
				}
			}
			else
			{
				myself::ShowPage(talker,fnClassMismatch);
			}
		}
		super;
	}

}
