|
ItemUpgrade.lua: o$ M" m* M" d+ U
----------------------------------------------------------8 I5 ^& S2 ^$ d$ `8 W( t( h# ^
--Sockel Chance-------------------------------------------
$ Q! T3 D/ g; Y5 h# ~----------------------------------------------------------
- l0 W7 l( u4 E3 mtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)2 f$ z- P4 j9 z# ~8 I, Q& @7 d/ b
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }3 I- X% _+ U" W) j0 Y- A- Q
% }& w7 I1 ?8 Y6 C9 U$ H8 Z& Y% j% r) S6 C& K
----------------------------------------------------------4 R, `" v1 R1 e1 ~; m+ D) X$ S
--Upgrade Chance------------------------------------------. K! g5 U5 `7 t/ |
----------------------------------------------------------
( S& M' z2 K2 J$ [- W1 G: RtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
" C1 f6 h1 S* `6 O
; V1 V: Y- t+ t' d6 k----------------------------------------------------------( ^. m: b' x8 W: I4 [( o' k
--Upgrade Chance------------------------------------------
9 i: e1 L) M1 E9 P# y( Q# I* k----------------------------------------------------------
$ _: p3 k$ F( G# U5 R3 J/ wtAttribute = {}
5 T3 g, |2 `6 n/ `8 E' x* d" ifunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
" c! h" I% t, p! z4 g tAttribute[nNum] = {}; o' @" @2 P5 b+ ~, U
tAttribute[nNum].nProb = nProb9 H$ Z: O) E& X; w* @2 `
tAttribute[nNum].nDamageRate = nDamageRate7 s6 t: t& \4 J$ y
tAttribute[nNum].nDefenseRate = nDefenseRate
5 B3 A; o# R; L4 B/ ]3 W. T/ S tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate+ C% W4 G' N+ R3 |$ o
end
! O2 b1 C! L, k R) `% e- h+ n--
7 Y9 i* a0 l) ^5 p8 v% ]; W& FAddAttribute( 1, 100000, 200, 200, 500 ), ]8 c+ {* x9 X1 Q3 @2 m
AddAttribute( 2, 100000, 221, 221, 522 )
/ z8 D* x$ |; Q0 KAddAttribute( 3, 92000, 256, 256, 560 )- s/ X4 f! S' R! ^* Z
AddAttribute( 4, 70000, 305, 305, 612 )
% J0 l2 C' C: r. Z# T5 x( ^AddAttribute( 5, 53000, 368, 368, 680 )
1 a: z8 t- Y" g) j: c4 O4 `7 v' _; pAddAttribute( 6, 53000, 446, 446, 763 )
0 I4 Q+ p6 \) V! VAddAttribute( 7, 53000, 537, 537, 860 )/ a7 h. Z, e8 ^
AddAttribute( 8, 53000, 642, 642, 973 )
1 h+ X3 N) \0 k; b9 ~7 P4 |AddAttribute( 9, 53000, 761, 761, 1101 )
& s' e! y' ]& k0 h6 M+ \AddAttribute( 10, 53000, 895, 895, 1244 )
. Y n8 q6 R1 t' m5 KAddAttribute( 11, 53000, 1042, 1042, 1402 )
7 E- s$ ^5 O- K! L. g' K7 SAddAttribute( 12, 53000, 1203, 1203, 1575 )+ O4 x2 e2 f \ D3 s/ O9 o" F
AddAttribute( 13, 53000, 1379, 1379, 1763 ); D+ ?- I# E9 G( S9 ^' U+ d
AddAttribute( 14, 53000, 1568, 1568, 1966 )
9 J) a! @4 D+ ~! I6 z7 L% gAddAttribute( 15, 53000, 1772, 1772, 2184 )
% G5 W8 G# n5 EAddAttribute( 16, 53000, 1989, 1989, 2417 ); [7 O) j3 d* d" Q" V
AddAttribute( 17, 53000, 2221, 2221, 2665 ); e8 V8 R9 f6 i- n( s, `4 s
AddAttribute( 18, 53000, 2467, 2467, 2998 )
. |- \+ I8 `% s$ Q) m( jAddAttribute( 19, 53000, 2726, 2726, 3207 )0 m3 ?: ]$ D) O# W- ]
AddAttribute( 20, 53000, 3000, 3000, 3500 ): E: M9 i) V8 i4 A B) T) l
: L5 ~3 O1 I- b. i' S! B9 ^3 s
----------------------------------------------------------
* y7 p$ _- ?* j) k& c+ u----------------------------------------------------------3 z& A4 A; o% g
---------------------------------------------------------- C f0 M2 Z; r6 k
nItemTransyLowLevel = 500000
/ |, A, K" p7 M5 G: N( V, T: NnItemTransyHighLevel = 2000000
) h+ x5 t7 H" H7 X2 o8 O( Y) Y1 w2 O
" ^9 R0 W1 z- ?8 A5 ^6 F( W----------------------------------------------------------
% X; @/ p& p3 {( \; ^& ~--Kost黰e Kombination Chance------------------------------+ K* y/ [" j7 _3 J$ c' {1 U
----------------------------------------------------------" K B o7 }) p- v! s
* ?6 x- o+ b- E! r5 E( o; S* q% V* ]
nFashionCombineChance = 2500 -- 25%
, L: q' u* ~' P9 w1 q
- C7 B7 r. G& M' q) C |
|