Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest deviltower_zone begin
- state start begin
- when login begin
- if pc.get_map_index() == 66 then
- -- 1층이 아닐 때만 밖으로 내보낸다.
- -- 층 범위
- -- 1층 88 577 236 737
- -- 2층 91 343 238 504
- -- 3층 104 107 248 269
- if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then
- pc.warp((5376+532)*100, (512+596+4)*100, 65)
- end
- pc.set_warp_location(65, 5376+532, 512+596+4)
- elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
- pc.set_warp_location(65, 5376+532, 512+596+4)
- end
- end
- when deviltower_man.chat.locale.deviltower_man_chat begin
- if pc.get_level() < 40 then
- say(locale.deviltower_man_say_you_cant)
- else
- say(locale.deviltower_man_say)
- local s = select(locale.deviltower_enter,locale.deviltower_no_enter)
- if s == 1 then
- pc.warp(216500,727000)
- end
- end
- end
- when devil_stone1.kill begin
- timer("devil_stone1_1", 6)
- end
- when devil_stone1_1.timer begin
- local mapto7 = pc.count_item(30302) -- 혹시 있을찌 모를 진사귀지도타워 지우기
- pc.remove_item(30302,mapto7)
- local boxto7 = pc.count_item(30300) -- 혹시 있을찌 모를 알수없는상자 지우기
- pc.remove_item(30300,boxto7)
- d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])
- d.regen_file("data/dungeon/deviltower2_regen.txt")
- d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")
- end
Add Comment
Please, Sign In to add comment