|
|
ItemUpgrade.lua; k' v% U% E5 t) s
----------------------------------------------------------$ _' L& V$ b3 w+ S% u7 V" H" M
--Sockel Chance-------------------------------------------
; m9 d6 Y. T& ~----------------------------------------------------------6 K/ M* t h1 b1 }
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
2 Z; n4 [; \5 `7 L' [/ L: WtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
( h' g& q+ F1 F- d5 F
T! l$ \- W" f" T/ F' W# f+ h# {& H* @4 s7 K; M) J+ B
----------------------------------------------------------
, U. L8 t2 O& t8 ~! @0 D* D--Upgrade Chance------------------------------------------9 a; O K3 y% n, H0 t2 J
----------------------------------------------------------
# K1 n2 G( y% u& rtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)8 L4 G# N* o" N' m- f, J
' X2 n" @1 n5 s4 A3 M7 z0 `5 ]2 N
----------------------------------------------------------. p6 _8 a- `. m% c
--Upgrade Chance------------------------------------------
8 V, P! F* D0 x+ r) H8 d7 f& b) a----------------------------------------------------------5 E) r. J P2 D4 p
tAttribute = {}
: a4 h% ~1 Q8 G) G Hfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
: i e. ?. \4 r" q, s$ B tAttribute[nNum] = {}
" a, s7 {9 G3 ~, F2 j& ~) N+ R1 C$ C tAttribute[nNum].nProb = nProb
- b' E- f* M5 d4 S tAttribute[nNum].nDamageRate = nDamageRate
* M& m% l) ~, N6 s, J2 Y tAttribute[nNum].nDefenseRate = nDefenseRate
/ B4 }8 h9 M* m) q1 y0 O tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate. K0 a- S1 P3 _- P. v
end& j* T. F, N) U; f! X
-- 3 } h* B3 [; e. o* k( a; J
AddAttribute( 1, 100000, 200, 200, 500 )
0 ]0 \7 ^/ Y( O" r4 ?7 R! cAddAttribute( 2, 100000, 221, 221, 522 ); a! B1 l! t8 ^/ E+ o4 f7 Q
AddAttribute( 3, 92000, 256, 256, 560 )
3 G' e5 _7 X: \. z, Z7 k3 ~+ Q& w9 w0 ZAddAttribute( 4, 70000, 305, 305, 612 )+ ~+ I- Z& i( F6 o8 H2 g( X* P
AddAttribute( 5, 53000, 368, 368, 680 )
. W% M3 N% F: e7 x! S4 ]+ hAddAttribute( 6, 53000, 446, 446, 763 )" g& b9 e: D# Y" h. \
AddAttribute( 7, 53000, 537, 537, 860 )
( W5 k0 [5 I/ N9 YAddAttribute( 8, 53000, 642, 642, 973 )( d5 k g6 K9 G
AddAttribute( 9, 53000, 761, 761, 1101 )+ u/ w% U4 a, Z2 |
AddAttribute( 10, 53000, 895, 895, 1244 )
2 [' `) S4 P; d3 BAddAttribute( 11, 53000, 1042, 1042, 1402 )
6 Z/ f5 O9 Y7 {) o) tAddAttribute( 12, 53000, 1203, 1203, 1575 )- e! K. x) [0 I- D
AddAttribute( 13, 53000, 1379, 1379, 1763 )
$ o7 i$ [ K! b3 Q3 l, R* YAddAttribute( 14, 53000, 1568, 1568, 1966 )
' L8 `( z# f! M' e4 ZAddAttribute( 15, 53000, 1772, 1772, 2184 )
$ q2 K, m5 h: U. @7 q2 ?AddAttribute( 16, 53000, 1989, 1989, 2417 )6 A5 \9 E( v" w
AddAttribute( 17, 53000, 2221, 2221, 2665 )" ^" F) q1 N; K6 \2 I z9 a: d
AddAttribute( 18, 53000, 2467, 2467, 2998 ): h! y$ h' f; I/ w
AddAttribute( 19, 53000, 2726, 2726, 3207 )
: H- i/ s- h* y! NAddAttribute( 20, 53000, 3000, 3000, 3500 )3 A" |- H3 ?! R" A
# o2 t4 B/ a1 d7 [1 g
----------------------------------------------------------. U9 @$ H. L. Q, W- l; [" D& K
----------------------------------------------------------
' ^1 k; s0 @! {1 n( _$ ~----------------------------------------------------------
9 t: u* j5 t, ~" u: M" d! Z- wnItemTransyLowLevel = 500000
3 H; d. I) P' n& [2 }nItemTransyHighLevel = 2000000
x. B! u7 X* D8 h" i8 n- t
, v1 f7 B4 I6 C# N% h3 {: N4 G----------------------------------------------------------6 }2 m, h, e j2 E9 J% ]
--Kost黰e Kombination Chance------------------------------
( R9 U% c2 x" d7 g----------------------------------------------------------
6 G* ~7 d; g4 x, V, H# U. b, {& p2 }7 ], u9 P) a1 A1 V
nFashionCombineChance = 2500 -- 25%
1 u+ Q5 U0 V, a. @7 ]& R8 g- ?8 {9 R1 \
|
|