|
|
ItemUpgrade.lua
0 E- X, }/ N/ q) V% z----------------------------------------------------------
' p: b; D9 n) a9 o--Sockel Chance-------------------------------------------
. [- ^* n. S; I# ^/ ?----------------------------------------------------------
: U. }% e/ R2 ftSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
- `# s/ [/ w/ o6 G' I l; JtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
5 L8 r- R' n( L, i4 K- F' z: ~5 z. L
4 f" Q1 k6 l7 F0 p3 P9 x
----------------------------------------------------------: `* s c( e) v. F* F, Y
--Upgrade Chance------------------------------------------* x4 a0 [& |+ R8 F- B' m
----------------------------------------------------------" X" W5 `7 e1 D2 o
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
8 ]6 W* u$ s) `8 W# Z. ~. _ _8 ?
% D/ s0 K) u% @+ Q% m----------------------------------------------------------1 p1 K; ^ z: D- @
--Upgrade Chance------------------------------------------) Z. N3 N: D9 X! q# h1 Z. C4 y
----------------------------------------------------------
0 Y) `' l% w$ T- d, @: btAttribute = {}5 k6 F5 \ f o3 c
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
1 B8 z- V$ m. @ Q) s% p tAttribute[nNum] = {}, m2 A8 V5 T; h! U/ \# o2 ]
tAttribute[nNum].nProb = nProb
, ]. n* o; K) g tAttribute[nNum].nDamageRate = nDamageRate1 E( r/ p/ |. k6 a2 _
tAttribute[nNum].nDefenseRate = nDefenseRate
* [% m- ^% k9 g+ [ tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
5 Y8 p" M5 G3 [7 wend
, R* ^& C9 s+ B7 L--
2 b: K: \, U" _' g% e ^& \AddAttribute( 1, 100000, 200, 200, 500 )
3 _6 `- M. k$ G- j L d' yAddAttribute( 2, 100000, 221, 221, 522 )/ W; r4 |& j# \9 ]7 g) f+ \
AddAttribute( 3, 92000, 256, 256, 560 )
" s' j# H1 H% A D; R; k xAddAttribute( 4, 70000, 305, 305, 612 )
3 V0 f6 o! O7 E4 v) J, QAddAttribute( 5, 53000, 368, 368, 680 )8 F* {6 B! {. a [; e7 K
AddAttribute( 6, 53000, 446, 446, 763 )
, j# t1 W. x+ {0 f5 ]4 \% nAddAttribute( 7, 53000, 537, 537, 860 )
# ]% w6 T. Y' }- bAddAttribute( 8, 53000, 642, 642, 973 )
5 B7 h, W# x; SAddAttribute( 9, 53000, 761, 761, 1101 )
; h" k% O$ E9 p3 q4 D0 WAddAttribute( 10, 53000, 895, 895, 1244 )
( O! Y6 H X7 D0 f" xAddAttribute( 11, 53000, 1042, 1042, 1402 )
4 `# _3 k* _+ a" w# IAddAttribute( 12, 53000, 1203, 1203, 1575 )
9 D2 [. A$ k6 ]AddAttribute( 13, 53000, 1379, 1379, 1763 )
! ^ l+ w) p7 N# b- K3 |+ w' vAddAttribute( 14, 53000, 1568, 1568, 1966 )9 l6 j0 u, x# |) t
AddAttribute( 15, 53000, 1772, 1772, 2184 )
" m3 F& ~ I3 ~9 m! L* L( WAddAttribute( 16, 53000, 1989, 1989, 2417 ): I' x6 o" u0 x7 F
AddAttribute( 17, 53000, 2221, 2221, 2665 )
1 W$ a, d0 C8 v) n6 N5 p+ j$ j% ^AddAttribute( 18, 53000, 2467, 2467, 2998 )5 z: L% Q$ j. v9 s$ l$ [
AddAttribute( 19, 53000, 2726, 2726, 3207 )# p5 ?; c* F( S' |- `5 H
AddAttribute( 20, 53000, 3000, 3000, 3500 )
3 t, N6 r( _' |" v& I6 N. ?* T5 O( v; E A2 L# J$ L* M0 m9 ]
----------------------------------------------------------
* i3 D1 S+ x6 _& i. p' l+ o----------------------------------------------------------
, S3 q- F2 I( Y6 G5 Y G8 F----------------------------------------------------------
( S8 u0 g8 C9 F* ^) x& JnItemTransyLowLevel = 500000
' @, k& ~0 e/ ?0 B8 z8 q% j; p1 _nItemTransyHighLevel = 2000000
' V5 F5 ]+ l t' t% L; v% C/ Q7 Y }+ f$ g: v: [
----------------------------------------------------------6 i$ p+ t8 W! g
--Kost黰e Kombination Chance------------------------------
2 Z1 C% j3 h1 @; h0 U----------------------------------------------------------, }; w; o' B, n2 c
- w/ d9 ?. b1 I. } a. O( n
nFashionCombineChance = 2500 -- 25%
. d1 I) O% ]( g. X# E% \" c3 m4 m( J- W y3 g
|
|