|
|
ItemUpgrade.lua; o5 Z, d- A- H2 {2 ~+ a) r
----------------------------------------------------------
' L( Z% L4 [; T+ g' Y4 ~& ^--Sockel Chance-------------------------------------------
) Z' o( t# w3 d4 R9 v2 K3 n, ~----------------------------------------------------------: K$ z! }: K5 k% L0 c$ Y. v6 v
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)4 e) ~6 G" t3 ?9 U. o
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }# T5 `& K! z6 g6 ]+ i$ J( Y
! Q& W$ o9 ?# _1 T4 P0 X9 N5 V( I
2 ~9 C4 p$ Y6 y2 r k# v----------------------------------------------------------
# A6 g1 B6 S1 x- @4 I$ X+ ]; _--Upgrade Chance------------------------------------------
, {6 G# C5 k3 O* @9 T( |----------------------------------------------------------! b8 e: t/ q: Z3 I2 K8 n# X
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
4 P1 `* H( ~, a% R7 I, r
* r! _$ S* h3 }! x9 `; e----------------------------------------------------------
0 f( _4 X; j9 Z/ R--Upgrade Chance------------------------------------------( D+ S/ e. N/ B$ b2 j) a) g
----------------------------------------------------------% `% d7 \3 e- l/ l. _& l. P# K% c
tAttribute = {}: Y2 a4 p, S; j% \# M6 f$ ~, W
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
. [( h1 Q# {- \$ U0 `5 o# x tAttribute[nNum] = {}
9 o& I: U( e) W9 c9 Z' V tAttribute[nNum].nProb = nProb2 s/ [. e/ }( f. e) X2 k+ n
tAttribute[nNum].nDamageRate = nDamageRate
: q& L, v4 a$ ~ G- c1 g tAttribute[nNum].nDefenseRate = nDefenseRate* R9 t5 s* H' p+ l2 @
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
) Y6 ~! E, x$ f. I! F: Mend
8 F+ t( |% ]3 H6 l4 V) l" M--
# B+ \; Z/ i. y( }3 g- W& n( AAddAttribute( 1, 100000, 200, 200, 500 )
, D: y4 b7 i9 \1 t1 a9 YAddAttribute( 2, 100000, 221, 221, 522 ): j! ^& X! h, U( B( P
AddAttribute( 3, 92000, 256, 256, 560 )2 d0 _% R+ n, |
AddAttribute( 4, 70000, 305, 305, 612 )' ]' `' \7 F s" j/ |0 Y% Y' t; R- q- a* w, l
AddAttribute( 5, 53000, 368, 368, 680 )) p0 `) Z0 R6 @: b
AddAttribute( 6, 53000, 446, 446, 763 )
6 ~9 \9 O3 Z' a' K/ K/ f U7 RAddAttribute( 7, 53000, 537, 537, 860 )
: E3 ]' N0 q3 }; LAddAttribute( 8, 53000, 642, 642, 973 )7 M7 d/ L6 d- q
AddAttribute( 9, 53000, 761, 761, 1101 )& e% b. p3 F5 n, o
AddAttribute( 10, 53000, 895, 895, 1244 )) ]) _* `) R. n0 L/ u2 N" F
AddAttribute( 11, 53000, 1042, 1042, 1402 )
- m9 x" D5 M, L7 qAddAttribute( 12, 53000, 1203, 1203, 1575 )3 l; u1 A4 t7 y% R
AddAttribute( 13, 53000, 1379, 1379, 1763 )
. f/ a: ?" y: I3 DAddAttribute( 14, 53000, 1568, 1568, 1966 )
& p; P! z* k$ F) q, \AddAttribute( 15, 53000, 1772, 1772, 2184 )( s, _* k5 v% T% n3 E: q5 h% d
AddAttribute( 16, 53000, 1989, 1989, 2417 )# W ?2 S4 l3 p* }) i6 ^9 {( j
AddAttribute( 17, 53000, 2221, 2221, 2665 )
6 ^0 \! o# L& ]8 x0 j |6 {AddAttribute( 18, 53000, 2467, 2467, 2998 )
) W+ B& z' C9 O4 ^ z: yAddAttribute( 19, 53000, 2726, 2726, 3207 )
, m3 _ z' u {2 A9 ZAddAttribute( 20, 53000, 3000, 3000, 3500 )0 P& z" s. `1 g" _% O" N
; p2 e1 Q& B) u2 A
----------------------------------------------------------
+ y% i; c S6 p+ _* B+ ?----------------------------------------------------------9 d0 L l7 ?+ H. J6 l" u3 H' R
----------------------------------------------------------
$ R1 m. z$ ]- B( p! HnItemTransyLowLevel = 5000000 H0 @; r- u9 S, Z) P. V
nItemTransyHighLevel = 2000000
0 E0 \1 k" T# o( `! w& q4 U" b$ g, I# |. ?1 B' R& {0 m# _
----------------------------------------------------------
2 O8 E' M* y3 \: i--Kost黰e Kombination Chance------------------------------
6 H' v0 N$ r. z+ V4 Z1 K4 c----------------------------------------------------------8 h- ?* a1 q- u7 I# f
6 m% H, [% j W. I7 [) q
nFashionCombineChance = 2500 -- 25%+ r# l# l5 Z# B/ D3 z. T1 ~
2 a" B7 t$ d0 B8 | |
|