doiphieubat
28-07-10, 03:45 AM
hiện mình đang chạy sv TSBD v2.0...mỗi lần dánh boss rớt toàn đồ đểu là Mảnh tàng Bảo Đồ 1 với 2 thôi...ai biết chỉnh sao cho rớt đồ Hoàng Kim thì bày mình với nha...mình tìm được nội dung file để chỉnh mà chưa hiểu cách chỉnh....file đó nè
---------------------------------------------------------
----Author: DNTmaster
----Thong Tin:
----Script Boss Hoang Kim
---------------------------------------------------------
Include("\\Script\\cacsukien\\bosshk\\boss.lua");
function OnDeath()
monphai = GetFaction()
nguhanh = GetSeries()
thuoctinh = random(0,4)
AddExp(BOSSXP,100,100)
tyle = random(1,100)
autodel()
if INIT_GOLDEQUIP == 1 then
if nguhanh == 0 then
if tyle < GOLDITEMSTYLE then
for i =1,NUMBERDROPGOLD do
k = random(1,10)
if k == 1 then
AITW(0,0,2,random(121,130),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 2 then
AITW(0,0,2,random(181,190),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 3 then
AITW(0,2,37,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 4 then
AITW(0,3,11,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 5 then
AITW(0,4,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 6 then
AITW(0,5,12,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 7 then
AITW(0,6,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 8 then
AITW(0,7,22,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 9 then
AITW(0,8,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 10 then
AITW(0,9,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
end
end
return
end
return
else
if GOLDITEMDROPRATE >= tyle then
for i =1,NUMBERDROPGOLD do
k = random(1,10)
if k == 1 then
AITW(0,0,2,random(121,130),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 2 then
AITW(0,0,2,random(181,190),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 3 then
AITW(0,2,36,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 4 then
AITW(0,3,11,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 5 then
AITW(0,4,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 6 then
AITW(0,5,12,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 7 then
AITW(0,6,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 8 then
AITW(0,7,22,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 9 then
AITW(0,8,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 10 then
AITW(0,9,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
end
end
return
end
return
end
end
end;
---------------------------------------------------------
----Author: DNTmaster
----Thong Tin:
----Script Boss Hoang Kim
---------------------------------------------------------
Include("\\Script\\cacsukien\\bosshk\\boss.lua");
function OnDeath()
monphai = GetFaction()
nguhanh = GetSeries()
thuoctinh = random(0,4)
AddExp(BOSSXP,100,100)
tyle = random(1,100)
autodel()
if INIT_GOLDEQUIP == 1 then
if nguhanh == 0 then
if tyle < GOLDITEMSTYLE then
for i =1,NUMBERDROPGOLD do
k = random(1,10)
if k == 1 then
AITW(0,0,2,random(121,130),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 2 then
AITW(0,0,2,random(181,190),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 3 then
AITW(0,2,37,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 4 then
AITW(0,3,11,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 5 then
AITW(0,4,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 6 then
AITW(0,5,12,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 7 then
AITW(0,6,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 8 then
AITW(0,7,22,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 9 then
AITW(0,8,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 10 then
AITW(0,9,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
end
end
return
end
return
else
if GOLDITEMDROPRATE >= tyle then
for i =1,NUMBERDROPGOLD do
k = random(1,10)
if k == 1 then
AITW(0,0,2,random(121,130),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 2 then
AITW(0,0,2,random(181,190),thuoctinh,0,GOLDITEMOPT ION)
elseif k == 3 then
AITW(0,2,36,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 4 then
AITW(0,3,11,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 5 then
AITW(0,4,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 6 then
AITW(0,5,12,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 7 then
AITW(0,6,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 8 then
AITW(0,7,22,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 9 then
AITW(0,8,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
elseif k == 10 then
AITW(0,9,10,random(1,GOLDITEMLEVEL),thuoctinh,0,GO LDITEMOPTION)
end
end
return
end
return
end
end
end;