Ascaria 100% Romana + Diacritice !

Acest quest este functional 100% , si este o creatie personala :)
Sper sa va ajute , daca aveti nevoie de questuri in romana , orice quest :)
Dati-mi PM :)

Tine-ti minte , acest quest nu este functional decat daca , map_index de la ascaria este 456 !

quest devildown begin
state start begin
when login begin
if pc.get_map_index() == 456 then
pc.set_warp_location(456, 3072, 12032)
end
end

when 30122.chat."Tãrâmul Ascaria " begin
say_title("Fantoma Rãzboinicului ")
say("")
say("Când încã exista armata imperialã exista un tãrâm ")
say("care era pãzit de un Dragon. Acuma este cunoscut ")
say("de noi sub numele de Valea Ascaria. Mie mi-a fost ")
say("interzi sã dau inforamþii despre acest loc ")
say("înfricoºãtor, dar aº putea sã te teleportez acolo ")
say("dacã ai vrea, dar nu uita ai nevoie de mult curaj.")
say("")
say_reward("Vrei sã te teleportez în Valea Ascaria? ")

local s = select("Da, Vreau", "Nu, Mulþumesc ")
if s == 1 then
pc.warp(307200, 1203200)
else
return
end
end



when 8024.kill with pc.get_map_index()==456 begin
local jump1 = number(1, 20)
if jump1<=10 then
chat("Ai gãsit o bucatã de hartã. ")
chat("Du-o fantomei sura. ")
game.drop_item(30120, 1)
else
chat("În acest metin nu ai gãsit harta. ")
end
end

when 30121.chat."Bucatã de Hartã " begin

if pc.count_item(30120)>=1 then
say_title("Fantoma Sura: ")
say("Ai gãsit o bucatã de hartã? ")
say("Lasã-mã sã vãd! ")
pc.removeitem("30120", 1)
wait()
say_title("Fantoma Sura: ")
say("Aceasta este harta de care aveam ")
say("nevoie. Mulþumesc cã ai adus-o. ")
say("")
say_reward("Te voi teleporta imediat ! ")
wait()
d.new_jump_all(456, 3182, 12142)
d.setf("devillevel", 1)
else
say_title("Fantoma Sura: ")
say("Am auzit cã în aceste metine de prin zonã ")
say("Se ascund bucãþi de hãrþi.")
say("Dacã distrugi o piatrã ºi gaseºti o ")
say("Bucatã de Hartã, adumi-o mie ºi, ")
say("Te voi putea teleporta mai departe. ")
say("Astfel incât sã îþi poþi continua cãlãtoria. ")
end
end

when login with pc.in_dungeon() and d.getf("devillevel") == 1 begin

-- Removed Schlüsselsteine aus deinem Inventar falls vorhanden, um Bugusing vorzubeugen. --
local boxto7= pc.count_item(30300)
pc.remove_item(30300,boxto7)
--------------------------------------------------------------------------------------------

local vid = d.spawn_mob(11510, 268, 311)
d.spawn_mob(9012, 110, 106)
d.regen_file("data/dungeon/dd_regen2.txt")
d.set_unique("real", vid)
d.setf("devillevel", 1)
d.notice("Gãseºte ºi distruge legendarul Pumnal de Foc. ");
end

when 11510.kill with pc.in_dungeon() begin
if d.is_unique_dead("real") then
d.setf("devillevel", 2)
d.jump_all(3542, 12825)
end
end

when 20083.chat."Traseuri Misterioase" with pc.in_dungeon() and d.getf("devillevel") == 2 begin
say_title("Poeng-Hong")
say("")
say("Acest traseu.. Mi-ai adus aminte, ")
say("Demult când alergam cu fratele meu pe aceste ")
say("Traseuri, dar l-am pierdut pe fratele meu ")
say("Aceste drumuri sunt foarte întortochiate, ")
say("ºi trebuie sã ai grijã.")
say("")
say("Dacã l-aº fi gãsit pe fratele meu..")
wait()
d.setf("devillevel", 3)
timer("devildown_spawnport", 1)
d.jump_all(3347, 12810)
end

when devildown_spawnport.timer begin
d.spawn_mob(20080, 273, 783)
d.regen_file("data/dungeon/dd_warps.txt")
end

when 20080.chat."Poeng-Hong" with pc.in_dungeon() and d.getf("devillevel") == 3 begin
say_title("Sao-Hae")
say("")
say("Fratele meu Poeng-Hong? ")
say("Te-ai înâtalnit cu el? ")
say("Da el este fratele meu mai mare. Dacã ")
say("aº putea incã o datã sã îl mai pot vedea ºi ")
say("sã îi spun unde am fost atat timp. ")
say("")
wait()

d.setf("devillevel", 4)
timer("devildown_jump1", 1)
end

when devildown_jump1.timer begin
d.regen_file("data/dungeon/dd_regen3.txt")
local vid = d.spawn_mob(1191, 803, 290)
d.set_unique("real", vid)
d.jump_all(3619, 12075)
d.notice("Cautã ºi omoarã Vrãjitoarea de Gheaþã , astfel încât ");
d.notice("Paznicul din Subteran sã nu se mai ascundã. ");
end

when 1191.kill with pc.in_dungeon() and d.getf("devillevel") == 4 begin
if d.is_unique_dead("real") then
d.spawn_mob(20351 , 740 , 207)
d.setf("devillevel", 5)
end
end

