|
ItemUpgrade.lua* X$ q; g1 w& v5 ?( A
----------------------------------------------------------. X5 @. `! f& O
--Sockel Chance-------------------------------------------4 k( k2 d' ^+ V' ^$ b; |( m1 z
----------------------------------------------------------: Y; {' Q" x( a
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)' x6 ?8 N- k0 f& C* Y# j
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
" v, V9 m) q# ?$ e( w3 ~% p5 `* y
! I. V& Z) V* E+ k
----------------------------------------------------------# g4 k4 I; D; Q9 y+ d2 a
--Upgrade Chance------------------------------------------
9 _* }; u5 n* p4 X, j----------------------------------------------------------
# y) y- x4 q1 s' wtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
$ H; G2 a5 V' z- }6 F* @- [
* K8 L' P& A* |, x; i+ Z----------------------------------------------------------
0 U b, C1 N A. g! h6 h+ }! q" d--Upgrade Chance------------------------------------------
# N) `: I! a' @0 F% [----------------------------------------------------------9 G% P7 r2 F: u
tAttribute = {}
" ^4 Z0 W9 m3 ~# Efunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
. Z$ t' d; }8 @1 D$ @7 U tAttribute[nNum] = {}
# s( S* n# ~( Z% n0 x+ ^ tAttribute[nNum].nProb = nProb# j& b4 {1 {! Y% v$ e3 e
tAttribute[nNum].nDamageRate = nDamageRate8 M0 ? L+ O; k
tAttribute[nNum].nDefenseRate = nDefenseRate+ t) e$ A% p/ l: P. F
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
; c$ r; X$ p6 U2 d, lend+ B a _3 }, [3 w
-- $ V$ q, U3 W4 N1 Q
AddAttribute( 1, 100000, 200, 200, 500 ): |4 J3 s, p3 H8 O5 I
AddAttribute( 2, 100000, 221, 221, 522 )
. R$ R3 _' B) D4 ^AddAttribute( 3, 92000, 256, 256, 560 )
7 J8 p5 {- P& C* C" D# N. ?& dAddAttribute( 4, 70000, 305, 305, 612 )8 x$ K! }# X6 i K: Y! x3 e
AddAttribute( 5, 53000, 368, 368, 680 )
3 A+ ^8 s! p' ~3 H7 qAddAttribute( 6, 53000, 446, 446, 763 )
/ p) p0 d* k( TAddAttribute( 7, 53000, 537, 537, 860 )
8 Y7 \& |5 p* Q/ y _, y3 SAddAttribute( 8, 53000, 642, 642, 973 )4 K% h I( [) s! G: U
AddAttribute( 9, 53000, 761, 761, 1101 ). F+ }, e B2 U5 I
AddAttribute( 10, 53000, 895, 895, 1244 )
8 O5 U& P6 W, ~* P; fAddAttribute( 11, 53000, 1042, 1042, 1402 )4 N) K5 A: j0 y9 q
AddAttribute( 12, 53000, 1203, 1203, 1575 )
9 g" t7 w: |' A; ^# @AddAttribute( 13, 53000, 1379, 1379, 1763 )! G/ }" N& {3 X4 t
AddAttribute( 14, 53000, 1568, 1568, 1966 )3 l+ c/ V8 n4 {8 h" C. E. P' K `
AddAttribute( 15, 53000, 1772, 1772, 2184 )
2 E9 z M& L* P/ T7 \AddAttribute( 16, 53000, 1989, 1989, 2417 )
( N- V3 g% w$ G3 y& R$ @) \AddAttribute( 17, 53000, 2221, 2221, 2665 )3 c8 p$ Q( f- j/ B
AddAttribute( 18, 53000, 2467, 2467, 2998 )
! m* _2 H6 y; {$ U6 q) \) vAddAttribute( 19, 53000, 2726, 2726, 3207 )
9 w- n! ^# D0 I& d# MAddAttribute( 20, 53000, 3000, 3000, 3500 )7 X ?! |8 V2 {3 x" q
1 J. o) K/ ?. w* [# C
----------------------------------------------------------; @5 E6 ?' ?/ H+ U; L4 s, E" u
----------------------------------------------------------/ [* c) t5 i: c& ~: G1 _1 V
----------------------------------------------------------4 X' `2 {" Q2 a: h3 y* Y. D
nItemTransyLowLevel = 500000
& o0 A% M- ]' _& h' cnItemTransyHighLevel = 2000000
( b6 s) C" D, A/ a$ ]: Y' X% @" C) ?5 M. x+ S' c1 v
----------------------------------------------------------+ ?0 \- N) v6 z2 ]
--Kost黰e Kombination Chance------------------------------
* n$ W5 r* m3 q: n" i+ N' u1 V' g----------------------------------------------------------
) `' o) u3 r+ Y, E8 z- `1 g4 \ y$ K1 ^$ v
nFashionCombineChance = 2500 -- 25%" D. }& G0 C( f
$ Z0 E) S. a) k% K' C4 t# a+ q
|
|