PDA

View Full Version : Hỏi cách chỉnh server để đánh quái rơi tiền và đồ ?



nguyenquocbo
17-12-10, 01:53 PM
Dear all
Hiện tại SV mình đang testing khi đánh quái chỉ rơi Anh Hùng lệnh Cấp 1,bí kíp và tiền.
Không có đồ khác như (quần áo,mũ,giây chuyền...)
Sau đây là nội dung file npcdroprate.ini của mình :

[Main]
Count=73
RandRange=15300
MagicRate=20
MoneyRate=80
MoneyScale=50
MinItemLevel=1
MinItemLevelScale=1
MaxItemLevel=1
MaxItemLevelScale=1

[1]
Genre=4
Detail=193
Particular=1
RandRate=550

[2]
Genre=4
Detail=193
Particular=1
RandRate=550

[3]
Genre=4
Detail=193
Particular=1
RandRate=550

[4]
Genre=4
Detail=193
Particular=1
RandRate=550

[5]
Genre=4
Detail=193
Particular=1
RandRate=550

[6]
Genre=4
Detail=193
Particular=1
RandRate=550

[7]
Genre=4
Detail=193
Particular=1
RandRate=550

[8]
Genre=4
Detail=193
Particular=1
RandRate=550

[9]
Genre=4
Detail=193
Particular=1
RandRate=550

[10]
Genre=4
Detail=193
Particular=1
RandRate=550

[11]
Genre=4
Detail=21
Particular=1
RandRate=700

[12]
Genre=4
Detail=22
Particular=1
RandRate=700

[13]
Genre=4
Detail=23
Particular=1
RandRate=700

[14]
Genre=4
Detail=24
Particular=1
RandRate=700

[15]
Genre=4
Detail=25
Particular=1
RandRate=700

[16]
Genre=4
Detail=26
Particular=1
RandRate=700

[17]
Genre=4
Detail=27
Particular=1
RandRate=700

[18]
Genre=4
Detail=28
Particular=1
RandRate=700

[19]
Genre=4
Detail=29
Particular=1
RandRate=700

[20]
Genre=4
Detail=30
Particular=1
RandRate=700

[21]
Genre=4
Detail=31
Particular=1
RandRate=700

[22]
Genre=4
Detail=32
Particular=1
RandRate=700

[23]
Genre=4
Detail=8
Particular=1
RandRate=100

[24]
Genre=4
Detail=9
Particular=1
RandRate=100

[25]
Genre=4
Detail=10
Particular=1
RandRate=100

[26]
Genre=4
Detail=150
Particular=1
RandRate=200

[27]
Genre=4
Detail=118
Particular=1
RandRate=50

[28]
Genre=4
Detail=119
Particular=1
RandRate=50

[29]
Genre=4
Detail=120
Particular=1
RandRate=50

[30]
Genre=4
Detail=86
Particular=1
RandRate=120

[31]
Genre=4
Detail=87
Particular=1
RandRate=120

[32]
Genre=4
Detail=88
Particular=1
RandRate=120

[33]
Genre=4
Detail=89
Particular=1
RandRate=120

[34]
Genre=4
Detail=90
Particular=1
RandRate=120

[35]
Genre=4
Detail=91
Particular=1
RandRate=120

[36]
Genre=4
Detail=92
Particular=1
RandRate=120

[37]
Genre=4
Detail=93
Particular=1
RandRate=120

[38]
Genre=4
Detail=94
Particular=1
RandRate=120

[39]
Genre=4
Detail=95
Particular=1
RandRate=120

[40]
Genre=4
Detail=96
Particular=1
RandRate=120

[41]
Genre=4
Detail=97
Particular=1
RandRate=120

[42]
Genre=4
Detail=98
Particular=1
RandRate=120

[43]
Genre=4
Detail=99
Particular=1
RandRate=120

[44]
Genre=4
Detail=100
Particular=1
RandRate=120

[45]
Genre=4
Detail=101
Particular=1
RandRate=120

[46]
Genre=4
Detail=102
Particular=1
RandRate=120

[47]
Genre=4
Detail=103
Particular=1
RandRate=120

[48]
Genre=4
Detail=104
Particular=1
RandRate=120

[49]
Genre=4
Detail=105
Particular=1
RandRate=120

