|
|
ItemUpgrade.lua
; V9 L, e; U# P: V4 {8 _$ @----------------------------------------------------------
s7 N4 t* P l$ [5 \) y) G--Sockel Chance-------------------------------------------
( @ u$ h+ `/ J0 Y! w& U$ X2 Z---------------------------------------------------------- D) M, ^3 u0 {
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)) C$ S( ?6 f4 B$ Z7 a$ y4 q+ T3 D/ C
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
9 |* P- r( U: v9 G) k; b7 V/ ~2 e+ y
, d" w- t: v6 r, H3 ~6 f----------------------------------------------------------+ p4 f# S+ L5 ~! M, {5 \( l4 V6 x
--Upgrade Chance------------------------------------------
, x5 y; l; W3 B( b: k" e1 J----------------------------------------------------------
( j/ K( u& ~3 K3 OtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
1 a0 r+ x9 u# e! v" i+ b: e/ r% \$ e. i
----------------------------------------------------------
i# ?5 b* o$ W" C, W. H; N, s7 Y$ S+ K--Upgrade Chance------------------------------------------
/ v) e1 i. Y% o2 _0 L/ @3 c1 L----------------------------------------------------------1 P2 c6 h1 A8 z1 z1 Q* b3 V2 Z
tAttribute = {}6 x3 g% Y' R- T: v) q$ H- _) M
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
+ F+ T l9 \% a& D5 M' T$ G tAttribute[nNum] = {}! R- O' K; V- z# ^
tAttribute[nNum].nProb = nProb" r( W q0 N) X
tAttribute[nNum].nDamageRate = nDamageRate+ J _! `, [# M
tAttribute[nNum].nDefenseRate = nDefenseRate8 H3 J3 W/ O- E
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
$ t) W+ y, w3 A8 o( a8 `. tend
- s9 H, E" S% c1 W-- . j6 p" Y. [5 O0 f* Z
AddAttribute( 1, 100000, 200, 200, 500 )
) c: Q; @ L# D1 ^4 \. d: w5 oAddAttribute( 2, 100000, 221, 221, 522 )
: |% [. n, c3 ]* @9 q: I) [AddAttribute( 3, 92000, 256, 256, 560 )
2 t \: C* d; h- D$ ZAddAttribute( 4, 70000, 305, 305, 612 )
. Q5 @- R e% F9 ]' [3 \5 w; MAddAttribute( 5, 53000, 368, 368, 680 )) H; q1 f& K4 b! Q' X4 B
AddAttribute( 6, 53000, 446, 446, 763 )
5 R( a7 D+ ~; T6 N1 t1 YAddAttribute( 7, 53000, 537, 537, 860 )
4 ]& m7 } W1 C- x* F$ h+ oAddAttribute( 8, 53000, 642, 642, 973 ) ]' G) n5 ~. j- p7 k: I
AddAttribute( 9, 53000, 761, 761, 1101 )0 ?' c: u7 D6 o, d+ u! h5 D3 C+ j
AddAttribute( 10, 53000, 895, 895, 1244 )
$ @6 p5 i1 @0 Q/ C7 u/ c# I- e8 `" NAddAttribute( 11, 53000, 1042, 1042, 1402 )
9 m5 s6 H/ T* \! c" _AddAttribute( 12, 53000, 1203, 1203, 1575 )
' S% O" S4 |+ G0 YAddAttribute( 13, 53000, 1379, 1379, 1763 )0 v f( A9 E+ X; t
AddAttribute( 14, 53000, 1568, 1568, 1966 )+ D8 S2 x. l: S4 h
AddAttribute( 15, 53000, 1772, 1772, 2184 )
$ i7 I, e. v" b# ?; bAddAttribute( 16, 53000, 1989, 1989, 2417 )
# X: T% m, r8 l1 _0 kAddAttribute( 17, 53000, 2221, 2221, 2665 ): c% n4 u0 n( q+ B7 r+ T
AddAttribute( 18, 53000, 2467, 2467, 2998 ). {, u+ b9 ]" S7 n' U
AddAttribute( 19, 53000, 2726, 2726, 3207 )
" y( b" X3 `% { u* E3 A& f! fAddAttribute( 20, 53000, 3000, 3000, 3500 )
4 Q5 b" l$ |/ R
- A$ v z" S: d% E {, H3 F----------------------------------------------------------& I& v- |8 u6 C8 R9 n
----------------------------------------------------------
& D$ r9 k; Y8 U----------------------------------------------------------+ d( K! \0 `: r3 q
nItemTransyLowLevel = 500000
+ a9 \( w7 \' d) ]nItemTransyHighLevel = 2000000& {1 s5 y* A2 r' [3 R
: W6 e( A8 Y5 T* H9 @7 K
----------------------------------------------------------" m' r, p* s0 B' u% R* B5 f
--Kost黰e Kombination Chance------------------------------
9 W' G. f* q# E& a* ], S) I6 w----------------------------------------------------------
5 i0 J' ]( p2 ]) M0 D6 M# D2 } i( W0 y9 H
nFashionCombineChance = 2500 -- 25%
2 ^4 Y8 D6 @. @. P! n2 z: v/ ]' V' Z1 S1 g4 q4 ~
|
|