|
|
ItemUpgrade.lua
! J W6 K$ I2 U& ^, _& r----------------------------------------------------------
0 N4 ]9 `6 ?* P" [--Sockel Chance-------------------------------------------
+ @9 k3 J9 K n, A----------------------------------------------------------! c- U5 F4 R2 x9 M
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)' D6 p* T; |$ l2 X, x
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
. S$ S: y. m. ~7 B2 } h8 q' U, ~1 @
/ T' W/ [7 i+ a; Z, A, V7 |
----------------------------------------------------------
$ d( C: K; s# }5 p8 x* z' L4 q--Upgrade Chance------------------------------------------
$ }$ h5 T W G! L$ s* ^3 S----------------------------------------------------------
$ ]9 E$ S; o% r, E; A0 gtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
& A6 L9 Q! y. [* r- f
2 J2 K% N. D& _3 Q+ v# q----------------------------------------------------------: Z% G, K% {: N, Z8 o1 W( a
--Upgrade Chance------------------------------------------
$ W3 t0 u0 H5 @; ]$ Y$ v( P! h/ s----------------------------------------------------------- ?8 l* ^# c# F
tAttribute = {}
' B( s* n! p( d+ z! w! O \& m( zfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )" I) F) T- R! Q' ]7 e
tAttribute[nNum] = {}& h3 f7 V6 q( [# ~- Q: m3 [5 y
tAttribute[nNum].nProb = nProb
0 C/ |) e2 W# Q; O1 y/ R* A$ r tAttribute[nNum].nDamageRate = nDamageRate8 W/ W: d1 v. A" B
tAttribute[nNum].nDefenseRate = nDefenseRate
' p! m$ D; s3 H* z tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate. C8 X& A# @( n* o, J1 _/ I
end7 J3 U& K+ e# X/ x+ C+ d9 s3 m
--
8 _ x! O% w6 f; i5 WAddAttribute( 1, 100000, 200, 200, 500 )
- e$ q) {; C1 V/ y% R k2 d8 U9 h* ?AddAttribute( 2, 100000, 221, 221, 522 )7 d7 t, k+ \% ]4 \
AddAttribute( 3, 92000, 256, 256, 560 ); J# x7 C4 H( R* O( g1 X
AddAttribute( 4, 70000, 305, 305, 612 )
5 v# J G9 q. F- k! ?AddAttribute( 5, 53000, 368, 368, 680 )
2 i; j# W# X# m& yAddAttribute( 6, 53000, 446, 446, 763 ); g5 |) A, E2 Q
AddAttribute( 7, 53000, 537, 537, 860 )
% g% x% B4 ^: I& v! v8 _AddAttribute( 8, 53000, 642, 642, 973 )5 @- p0 {! Z: F7 a3 k
AddAttribute( 9, 53000, 761, 761, 1101 )
3 X4 J \8 f( O# I! kAddAttribute( 10, 53000, 895, 895, 1244 )3 k9 ^% `! ?- { B/ G P1 a
AddAttribute( 11, 53000, 1042, 1042, 1402 ) C1 Q8 K* v- X5 U& S' Z
AddAttribute( 12, 53000, 1203, 1203, 1575 )
' M9 X5 I2 B& L1 {8 k KAddAttribute( 13, 53000, 1379, 1379, 1763 )0 k" @& |! k @+ q# {- b* M
AddAttribute( 14, 53000, 1568, 1568, 1966 )' R$ i+ Q% K4 u8 f/ p* k7 `
AddAttribute( 15, 53000, 1772, 1772, 2184 )) ]8 \+ P- Y2 c9 C$ z
AddAttribute( 16, 53000, 1989, 1989, 2417 )
+ W( y2 f. V0 n( ]7 kAddAttribute( 17, 53000, 2221, 2221, 2665 )/ G b8 p; Z% i; m3 ^3 Q# k
AddAttribute( 18, 53000, 2467, 2467, 2998 )$ @; m. a+ U3 x) S- W
AddAttribute( 19, 53000, 2726, 2726, 3207 )! `0 m& S7 c: O J# d1 N) ?
AddAttribute( 20, 53000, 3000, 3000, 3500 )
8 f; b4 p3 b" O: G3 @$ ]- h" h# ^* ]# T& Z" c, @2 y! d
----------------------------------------------------------
) t6 l" u Z* `1 |( s----------------------------------------------------------
) ?* T! B, \, z k, R----------------------------------------------------------
- Y1 v& B0 y2 i. X6 jnItemTransyLowLevel = 500000: V+ j# N$ ?) B" z e$ }0 ?
nItemTransyHighLevel = 20000004 @4 A6 A. v/ h0 I
/ p9 \, }$ Q" C B( V L
----------------------------------------------------------
" y; |+ x. J( B7 \. K' U--Kost黰e Kombination Chance------------------------------
B$ M1 o! G2 O----------------------------------------------------------
+ p* r, e5 O; f' [8 y3 @
: ? d+ M9 x+ _0 T/ e( x9 O" M% `nFashionCombineChance = 2500 -- 25%
; ^! V5 _& z3 a6 {' Z2 U2 ?* ~: m2 ?: q$ ?) v" [6 o) A
|
|