[50]
Genre=4
Detail=106
Particular=1
RandRate=120

[51]
Genre=4
Detail=107
Particular=1
RandRate=120

[52]
Genre=4
Detail=108
Particular=1
RandRate=120

[53]
Genre=4
Detail=109
Particular=1
RandRate=120

[54]
Genre=4
Detail=110
Particular=1
RandRate=120

[55]
Genre=4
Detail=111
Particular=1
RandRate=120

[56]
Genre=4
Detail=112
Particular=1
RandRate=120

[57]
Genre=4
Detail=113
Particular=1
RandRate=120

[58]
Genre=4
Detail=14
Particular=1
RandRate=30

[59]
Genre=4
Detail=152
Particular=1
RandRate=100

[60]
Genre=4
Detail=130
Particular=1
RandRate=100

[61]
Genre=4
Detail=131
Particular=1
RandRate=100

[62]
Genre=4
Detail=132
Particular=1
RandRate=100

[63]
Genre=4
Detail=133
Particular=1
RandRate=100

[64]
Genre=4
Detail=134
Particular=1
RandRate=100

[65]
Genre=4
Detail=135
Particular=1
RandRate=100

[66]
Genre=4
Detail=136
Particular=1
RandRate=100

[67]
Genre=4
Detail=137
Particular=1
RandRate=100

[68]
Genre=4
Detail=138
Particular=1
RandRate=100

[69]
Genre=4
Detail=139
Particular=1
RandRate=100

[70]
Genre=4
Detail=140
Particular=1
RandRate=100

[71]
Genre=4
Detail=141
Particular=1
RandRate=100

[72]
Genre=4
Detail=142
Particular=1
RandRate=100

[73]
Genre=4
Detail=143
Particular=1
RandRate=100

Nội dung file Drop10x.lua :


function dropnpc()
cap = 10
i = floor(random(100,1199)/100)
nguhanh = random(0,4)
--if cap < 1 then cap = 1 elseif cap > 10 then cap = 10 elseif cap >= 1 and cap < 10 then cap = cap + 1 end
if i == 1 then --vu khi
a = random(0,5)
AITW(0,0,a,cap,nguhanh,0,random(5,8))
elseif i == 2 then --ao giap
a = random(0,28)
AITW(0,2,a,cap,nguhanh,0,random(5,8))
elseif i == 3 then --non
a = random(0,13)
AITW(0,7,a,cap,nguhanh,0,random(5,8))
elseif i == 4 then --giay
a = random(0,3)
AITW(0,5,a,cap,nguhanh,0,random(5,8))
elseif i == 5 then --that lung
a = random(0,1)
AITW(0,6,a,cap,nguhanh,0,random(5,8))
elseif i == 6 then --bao tay
a = random(0,1)
AITW(0,8,a,cap,nguhanh,0,random(5,8))
elseif i == 7 then --am khi
a = random(0,2)
AITW(0,1,a,cap,nguhanh,0,random(5,8))
elseif i == 8 then --ngoc boi
a = random(0,1)
AITW(0,9,a,cap,nguhanh,0,random(5,8))
elseif i == 9 then --day chuyen
a = random(0,1)
AITW(0,4,a,cap,nguhanh,0,random(5,8))
elseif i == 10 then --nhan
AITW(0,3,0,cap,nguhanh,0,random(5,8))
elseif i == 11 then --event
a = random(1,10)
if a == 1 then
AITW(4,0,0,0,0,0,0)
elseif a == 2 then
AITW(4,1,0,0,0,0,0)
elseif a == 3 then
AITW(4,2,0,0,0,0,0)
elseif a == 4 then
z = random(86,113)
AITW(4,z,0,0,0,0,0)
elseif a == 5 then
z = random(115,120)
AITW(4,z,0,0,0,0,0)
elseif a == 6 then
AITW(4,3,0,0,0,0,0)
elseif a == 7 then
AITW(4,4,0,0,0,0,0)
elseif a == 8 then
AITW(4,5,0,0,0,0,0)
elseif a == 9 then
AITW(4,12,0,0,0,0,0)
elseif a == 10 then
AITW(4,12,0,0,0,0,0)
end
end
end;


Các bạn chỉ mình cách chỉnh với !
Thân !