|
|
ItemUpgrade.lua
' _ v0 A: X. I+ j/ }---------------------------------------------------------- t m2 l0 l! |. t- i0 W! w' H
--Sockel Chance-------------------------------------------
2 |; O2 c( W1 ^7 c; {; x+ i----------------------------------------------------------
8 ~( b# B: o" |. C: o% f7 i5 ytSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)* }: {+ C4 y" x+ E) h+ Z
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
! L H4 l/ @ P4 V! T4 w$ J- {# e" C
3 `. [. s. K+ y1 {----------------------------------------------------------% T8 h- P+ c, Z0 P3 H- k, Z
--Upgrade Chance------------------------------------------" x' c) ?% ] E4 D$ T7 Z
----------------------------------------------------------
0 @, {% g% x% _ W' u4 gtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
# g1 Y; K; Z( }8 r( L- u; F4 U9 _( O1 C9 n
----------------------------------------------------------2 n- w7 ?6 K+ S& }0 l" ^3 S% F+ D
--Upgrade Chance------------------------------------------' ^4 K J- g5 j! \# s6 A/ m
----------------------------------------------------------
% Q# |& i/ T+ p8 m$ rtAttribute = {}
# o5 O+ Z6 K+ I3 P6 j j9 Zfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
1 D( W0 ~$ L7 p/ M6 k3 d9 G. ` tAttribute[nNum] = {}9 `9 [4 W, ?! A* E/ D
tAttribute[nNum].nProb = nProb: v w2 Z1 h/ l; v
tAttribute[nNum].nDamageRate = nDamageRate# T( W5 t( V" |4 D3 L
tAttribute[nNum].nDefenseRate = nDefenseRate
% q" R( I( l+ e2 ^! h' [ tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate3 C7 i5 r4 n5 a
end
: n/ J4 Q) B8 _1 g4 @--
9 e B Q1 \- ?AddAttribute( 1, 100000, 200, 200, 500 )* V; |9 Z$ e( ?5 I" W2 i
AddAttribute( 2, 100000, 221, 221, 522 ); h8 Y+ R: m! G! H
AddAttribute( 3, 92000, 256, 256, 560 )
8 a$ e9 p. E7 }5 Y- l5 p% }AddAttribute( 4, 70000, 305, 305, 612 )/ O- T# B% N6 f: E; N/ V6 ?7 A
AddAttribute( 5, 53000, 368, 368, 680 )
6 [+ V! |8 }: R! F! W9 \3 R+ tAddAttribute( 6, 53000, 446, 446, 763 )
* i8 p/ d* k1 ?! ~4 }AddAttribute( 7, 53000, 537, 537, 860 )
" \% F+ f) m3 F; U+ y$ cAddAttribute( 8, 53000, 642, 642, 973 )
, S! [) k+ U# h) Z- oAddAttribute( 9, 53000, 761, 761, 1101 )
$ [3 m! B: i2 @5 Z) HAddAttribute( 10, 53000, 895, 895, 1244 )$ t& a1 Q7 S/ v, Y) i/ v( q
AddAttribute( 11, 53000, 1042, 1042, 1402 )* Q N% o* X3 f
AddAttribute( 12, 53000, 1203, 1203, 1575 )
3 F- e6 j; D4 r3 r0 e. e1 [7 iAddAttribute( 13, 53000, 1379, 1379, 1763 )
6 m8 r5 h" ?" X& }! P& K6 P) SAddAttribute( 14, 53000, 1568, 1568, 1966 )
, f6 @/ Q2 B- I+ z* o2 N1 ]+ k' e9 yAddAttribute( 15, 53000, 1772, 1772, 2184 )
+ s* S+ S, D1 P+ h* N/ iAddAttribute( 16, 53000, 1989, 1989, 2417 )
+ P0 _. l3 w' L% ZAddAttribute( 17, 53000, 2221, 2221, 2665 )
, Y6 B: |. F# H, w4 `7 l7 l. xAddAttribute( 18, 53000, 2467, 2467, 2998 )
/ {$ o! ^+ P: o* a2 W# I) `AddAttribute( 19, 53000, 2726, 2726, 3207 )
4 e9 ~* p% s. [+ ?AddAttribute( 20, 53000, 3000, 3000, 3500 )
1 m& O8 o+ b4 ?5 x& Y% N3 d! c2 Z' t9 Z: K
----------------------------------------------------------6 N+ a/ x# A/ _. V
----------------------------------------------------------$ a3 c: x% d% i
----------------------------------------------------------
, e% _% A1 U) nnItemTransyLowLevel = 500000
" j' O$ [1 ^: nnItemTransyHighLevel = 2000000% j4 Y9 K1 H- b+ @; f% q. d1 n
/ }" d L! `* d C+ L" }6 h1 ] O* L----------------------------------------------------------
. [6 C# l' b$ Z9 _6 A" `--Kost黰e Kombination Chance------------------------------5 G( }, n `: d q
----------------------------------------------------------
, F6 X2 c( z5 _: H0 B' e7 t# w9 \5 @; ^# Z$ b6 F6 t
nFashionCombineChance = 2500 -- 25%. A1 x. @. p ~) _0 V
5 v$ v; Q1 D$ v8 J4 J
|
|