51 lines
1.6 KiB
Lua
51 lines
1.6 KiB
Lua
-- <ep7>수수께끼 노인 누즈
|
|
function NPC_lost_island_rooze_contact()
|
|
|
|
-- 다이얼로그 출력
|
|
--dlg_title("@91000446")
|
|
local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
|
|
dlg_title( npc_name)
|
|
|
|
dlg_text( "@91000447" )
|
|
|
|
if (get_quest_progress(4033) == 255 or get_quest_progress(4034) == 1 or get_quest_progress(4034) == 255 ) and get_value( 'level' ) >= 175 then
|
|
dlg_menu("@90610375", "NPC_lost_island_rooze_warp()")
|
|
end
|
|
dlg_menu( "@90010002", '' )
|
|
dlg_show()
|
|
|
|
end
|
|
|
|
function NPC_lost_island_rooze_warp()
|
|
|
|
-- 다이얼로그 출력
|
|
--dlg_title("@91000446")
|
|
local npc_name = "@"..get_npc_type().."|@"..get_npc_name()
|
|
dlg_title( npc_name)
|
|
|
|
dlg_text( "@90610403" )
|
|
|
|
if (get_quest_progress(4033) == 255 or get_quest_progress(4034) == 1 or get_quest_progress(4034) == 255 ) and get_value( 'level' ) >= 175 then
|
|
dlg_menu("@90610404", "warp_to_instance_dungeon(80000,0)")
|
|
end
|
|
if get_quest_progress(4036) == 255 then -- 11
|
|
dlg_menu("@90610405", "warp_to_instance_dungeon(80000, 1, 22626, 54881)")
|
|
end
|
|
if get_quest_progress(4037) == 255 then -- 21
|
|
dlg_menu("@90610406", "warp_to_instance_dungeon(80000, 2, 19129, 58384)")
|
|
end
|
|
if get_quest_progress(4040) == 255 then -- 31
|
|
dlg_menu("@90610852", "warp_to_instance_dungeon(80000, 3, 25028, 61184)")
|
|
end
|
|
if get_quest_progress(4041) == 255 then -- 41
|
|
dlg_menu("@90610853", "warp_to_instance_dungeon(80000, 4, 28028, 56184)")
|
|
end
|
|
if get_quest_progress(4042) == 255 then -- 51
|
|
dlg_menu("@90610854", "warp_to_instance_dungeon(80000, 5, 25028, 51184)")
|
|
end
|
|
|
|
dlg_menu( "@90010002", '' )
|
|
dlg_show()
|
|
|
|
end
|