--[[
Quest_Ep3.lua
[ Start  ] 	2009.12.
[ Latest ]	2009-12-14 16:45 PM
[ Version ]	0.0.0.1
[ Text ]									
[ Desc ]									
--]]
QuestInclude("Quest_Define.lua")

function Ep3_Progress(SelectSyntactic, objIndex)


	local QS = LuaQuestClass:GetQuestSwitch(Ep3, objIndex)
	--Print('1', 'qs = ', QS, 'SelectSyntactic = ' , SelectSyntactic)
-- 블러드 캐슬 1지역: 1차 연계 퀘스트
	if QS == 0 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 2, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 1, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 설명	
	if QS == 2 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 3, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	
	if QS == 3 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 4, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end

	if QS == 4 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 5, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end

	if QS == 5 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 6, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 6 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 7, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 7 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 8, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
-- 블러드 캐슬 1지역: 2차 연계 퀘스트
	if QS == 9 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 11, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 10, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 1지역: 3차 연계 퀘스트
	if QS == 12 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 14, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 13, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 1지역: 4차 연계 퀘스트
	if QS == 15 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 17, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 16, objIndex)-- 
			return
		end
	end

-- 블러드 캐슬 2지역: 1차 연계 퀘스트
	if QS == 18 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 20, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 19, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 설명	

	if QS == 20 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 21, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end

	if QS == 21 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 22, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 22 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 23, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 23 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 24, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 24 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 25, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
	if QS == 25 then
		if SelectSyntactic == 1 then -- 그렇군
			LuaQuestClass:SendQuestProgress(Ep3, 26, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
	end
-- 블러드 캐슬 2지역: 2차 연계 퀘스트
	if QS == 27 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 29, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 28, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 2지역: 3차 연계 퀘스트
	if QS == 30 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 32, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 31, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 2지역: 4차 연계 퀘스트
	if QS == 33 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 35, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 34, objIndex)-- 
			return
		end
	end

-- 블러드 캐슬 3지역: 1차 연계 퀘스트
	if QS == 36 then
		if SelectSyntactic == 1 then -- 잘알았삼
			LuaQuestClass:SendQuestProgress(Ep3, 37, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end

	end
	if QS == 37 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 39, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 38, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 3지역: 2차 연계 퀘스트
	if QS == 40 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 42, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 41, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 3지역: 3차 연계 퀘스트
	if QS == 43 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 45, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 44, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 4지역: 1차 연계 퀘스트
	if QS == 46 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 48, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 47, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 4지역: 2차 연계 퀘스트
	if QS == 49 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 51, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 50, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 4지역: 3차 연계 퀘스트
	if QS == 52 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 54, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 53, objIndex)-- 
			return
		end
	end

-- 블러드 캐슬 5지역: 1차 연계 퀘스트
	if QS == 55 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 57, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 56, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 5지역: 2차 연계 퀘스트
	if QS == 58 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 60, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 59, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 5지역: 3차 연계 퀘스트
	if QS == 61 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 63, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 62, objIndex)-- 
			return
		end
	end

-- 블러드 캐슬 6지역: 1차 연계 퀘스트
	if QS == 64 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 66, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 65, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 6지역: 2차 연계 퀘스트
	if QS == 67 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 69, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 68, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 6지역: 3차 연계 퀘스트
	if QS == 70 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 72, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 71, objIndex)-- 
			return
		end
	end
	
-- 블러드 캐슬 7지역: 1차 연계 퀘스트
	if QS == 73 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 75, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 74, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 7지역: 2차 연계 퀘스트
	if QS == 76 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 78, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 77, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 7지역: 3차 연계 퀘스트
	if QS == 79 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 81, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 80, objIndex)-- 
			return
		end
	end

-- 블러드 캐슬 8지역: 1차 연계 퀘스트
	if QS == 82 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 84, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 83, objIndex)-- 
			return
		end

	end
-- 블러드 캐슬 8지역: 2차 연계 퀘스트
	if QS == 85 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 87, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 86, objIndex)-- 
			return
		end
	end
