- UID
- 30541
- 阅读权限
- 40
- 回帖
- 285
- 喵币
- 0
- 有爱
- 21
- DKP
- 1274
- 金币
- 18944
- 在线时间
- 591 小时
- 注册时间
- 2021-11-5
- 最后登录
- 2026-2-10
声望: 828   虚弱: 0

Lv.4(锻造者)
 
|

楼主 |
发表于 2022-11-22 23:55:25
|
显示全部楼层
额,在这里面调整。 如果不会调,尽量就别动,
Luck_Server 这个文件 第367行开始,下面是代码:按照这修改即可,如果能看明白就可以自己调整
function UpdateBmp46(event, _, _, player)--关键性代码--请不要自行更改--除非你知道自己在做什么
local R = 10
local M = math.random(1, 100000)
if (player:IsGM()) then--GM作弊
M = 100000
end
if (M > 0 and M <= 50000) then--50
R = 1
end
if (M > 40000 and M <= 65000) then--25
local s = {2,3,4,5} --低档次的奖池
R = s[math.random(1, 4)]--随机其中一个给予奖励
end
if (M > 65000 and M <= 80000) then--15
local s = {6,7,8,9,10,11,12,13,14,15,16,17,18,19,20} --低档次的奖池
R = s[math.random(1, 15)]--随机其中一个给予奖励
end
if (M > 80000 and M <= 95000) then--15
local s = {21,22,23,24,25,26,27,28,29,30} --低档次的奖池
R = s[math.random(1, 10)]--随机其中一个给予奖励
end
if (M > 95000 and M <= 98000) then--3
local s = {31,32,33,34,35,36,37,38} --低档次的奖池
R = s[math.random(1, 8)]--随机其中一个给予奖励
end
if (M > 98000 and M <= 99600) then--s 1.5
local s = {39,40,41} --低档次的奖池
R = s[math.random(1, 3)]--随机其中一个给予奖励
end
if (M > 99600 and M <= 99900) then--s 0.5
local s = {42,43,44} --低档次的奖池
R = s[math.random(1, 3)]--随机其中一个给予奖励
end
if (M > 99900 and M <= 99999) then--s 0.1
local s = {45} --低档次的奖池
R = 45 --随机其中一个给予奖励
end
if (M == 100000) then
local s = {46} --低档次的奖池
R = 46
end |
|