|
|
ItemUpgrade.lua% L! b5 k1 P% ?# g
---------------------------------------------------------- x i! P2 |( |
--Sockel Chance-------------------------------------------
- {* n/ m( R8 U! g$ |8 }& D----------------------------------------------------------9 v' @3 T3 k; Y: O3 q; |
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
8 f N0 Y1 u' O' L+ AtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
] o( I" P& z: S1 m- ]- n8 H5 d
2 x% _8 j, b- ?8 L; _: X3 Z' j3 E4 I0 x( R7 ]$ F: D2 f* t
----------------------------------------------------------4 [$ F& ?. x: J( y; W: K% D
--Upgrade Chance------------------------------------------9 x( k/ K1 B0 H9 u
----------------------------------------------------------
: k6 }. G5 V! P6 f H8 p7 StGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊) S3 m/ C/ e6 W& H) Y
. I8 y0 c. _7 ]
----------------------------------------------------------0 X- X, J9 N Z5 f- @$ x
--Upgrade Chance------------------------------------------7 n$ L5 y$ Q0 M$ K9 ?. i4 B4 b5 }
----------------------------------------------------------; i5 D! i, I8 ]) I
tAttribute = {}
" c; g# t4 e+ l+ g- Tfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
/ \* d$ ]% ~' {0 G1 Z. ?& J7 \6 {* N tAttribute[nNum] = {}0 |) `3 S( g8 e0 c
tAttribute[nNum].nProb = nProb% l% w9 U" c1 m9 F) x1 Z, a f
tAttribute[nNum].nDamageRate = nDamageRate, ?. z; `" P- Q- a( t# R$ n
tAttribute[nNum].nDefenseRate = nDefenseRate/ V, J2 a0 L+ b4 `* d& G- T( G
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
; u$ m# L5 c- p! kend
7 u/ O7 ]1 A H8 e# }" u) i-- 3 z& v8 q# G/ }. E; u
AddAttribute( 1, 100000, 200, 200, 500 ); N l$ @, c/ {
AddAttribute( 2, 100000, 221, 221, 522 )
" R$ [! p, q* U' T) `AddAttribute( 3, 92000, 256, 256, 560 )6 w) ^4 L0 W& c4 v6 W/ }
AddAttribute( 4, 70000, 305, 305, 612 )
+ B e9 E4 p* N6 g, KAddAttribute( 5, 53000, 368, 368, 680 )
2 [8 G: p4 X W! c! a6 \AddAttribute( 6, 53000, 446, 446, 763 )
" M. D- Y3 L+ J9 r5 L+ B( G- c; UAddAttribute( 7, 53000, 537, 537, 860 )
9 w" R8 `0 ?5 e, T$ `2 k3 ~AddAttribute( 8, 53000, 642, 642, 973 )
" F5 G9 Q+ e* H) d% I1 f7 YAddAttribute( 9, 53000, 761, 761, 1101 )
7 l: k8 ~ W3 |! u& o z( @AddAttribute( 10, 53000, 895, 895, 1244 )
- P6 D/ Z$ L: m' {2 }5 b! E0 FAddAttribute( 11, 53000, 1042, 1042, 1402 )
0 z: z# Q3 F* G8 v C7 e vAddAttribute( 12, 53000, 1203, 1203, 1575 )
6 |5 }% q4 l9 W+ lAddAttribute( 13, 53000, 1379, 1379, 1763 )8 }- `) z+ p$ B: W
AddAttribute( 14, 53000, 1568, 1568, 1966 ) z r! z% w, x3 ~1 w/ V, r
AddAttribute( 15, 53000, 1772, 1772, 2184 )" q Z2 i9 X6 Z0 |
AddAttribute( 16, 53000, 1989, 1989, 2417 ): o' ~4 c4 Y( Y6 ]1 x K
AddAttribute( 17, 53000, 2221, 2221, 2665 )
- A* D3 N+ ?: O) \AddAttribute( 18, 53000, 2467, 2467, 2998 )% q i% ^( S) ~3 ^+ D$ _( p5 I
AddAttribute( 19, 53000, 2726, 2726, 3207 )
5 e$ C) N4 p) r% CAddAttribute( 20, 53000, 3000, 3000, 3500 ); f2 c; J! A% O3 y. V9 Z
5 N* g0 I% K9 T( P9 F# F----------------------------------------------------------
, ?/ H/ d7 A3 R; V3 Y, s----------------------------------------------------------5 |7 Z9 U+ M; \0 I
----------------------------------------------------------9 Z! |* _8 J* W1 G
nItemTransyLowLevel = 500000
) o( T/ |% k4 C0 }( y1 j5 GnItemTransyHighLevel = 2000000
7 H( W. u- |# r, P& A2 J8 D; n6 d8 u1 s6 m
----------------------------------------------------------
/ k2 j) a- K+ N! x--Kost黰e Kombination Chance------------------------------! d4 p. u: V3 J* q
----------------------------------------------------------
6 U5 S3 }' _. v7 B6 W7 R3 I3 p3 a1 M; @* o \1 o
nFashionCombineChance = 2500 -- 25%9 I! m3 H, `" @0 @* `
8 |8 Y) G% X; c+ W; q$ |7 S
|
|