-- 블러드 캐슬 8지역: 3차 연계 퀘스트
	if QS == 88 then
		if SelectSyntactic == 1 then -- 뭔데
			LuaQuestClass:SendQuestProgress(Ep3, 90, objIndex)-- 
			--Print('qs = ', QS , 'SelectSyntactic = ', SelectSyntactic)
			return
		end
		if SelectSyntactic == 2 then -- 지금은 바뻐.
			LuaQuestClass:SendQuestProgress(Ep3, 89, objIndex)-- 
			return
		end
	end
end

function Ep3_ChkCompleteQS(QS)

	if QS == 11 or QS == 14 or QS == 17 
	or QS == 29 or QS == 32 or QS == 35 
	or QS == 39 or QS == 42 or QS == 45
	or QS == 48 or QS == 51 or QS == 54
	or QS == 57 or QS == 60 or QS == 63
	or QS == 66 or QS == 69 or QS == 72
	or QS == 75 or QS == 78 or QS == 81
	or QS == 84 or QS == 87 or QS == 90 then
		return 1
	end
	
	return 0
end

function Ep3_SendCompleteQS(QS, objIndex)



	if QS == 11 then
		LuaQuestClass:SetQuestSwitch(Ep3, 12, objIndex)
	elseif QS == 14 then 
		LuaQuestClass:SetQuestSwitch(Ep3, 15, objIndex)
	elseif QS == 17 then
		LuaQuestClass:SetQuestSwitch(Ep3, 18, objIndex)
	elseif QS == 29 then
		LuaQuestClass:SetQuestSwitch(Ep3, 30, objIndex)
	elseif QS == 32 then
		LuaQuestClass:SetQuestSwitch(Ep3, 33, objIndex)
	elseif QS == 35 then
		LuaQuestClass:SetQuestSwitch(Ep3, 36, objIndex)
	elseif QS == 39 then
		LuaQuestClass:SetQuestSwitch(Ep3, 40, objIndex)
	elseif QS == 42 then
		LuaQuestClass:SetQuestSwitch(Ep3, 43, objIndex)
	elseif QS == 45 then
		LuaQuestClass:SetQuestSwitch(Ep3, 46, objIndex)
	elseif QS == 48 then
		LuaQuestClass:SetQuestSwitch(Ep3, 49, objIndex)
	elseif QS == 51 then
		LuaQuestClass:SetQuestSwitch(Ep3, 52, objIndex)
	elseif QS == 54 then
		LuaQuestClass:SetQuestSwitch(Ep3, 55, objIndex)
	elseif QS == 57 then
		LuaQuestClass:SetQuestSwitch(Ep3, 58, objIndex)
	elseif QS == 60 then
		LuaQuestClass:SetQuestSwitch(Ep3, 61, objIndex)
	elseif QS == 63 then
		LuaQuestClass:SetQuestSwitch(Ep3, 64, objIndex)
	elseif QS == 66 then
		LuaQuestClass:SetQuestSwitch(Ep3, 67, objIndex)
	elseif QS == 69 then
		LuaQuestClass:SetQuestSwitch(Ep3, 70, objIndex)
	elseif QS == 72 then
		LuaQuestClass:SetQuestSwitch(Ep3, 73, objIndex)
	elseif QS == 75 then
		LuaQuestClass:SetQuestSwitch(Ep3, 76, objIndex)
	elseif QS == 78 then
		LuaQuestClass:SetQuestSwitch(Ep3, 79, objIndex)
	elseif QS == 81 then
		LuaQuestClass:SetQuestSwitch(Ep3, 82, objIndex)
	elseif QS == 84 then
		LuaQuestClass:SetQuestSwitch(Ep3, 85, objIndex)
	elseif QS == 87 then
		LuaQuestClass:SetQuestSwitch(Ep3, 88, objIndex)
	elseif QS == 90 then
		LuaQuestClass:SetQuestSwitch(Ep3, 91, objIndex)
	end

	return
end



