Salut,are cineva următoarele quest-uri?
-cufăr clar de lună
-quest de șosete să fie dropate la toți mobii
-quest-ul acela,când intri pe server să îți dea ceva la cufărul ucenic din 10 în 10 level,și să îți dea și la primul level
Cereri quest-uri
Quest cufăr clar de lună:
Quest șosete setate cu drop :
Adaugi în give_basic_weapon.quest următoarea linie:
Cod: Selectaţi tot
quest mondlicht_truhen begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("Evenimentul : Cufãr Com Clar De Lunã ~ Activ !")
end
end
when kill begin
local m_ind = pc.get_map_index()
if npc.is_pc() then
else
if m_ind == 1 or m_ind == 3 or m_ind == 21 or m_ind == 23 or m_ind == 41 or m_ind == 43 and pc.get_level() <= 20 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
elseif m_ind == 63 or m_ind == 64 and pc.get_level() <= 40 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
elseif m_ind == 65 or m_ind == 61 or m_ind == 104 and pc.get_level() <= 60 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
elseif m_ind == 62 or m_ind == 71 or m_ind == 67 and pc.get_level() <= 70 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 and pc.get_level() <= 90 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
elseif m_ind == 103 or m_ind == 70 or m_imd == 69 and pc.get_level() <= 250 then
if game.get_event_flag("mondlicht_event") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance")
if chance <= chance_max then
pc.give_item2(50011)
--game.drop_item(50011)
else
end
else
end
end
end
end
when 9004.chat."<GM> Eveniment Cufere" with pc.is_gm() begin
if game.get_event_flag("mondlicht_event") == 1 then
say_title("Administrare Eveniment:")
say("")
say("Cufãr Com Clar De Lunã : ~ Activ ")
say("")
say_reward("Event Beenden?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare Eveniment:")
say("")
say("Evenimentul a luat sfârsit .")
say("~ Pe data viitoare !")
game.set_event_flag("mondlicht_event", 0)
char_log(0, "Mondlicht_event_end from" ..pc.get_name())
notice_all("Evenimentul : Cufãr Com Clar De Lunã ~ Terminat.")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
else
say_title("Administrare Eveniment:")
say("")
say("Cufãr Com Clar De Lunã : ~ Închis ")
say("")
say_reward("Start Eveniment?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare Eveniment:")
say("")
say("Evenimentul ~ A Început ! .")
say("~ Succes la strâns mai multe cufere !")
game.set_event_flag("mondlicht_event", 1)
char_log(0, "Mondlicht_event_start from" ..pc.get_name())
notice_all("Evenimentul : Cufãr Com Clar De Lunã ~ A Început !")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
end
end
when 9004.chat."<GM> Dropul Cuferelor" with pc.is_gm() begin
if pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" or pc.get_name() == "[GA]C.Firth" then
say_title("Administrare Eveniment:")
say("")
say("Cat de mult sã fie dropul acestora ?")
say("")
say_reward("Între 1-100")
say("")
local new_chance = tonumber(input())
if new_chance < 0 or new_chance > 100 then
say_title("Administrare Eveniment:")
say("")
say("Introducere incorectã ~")
else
char_log(0, "Mondlicht_event_chance from" ..pc.get_name().. " to " ..new_chance.. "%")
game.set_event_flag("mond_drop_chance", new_chance)
say_title("Administrare Eveniment:")
say("")
say("Dropul actual " ..new_chance.. " setat.")
say("~ Pe curând !")
end
else
say_title("Administrare Eveniment:")
say("")
say("Nu ai dreptul pentru a executa evenimentul .")
end
end
end
endCod: Selectaţi tot
quest cristmas_mistic begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event2") == 1 then
notice("Eventul Christmas a inceput!")
--notice("Sansa dovleacului Christmas este " ..game.get_event_flag("mond_drop_chance2").. "%")
end
end
when kill begin
if game.get_event_flag("mondlicht_event2") == 1 then
local chance = number(1, 100)
local chance_max = game.get_event_flag("mond_drop_chance2")
if chance <= chance_max then
pc.give_item2(50010)
--game.drop_item(50010)
end
end
end
when 9004.chat."GM: Event drop Christmas" with pc.is_gm() begin
if game.get_event_flag("mondlicht_event2") == 1 then
say_title("Administrare event:")
say("")
say("Eventul Christmas este pornit!")
say("")
say_reward("Opriti event-ul?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare event:")
say("")
say("Eventul a fost oprit.")
say("Mult noroc.")
say("")
game.set_event_flag("mondlicht_event2", 0)
char_log(0, "Eventul Christmas a fost oprit de " ..pc.get_name())
notice_all("Eventul Christmas s-a terminat!")
elseif s==2 then
say_title("Administrare event:")
say("")
say("Ne mai revedem.")
say("")
end
else
say_title("Administrare event:")
say("")
say("Eventul Christmas este oprit!")
say("")
say_reward("Porniti eventul?")
local s=select("Da", "Nu")
if s==1 then
say_title("Administrare event:")
say("")
say("Eventul a fost pornit.")
say("Mult noroc.")
say("")
game.set_event_flag("mondlicht_event2", 1)
char_log(0, "Eventul Christmas a fost pornit de " ..pc.get_name())
notice_all("Eventul Christmas a inceput!")
notice_all("Mult noroc si distractie placuta!Metin2Mistic")
elseif s==2 then
say_title("Administrare event:")
say("")
say("Ne mai revedem.")
say("")
end
end
end
when 9004.chat."GM: Sansa drop Christmas" with pc.is_gm() begin
if pc.get_name() == "[SGA]admin" or pc.get_name() == "[GA]admin" then
say_title("Administrare event:")
say("")
say("Cat de mare ar trebui sa fie oansa de drop?")
say("")
say_reward("1-100")
say("")
local new_chance2 = tonumber(input())
if new_chance2 < 0 or new_chance2 > 100 then
say_title("Administrare event:")
say("")
say("Numarul introdus este incorect!")
say("")
else
char_log(0, "Sansa drop Christmas a fost setata de " ..pc.get_name().. " la " ..new_chance2.. "%")
game.set_event_flag("mond_drop_chance2", new_chance2)
say_title("Administrare event:")
say("")
say("Sansa de drop este setata la " ..new_chance2.. " %.")
say("")
say("Ne mai revedem.")
say("")
end
else
say_title("Administrare event:")
say("")
say("Nu aveti drepturile necesare pentru a efectua acest lucru.")
say("")
end
end
end
end Cod: Selectaţi tot
pc.give_item2(50187, 1) -
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 17 vizitatori

