Code:
quest minotauruszrun begin
state start begin
when 20358.chat."Minotaurusz Run" begin
say_title(""..mob_name(20091)..": ")
say( "Üdvözöllek "..pc.get_name().."! " )
say("Érdekes dolog, ez a minotaurusz..")
say("Minden sikeres orkrun után kapsz egy kristályt ")
say("Azt huzd rá a szellemre a mappon")
say("Ugyanúgy mint az ork runon!")
say("Ha a kristályt húzod rá, a minotaurusz run indul el!")
say_reward("70 es szintől veheted igénybe!!")
local p = select("Értem","Mégsem")
if p == 1 and pc.get_level() >= 70 then
pc.warp(819200, 1049600)
elseif pc.get_level() <= 70 or p == 2 then
say("A Runt csak csapatban veheted igénybe, 70 es szint felett!")
return
end
end
when 30121.take with item.vnum == 30204 begin
if party.is_party() or pc.is_gm() then
d.join(208)
pc.remove_item(30204, 1)
d.spawn_mob(6008, 182, 173))
d.notice("1. Szint")
if pc.get_level() <= 70 then
say("Te még túl kicsi vagy ide, vagy nem vagy csoportban!")
return
end
end
end
when 6008.kill begin
d.notice("2. Szint")
d.notice("Megöltétek")
d.check_eliminated()
d.notice("Öljétek meg, a következő szörnyet!")
d.spawn_mob(6051, 182, 172)
d.check_eliminated()
end
when 6051.kill begin
d.notice("3. Szint")
d.notice("Meghalt az ork!!")
d.check_eliminated()
d.notice("Öljétek meg a metineket.")
d.spawn_mob(8036, 192, 159)
d.spawn_mob(8036, 184, 159)
d.spawn_mob(8036, 176, 159)
d.spawn_mob(8036, 168, 159)
d.spawn_mob(8036, 168, 166)
d.spawn_mob(8036, 168, 175)
d.spawn_mob(8036, 168, 183)
d.spawn_mob(8036, 168, 191)
d.spawn_mob(8036, 175, 191)
d.spawn_mob(8036, 184, 190)
d.spawn_mob(8036, 191, 190)
d.spawn_mob(8036, 192, 182)
d.spawn_mob(8036, 192, 175)
d.check_eliminated()
end
when 8036.kill begin
local count = d.getf("metines") + 1
if count <= 13 then
d.notice("Eddig "..count.." metint pusztitottatok el a 13 ból!.")
d.setf("metines", count)
if count == 10 then
d.notice("Elpusztult az összes metin!.")
d.notice("4. Szint")
d.spawn_mob(6091, 182, 173)
end
end
end
when 6091.kill begin
d.notice("5. Szint")
d.notice("Meghalt a minotaurusz király!")
notice_all(""..pc.get_name().." és csapata, sikeresen végigvitte az minotaurusz runt!")
notice_all("Gratulálunk nekik!")
d.check_eliminated()
d.spawn_mob(30121, 91, 181)
end
when 30121.chat."Kérem a jutalmam!" with pc.get_map_index() >= 10000 and pc.get_map_index() < 50000 begin
say( "Üdvözöllek "..pc.get_name().."! " )
say("Látom sikeresen megöltetek mindenkit")
say("Ez egy nagy teljesítmény volt!")
local p = select("Kérem a pontomat!")
if p == 1 then
pc.give_item2(71084,10)
syschat("Kaptál egy Minotaurusz pontot!")
mysql_query("UPDATE player.player SET mino = mino + 1 WHERE id="..pc.get_player_id().. ";")
pc.give_item2(71085,10)
pc.warp(969600, 278400)
end
end
when login with pc.in_dungeon() and pc.get_map_index() >= 10000 and pc.get_map_index() < 50000 begin
d.notice("60 perc áll a rendelkezésedre!")
timer("alap",1200) --30 perc.
end
when alap.timer with pc.in_dungeon() and pc.get_map_index() >= 10000 and pc.get_map_index() < 50000 begin
d.notice("30 perced maradt!")
timer("alap2",1200) -- plusz félóra
end
when alap2.timer with pc.in_dungeon() and pc.get_map_index() >= 10000 and pc.get_map_index() < 50000 begin
d.notice("Lejárt az időd!")
warp_to_village();
end
end
end





, please. (closerequested)