飞飞世界论坛
标题: 修改经验爆率 [打印本页]
作者: admin 时间: 2016-1-10 03:44
标题: 修改经验爆率
1.如何修改经验和爆率
第一次公开Constant.inc和更改所有的1.0率
代码:
itemDropRate = 1.0
goldDropRate = 1.0
monsterExpRate = 1.0
monsterHitRate = 1.0
1 l( n! P. n" c4 R1 t现在去LuaFunc和记事本文件夹和搜索开放EventFunc.lua当地fExpFactor =
6 ~ A1 P: C3 n- ]" p2 [
( Y, | x7 d# ^6 c+ @1 Y你可以改变你的这一经验比率
代码:
功能GetExpFactor()
当地GetEventList键入tlist =()
当地fExpFactor = 60
做我对(键入tlist)
如果(tEvent [键入tlist [一]]。fExpFactor~=零),然后
fExpFactor = fExpFactor *tEvent [键入tlist [一]]。fExpFactor
末端
末端
返回fExpFactor
末端
' v* V1 h* {$ u
为装备爆率搜索“本地fItemDropRate=”. I/ N J: @+ h! H
对特殊物品爆率搜索“本地fPieceItemDropRate=”
9 X l$ r7 y& G- }为金钱倍率率搜索“本地fGoldDropFactor =”
; ?! U8 x0 W& V# x2 R( Z3 U
欢迎光临 飞飞世界论坛 (http://ffwold.com/) |
Powered by Discuz! X3.2 |