|
|
ItemUpgrade.lua* ~# u3 _% \% z ~& n9 @# Q: Z- |/ R
----------------------------------------------------------' F2 c) j, h# O, }
--Sockel Chance-------------------------------------------" m4 d8 `9 m# q4 e3 B2 V
----------------------------------------------------------$ j+ G# v& M5 @8 a( f( |- P$ V
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)' m5 {' f9 M$ G2 X
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
& h& N* D/ g" r0 t* V3 V- X+ o3 {1 j! @7 E! L; e; B6 s& _
3 e( c2 l/ C3 H- S9 f h
----------------------------------------------------------
2 c' g( W+ j H--Upgrade Chance------------------------------------------- t- ~; W4 @, ?' Y0 O
----------------------------------------------------------
7 A$ e# w9 k- o& f! r' ktGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
' M5 V% I0 c+ F4 J* k! J, P3 ~9 m% ~3 h- e* V0 O0 O
----------------------------------------------------------
5 p3 C8 {7 F& A% Q% [--Upgrade Chance------------------------------------------
& P' a K0 F4 \! k----------------------------------------------------------; w2 t$ |9 J, E+ }# \3 ], \7 D- D9 K
tAttribute = {}
8 P9 h3 k3 R$ l3 z" Hfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate ); h! B/ q* m* U# F1 k$ H4 T9 Q
tAttribute[nNum] = {}& ]) F' V$ ~# j% P9 \ i; l
tAttribute[nNum].nProb = nProb
6 a: A* H' ^4 l7 a tAttribute[nNum].nDamageRate = nDamageRate" J% p8 \1 U- v- @1 \% r9 z
tAttribute[nNum].nDefenseRate = nDefenseRate
) Q* v7 Y' I, C+ Y6 W8 H tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
' ~: y! E( w9 S8 y3 V1 A3 c) ^end
; G" i" E6 n2 L-- 7 J- }9 p- S+ y Y" L
AddAttribute( 1, 100000, 200, 200, 500 )0 q2 \# O! Y5 J6 x* o( T2 h& h
AddAttribute( 2, 100000, 221, 221, 522 )
5 Z; ~; B. P! CAddAttribute( 3, 92000, 256, 256, 560 )( N) r( w! K. V/ j9 s- J
AddAttribute( 4, 70000, 305, 305, 612 )
! d3 t6 W3 s0 p! s2 l5 IAddAttribute( 5, 53000, 368, 368, 680 )
. W! @' Y( W& O1 nAddAttribute( 6, 53000, 446, 446, 763 )
" I. U* ?( p- KAddAttribute( 7, 53000, 537, 537, 860 )3 h4 r& x# T" i! Y/ g. g- Q. I
AddAttribute( 8, 53000, 642, 642, 973 )
- O# E6 {. A0 d8 W' n& y- AAddAttribute( 9, 53000, 761, 761, 1101 )6 d2 {% G) b9 H
AddAttribute( 10, 53000, 895, 895, 1244 )
4 p5 O5 c9 [& |AddAttribute( 11, 53000, 1042, 1042, 1402 )( W+ t& W: n. r3 c' I
AddAttribute( 12, 53000, 1203, 1203, 1575 )
" l+ X- [8 {5 \% L. i, YAddAttribute( 13, 53000, 1379, 1379, 1763 )
. P' F( r+ e3 DAddAttribute( 14, 53000, 1568, 1568, 1966 )+ d+ y6 g6 [" b. x& o! H
AddAttribute( 15, 53000, 1772, 1772, 2184 )
, H" ^2 {, N7 ~1 M% ?' W9 X$ NAddAttribute( 16, 53000, 1989, 1989, 2417 )3 P, X; k) P2 T* } L
AddAttribute( 17, 53000, 2221, 2221, 2665 )
/ B, o, n2 s. r# U+ SAddAttribute( 18, 53000, 2467, 2467, 2998 )
* V+ P, |8 ^0 ^ LAddAttribute( 19, 53000, 2726, 2726, 3207 )
. B$ U" |7 `/ q1 O: G) LAddAttribute( 20, 53000, 3000, 3000, 3500 )
8 p0 a* w) K8 \" l" _
' t+ a( F# g% o# q8 E, M3 e----------------------------------------------------------
2 Q0 R, D# H6 y7 T% e9 @3 E8 a+ T----------------------------------------------------------6 R# z8 f2 \ a" n, [7 {1 L
----------------------------------------------------------2 i0 A; ^8 ?! ?' @6 d
nItemTransyLowLevel = 500000/ L+ u: |4 v/ ]- s& ^
nItemTransyHighLevel = 2000000: y; L; N, ?/ V& m: }" h; j* a' g4 g
. j5 W v W2 {
----------------------------------------------------------5 M; d. l+ X% A7 i* e
--Kost黰e Kombination Chance------------------------------: v8 Z0 _3 v* f0 ?1 \ T3 X/ L
----------------------------------------------------------
% i6 n m7 y3 }/ ]; ~. T8 m8 n- I w0 w% I% i+ P
nFashionCombineChance = 2500 -- 25%
. r6 i' F( X1 G# D4 ?: G: w# d
8 C1 p7 T0 Y9 N0 O& {" J' B3 C" Q |
|