|
|
首先打开Constant.inc并且修改所有倍率为1.0
B7 L5 v X( Z; \3 Y: T: x+ g+ Z8 ~Code:
- ]' N. ^1 k- _2 u3 }1 yitemDropRate = 1.0 + F/ e4 Q( [4 q4 u/ x5 j4 Q8 ^; T
goldDropRate = 1.0
) P! S% q0 X* D. a- j$ C- Y# qmonsterExpRate = 1.0
* }/ J: p5 y* S% |6 r0 EmonsterHitRate = 1.0
5 o) A/ b$ O: v" G# r9 X" s( o2 N) A现在去LuaFunc 文件夹 打开EventFunc.lua搜索 local fExpFactor =
/ [' M8 m& F" T8 H( ]) e你可以在这更改倍率。/ t" P# q+ N' |" O& l0 }
Code:' H& D3 _' f1 P. j# L( {4 Y q# n
function GetExpFactor(): t; B( B3 \% W" v8 O3 e; N
local tList = GetEventList()9 M! d9 ]* F+ y3 \* p6 T
local fExpFactor = 60! x2 Y/ i0 U/ ?4 u+ V( s; t
for i in pairs(tList) do
" _$ g3 m$ s% s# I8 D+ bif( tEvent[tList].fExpFactor ~= nil ) then
0 n, W, @7 @2 I j V1 q8 @) hfExpFactor = fExpFactor * tEvent[tList].fExpFactor8 n! e( ^" ?9 c8 U% f% G8 t
end* x G' _. I) j' f4 U, i
end$ e+ s2 e+ s2 U& _0 I# _& e
) n( V6 u3 }, ] [, z- rreturn fExpFactor. f# T7 Y( ]8 V- O6 W7 {
end3 |$ i2 v* r& X" T$ K% w* `8 F
物品掉率 "local fItemDropRate ="! S8 ?( z- `3 ~: s# o
卡片掉率 "local fPieceItemDropRate ="
' ^3 e- m- H* I飞飞币掉率 "local fGoldDropFactor ="
9 l: }( Q: a) H$ o v) \1 ~9 P当然也可以把这里都设为1.0,然后通过活动来控制,更加灵活。
+ J9 |0 ]4 [0 M8 y2 R
' l1 D- p) Z9 h- @7 g5 ^( R$ c, r% D$ P
7 B, s- j& J) ~5 W" O8 ~ |
|