飞飞世界论坛
标题: 修改经验爆率 [打印本页]
作者: admin 时间: 2016-1-10 03:44
标题: 修改经验爆率
1.如何修改经验和爆率
第一次公开Constant.inc和更改所有的1.0率
代码:
itemDropRate = 1.0
goldDropRate = 1.0
monsterExpRate = 1.0
monsterHitRate = 1.0
! R7 I( `$ m$ w( `2 L/ @% o
现在去LuaFunc和记事本文件夹和搜索开放EventFunc.lua当地fExpFactor =
4 T4 q! g2 v( B) M: P7 R0 G( m
7 Q4 y- w' h0 ~* q5 n6 O9 @你可以改变你的这一经验比率
代码:
功能GetExpFactor()
当地GetEventList键入tlist =()
当地fExpFactor = 60
做我对(键入tlist)
如果(tEvent [键入tlist [一]]。fExpFactor~=零),然后
fExpFactor = fExpFactor *tEvent [键入tlist [一]]。fExpFactor
末端
末端
返回fExpFactor
末端
8 o4 F/ Q! B3 u V: o, U5 y6 w% T! S. p
为装备爆率搜索“本地fItemDropRate=”
. R0 B h8 q7 x( W7 N对特殊物品爆率搜索“本地fPieceItemDropRate=”4 ?: I% |. _, Z! u+ S
为金钱倍率率搜索“本地fGoldDropFactor =”
' w! I, h( a% G, ^
| 欢迎光临 飞飞世界论坛 (http://ffwold.com/) |
Powered by Discuz! X3.2 |