服务端路径
/usr/rain/gamed/script/petbedge_skills.lua
打开找到这段
local choosenumchance={125,500,1000,250,0,0,0} ---//出现技能的数量
修改成 local choosenumchance={0,0,0,0,0,0,1000} 100%是8技能
再往下找到
if type(SkillsBindingTalents[skill_id])~="table" then return 0 end
local addskills=0
for i=1,table.getn(SkillsBindingTalents[skill_id]) do
if SkillsBindingTalents[skill_id]~=-100 then
if talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==10 then
addskills=addskills+30
elseif talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==5 then
addskills=addskills+10
else
addskills=0
改成
if type(SkillsBindingTalents[skill_id])~="table" then return 0 end
local addskills=0
for i=1,table.getn(SkillsBindingTalents[skill_id]) do
if SkillsBindingTalents[skill_id]~=-100 then
if talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==10 then
addskills=addskills+98
elseif talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==5 then
addskills=addskills+98
else
addskills=98
100%是99级技能
法宝修改
服务端路径
/usr/rain/gamed/script/talisman_combine.lua
找到这段
local skillnumchanceseq={0,200,900,1200,600,100}
---//1-6个技能的出现概率
改为={0,0,0,0,0,1200}
100%6技能
再往下这段
local skilllvlchanceseq={275,24,1}
---//1-3级别技能的出现概率
改为={1,24,275}
就是3级 |