function Ep3_Complete(objIndex)

	local LimitLv = 400
	
	
	local QS = LuaQuestClass:GetQuestSwitch(Ep3, objIndex)
	
	if QS == 1 then
		LuaQuestClass:SetQuestSwitch(Ep3, 9, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif QS == 10 then
		LuaQuestClass:SetQuestSwitch(Ep3, 9, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 13 then
		LuaQuestClass:SetQuestSwitch(Ep3, 12, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 16 then
		LuaQuestClass:SetQuestSwitch(Ep3, 15, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 19 then
		LuaQuestClass:SetQuestSwitch(Ep3, 27, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 28 then
		LuaQuestClass:SetQuestSwitch(Ep3, 27, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 31 then
		LuaQuestClass:SetQuestSwitch(Ep3, 30, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 34 then
		LuaQuestClass:SetQuestSwitch(Ep3, 33, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 38 then
		LuaQuestClass:SetQuestSwitch(Ep3, 37, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 41 then
		LuaQuestClass:SetQuestSwitch(Ep3, 40, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 44 then
		LuaQuestClass:SetQuestSwitch(Ep3, 43, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 47 then
		LuaQuestClass:SetQuestSwitch(Ep3, 46, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 50 then
		LuaQuestClass:SetQuestSwitch(Ep3, 49, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 53 then
		LuaQuestClass:SetQuestSwitch(Ep3, 52, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 56 then
		LuaQuestClass:SetQuestSwitch(Ep3, 55, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 59 then
		LuaQuestClass:SetQuestSwitch(Ep3, 58, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 62 then
		LuaQuestClass:SetQuestSwitch(Ep3, 61, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 65 then
		LuaQuestClass:SetQuestSwitch(Ep3, 64, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 68 then
		LuaQuestClass:SetQuestSwitch(Ep3, 67, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 71 then
		LuaQuestClass:SetQuestSwitch(Ep3, 70, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 74 then
		LuaQuestClass:SetQuestSwitch(Ep3, 73, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 77 then
		LuaQuestClass:SetQuestSwitch(Ep3, 76, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 80 then
		LuaQuestClass:SetQuestSwitch(Ep3, 79, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 83 then
		LuaQuestClass:SetQuestSwitch(Ep3, 82, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 86 then
		LuaQuestClass:SetQuestSwitch(Ep3, 85, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	elseif  QS == 89 then
		LuaQuestClass:SetQuestSwitch(Ep3, 88, objIndex)
		LuaQuestClass:SendQuestComplete(Ep3, QS, objIndex)--진행상 보상 없이 확인 버튼 눌렀을때.
		return
	end	

	if QS == 8 then
		local Result = LuaQuestClass:SendQuestReward(Ep3, objIndex)
		if Result == 1 then
			LuaQuestClass:SetQuestSwitch(Ep3, 9, objIndex)
		end
		return
	elseif QS == 26 then
		local Result = LuaQuestClass:SendQuestReward(Ep3, objIndex)
		if Result == 1 then
			LuaQuestClass:SetQuestSwitch(Ep3, 27, objIndex)
		end
		return
	end	
	
	local bComplete = LuaQuestClass:IsQuestComplete(Ep3, objIndex)--완료 체크
	
	if bComplete == false then
		return
	end
	
	local ChkCompleteQS = Ep3_ChkCompleteQS(QS)
	
	if ChkCompleteQS == 1 then
	
		local UserLv = LuaQuestClass:GetUserLv(objIndex)
		
		if UserLv <= LimitLv then
			local Result = LuaQuestClass:SendQuestReward(Ep3, objIndex)
			if Result == 1 then
				Ep3_SendCompleteQS(QS, objIndex)
			end
			return
		elseif UserLv > LimitLv then
			local Result = LuaQuestClass:SendQuestReward(Ep3, objIndex)
			if Result == 1 then
				Ep3_SendCompleteQS(QS, objIndex)
				LuaQuestClass:SetQuestSwitch(Ep3, 91, objIndex)
			end

			return
		end
		
		return
	end

end