|
|
ItemUpgrade.lua% ?# Q. n8 V# _" D
----------------------------------------------------------8 p; q2 V2 F D6 P3 H8 C" c* v; O9 D
--Sockel Chance-------------------------------------------2 U8 W! O8 C7 u- O% {
----------------------------------------------------------
; n9 m% k r9 |$ \+ B C# EtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
4 y* z0 U7 S. M& Y9 g1 qtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
" Q2 t$ b5 c; o9 u2 g# x! j: v" V3 b: D4 t( ]" U6 K j7 H7 w0 e
4 y& H H6 k% P+ t( H# o----------------------------------------------------------
* y! C: _2 a& e/ H--Upgrade Chance------------------------------------------
9 t/ G: \% w6 @----------------------------------------------------------" m4 Y+ u$ _5 v/ t% f: ^* e
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)+ T* m+ X [9 V0 N1 L1 E
) T- r i& l- {. `& u8 K----------------------------------------------------------
, v6 j' y7 \2 m) A1 }& f--Upgrade Chance------------------------------------------* r) H0 L4 `" u" V. {0 M/ `
----------------------------------------------------------
8 z" T7 J" i$ q+ c$ F" ~0 wtAttribute = {}* {& s% h- e, p4 \7 e) k
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )! R$ b1 e! _3 |- I# t
tAttribute[nNum] = {}1 [: h9 U) m; v$ ?# f
tAttribute[nNum].nProb = nProb7 s; R' a4 D9 J# F$ Y7 S
tAttribute[nNum].nDamageRate = nDamageRate
U, d+ L! X2 |$ Q1 k1 e3 u: w tAttribute[nNum].nDefenseRate = nDefenseRate0 r3 O& u" q) t' o( m0 d3 B
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
$ d3 q/ M! W4 Y/ c2 G' mend
7 b' I: w4 j+ a V, s! ]-- 2 R1 b4 ?4 i, A. l
AddAttribute( 1, 100000, 200, 200, 500 ); N* b5 B0 G' m9 ?* z$ y
AddAttribute( 2, 100000, 221, 221, 522 )
1 Q& X3 T O' c0 q: RAddAttribute( 3, 92000, 256, 256, 560 )& b/ A7 b# v9 s" h/ c2 O: O
AddAttribute( 4, 70000, 305, 305, 612 )+ `7 _ i# a/ }: \3 ^
AddAttribute( 5, 53000, 368, 368, 680 )+ X4 a( o0 o+ K) o: Y
AddAttribute( 6, 53000, 446, 446, 763 )
3 ]: D2 B- Q( T/ pAddAttribute( 7, 53000, 537, 537, 860 )- a9 n- e! H+ z% e9 R
AddAttribute( 8, 53000, 642, 642, 973 )/ @) P. e3 m" {" h( S' h; ~
AddAttribute( 9, 53000, 761, 761, 1101 )! s3 \9 F2 x- x' R2 {, ?
AddAttribute( 10, 53000, 895, 895, 1244 )
4 ]+ |& @9 ?5 NAddAttribute( 11, 53000, 1042, 1042, 1402 )$ k( E! i. B1 J) l! O8 T: ~/ M6 }
AddAttribute( 12, 53000, 1203, 1203, 1575 )- h( _8 R2 X) r7 h" n
AddAttribute( 13, 53000, 1379, 1379, 1763 )
) i1 P/ c6 G! f- ~, k$ G) i3 m! rAddAttribute( 14, 53000, 1568, 1568, 1966 )5 G) i9 ?% ?* E+ Z4 E- e! u: P
AddAttribute( 15, 53000, 1772, 1772, 2184 )# L) z* g2 U3 z. o; n9 z& ~
AddAttribute( 16, 53000, 1989, 1989, 2417 )$ |3 A/ F, [8 K( o/ u/ A& n
AddAttribute( 17, 53000, 2221, 2221, 2665 )
2 }; H$ J& R7 v' c2 I+ c3 p0 qAddAttribute( 18, 53000, 2467, 2467, 2998 )
$ ^' A) ?" N; v1 C' b, c# {AddAttribute( 19, 53000, 2726, 2726, 3207 )- n# \& L5 S( q
AddAttribute( 20, 53000, 3000, 3000, 3500 )" G9 R; L0 o& V4 w* a
, ^7 ^9 h. B l. Q
----------------------------------------------------------
: A: b$ c, e6 z9 w2 f1 j----------------------------------------------------------2 B+ S+ d, W1 R) q6 w
----------------------------------------------------------# ` G- M1 F7 o- B
nItemTransyLowLevel = 500000) i0 V8 s) p) w2 G5 M
nItemTransyHighLevel = 2000000
4 K2 i) w6 b7 P, |) D' u+ x4 q2 X0 j9 W
----------------------------------------------------------' S! P9 p9 P& w8 w) H) d; g, J3 K: ]
--Kost黰e Kombination Chance------------------------------! [& f' n& X% V, M
----------------------------------------------------------* ]9 Q( Z' ?, ^. z; G( c0 Z
# Q9 F& m0 X0 w! U; f' b; M( ynFashionCombineChance = 2500 -- 25%
- u# {$ G. K" S8 [, v. l8 F" _
$ w" @! W( l+ f. j4 X |
|