Quest event timp
Salut.Stie cineva vreun quest pentru event,care sa dropeze iteme pe server la mobi(cufere clar de luna), dar doar intre orele 17:00 - 19:00 zilnic ?
Cod: Selectaţi tot
uest drop_event begin
state start begin
when login begin
if game.get_event_flag("drop_event") == 1 then
notice("[METIN2 "..settings.server_name.."]: METIN3D: Cufar clar de luna activ.")
end
end
when kill with not npc.is_pc() and game.get_event_flag("drop_event") == 1 begin
local chance = number(1, 100)
local chance_max = game.get_event_flag("drop_event_chance")
if chance <= chance_max then
pc.give_item2(50011)
else
end
end
when 20094.chat."GM: Eveniment cufere lună " with pc.is_gm() begin
if pc.is_gm() then
say_gm_title("Hong-Hae:")
say_gm("")
say_gm("Ce doreşti să faci?")
say_gm("")
if game.get_event_flag("drop_event") == 0 then
say_gm("METIN3D:Evenimentul cufărul lunii este oprit.")
say_gm("")
else
say_gm("METIN3D:Evenimentul cufărul lunii este pornit.")
say_gm("")
end
local s=select("Porneşte evenimentul","Opreşte evenimentul","Şansa de drop al cuferelor","Ieşire")
if s==1 then
notice_all("[METIN2 "..settings.server_name.."]: METIN3D:Evenimentul Cufărul Lunii a început.")
game.set_event_flag("drop_event", 1)
say_gm_title("Hong-Hae:")
say_gm("")
say_gm("METIN3D:Evenimentul a fost pornit.")
say_gm("")
elseif s==2 then
notice_all("[METIN2 "..settings.server_name.."]: METIN3D:Evenimentul Cufărul Lunii a luat sfârşit.")
game.set_event_flag("drop_event", 0)
say_gm_title("Hong-Hae:")
say_gm("")
say_gm("Evenimentul a luat sfârşit.")
say_gm("")
elseif s==3 then
say_gm_title("Hong-Hae:")
say_gm("")
say_gm("Cât de mare doreşti să fie şansa de aruncare?")
say_gm("")
say_gm("Între 1-100:")
say_gm("")
local new_chance = tonumber(input())
if new_chance < 0 or new_chance > 100 then
say_gm_title("Eveniment cufere lună:")
say_gm("")
say_gm("Valorile introduse nu sunt bune.")
else
game.set_event_flag("drop_event_chance", new_chance)
say_gm_title("Hong-Hae:")
say_gm("")
say_gm("Şansa a fost modificată; şansă " ..new_chance.. "%.")
say_gm("")
end
elseif s==4 then
return
end
end
end
end
end[email protected]
P.S: Pentru timp, angajeaza-ti un "moderator" care sa fie online intre orele respective sa il inchida si sa il activeze.
Mă confunzi#nume sexy scrie:Ce facui wa.Comentezi la topicuri a.k.a developer si acum cauti un quest?=)) daca ai fi cautat pe forum ai fi gasit,cius.
[ Postat de pe Android ]

-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 103 vizitatori


