ShowMessage("ȡ˹õ $Rev: 214 $")

--[[
[author]
descript="ÿȡ1"
]]--
perday_max=1
script_name="ȡ˹õ"


function OnMission()
	while true do
		-- ƶ  ͸ 182 69
		MoveToNPC(182, 69, DataBase:GetSceneID(""), "͸")
		-- ѡ ȡ˹õ 
		local g_szMission = "ȡ˹õ"
		QuestFrameOptionClicked(g_szMission, CMP_PART_MATCH)
		
		local strType,_,_,_,szText = DataPool:GetNPCEventList_Item(0)		
		if strType == "text" then				
			if string.find(szText, "Բ") then
				ShowMessage("ȡ˹õ壺Ѿɣ")
				System:UpdateRecord( script_name )
				break
			end
		end
	end
end

function _SMain(...)
	OnMission()
end

_SMain()