when 20351.chat."Paznicul din Subteran" with pc.in_dungeon() and d.getf("devillevel") == 5 begin
say_title("Paznicul din Subteran ")
say("Mi se spune Paznicul din Subteran. ")
say("Am stat mult timp aici ºi cunosc ")
say("zona mai bine ca tine, ca sã zic aºa. ")
say("")
say("Te-aº putea teleporta la vechiile Sigilii. ")
say("Eu nu aº putea sã merg acolo. ")
say("Locul acela este destul de sinistru. ")
say("")
wait()
d.setf("devillevel", 6)
timer("devildown_jump2", 2)
end

when devildown_jump2.timer begin
d.jump_all(4426, 12370)
d.regen_file("data/dungeon/dd_regen4.txt")
d.spawn_mob(30101, 1241, 250)
d.spawn_mob(30101, 1246, 242)
d.spawn_mob(30101, 1255, 243)
d.spawn_mob(30101, 1259, 250)
d.spawn_mob(30101, 1254, 258)
d.spawn_mob(30101, 1246, 258)
d.spawn_mob(9003, 1167, 363)
d.spawn_mob(9012, 1374, 250)
d.setf("devildownstone_count", 6)
timer('devildownstone1', 300)
d.notice("Pentru ca portalul la Dragonul Roºu sã se deschidã , trebuie ");
d.notice("sã fie deschise toate Sigiliile Vechi. Aveþi 20 de minute ");
d.notice("pentru a deschide cele 6 Sigilii. ");
end

when devildownstone1.timer begin
d.notice("Timp rãmas: 15 Minute ")
timer('devildownstone2', 300)
end

when devildownstone2.timer begin
d.notice("Timp rãmas: 10 Minute ")
timer('devildownstone3', 300)
end

when devildownstone3.timer begin
d.notice("Timp rãmas: 5 Minute ")
timer('devildownstone4', 300)
end

when devildownstone4.timer begin
d.notice("Timpul s-a terminat, ")
d.notice("Ve-þi fi teleportat afarã. ")
d.exit_all()
end

when 2512.kill with pc.in_dungeon() and d.getf("devillevel") == 6 begin
local KILL_COUNT_FOR_DROP_DEVIL_KEY = 15
local n =d.getf("count") + 1
d.setf("count", n)

if n == KILL_COUNT_FOR_DROP_DEVIL_KEY then
game.drop_item(50084, 1)
d.setf("count", 0)
end
end

when 30101.take with item.vnum == 50084 and d.getf("devillevel") == 6 begin
npc.purge()
item.remove()
d.setf("devildownstone_count", d.getf("devildownstone_count") - 1)
if d.getf("devildownstone_count") <= 0 then
d.setf("devillevel", 7)
-- Setzt die Timer von der Vorletzen EBENE auf 800000 Sec.
-- Um das nachträgliche herausfliegen zu vermeiden.
timer('devildownstone1', 800000)
timer('devildownstone2', 800000)
timer('devildownstone3', 800000)
timer('devildownstone4', 800000)
--------------------------------------------------------
d.notice("Ai deschis toate Sigiliile Vechi. ")
d.notice("Portalul la Dragonul Roºu s-a deschis. ")
timer("devildown_nexttimer", 3)
else
d.notice("Mai ai de deschis "..d.getf("devildownstone_count").." Sigilii")
end
end

when devildown_nexttimer.timer begin
d.jump_all(4374, 12740)
-- Firstspawn !!!
d.regen_file("data/dungeon/dd_boss1.txt")
------------------
timer("devildown_bosstimer1", 60)
end

when devildown_bosstimer1.timer begin
-- 2. Spawn !!!
d.regen_file("data/dungeon/dd_boss2.txt")
------------------
timer("devildown_bosstimer2", 60)
end

when devildown_bosstimer2.timer begin
-- 3. Spawn !!!
d.regen_file("data/dungeon/dd_boss3.txt")
------------------
timer("devildown_bosstimer3", 60)
end

when devildown_bosstimer3.timer begin
-- 4. Spawn !!!
d.regen_file("data/dungeon/dd_boss4.txt")
------------------
timer("devildown_bosstimer4", 60)
end

when devildown_bosstimer4.timer begin
-- 5. Spawn !!!
d.regen_file("data/dungeon/dd_boss5.txt")
------------------
timer("devildown_bosstimer5", 60)
end

when devildown_bosstimer5.timer begin
-- 6. Spawn !!!
d.regen_file("data/dungeon/dd_boss6.txt")
------------------
timer("devildown_bosstimer_last", 60)
end

when devildown_bosstimer_last.timer begin
-- Endspawn mit Drache !!!
d.regen_file("data/dungeon/dd_boss7.txt")
local vid = d.spawn_mob(2291, 1299, 711)
d.set_unique("real", vid)
------------------
end

when 2291.kill with pc.in_dungeon() begin
if d.is_unique_dead("real") then
d.setf("devillevel", 0)
d.notice("Ai învins Dragonul Roºu, Paznicul din Subteran e liber acum. ");
d.notice("Vei fi teleportat la inceput in 20 de secunde.. ");
timer("devildown_escapetimer", 20)
end
end

when devildown_escapetimer.timer begin
d.exit_all()
end

end
end