|
ItemUpgrade.lua
! `% ?9 }3 ^1 m' L: U----------------------------------------------------------+ u0 N- a# P( i
--Sockel Chance-------------------------------------------
4 L# ~ j) V2 h; _6 w1 j1 W----------------------------------------------------------& d! d1 z9 c& ?2 C
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
6 {& S7 w3 Z: O* u0 D$ A8 atWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }& G1 R" N; l: @# y' d
0 l2 e X8 O( K) O
4 G- r8 d+ \+ o C2 h----------------------------------------------------------
6 y8 S- t, u9 d; B- e3 R+ n, d--Upgrade Chance------------------------------------------- u ]# b4 z2 i6 X. Y
----------------------------------------------------------7 R, q4 a! t$ V% ^7 d
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
5 w8 I, L4 R- A: x$ j9 f4 t3 V" Y7 W
# Y, o' o& B. Y8 P! K----------------------------------------------------------
+ r0 H/ U" m" }--Upgrade Chance------------------------------------------
+ L* [* {& E. {' y----------------------------------------------------------
+ l) b0 o7 Q" V! q etAttribute = {}
% k, b* o, {0 v4 F0 y& `# Q H; r1 |function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
& K! y1 d1 m% \" X tAttribute[nNum] = {}
p, K% L2 w0 n' s2 o; E tAttribute[nNum].nProb = nProb. _' t6 I( K9 n3 P3 }
tAttribute[nNum].nDamageRate = nDamageRate3 f7 [: u4 w2 o* A0 c) f8 O; f
tAttribute[nNum].nDefenseRate = nDefenseRate3 B {6 O" V: E0 b0 [6 s
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate8 B8 g+ p2 K9 S' o- P. \* ]
end
3 V+ x0 E( R! _: v$ Q--
7 C0 y8 X, h+ N; cAddAttribute( 1, 100000, 200, 200, 500 )4 t4 T. d: U/ H# e2 L) w- a4 n$ J
AddAttribute( 2, 100000, 221, 221, 522 )
2 n$ h0 y: t* h6 ?AddAttribute( 3, 92000, 256, 256, 560 )+ X1 Y) V* {' S( q2 S! y U. n
AddAttribute( 4, 70000, 305, 305, 612 )
" v b# H. ]0 J, ~AddAttribute( 5, 53000, 368, 368, 680 )8 o! [5 S6 ~6 m$ z7 v4 t/ _+ w
AddAttribute( 6, 53000, 446, 446, 763 )
, [; d6 _9 Q( b( [2 _+ j' lAddAttribute( 7, 53000, 537, 537, 860 )
! @* l2 ?; @# ]% Y" S7 Y* m3 cAddAttribute( 8, 53000, 642, 642, 973 )" J2 \- J, w% ]& J- [9 k
AddAttribute( 9, 53000, 761, 761, 1101 )+ D' ~% K9 Q, f6 I1 K
AddAttribute( 10, 53000, 895, 895, 1244 )
; j( L$ R* [, A6 t7 AAddAttribute( 11, 53000, 1042, 1042, 1402 )& C0 b3 b6 X3 K
AddAttribute( 12, 53000, 1203, 1203, 1575 )& J7 i3 Z! k ^! l4 ]+ T
AddAttribute( 13, 53000, 1379, 1379, 1763 )
$ i9 Q6 w3 T7 cAddAttribute( 14, 53000, 1568, 1568, 1966 )
, v9 Z4 C+ @+ R$ r2 BAddAttribute( 15, 53000, 1772, 1772, 2184 ): K" o% m% d% S8 W+ A
AddAttribute( 16, 53000, 1989, 1989, 2417 )0 l3 W! i: J) D& i+ {1 d2 d& B
AddAttribute( 17, 53000, 2221, 2221, 2665 )4 z7 U( |6 j. D w- ^& ]( m2 m$ s6 g, w
AddAttribute( 18, 53000, 2467, 2467, 2998 )8 I6 s8 M7 {+ k7 d& V$ M( C) D0 y
AddAttribute( 19, 53000, 2726, 2726, 3207 )
9 {- ~4 ~; Q% G8 A1 l5 G' u" \4 E9 d! XAddAttribute( 20, 53000, 3000, 3000, 3500 )
) s& A+ L0 ?" M/ g- S' H; }; L8 J/ T1 ~# A" z/ `
----------------------------------------------------------' O% b% m. P& Q! `8 T" R" [
----------------------------------------------------------
) z8 W( q# q, q----------------------------------------------------------
2 p7 h: Y, g" R) O, e8 t1 b7 KnItemTransyLowLevel = 500000
5 }* o& R% I8 J# _7 A6 y' PnItemTransyHighLevel = 20000000 h1 u4 v8 {" m8 G3 \
; K3 o6 A; S& `5 ^0 a----------------------------------------------------------
& z$ X! e8 f+ g/ f% ]" P: F--Kost黰e Kombination Chance------------------------------
Q( G l4 H% {' x3 Z----------------------------------------------------------! c1 Y; E; x& Q. F5 j
/ a4 U* ^) C* n; e# m; d9 snFashionCombineChance = 2500 -- 25%
9 z# |# n4 f9 I$ T, W! c0 w; }" s& v8 G9 A; p" ^
|
|