- UID
- 1511592
- 主题
- 1
- 阅读权限
- 20
- 帖子
- 77
- 精华
- 0
- 积分
- 39
- 金钱
- 947
- 荣誉
- 0
- 人气
- 0
- 在线时间
- 341 小时
- 评议
- 0
- 帖子
- 77
- 精华
- 0
- 积分
- 39
- 金钱
- 947
- 荣誉
- 0
- 人气
- 0
- 评议
- 0
|
求人不如求己,研究半天终于找到了~
在ses.kfc文件的logic_hero.lua脚本下有以下内容
rune_war={"6,4,2","5,5,2","6,3,3","7,4,1"}
rune_pal={"3,6,3","2,7,3","3,5,4","4,6,2"}
rune_mag={"2,4,6","1,5,6","2,3,7","3,4,5"}
分别代表三职业升级的符石;
另外该脚本内还有一个处理升级的函数:function calc_levelup()
里面对符石处理有这么一段代码:
if hclass==0 then
tmp_mas=rune_war
if Game.HSP_difficulty()==0 then
might=might+1
end
end
if hclass==1 then
tmp_mas=rune_pal
if Game.HSP_difficulty()==0 then
mind=mind+1
end
end
if hclass==2 then
tmp_mas=rune_mag
if Game.HSP_difficulty()==0 then
magic=magic+1
end
end
might=might+tonumber(text_dec(tmp_mas[rindex],1))
mind=mind+tonumber(text_dec(tmp_mas[rindex],2))
magic=magic+tonumber(text_dec(tmp_mas[rindex],3))
if level > 50 then
might=math.floor(might/2)
mind=math.floor(mind/2)
magic=math.floor(magic/2)
end
might,mind,magic分别代表了三种符石,再怎么修改不用我说了吧~~ |
|