Xin trích nguyên văn :
打开 petbedge_combine.lua,在最下面的概率处理函数下,把chance的条件从100改到2,两个100都要改!!
function ZPetBedge_ChanceCalc (chance)
if type(chance)~="number" or chance<0 then return 0 end
local c
local cx={}
if chance>=
2 then
c=1
elseif chance<=0 then
c=0
else
cx={
2-chance,chance}
c=ZPetGrade_Get_RanPoint(cx)-1
end
return c
end
如此,宠物修练100%成功!
法宝提高终极技能的出现概率的方法和别的大体一样,在目录/usr/rain/gamed/里的talisman_combine.lua文件中
修改方法
function ZLuaTalismanEnchantSkillEx()----/*-------附加技能的属性信息序列(技能灌魔)-*/
local SkillsExList={}
---[附加属性(对应技能)ID]
---prof: 归属职业(0,1,2,3,4,5,6,9=少侠,青云,鬼王,合欢,天音,鬼道,冗余,通用)
---
bornchance:附加技能出现在概率 ---replacechance: 被替代几率参数
SkillsExList[337]={prof=9,reqlevel=1,
bornchance=720,replacechance=100}---// 技能:重击
把高级技能 bornchance 的值加大,垃圾技能的值变小,这样法宝灌魔的技能就可以自定义了!
如果有人发过了,直接无视吧!!!
文件路径:/usr/rain/gamed/script
(
[You must be registered and logged in to see this link.] )