|
本帖最后由 zblxy9064 于 2012-5-8 23:00 编辑
- if (PersonKF(pid,88) and JLSD(35,70,pid) and WAR.BMXH==0) or pid==26 then
- if WAR.Person[id][CC.TXDH]==-1 then
- WAR.Person[id][CC.TXDH]=math.fmod(88,10)+85
- end
- if WAR.Person[id][CC.TXWZ2]==nil then
- WAR.Person[id][CC.TXWZ2]=CC.WARS34
- else
- WAR.Person[id][CC.TXWZ2]=WAR.Person[id][CC.TXWZ2].."+"..CC.WARS34
- end
- WAR.BMXH=2
- for w=1,10 do
- if JY.Person[pid]["武功"..w]==88 then
- JY.Person[pid]["武功等级"..w]=JY.Person[pid]["武功等级"..w]+10
- if JY.Person[pid]["武功等级"..w]>999 then JY.Person[pid]["武功等级"..w]=999 end
- break
- end
- end
- end
复制代码 在CY_Fight.lua找到这段代码,然后把第一行中的JLSD(35,70,pid) 改成JLSD(0,100,pid) 貌似就可以了 我没试过 但是根据我的判断,JLSD(x,y,pid) 貌似是这个武功的触发概率,但是,这样的话,敌人如果有会用吸星大法的人,他的触发概率也是100% 而且,不知道会不会有错,因为这样一改之后,CY_Main。lua中会出现负数情况,或者干脆把这个JLSD(35,70,pid)去掉也可以。。。 |
|