Problema event
Am testat eventul de cufere clar de luna la mine pe server si merge,insa deodata ce pornesc eventul incepe si eventul cu medalia eroilor...am sters questul de la eventu cu medalia si tot am schimbat si questul cu cufere clar de luna cu unul de aici...dar tot asa se intampla..trebuie sa mai schimb si altceva ??????va rog ajutor
Asta e questu dar el e ok si questu pentru medali l-am sters ....si tot porneste nu stiu de ce
quest mondlicht_truhen begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("Evenimentul : Cufar Com Clar De Luna ~ 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("Cufar Com Clar De Luna : ~ 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 : Cufar Com Clar De Luna ~ Terminat.")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
else
say_title("Administrare Eveniment:")
say("")
say("Cufar Com Clar De Luna : ~ Î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 : Cufar Com Clar De Luna ~ 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 sa fie dropul acestora ?")
quest mondlicht_truhen begin
state start begin
when login begin
if game.get_event_flag("mondlicht_event") == 1 then
notice("Evenimentul : Cufar Com Clar De Luna ~ 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("Cufar Com Clar De Luna : ~ 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 : Cufar Com Clar De Luna ~ Terminat.")
elseif s==2 then
say_title("Administrare Eveniment:")
say("")
say("~ Pe curând !")
end
else
say_title("Administrare Eveniment:")
say("")
say("Cufar Com Clar De Luna : ~ Î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 : Cufar Com Clar De Luna ~ 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 sa fie dropul acestora ?")
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 52 vizitatori


