mavzermete 1
mavzermete
Psych0SoociaL 1
Psych0SoociaL
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Agora Metin2 1
Agora Metin2
Hikaye Ekle

NPC İTEM EFSUNLAMA LUA !

  • Konuyu başlatan Konuyu başlatan CoderDex
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 3
  • Görüntüleme Görüntüleme 543
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!

[CODE title="item_efsun"]quest item_efsun begin
state start begin
when 20011.take with (game.get_event_flag("uretim")==1) begin
setskin(0)

local atrv_list = {}
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {15,15,15,15,15})
table.insert(atrv_list, {15,15,30,15,20})
table.insert(atrv_list, {15,15,3000,15,15})
table.insert(atrv_list, {12,12,15,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})

local attr_list = {}
table.insert(attr_list, {5,3,9,15,17})--sav el 1
table.insert(attr_list, {4,3,9,15,17})--sura sam el 2
table.insert(attr_list, {6,5,16,15,17})--nin el 3

table.insert(attr_list, {5,3,48,27,17})--sav kalkan 4
table.insert(attr_list, {4,3,48,27,17})--sura sam kalkan 5
table.insert(attr_list, {5,6,48,27,17})--nin kalkan 6

table.insert(attr_list, {1,29,30,31,9})--zırh 7
table.insert(attr_list, {1,29,30,31,15})--ayakkabı 8
table.insert(attr_list, {1,29,30,31,15})--kolye 9

table.insert(attr_list, {17,29,30,31,33})--küpe 10

table.insert(attr_list, {17,37,10,12,7})--kask 11
table.insert(attr_list, {17,37,1,16,23})--bilezik 12

table.insert(attr_list, {5,6,16,15,17})--sav el 1
table.insert(attr_list, {5,4,9,16,17})--sav el 1
table.insert(attr_list, {5,4,9,15,17})--sav el 1


local my_list = 0
local i_type = item.get_type()
local my_job = pc.get_job()

