|
|
ItemUpgrade.lua
" r6 p- v7 }( E; p----------------------------------------------------------+ j4 y5 y! M) u4 q
--Sockel Chance-------------------------------------------# e3 P1 _9 x* k, M7 _& K. A
----------------------------------------------------------
# ^0 Z6 @9 a+ |tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
) q/ v* R( X j5 E' `- stWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }: Z8 L# X) g8 L8 Y$ u4 Y* Z: B
! @; @, e" y, z. E
4 G6 r, U" `: M, ]9 A% u% z----------------------------------------------------------: A( s1 h5 w+ }
--Upgrade Chance------------------------------------------; _$ G1 f9 K W2 R
----------------------------------------------------------2 ^1 d! l' j8 X8 g
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
6 c0 l5 u7 q2 k* U3 A$ C4 k' |: l) s
----------------------------------------------------------
! g% {% u- V& c$ w/ M# i--Upgrade Chance------------------------------------------; }: _/ h; L. K& S4 m8 Z
----------------------------------------------------------
$ o8 g: s; }# \) E4 ytAttribute = {}" r3 L9 R" i, @) ~
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )8 G( Z# \; _4 i. K1 L3 v5 ]: F, J. v
tAttribute[nNum] = {}
' r8 k- f" n: ?4 H7 [3 G1 h* W tAttribute[nNum].nProb = nProb
2 L/ g1 ]# c: \, {- [ ^ tAttribute[nNum].nDamageRate = nDamageRate
' I9 d& B* F k% k) z tAttribute[nNum].nDefenseRate = nDefenseRate
( J. n1 j9 g' a% _ y) U8 e tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate9 v( C# T. X5 o8 a, [0 g% C7 g
end, k7 Y& s/ O5 F- `% |
-- 5 T8 a K: ?+ e# f3 h- L
AddAttribute( 1, 100000, 200, 200, 500 )
8 E" X* I" h+ k/ I" d8 eAddAttribute( 2, 100000, 221, 221, 522 ), F: f7 Y E7 U6 M& l
AddAttribute( 3, 92000, 256, 256, 560 )- d2 I% F. Q/ p( R w; \ s- J+ q
AddAttribute( 4, 70000, 305, 305, 612 )4 q m2 k7 o# Q
AddAttribute( 5, 53000, 368, 368, 680 )- b3 X$ e# D+ z0 W6 f; o' b/ D2 g
AddAttribute( 6, 53000, 446, 446, 763 )
# r k9 w: H. i3 `3 ]/ mAddAttribute( 7, 53000, 537, 537, 860 )
, N% `, v- n+ H( X1 h! |AddAttribute( 8, 53000, 642, 642, 973 )' _! l! O% U$ J
AddAttribute( 9, 53000, 761, 761, 1101 )* G4 L+ j: I/ H9 u
AddAttribute( 10, 53000, 895, 895, 1244 )' z: X7 F5 U0 M" K) s! Y
AddAttribute( 11, 53000, 1042, 1042, 1402 )2 H+ y* p% R& b+ R; @
AddAttribute( 12, 53000, 1203, 1203, 1575 ): P& Y0 _1 E4 _' I+ o$ E& H8 D
AddAttribute( 13, 53000, 1379, 1379, 1763 ) a# K- {7 C' y: r
AddAttribute( 14, 53000, 1568, 1568, 1966 )
/ y4 X- {' H) W5 Y/ P6 b3 {AddAttribute( 15, 53000, 1772, 1772, 2184 )
6 a j7 ~/ V( c y- ^: Q# ~$ G/ e2 BAddAttribute( 16, 53000, 1989, 1989, 2417 )$ g/ T: W1 B* S0 i: B
AddAttribute( 17, 53000, 2221, 2221, 2665 )
* E4 G: V+ V: JAddAttribute( 18, 53000, 2467, 2467, 2998 )
. H1 N% k* `2 v+ z+ O6 lAddAttribute( 19, 53000, 2726, 2726, 3207 )
+ e. q) R" N6 y1 l% r6 SAddAttribute( 20, 53000, 3000, 3000, 3500 )/ o: T" c0 G7 `
2 g" v3 p$ l% c6 q+ O& M; O
----------------------------------------------------------9 d' p9 ^9 x1 l# R
----------------------------------------------------------# _8 O" ^: _% ]
----------------------------------------------------------
$ p3 G) d, _1 HnItemTransyLowLevel = 500000. A4 I7 ]1 T5 p, N W& n% M
nItemTransyHighLevel = 2000000
2 }& t- j* X- x% p6 F3 }
! o. |% @2 N2 Z----------------------------------------------------------
" T9 a9 |% [# \" Y--Kost黰e Kombination Chance------------------------------4 ~. p* u$ U- F0 `) p2 v
----------------------------------------------------------
' S1 q) q0 x+ D& n) d1 f& R
1 c: }4 ~' n/ S7 G. knFashionCombineChance = 2500 -- 25%
* N* O( ~# `! m1 ?- `- @1 x9 V4 X. p" ]+ [2 [
|
|