飞飞世界论坛
标题: 修改经验爆率 [打印本页]
作者: admin 时间: 2016-1-10 03:44
标题: 修改经验爆率
1.如何修改经验和爆率
第一次公开Constant.inc和更改所有的1.0率
代码:
itemDropRate = 1.0
goldDropRate = 1.0
monsterExpRate = 1.0
monsterHitRate = 1.0
# E. ^0 F, ?7 F! s, O7 {1 n4 A
现在去LuaFunc和记事本文件夹和搜索开放EventFunc.lua当地fExpFactor =' ^0 b+ Z3 j: S/ B+ F
* a+ f& W2 d$ F) A- s5 o
你可以改变你的这一经验比率
代码:
功能GetExpFactor()
当地GetEventList键入tlist =()
当地fExpFactor = 60
做我对(键入tlist)
如果(tEvent [键入tlist [一]]。fExpFactor~=零),然后
fExpFactor = fExpFactor *tEvent [键入tlist [一]]。fExpFactor
末端
末端
返回fExpFactor
末端
) _1 S- E/ L7 x- G& A为装备爆率搜索“本地fItemDropRate=”
3 R! Z8 l1 A- |: V对特殊物品爆率搜索“本地fPieceItemDropRate=”
/ Z+ [$ O8 a( v: d; [5 h7 h1 p为金钱倍率率搜索“本地fGoldDropFactor =”
/ C& s9 E6 v4 l* a2 p3 ^
| 欢迎光临 飞飞世界论坛 (http://www.ffwold.com/) |
Powered by Discuz! X3.2 |