Salutare,imi poate modifica cineva acest quest? http://just4metin.ro/quest-uri/quest-ev ... 19699.html
quest ul din acel link e pentru drop itm ales din mobi,iar eu as vrea sa se aplice pentru pietrele metin si boss,adica sa nu se mai dropeze din mobi si sa se dropeze din pietre metin si boss.Ma ajuta cineva?
quest drop
Mesaj editat!
Ii multumesc lui ElJose pentru ajutor si eficienta!
Am quest ul asta,dar nu functioneaza corespunzator.Vreau sa pice itm ulu selectat doar din metine si boss,iar mie imi pica din toti mobi,putin ajutor va rog!
quest item_drop begin
state start begin
when 20019.chat."Metin_drop" with pc.is_gm() begin
if game.get_event_flag("item_open") == 0 then
say("Hello "..pc.get_name().." ")
say("[SGA]jungaleus ti-a facut un ajutor ca sa poti face evente!")
say("Aici pui codul itm-ului si acesta va pica din pietrele metin si boss")
say("[REGULA]NU LE SPUNE SI CELORLALTI DIN STAFF,DOAR SGA LE VA ZICE CELOR CARE MERITA!")
say("Vrei sa faci un event de genu asta?")
if select("da","nu") == 2 then return end
say("Introdu codul itemului care doresti sa fie dropat la metine si boss!")
kill_item = tonumber(input()) or 0
if kill_item == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
say("Sansa de drop trebuie sa fie 1,2,3 sau maxim 4,care vrei sa fie sansa dropului?")
kill_prozent = tonumber(input()) or 0
if kill_prozent == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
say("Acest event trebuie sa tina cel mult 2 ore,adica 120 minute,cat timp vrei sa se dropeze? Minute!")
zeit = tonumber(input()) or 0
if zeit == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
game.set_event_flag("item_time", get_time()+zeit*60)
game.set_event_flag("item_open", 1)
notice_all("Item drop activat")
notice_all("Itemul "..item_name(kill_item).." este dropabil la pietre metin si boss!.")
notice_all("Pentru "..zeit.." Minute")
else
say("Eventul metin drop este deja activ")
say("Opriti eventul?")
if select("Da", "NU")==2 then return end
game.set_event_flag("item_open", 0)
kill_prozent, kill_item = nil, nil
end
end
when 8001.kill or 8002.kill or 8003.kill or 8004.kill or 8005.kill or 8005.kill or 8006.kill or 8007.kill or 8008.kill or 8009.kill or 8010.kill or 8011.kill or 8012.kill or 8013.kill or 8014.kill or 8024.kill or 8025.kill or 8026.kill or 8027.kill or 591.kill or 691.kill or 791.kill or 1093.kill or 1095.kill or 1901.kill or 1304.kill or 2091.kill or 2191.kill with game.get_event_flag("item_open") == 1 and not npc.is_pc()begin
if kill_prozent == nil then game.set_event_flag("item_open", 0) return end
if game.get_event_flag("item_time") < get_time() then
notice_all("Eventul metin drop a luat sfarsit!")
notice_all("Multumim tuturor ce sunt alatori de Metin2Anaconda la evenimente!")
game.set_event_flag("item_open", 0)
kill_prozent, kill_item = nil, nil
return
end
local s=number(1, 101-kill_prozent)
if s==1 then
game.drop_item_with_ownership(kill_item, 1)
end
end
when login with game.get_event_flag("item_open") == 1 begin
notice("Event item drop este activat")
notice("Itemul "..item_name(kill_item).." este dropabil la metine si boss.")
end
end
end
Ii multumesc lui ElJose pentru ajutor si eficienta!
Am quest ul asta,dar nu functioneaza corespunzator.Vreau sa pice itm ulu selectat doar din metine si boss,iar mie imi pica din toti mobi,putin ajutor va rog!
quest item_drop begin
state start begin
when 20019.chat."Metin_drop" with pc.is_gm() begin
if game.get_event_flag("item_open") == 0 then
say("Hello "..pc.get_name().." ")
say("[SGA]jungaleus ti-a facut un ajutor ca sa poti face evente!")
say("Aici pui codul itm-ului si acesta va pica din pietrele metin si boss")
say("[REGULA]NU LE SPUNE SI CELORLALTI DIN STAFF,DOAR SGA LE VA ZICE CELOR CARE MERITA!")
say("Vrei sa faci un event de genu asta?")
if select("da","nu") == 2 then return end
say("Introdu codul itemului care doresti sa fie dropat la metine si boss!")
kill_item = tonumber(input()) or 0
if kill_item == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
say("Sansa de drop trebuie sa fie 1,2,3 sau maxim 4,care vrei sa fie sansa dropului?")
kill_prozent = tonumber(input()) or 0
if kill_prozent == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
say("Acest event trebuie sa tina cel mult 2 ore,adica 120 minute,cat timp vrei sa se dropeze? Minute!")
zeit = tonumber(input()) or 0
if zeit == 0 then
say("Datele au fost introduse gresit. Incercati din nou!")
return
end
game.set_event_flag("item_time", get_time()+zeit*60)
game.set_event_flag("item_open", 1)
notice_all("Item drop activat")
notice_all("Itemul "..item_name(kill_item).." este dropabil la pietre metin si boss!.")
notice_all("Pentru "..zeit.." Minute")
else
say("Eventul metin drop este deja activ")
say("Opriti eventul?")
if select("Da", "NU")==2 then return end
game.set_event_flag("item_open", 0)
kill_prozent, kill_item = nil, nil
end
end
when 8001.kill or 8002.kill or 8003.kill or 8004.kill or 8005.kill or 8005.kill or 8006.kill or 8007.kill or 8008.kill or 8009.kill or 8010.kill or 8011.kill or 8012.kill or 8013.kill or 8014.kill or 8024.kill or 8025.kill or 8026.kill or 8027.kill or 591.kill or 691.kill or 791.kill or 1093.kill or 1095.kill or 1901.kill or 1304.kill or 2091.kill or 2191.kill with game.get_event_flag("item_open") == 1 and not npc.is_pc()begin
if kill_prozent == nil then game.set_event_flag("item_open", 0) return end
if game.get_event_flag("item_time") < get_time() then
notice_all("Eventul metin drop a luat sfarsit!")
notice_all("Multumim tuturor ce sunt alatori de Metin2Anaconda la evenimente!")
game.set_event_flag("item_open", 0)
kill_prozent, kill_item = nil, nil
return
end
local s=number(1, 101-kill_prozent)
if s==1 then
game.drop_item_with_ownership(kill_item, 1)
end
end
when login with game.get_event_flag("item_open") == 1 begin
notice("Event item drop este activat")
notice("Itemul "..item_name(kill_item).." este dropabil la metine si boss.")
end
end
end
T/C
Subiect marcat ca rezolvat. Mutat în probleme rezolvate.
Răspunsuri
6 Vizualizări
352
6 Vizualizări
352
Răspunsuri
2 Vizualizări
463
2 Vizualizări
463
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 6 vizitatori