if i_type == 1 then
if my_job == 0 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("Zihinsel","Bedensel","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 1
elseif sec_w == 2 then
my_list = 13
else
return
end
elseif my_job == 1 then
my_list = 3
elseif my_job == 2 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("Karabüyü ","B. Silah","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 2
elseif sec_w == 2 then
my_list = 14
else
return
end
elseif my_job == 3 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("E. Gücü ","Iyileştirmeci","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 2
elseif sec_w == 2 then
my_list = 15
else
return
end
end
elseif i_type == 2 then
local i_subtype = item.get_sub_type()

if i_subtype == 1-1 then
my_list = 7
elseif i_subtype == 2-1 then
my_list = 11
elseif i_subtype == 3-1 then
if my_job == 0 then
my_list = 4
elseif my_job == 1 then
my_list = 6
elseif my_job == 2 then
my_list = 5
elseif my_job == 3 then
my_list = 5
end
elseif i_subtype == 4-1 then
my_list = 12
elseif i_subtype == 5-1 then
my_list = 8
elseif i_subtype == 6-1 then
my_list = 9
elseif i_subtype == 7-1 then
my_list = 10
else
return
end
else
return
end

if my_list==0 then return end
for i=0, 4 do
item.item_set_attr(i, attr_list[my_list][i+1], atrv_list[my_list][i+1])
end

-- item.item_set_attr0(attr_list[my_list])

syschat("|cffff0000Üretim Başarılı ~~ ServerMt2 Special Quests")---

end
when 20011.chat."GM: Durumu Değiştir" with pc.is_gm() begin
setskin(0)
if game.get_event_flag("uretim")==1 then
game.set_event_flag("uretim",0)
syschat("GM:: Sistem kapatıldı.")
else
game.set_event_flag("uretim",1)
syschat("GM:: Sistem açıldı.")
end
end
end
end
[/CODE]
 
[CODE title="item_efsun"]quest item_efsun begin
state start begin
when 20011.take with (game.get_event_flag("uretim")==1) begin
setskin(0)

local atrv_list = {}
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {12,12,1,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {3000,15,15,15,15})
table.insert(atrv_list, {15,15,15,15,15})
table.insert(atrv_list, {15,15,30,15,20})
table.insert(atrv_list, {15,15,3000,15,15})
table.insert(atrv_list, {12,12,15,15,15})
table.insert(atrv_list, {12,12,20,15,15})
table.insert(atrv_list, {12,12,20,15,15})

local attr_list = {}
table.insert(attr_list, {5,3,9,15,17})--sav el 1
table.insert(attr_list, {4,3,9,15,17})--sura sam el 2
table.insert(attr_list, {6,5,16,15,17})--nin el 3

table.insert(attr_list, {5,3,48,27,17})--sav kalkan 4
table.insert(attr_list, {4,3,48,27,17})--sura sam kalkan 5
table.insert(attr_list, {5,6,48,27,17})--nin kalkan 6

table.insert(attr_list, {1,29,30,31,9})--zırh 7
table.insert(attr_list, {1,29,30,31,15})--ayakkabı 8
table.insert(attr_list, {1,29,30,31,15})--kolye 9

table.insert(attr_list, {17,29,30,31,33})--küpe 10

table.insert(attr_list, {17,37,10,12,7})--kask 11
table.insert(attr_list, {17,37,1,16,23})--bilezik 12

table.insert(attr_list, {5,6,16,15,17})--sav el 1
table.insert(attr_list, {5,4,9,16,17})--sav el 1
table.insert(attr_list, {5,4,9,15,17})--sav el 1


local my_list = 0
local i_type = item.get_type()
local my_job = pc.get_job()

if i_type == 1 then
if my_job == 0 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("Zihinsel","Bedensel","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 1
elseif sec_w == 2 then
my_list = 13
else
return
end
elseif my_job == 1 then
my_list = 3
elseif my_job == 2 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("Karabüyü ","B. Silah","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 2
elseif sec_w == 2 then
my_list = 14
else
return
end
elseif my_job == 3 then
setskin(1)
say_title("Tür Seçimi")
say("")
say("")
say("")
local sec_w = select("E. Gücü ","Iyileştirmeci","IPTAL")
setskin(0)
if sec_w == 1 then
my_list = 2
elseif sec_w == 2 then
my_list = 15
else
return
end
end
elseif i_type == 2 then
local i_subtype = item.get_sub_type()

if i_subtype == 1-1 then
my_list = 7
elseif i_subtype == 2-1 then
my_list = 11
elseif i_subtype == 3-1 then
if my_job == 0 then
my_list = 4
elseif my_job == 1 then
my_list = 6
elseif my_job == 2 then
my_list = 5
elseif my_job == 3 then
my_list = 5
end
elseif i_subtype == 4-1 then
my_list = 12
elseif i_subtype == 5-1 then
my_list = 8
elseif i_subtype == 6-1 then
my_list = 9
elseif i_subtype == 7-1 then
my_list = 10
else
return
end
else
return
end

if my_list==0 then return end
for i=0, 4 do
item.item_set_attr(i, attr_list[my_list][i+1], atrv_list[my_list][i+1])
end

-- item.item_set_attr0(attr_list[my_list])

syschat("|cffff0000Üretim Başarılı ~~ ServerMt2 Special Quests")---

end
when 20011.chat."GM: Durumu Değiştir" with pc.is_gm() begin
setskin(0)
if game.get_event_flag("uretim")==1 then
game.set_event_flag("uretim",0)
syschat("GM:: Sistem kapatıldı.")
else
game.set_event_flag("uretim",1)
syschat("GM:: Sistem açıldı.")
end
end
end
end
[/CODE]
Quest'in nasıl yapıldığını, ne işe yaradığını , nasıl okutulduğunu ve sistemin nasıl çalıştığını konunuzda açıklarmısınız ?
24 Saat içerisinde quest'in çalıştığına dair KANIT'ını görselini yüklemelisiniz aksi takdirde konunuz kilitlencektir.
 
Quest'in nasıl yapıldığını, ne işe yaradığını , nasıl okutulduğunu ve sistemin nasıl çalıştığını konunuzda açıklarmısınız ?
24 Saat içerisinde quest'in çalıştığına dair KANIT'ını görselini yüklemelisiniz aksi takdirde konunuz kilitlencektir.
Verilen süre zarfı içerisinde kanıt eklenmediğinden konu kilit.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst