|
ItemUpgrade.lua
2 |. j7 _% h. s; `. u7 a- Y" w----------------------------------------------------------
: T1 N& p4 p- X! s5 m--Sockel Chance-------------------------------------------1 z, {5 K& ~0 L% U. a! r- C+ C2 o
----------------------------------------------------------
& P( I9 R% L$ P% ytSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)' K# B5 d# M) E' a
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }7 ]. U; L# D$ m* _- {9 |
% C6 Z5 f9 x) q$ E. x2 j
) h% L. V" f* Z, }' i* y----------------------------------------------------------
/ c# {9 P% _7 V1 E1 q2 h3 o--Upgrade Chance------------------------------------------
) m4 p$ s% c, S; B! S----------------------------------------------------------
$ o! {/ A) O) e0 ctGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
" `' {" ~3 o1 \% K2 [- \
- S0 B z; z# R/ D. F+ f. r# D9 [----------------------------------------------------------
5 {- e2 a9 p1 t2 Z* P& j! D" X--Upgrade Chance------------------------------------------
; z n/ f: C% u. I----------------------------------------------------------6 r7 G: K7 O. p5 _ m
tAttribute = {}
3 v3 I; C# p* e/ F0 xfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
* V1 o; S9 F6 z/ c8 F3 i tAttribute[nNum] = {}4 j1 ~* b2 p' K; s1 e
tAttribute[nNum].nProb = nProb
6 ~. A' J; Y# V tAttribute[nNum].nDamageRate = nDamageRate$ B# J: m: s7 {1 ?& ~+ l
tAttribute[nNum].nDefenseRate = nDefenseRate
: g8 P" @* R' }3 m2 Y: t+ ~9 A- | tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate6 U( b& G" @4 W! k$ K( M
end
# {0 } [) _" m+ w4 a2 W--
% a" e9 q& L% }AddAttribute( 1, 100000, 200, 200, 500 )
, H0 ?$ E! \1 b2 RAddAttribute( 2, 100000, 221, 221, 522 )7 c( I' a) Q' ^2 H! ?
AddAttribute( 3, 92000, 256, 256, 560 )
% O2 n1 v2 M+ f9 p0 I2 VAddAttribute( 4, 70000, 305, 305, 612 )
% Z9 ~. `" ?# m- OAddAttribute( 5, 53000, 368, 368, 680 )2 ]% C) W' M, F7 _! I& e* `' V) P" L
AddAttribute( 6, 53000, 446, 446, 763 )
: V2 b! K% H3 T7 ]AddAttribute( 7, 53000, 537, 537, 860 )
5 Q, p0 S/ ~$ L" r0 GAddAttribute( 8, 53000, 642, 642, 973 )- D8 u; \9 |6 z% y
AddAttribute( 9, 53000, 761, 761, 1101 )9 F. ^" k& m& P
AddAttribute( 10, 53000, 895, 895, 1244 )
3 n, J3 G" o, `/ [& D7 M J. yAddAttribute( 11, 53000, 1042, 1042, 1402 ): V% l# f5 F( @9 R1 B4 R: _
AddAttribute( 12, 53000, 1203, 1203, 1575 )
$ E; U2 ^! [1 Y4 n+ rAddAttribute( 13, 53000, 1379, 1379, 1763 )3 y2 v M9 u! T7 G; j
AddAttribute( 14, 53000, 1568, 1568, 1966 )( ]' [# V F h r ?# Y* \- t
AddAttribute( 15, 53000, 1772, 1772, 2184 )
# A: y) d" w" X. |; B4 TAddAttribute( 16, 53000, 1989, 1989, 2417 )( t) K0 r0 F& P" A
AddAttribute( 17, 53000, 2221, 2221, 2665 )) g# n! C. }3 x2 J5 i
AddAttribute( 18, 53000, 2467, 2467, 2998 )6 u, J* }4 A- m4 V/ n. B- @+ a9 w
AddAttribute( 19, 53000, 2726, 2726, 3207 )
& z, X. \* }- `& C; U9 P! ]AddAttribute( 20, 53000, 3000, 3000, 3500 ): [. ^2 `$ c7 ?1 W
% _. D) k' j8 ?$ J2 }0 x/ F----------------------------------------------------------6 w/ ?9 c$ P6 y+ B/ Q3 _# W2 z% s7 v
----------------------------------------------------------, p) _, Y3 o, v% P. {0 I
----------------------------------------------------------
6 u( H/ |$ A4 c2 g2 ^* p1 MnItemTransyLowLevel = 500000% Y8 M8 a. b8 Q
nItemTransyHighLevel = 2000000' z# T" W Z2 R/ E
2 l* P$ L o" F C8 s x----------------------------------------------------------# W( X; v9 E C: ?
--Kost黰e Kombination Chance------------------------------
& P2 [3 Z5 q* K9 s& A; @1 C----------------------------------------------------------& E# Z# {7 d& E$ t' A
% i# w. p* y9 q& x8 X* R; G. I) `/ f
nFashionCombineChance = 2500 -- 25%/ H3 _; z# O% ~7 U2 \
. b' f/ x; h" ~- P, ?8 |1 V9 F3 a |
|