|
ItemUpgrade.lua6 S9 D6 |- P: D \) K! H4 n7 o
----------------------------------------------------------5 S, B8 F7 E+ e5 @% M. ^! D5 T
--Sockel Chance-------------------------------------------
8 Z6 o' E) p5 H2 K5 w& \3 t----------------------------------------------------------
B% t# G( p: X8 ltSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊) G* a' a+ `* O$ v$ J" ~8 W' M/ |( M% p
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }$ e: _# i1 x" W5 Z, }5 T* O) B8 ?
2 h7 k6 [9 Q3 _0 |7 t: z/ a) i
5 d9 Z1 B7 y, z Y, K1 [. B B----------------------------------------------------------
7 w: j; S6 ~9 F( ]--Upgrade Chance------------------------------------------/ a! P9 A+ s9 v ]- m: ~9 S
----------------------------------------------------------
* ]6 _8 Y' H) NtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
8 {+ Y, c' G$ v/ m3 H" N1 k
" A! J# B0 l0 K: ~! N& ]8 @" K' U----------------------------------------------------------
! |# c' Q2 X/ t--Upgrade Chance------------------------------------------
1 o* c9 T! h' V* ?6 B: S----------------------------------------------------------, n1 g3 _ r! I8 v. Q, w
tAttribute = {}
& V" V, `9 s. Z% Yfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
4 `# Z1 @' V4 M, X0 U4 S tAttribute[nNum] = {}( }5 y8 L, R9 K9 D% ^
tAttribute[nNum].nProb = nProb
- s4 P* M' \6 L+ Z tAttribute[nNum].nDamageRate = nDamageRate% j* ]: Y" Q7 K/ R4 j8 V# u
tAttribute[nNum].nDefenseRate = nDefenseRate
/ P- i' j2 @7 {3 E% L tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate. m3 U( m) @! i$ u& U
end- x& {; Z: _0 v4 |0 }
--
]8 U. p1 s1 GAddAttribute( 1, 100000, 200, 200, 500 )
O1 `9 X1 M. w8 x; gAddAttribute( 2, 100000, 221, 221, 522 )# U8 U5 r9 M1 f; }! x
AddAttribute( 3, 92000, 256, 256, 560 ): O. [! ]) C, A' ~0 r* L
AddAttribute( 4, 70000, 305, 305, 612 )
1 b/ j* O1 y. U' s) h; p+ ]0 aAddAttribute( 5, 53000, 368, 368, 680 )1 p0 a1 y$ [7 k% B! {) m3 W
AddAttribute( 6, 53000, 446, 446, 763 )
: ~% n$ l+ ~, I+ l" g$ i1 PAddAttribute( 7, 53000, 537, 537, 860 )
5 k7 u! [9 c: {6 A' |AddAttribute( 8, 53000, 642, 642, 973 ): [" W3 X. W) M/ Y, f
AddAttribute( 9, 53000, 761, 761, 1101 )6 h( d( r' R8 |( s
AddAttribute( 10, 53000, 895, 895, 1244 )
. o. \9 N) h1 k: Z" KAddAttribute( 11, 53000, 1042, 1042, 1402 )
: J- p5 H0 T, B5 g5 S8 a: F9 {AddAttribute( 12, 53000, 1203, 1203, 1575 )
5 r# ]" E9 Q! e, }6 qAddAttribute( 13, 53000, 1379, 1379, 1763 )
6 L# A( B; `! C- E4 sAddAttribute( 14, 53000, 1568, 1568, 1966 )
3 G8 m+ {6 M( b% r9 T9 `6 _AddAttribute( 15, 53000, 1772, 1772, 2184 )2 x j# W- A2 g
AddAttribute( 16, 53000, 1989, 1989, 2417 )
. @( o9 \6 `( K* f% d# g4 E2 WAddAttribute( 17, 53000, 2221, 2221, 2665 )
4 K& G* E$ D" T3 B# TAddAttribute( 18, 53000, 2467, 2467, 2998 )
& t( g* T9 D' Q2 N0 CAddAttribute( 19, 53000, 2726, 2726, 3207 )- L9 d* m0 r% t+ c5 g
AddAttribute( 20, 53000, 3000, 3000, 3500 )) }+ |0 _& ~& c' b( w+ ^2 ?
2 J/ Y) a* w# _' S- Q) B
----------------------------------------------------------
7 \+ p9 I) g/ G' B/ I0 W. D----------------------------------------------------------
) T0 x9 K" E; I* X* `; g% z3 e4 H: |----------------------------------------------------------; E8 q) f t' d( v M' F' M
nItemTransyLowLevel = 500000" _1 f7 N( G; w' L
nItemTransyHighLevel = 2000000; u3 e! Q/ d x9 m- } K
9 m3 g& T J1 N1 O----------------------------------------------------------
4 c5 z) p# n% W5 l( x4 |1 T Z--Kost黰e Kombination Chance------------------------------
# b( b% q6 ?) C9 J----------------------------------------------------------7 p9 F1 f Q; ~8 g; Q6 s( Z
, ]) [5 x+ [: R/ J- SnFashionCombineChance = 2500 -- 25%! F1 ?; m( Z/ x7 Z1 G6 _
3 j% c m' B$ T! r' c. e |
|