|
ItemUpgrade.lua
" e) l! } Q# T( e; n0 a! ?0 V----------------------------------------------------------
& X( G: F O6 A6 L s! _, q--Sockel Chance-------------------------------------------
! A) n; k: l- g3 L @$ Q# h----------------------------------------------------------
; S/ ^0 O; g/ I- c! P+ d2 ktSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)8 }/ h: w3 g; Z
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
+ } U2 @: z) e2 b+ d4 W1 [ m3 ?& E6 i1 x! m9 {
! i' J: p/ s1 e----------------------------------------------------------2 `; ^) p# Y3 }) v; N* r
--Upgrade Chance------------------------------------------% v X7 U/ V# y4 r! C) A
----------------------------------------------------------
3 s! U; R7 A3 G+ W4 a+ E$ RtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
6 t3 L8 p' G" y! u; |
0 \5 b: x, v6 C _: y----------------------------------------------------------" v0 X- T5 J8 C8 I; Q
--Upgrade Chance------------------------------------------' }. G! n2 ^3 N& e" e0 ~1 B- E
----------------------------------------------------------
9 g( ?3 Q( O9 dtAttribute = {}& w2 q& y( v; D! Y- D& |# K9 w
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )& }( t V8 [# C- o, o! o
tAttribute[nNum] = {}
8 l+ Y4 i* [" a8 m q, O8 l tAttribute[nNum].nProb = nProb5 \" b ?, P) v+ b, |. u+ M
tAttribute[nNum].nDamageRate = nDamageRate9 I; }3 U8 S3 ~/ e. q+ a
tAttribute[nNum].nDefenseRate = nDefenseRate# |) O* _3 O1 C. a: Z
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate3 r7 @7 Z, J9 x9 X7 B
end
4 y( w8 w( I% V5 L, g-- % i' k) \# Z, q$ t# |& k7 i
AddAttribute( 1, 100000, 200, 200, 500 )% Z9 G+ B; F! K, ]3 Z) A
AddAttribute( 2, 100000, 221, 221, 522 )& X% x/ L4 y8 ?* X8 w5 X/ l
AddAttribute( 3, 92000, 256, 256, 560 )
; j, P9 h3 M" h+ HAddAttribute( 4, 70000, 305, 305, 612 )- N+ h4 w; Q5 S6 c7 w7 W1 C
AddAttribute( 5, 53000, 368, 368, 680 ): g+ @) C3 O! c; X
AddAttribute( 6, 53000, 446, 446, 763 )
: ~1 Z9 u: f/ x9 v) L" JAddAttribute( 7, 53000, 537, 537, 860 )9 G; O0 y; O# ?( \$ V
AddAttribute( 8, 53000, 642, 642, 973 )
6 C' ]; k; s RAddAttribute( 9, 53000, 761, 761, 1101 )/ x8 p5 g1 [* B% P, i
AddAttribute( 10, 53000, 895, 895, 1244 )( J' G' q. ^' ?7 ?" V8 r, `
AddAttribute( 11, 53000, 1042, 1042, 1402 )+ N A: q o! g; J' O1 K( V ?+ f
AddAttribute( 12, 53000, 1203, 1203, 1575 )3 z0 `$ I r, J
AddAttribute( 13, 53000, 1379, 1379, 1763 )4 @4 q/ G0 v% R- u% }- K8 |
AddAttribute( 14, 53000, 1568, 1568, 1966 )
6 ?$ M2 y% P k5 J7 tAddAttribute( 15, 53000, 1772, 1772, 2184 )0 D5 J' N7 Y$ Q9 J8 z
AddAttribute( 16, 53000, 1989, 1989, 2417 )
$ E/ [4 ]$ @$ W2 k* u* kAddAttribute( 17, 53000, 2221, 2221, 2665 )
4 Q2 N. i8 o! y8 Q8 |3 c5 f: XAddAttribute( 18, 53000, 2467, 2467, 2998 )
8 r2 ~, j t3 ]) d! |3 o# VAddAttribute( 19, 53000, 2726, 2726, 3207 )$ p% I* Q& W3 n/ X! p% x1 ]
AddAttribute( 20, 53000, 3000, 3000, 3500 )" a; M w" C6 Y; ^# ^* E
/ b3 ]2 X% D# J3 U
----------------------------------------------------------
; n7 n) }' B! s7 D: G----------------------------------------------------------: g! L; t3 @1 s7 L& ]2 U' s4 a9 |
----------------------------------------------------------, y9 n& T ~, t3 Y; `2 ^, p
nItemTransyLowLevel = 5000005 o$ V- c2 D: d; z$ j1 I
nItemTransyHighLevel = 20000008 z& {7 ?8 ?" A% p& t
, }, p) g" H, P7 Z% a, ?9 J
----------------------------------------------------------
; r. j1 S4 R# M- g! q--Kost黰e Kombination Chance------------------------------1 C% }9 [! x" y0 {. i! P) j% C
----------------------------------------------------------
0 }% p4 O# }0 e! p* I0 A" d4 H3 |/ U6 i
nFashionCombineChance = 2500 -- 25%8 s* y. u( Z4 X4 A( h. n
( W9 [9 c0 S" Y- Q |
|