|
|
ItemUpgrade.lua
) d/ }' z% _( J. l' P" f, n; z----------------------------------------------------------. W9 h2 y. `7 f+ T
--Sockel Chance-------------------------------------------
1 [' ?7 x I6 k$ T, h* i----------------------------------------------------------6 ?7 f+ l. N( }+ ]* k' _
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
" w4 p6 d8 \4 i2 B6 v2 {tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
# ]8 t7 s: h v4 Z1 J5 N
; S- h6 ]; ^2 N9 V1 c4 P2 v) b5 D. W f6 v' h- V2 d, B% {; L
----------------------------------------------------------6 ?8 Y1 A; v% h
--Upgrade Chance------------------------------------------4 {9 T& ~9 f0 W* R" t
----------------------------------------------------------- \& g% j9 A4 Q( _9 {
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)2 _* O0 N7 {/ Y# y; \; ]: g$ K5 D
( i" k' J' i- u+ c. }5 y----------------------------------------------------------
! D5 F" m, M D, T--Upgrade Chance------------------------------------------/ v" g, ]+ y8 H+ f5 j' ], s K) F
----------------------------------------------------------
; j+ T1 I1 p% G' d( ]# l4 n0 PtAttribute = {}
6 Q" |. ~; f( ]) a! T4 q/ a# _; ofunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
E! x ~0 q9 N- r8 x* ^! @6 x/ j tAttribute[nNum] = {}! m: m" V! x! [. m+ \
tAttribute[nNum].nProb = nProb: O7 ]/ ^( a& T# t
tAttribute[nNum].nDamageRate = nDamageRate4 ?9 K* S' N, e' h6 K, x( t
tAttribute[nNum].nDefenseRate = nDefenseRate
" S7 \0 _3 F- [4 c# }* J tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
1 x- q, j+ b8 t$ Aend) a8 j1 i4 e0 P0 g- Y8 W
--
! p. S6 B* z3 T* q1 wAddAttribute( 1, 100000, 200, 200, 500 )5 K8 }' b4 |2 P7 B
AddAttribute( 2, 100000, 221, 221, 522 )
) Y* L- K0 `7 V P2 ]AddAttribute( 3, 92000, 256, 256, 560 )6 l- O4 K' T8 ~% ^& P
AddAttribute( 4, 70000, 305, 305, 612 )
7 m# W- u9 d8 m3 r9 I3 oAddAttribute( 5, 53000, 368, 368, 680 )
I$ X% h; u8 v. v8 MAddAttribute( 6, 53000, 446, 446, 763 )
! \, j5 I2 v* h" {AddAttribute( 7, 53000, 537, 537, 860 )
* ] X( Y& @4 v( GAddAttribute( 8, 53000, 642, 642, 973 )$ K# t, b0 w4 c# F6 ]
AddAttribute( 9, 53000, 761, 761, 1101 )
6 c& `( c5 B8 @1 tAddAttribute( 10, 53000, 895, 895, 1244 )
' U$ B0 F# n) m2 W2 i% rAddAttribute( 11, 53000, 1042, 1042, 1402 )& g# g! n" ^, Q4 y
AddAttribute( 12, 53000, 1203, 1203, 1575 )
( K5 k& t. [$ j6 @AddAttribute( 13, 53000, 1379, 1379, 1763 )# H3 y8 Y' a/ D! _) y2 N$ k Q$ p
AddAttribute( 14, 53000, 1568, 1568, 1966 )
( ^$ R& q/ v7 B; j) @ VAddAttribute( 15, 53000, 1772, 1772, 2184 )' ^: w" j4 x! r
AddAttribute( 16, 53000, 1989, 1989, 2417 )
( l8 \5 m) T' a) L3 @9 dAddAttribute( 17, 53000, 2221, 2221, 2665 )
( x8 n+ |( J3 pAddAttribute( 18, 53000, 2467, 2467, 2998 )
2 i- G1 A0 \% @8 t9 S( d2 ]AddAttribute( 19, 53000, 2726, 2726, 3207 )- K( z6 A [7 m% ]& g2 d; P
AddAttribute( 20, 53000, 3000, 3000, 3500 )
- s/ E8 u0 f, R- I$ B8 b& n# }1 Q, T h. G$ `
----------------------------------------------------------
5 J: [4 n) I! j- P% P v----------------------------------------------------------! ~$ |3 d; r; S8 @ J# R! b1 r9 {
----------------------------------------------------------7 w6 f) q: k6 }9 S
nItemTransyLowLevel = 500000- v6 ~7 g$ I; x4 J& l! L
nItemTransyHighLevel = 2000000 [0 p3 B% ]% Q d
% Y6 p3 `- ]9 M+ C! f
----------------------------------------------------------
0 d1 d' a; i/ T( v( ]5 y/ L--Kost黰e Kombination Chance------------------------------
5 I" v% O& ^& i% S----------------------------------------------------------! c* b- v v8 x" z
6 J9 w9 l6 M! K8 F8 s
nFashionCombineChance = 2500 -- 25%3 l: V9 I/ q4 Z4 L7 U, T+ H7 t
6 ~% L6 f! C7 x* G1 R M/ ]% Z
|
|