quest snow_dungeon begin
state start begin
when 20395.chat."Turnul lui Nemeres" with pc.get_map_index() == 61 begin
say_gold("Statuia Leului de gheata")
say_white("Fortele raului se prezinta in multe forme.")
say("Puterile sale distrugatoare cresc pe zi ce trece.")
say("Regatele incep sa se destrame. Cine este in stare")
say("sa se impotriveasca?")
say("Ultima noastra speranta ramane in oameni simpli !")
say_reward("Esti pregatit sa il infrunti ?")
if select("Da!","Nu") == 1 then
if pc.get_level() >= 100 then
pc.warp(520800,182000)
else
syschat("Nu esti destul de puternic. Revino cand ajungi la nivelul 100.")
end
else
syschat("Revino cand esti pregatit")
end
end
when 20395.chat."Turnul lui Nemere" with pc.get_map_index() == 240 begin
notice("Prima sarcina a fost îndeplinita,veti fi teleportati la urmatorul etaj.")
timer("first", 6)
end
when first.timer with pc.get_map_index() == 240 begin
d.new_jump_all(240, 5542 , 1804) -- state koords, ohne 00
d.spawn_mob(6109, 425 , 200) -- normale koords
end
when 6109.kill begin
d.setf("snow_metin", 0)
d.spawn_mob(8037, 433, 200)
d.spawn_mob(8037, 434, 175)
d.spawn_mob(8037, 463, 163)
d.spawn_mob(8037, 442, 134)
d.spawn_mob(8037, 418, 152)
d.spawn_mob(8037, 446, 489)
d.spawn_mob(8037, 380, 154)
d.spawn_mob(8037, 387, 185)
d.notice(" Sarcina voastra este sa distrugeti cele 6 metine ! ")
end
when 8037.kill begin
local count = d.getf("snow_metin") + 1
if count <= 6 then
d.notice(" Ati distrus "..count.." pietre Metin. ")
d.setf("snow_metin", count)
if count == 6 then
d.notice(" Sarcina voastra a fost împlinita. ")
timer("boss", 10)
chat(" 10 secunde ramase,veti fi urcati imediat la urmatorul etaj. ")
end
end
end
when boss.timer begin
d.jump_all(6048, 1925) -- base koords + normale koords
timer("kristall", 5)
end
when kristall.timer begin
d.notice(" Ultima voastra sarcina este sa distrugeti x2 Metinul Elementelor. ")
d.regen_file("data/dungeon/blazing_snow.txt")
d.setf("kristall", 0)
end
when 8039.kill begin
local count_k = d.getf("kristall") + 1
if count_k <= 2 then
d.setf("kristall", count_k)
d.notice(" Ati distrus "..count_k.." pietre Metin. ")
if count_k == 2 then
timer("spawn", 2)
d.notice(" Sarcina voastra a fost împlinita,Nemere îsi va face aparitia imediat. ")
end
end
end
when spawn.timer begin
d.spawn_mob(6191, 928, 329) -- normale koords
end
when 6090.kill with pc.get_map_index() == 240 begin
timer("nemeres_boss_end", 60)
end
when nemeres_boss_end.timer begin
warp_all_to_village( pc.get_map_index() , 3 )
end
end
end
state start begin
when 20395.chat."Turnul lui Nemeres" with pc.get_map_index() == 61 begin
say_gold("Statuia Leului de gheata")
say_white("Fortele raului se prezinta in multe forme.")
say("Puterile sale distrugatoare cresc pe zi ce trece.")
say("Regatele incep sa se destrame. Cine este in stare")
say("sa se impotriveasca?")
say("Ultima noastra speranta ramane in oameni simpli !")
say_reward("Esti pregatit sa il infrunti ?")
if select("Da!","Nu") == 1 then
if pc.get_level() >= 100 then
pc.warp(520800,182000)
else
syschat("Nu esti destul de puternic. Revino cand ajungi la nivelul 100.")
end
else
syschat("Revino cand esti pregatit")
end
end
when 20395.chat."Turnul lui Nemere" with pc.get_map_index() == 240 begin
notice("Prima sarcina a fost îndeplinita,veti fi teleportati la urmatorul etaj.")
timer("first", 6)
end
when first.timer with pc.get_map_index() == 240 begin
d.new_jump_all(240, 5542 , 1804) -- state koords, ohne 00
d.spawn_mob(6109, 425 , 200) -- normale koords
end
when 6109.kill begin
d.setf("snow_metin", 0)
d.spawn_mob(8037, 433, 200)
d.spawn_mob(8037, 434, 175)
d.spawn_mob(8037, 463, 163)
d.spawn_mob(8037, 442, 134)
d.spawn_mob(8037, 418, 152)
d.spawn_mob(8037, 446, 489)
d.spawn_mob(8037, 380, 154)
d.spawn_mob(8037, 387, 185)
d.notice(" Sarcina voastra este sa distrugeti cele 6 metine ! ")
end
when 8037.kill begin
local count = d.getf("snow_metin") + 1
if count <= 6 then
d.notice(" Ati distrus "..count.." pietre Metin. ")
d.setf("snow_metin", count)
if count == 6 then
d.notice(" Sarcina voastra a fost împlinita. ")
timer("boss", 10)
chat(" 10 secunde ramase,veti fi urcati imediat la urmatorul etaj. ")
end
end
end
when boss.timer begin
d.jump_all(6048, 1925) -- base koords + normale koords
timer("kristall", 5)
end
when kristall.timer begin
d.notice(" Ultima voastra sarcina este sa distrugeti x2 Metinul Elementelor. ")
d.regen_file("data/dungeon/blazing_snow.txt")
d.setf("kristall", 0)
end
when 8039.kill begin
local count_k = d.getf("kristall") + 1
if count_k <= 2 then
d.setf("kristall", count_k)
d.notice(" Ati distrus "..count_k.." pietre Metin. ")
if count_k == 2 then
timer("spawn", 2)
d.notice(" Sarcina voastra a fost împlinita,Nemere îsi va face aparitia imediat. ")
end
end
end
when spawn.timer begin
d.spawn_mob(6191, 928, 329) -- normale koords
end
when 6090.kill with pc.get_map_index() == 240 begin
timer("nemeres_boss_end", 60)
end
when nemeres_boss_end.timer begin
warp_all_to_village( pc.get_map_index() , 3 )
end
end
end

