quest deviltower_zone begin state start begin when login begin if pc.get_map_index() == 66 then -- ¨Ã«D¦b1¼Ó®É, °eªð¥~*±. -- ¼h¼Æ ½d³ò -- 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 -- warp into! 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) -- ®ø·À¤£ª¾¬O§_¦s¦bªº¯u¤`ÆF¶ð pc.remove_item(30302,mapto7)
local boxto7= pc.count_item(30300) -- ®ø·À¤£ª¾¬O§_¦s¦bªº¤£ª¾¦Wªº½c¤l pc.remove_item(30300,boxto7)
when devil_stone4_fail1.server_timer begin if d.select(get_server_timer_arg()) then d.notice("³Ñ¤U10¤ÀÄÁ¡C") server_timer('devil_stone4_fail2', 5*60, get_server_timer_arg()) end end
when devil_stone4_fail2.server_timer begin if d.select(get_server_timer_arg()) then d.notice("³Ñ¤U5¤ÀÄÁ¡C") server_timer('devil_stone4_fail', 5*60, get_server_timer_arg()) end end
-- 5¼Ó«Ê¦L¥Û¦A²{ d.spawn_mob(20073, 421, 452) d.spawn_mob(20073, 380, 460) d.spawn_mob(20073, 428, 414) d.spawn_mob(20073, 398, 392) d.spawn_mob(20073, 359, 426) end end when devil_stone5_fail1.server_timer begin if d.select(get_server_timer_arg()) then d.notice("³Ñ¤U15¤ÀÄÁ¡C") server_timer('devil_stone5_fail2', 5*60, get_server_timer_arg()) end end
when devil_stone5_fail2.server_timer begin if d.select(get_server_timer_arg()) then d.notice("³Ñ¤U10¤ÀÄÁ¡C") server_timer('devil_stone5_fail3', 5*60, get_server_timer_arg()) end end
when devil_stone5_fail3.server_timer begin if d.select(get_server_timer_arg()) then d.notice("³Ñ¤U5¤ÀÄÁ¡C") server_timer('devil_stone5_fail', 5*60, get_server_timer_arg()) end end
when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin local KILL_COUNT_FOR_DROP_KEY = 50 --if is_test_server() then --KILL_COUNT_FOR_DROP_KEY = 1 --end local n =d.getf("count") + 1 d.setf("count", n) if n == KILL_COUNT_FOR_DROP_KEY then -- ±¼¤UÂê°Í game.drop_item(50084, 1) d.setf("count", 0) end end when devil_stone5.take with item.vnum == 50084 begin npc.purge() item.remove() d.setf("stone_count", d.getf("stone_count") - 1) if d.getf("stone_count") <= 0 then d.setf("level", 6) d.clear_regen() d.regen_file("data/dungeon/deviltower6_regen.txt")
when 8018.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin local cont = d.getf("7_stone_kill") + 1 d.setf("7_stone_kill", cont)
if cont >= 4 then d.setf("7_stone_kill", 0) d.set_regen_file("data/dungeon/deviltower7_regen.txt") end end
when 8019.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin game.drop_item(30300, 1) end
when 30300.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin pc.remove_item("30300", 1)
local pct = number(1,10)
if pct == 1 then -- ±¼¤U¯u¦a¹Ï game.drop_item(30302, 1) d.clear_regen() else -- ±¼¤U°²¦a¹Ï game.drop_item(30301, 1)
end end
when 30302.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin -- ¶Ç°e¨ì8¼Ó say("¦³¤F³o±i¦a¹Ï¡A´N¯à³q¹L³o¸Ì¡C") pc.remove_item("30302", 1) timer("devil_jump_8", 6) d.clear_regen() end
-------------------------------------------- -- ¥Ñ¶i¤J8¼Ó¦Ü¨ì¹F9¼Ó¤§«e -------------------------------------------- when devil_jump_8.timer begin d.setf("level", 8) d.jump_all(2048+590, 6656+403) d.set_regen_file("data/dungeon/deviltower8_regen.txt") d.spawn_mob(20366, 640, 460) local _count= pc.count_item(30302)-- ®ø·À¯u¤`ÆF¶ð pc.remove_item(30302,_count)
end
when 1040.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin local pct1 = number(1, 5) if pct1 == 1 then local pct2 = number(1, 10) if pct2 == 1 then -- ±¼¤U¯uÂê°Í game.drop_item(30304, 1) else -- ±¼¤U°²Âê°Í game.drop_item(30303, 1) end else return end end
when 20366.take with item.vnum == 30304 begin -- 9¼Ó«Ê¦L¸Ñ°£ npc.purge() item.remove() timer("devil_jump_9", 6) end
--------------------------------------------- -- ¥Ñ¶i¤J9¼Ó¦Üµ²§ô --------------------------------------------- when devil_jump_9.timer begin d.setf("level", 9) d.jump_all(2048+590, 6656+155) d.regen_file("data/dungeon/deviltower9_regen.txt") end
when 1093.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin d.kill_all() timer("devil_end_jump", 60) end
when devil_end_jump.timer begin d.exit_all() end end end
[Biete]Entbuggte deviltower_zone.quest und 4 andere Quests 05/10/2010 - Metin2 PServer Guides & Strategies - 25 Replies Hallo Community,
ich biete euch:
1.) deviltower_zone.quest ( DE Like und entbuggt)
2.) fk_reset.quest ( selber gemachte Quest )
3.) in_grotte.quest ( selber gemachte Quest )
4.) check_trans_ticket.quest ( DE Like und entbuggt )
5.) spider_dungeon_2floor.quest ( DE Like und entbuggt )
Natürlich sind die Quests von mir gemacht.