|
ItemUpgrade.lua
5 [& b7 y8 l9 s- i, i----------------------------------------------------------& p6 u9 H% @, g( R1 l1 J* x/ B) _
--Sockel Chance-------------------------------------------2 M+ K5 T: y+ E6 O) i; g& @
----------------------------------------------------------
9 w' N+ K8 w; i l6 w, r; v" n5 vtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)1 T' R- X9 I1 Q! ?# V* U% U
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }" N$ l# c) C. m1 \& \2 I7 z; [5 O0 I
. z+ v% ^; ^$ G
/ ]5 K+ j, r% f, k----------------------------------------------------------
/ G6 U. ]0 L9 k8 U--Upgrade Chance------------------------------------------
# N+ L4 |2 @; c, ~----------------------------------------------------------
" O, e0 K& R4 b- z6 f% a rtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)8 k6 ?. M8 U& Z' \6 y
/ s, m- s7 ]8 `* W; z+ }/ s( d----------------------------------------------------------* z! _: H$ K+ _5 o
--Upgrade Chance------------------------------------------
/ }& W6 i$ N9 _" L7 w& s p0 q g----------------------------------------------------------0 [' B0 L! o0 D: D
tAttribute = {}9 V) l, y' i% t6 D, X4 y0 t9 z+ Y4 n
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )$ w! a8 d9 q L" m" b$ C0 m
tAttribute[nNum] = {}
l; h* g" C% p( I* i& D. Q tAttribute[nNum].nProb = nProb
7 [/ V# m9 s: |6 o+ Z tAttribute[nNum].nDamageRate = nDamageRate
, E P' X' H/ f9 T tAttribute[nNum].nDefenseRate = nDefenseRate
3 t% X# Z* t- d0 G5 X$ ` tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate8 e0 d- w5 x- r% z" x
end
# V( X. N' f9 B7 W# d1 f x--
4 x5 R Q; R0 JAddAttribute( 1, 100000, 200, 200, 500 )1 [3 X2 P0 u0 I- X4 v
AddAttribute( 2, 100000, 221, 221, 522 )7 b* C+ n! w8 G+ }
AddAttribute( 3, 92000, 256, 256, 560 )2 q- q3 g1 y1 E
AddAttribute( 4, 70000, 305, 305, 612 )4 ^4 S3 n( Q U/ F P% a
AddAttribute( 5, 53000, 368, 368, 680 )
5 J3 l, _6 ~9 B# v c4 Q! WAddAttribute( 6, 53000, 446, 446, 763 )
" f6 u |- ?* HAddAttribute( 7, 53000, 537, 537, 860 )
, {' u5 d! R/ _2 |+ p2 nAddAttribute( 8, 53000, 642, 642, 973 ). j" S- z/ _5 P) n. I
AddAttribute( 9, 53000, 761, 761, 1101 )
8 W. d" f* n4 u1 nAddAttribute( 10, 53000, 895, 895, 1244 )" s) q& W; I% O% q" ~' ?: K
AddAttribute( 11, 53000, 1042, 1042, 1402 )4 P9 X" r2 a8 ~+ c* R1 b! a
AddAttribute( 12, 53000, 1203, 1203, 1575 )
5 J: L9 \( w6 ^8 [- L; sAddAttribute( 13, 53000, 1379, 1379, 1763 )
/ g- p: { t3 G5 N7 c& s) O: OAddAttribute( 14, 53000, 1568, 1568, 1966 )
" E L3 q2 Z. dAddAttribute( 15, 53000, 1772, 1772, 2184 ), U3 x; W9 k2 p$ f
AddAttribute( 16, 53000, 1989, 1989, 2417 )
D2 s4 J: p2 x- x* F& CAddAttribute( 17, 53000, 2221, 2221, 2665 )& U8 }: B! M6 M3 n' }. g" m
AddAttribute( 18, 53000, 2467, 2467, 2998 )+ G5 V* h+ n- y. D2 c
AddAttribute( 19, 53000, 2726, 2726, 3207 )! ` A: ]$ G+ Z1 l* z
AddAttribute( 20, 53000, 3000, 3000, 3500 )
/ [0 w L, A/ f9 i
/ K0 Y5 V4 ^1 F- D4 ]" h! \+ A: `----------------------------------------------------------( d1 ?7 J g# b( y
----------------------------------------------------------
# s( Q7 R8 d5 y9 P----------------------------------------------------------2 b& X9 L4 \& z m2 \. u: |' r
nItemTransyLowLevel = 500000
4 C. u, i( }# C* znItemTransyHighLevel = 2000000
# ^6 w Y* R/ ~" K; h8 l5 k/ h+ c& `: o/ n& V8 l
----------------------------------------------------------
+ Q7 D' F: A5 S' S--Kost黰e Kombination Chance------------------------------
$ S, }% }( b! a+ J----------------------------------------------------------- l' G3 h7 Y- R7 E
# {+ N7 k) E! N& R5 n8 ^: g6 N# WnFashionCombineChance = 2500 -- 25%
$ ?6 R% b- Z% S
' Q( R( w( {& P7 @% W( a/ V |
|