|
ItemUpgrade.lua
! D& ?3 Z; W7 t5 s5 C/ a----------------------------------------------------------
' E; q/ P$ d# c3 R, n3 E+ u- M--Sockel Chance-------------------------------------------$ A( m) `$ ]7 c2 _3 k3 Y
----------------------------------------------------------* U, K8 F; L* U1 Z. k; l' D9 y
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)1 ^$ B& |7 T z; _6 T2 u
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
- L' {2 e' R+ T! d$ y% g8 m
) e7 l: ` `% C, c
- f' g, H6 a& z/ L! K! F& g9 x----------------------------------------------------------
2 s8 P% L8 x R$ M5 u/ j1 G& i5 o2 z--Upgrade Chance------------------------------------------
" Q) q7 n/ \5 M z----------------------------------------------------------
7 T# v$ s% p, ?tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
4 g% F6 z3 }- V6 l3 x
$ Z1 X+ N% Q: [* Q----------------------------------------------------------0 Q% \7 L! h3 ~
--Upgrade Chance------------------------------------------
0 w U8 c. D! b! q----------------------------------------------------------' P6 u: A/ H: b4 N2 p
tAttribute = {}8 e/ I5 ^' |9 }2 F
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
6 l2 s! b% |) P4 W) k, X0 a tAttribute[nNum] = {}, Y4 O6 u% }$ E! E7 i: t2 j3 h
tAttribute[nNum].nProb = nProb6 r& k, f9 P/ i$ M- \
tAttribute[nNum].nDamageRate = nDamageRate
- k! _% y# r- q6 x( Z# C6 n tAttribute[nNum].nDefenseRate = nDefenseRate
; S$ `; L1 x/ B; ^ tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate t# s# B- \+ W+ d9 g9 o
end
8 I8 b: {9 I/ F/ S+ Y: U--
* X9 L0 k* T6 m2 b6 W6 ?5 D6 v- w8 GAddAttribute( 1, 100000, 200, 200, 500 )2 E+ e5 h, A8 {" ~- z
AddAttribute( 2, 100000, 221, 221, 522 )
2 ~$ a; p+ V& r- p1 J9 nAddAttribute( 3, 92000, 256, 256, 560 )
" b1 O" B" |! d8 w" pAddAttribute( 4, 70000, 305, 305, 612 )
9 `" G0 o: n+ h" I( OAddAttribute( 5, 53000, 368, 368, 680 )
$ l6 ~, M! T( |9 B! I6 uAddAttribute( 6, 53000, 446, 446, 763 )
) t, B& [6 x3 SAddAttribute( 7, 53000, 537, 537, 860 )
6 H5 v$ k t/ x' m: r9 g( x) mAddAttribute( 8, 53000, 642, 642, 973 ), B( W C5 e& n5 I) z
AddAttribute( 9, 53000, 761, 761, 1101 )
6 G' f w+ g5 m* C9 E# X1 rAddAttribute( 10, 53000, 895, 895, 1244 )
& ?& ^0 t3 p; ~5 M- i, eAddAttribute( 11, 53000, 1042, 1042, 1402 )
) h) `, A+ ?8 N- NAddAttribute( 12, 53000, 1203, 1203, 1575 )0 I d6 [4 G3 a. R& K
AddAttribute( 13, 53000, 1379, 1379, 1763 )
; o0 z4 p* Y& T. p( J5 WAddAttribute( 14, 53000, 1568, 1568, 1966 )
8 Y$ _" r2 E& w; MAddAttribute( 15, 53000, 1772, 1772, 2184 )1 r# m1 N* r0 t5 @
AddAttribute( 16, 53000, 1989, 1989, 2417 )
e* ]7 G( a! oAddAttribute( 17, 53000, 2221, 2221, 2665 )
( b# W* ]/ o" s# a% {. ^AddAttribute( 18, 53000, 2467, 2467, 2998 ); w. o# G" g0 G: V& j8 z
AddAttribute( 19, 53000, 2726, 2726, 3207 )# X% m4 u* W! ?. A
AddAttribute( 20, 53000, 3000, 3000, 3500 )
6 N- J) T; ]) P1 L9 [- E6 Z; [5 b
----------------------------------------------------------
" t& e4 G" _4 @: o6 J1 D8 Y7 `" ]----------------------------------------------------------, K( A }( E. J
----------------------------------------------------------
$ ?' V/ `. `' R& U& enItemTransyLowLevel = 500000
$ P6 L6 Y) w5 V7 W8 p* O- x# TnItemTransyHighLevel = 2000000
Z. j& m) z3 y8 J( {7 o! ?3 _/ L- a1 R6 ]
----------------------------------------------------------1 y1 Q- Y5 v6 k& @7 v1 v
--Kost黰e Kombination Chance------------------------------
% p# y$ F9 p" B----------------------------------------------------------5 b9 s( L9 z. C. r
1 {9 h5 ~) F% y; M1 a4 i3 m
nFashionCombineChance = 2500 -- 25%- x& S+ l9 c0 v. ^
/ }, s$ T3 B" J$ d; E$ [, I |
|