飞飞世界论坛
标题: 修改经验爆率 [打印本页]
作者: admin 时间: 2016-1-10 03:44
标题: 修改经验爆率
1.如何修改经验和爆率
第一次公开Constant.inc和更改所有的1.0率
代码:
itemDropRate = 1.0
goldDropRate = 1.0
monsterExpRate = 1.0
monsterHitRate = 1.0
+ P# d/ c) u2 L% l7 a1 n7 N' S现在去LuaFunc和记事本文件夹和搜索开放EventFunc.lua当地fExpFactor =
3 w% ?% r6 b+ t" }5 i! C, M
0 a' W8 u: q' s& z; b/ y, W/ A1 p你可以改变你的这一经验比率
代码:
功能GetExpFactor()
当地GetEventList键入tlist =()
当地fExpFactor = 60
做我对(键入tlist)
如果(tEvent [键入tlist [一]]。fExpFactor~=零),然后
fExpFactor = fExpFactor *tEvent [键入tlist [一]]。fExpFactor
末端
末端
返回fExpFactor
末端
+ W% H* S* I$ H4 Z为装备爆率搜索“本地fItemDropRate=”2 S T" t% v1 e9 m7 _$ ~& f* A
对特殊物品爆率搜索“本地fPieceItemDropRate=”
$ X a" x$ v" X3 ^8 Z& t( _* w7 x为金钱倍率率搜索“本地fGoldDropFactor =”
4 S+ s' \0 `2 |
欢迎光临 飞飞世界论坛 (http://www.ffwold.com/) |
Powered by Discuz! X3.2 |