|
|
ItemUpgrade.lua
4 q; [2 P) q. G+ r/ p4 t: m& J- n----------------------------------------------------------
7 E0 M, o# a8 C( T' _--Sockel Chance-------------------------------------------
2 a1 }" X$ m& A4 P----------------------------------------------------------
/ l! u8 Z1 Y" F" |tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)7 g6 p6 l) J7 N2 l) k1 c' ~
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
4 k& x- R0 M3 U* w! ~# b* E9 S
5 a4 k7 z0 n) s" a f \# Y( s4 \: h3 A% v9 X" Y2 l
----------------------------------------------------------4 T. t: q( Q5 D8 e
--Upgrade Chance------------------------------------------
" `' Y; r# J9 P* l----------------------------------------------------------
7 t* V) h0 u- F3 o3 CtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)" p3 ^, h$ ^. O2 @
% ^% L- u8 o, r9 Z2 R----------------------------------------------------------
3 f& w) K: ?& H8 j, J--Upgrade Chance------------------------------------------/ @- Q+ j& j. h; [7 f' ? l7 z2 ^
----------------------------------------------------------
% A: x8 M$ {1 u% M* DtAttribute = {}
/ b! N" \ _+ N: k* {# afunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
" @" y1 K1 `; V& G! t9 ~ tAttribute[nNum] = {}
; L/ m9 P: d. i; H5 H5 E# @ tAttribute[nNum].nProb = nProb
: r8 i- k4 {, S* Q+ h1 C) e tAttribute[nNum].nDamageRate = nDamageRate
, `8 N% L" d2 C tAttribute[nNum].nDefenseRate = nDefenseRate
2 L0 |+ Y+ g& z8 V5 b tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate1 q. }- |- N& L) h
end
. T8 O4 n( J. I-- 5 t. j/ J* l4 v3 f
AddAttribute( 1, 100000, 200, 200, 500 )
9 `) E3 d) I# y* C- ]4 jAddAttribute( 2, 100000, 221, 221, 522 )
% ^: a: j) h# G: z. y7 `. @AddAttribute( 3, 92000, 256, 256, 560 )
/ F& i- o. H Q7 {AddAttribute( 4, 70000, 305, 305, 612 )* b& q, R5 G$ _6 X# @+ r$ A
AddAttribute( 5, 53000, 368, 368, 680 )- p' X4 [, W+ M. t
AddAttribute( 6, 53000, 446, 446, 763 )8 a/ g0 [. y. e
AddAttribute( 7, 53000, 537, 537, 860 )
' K- O! A1 t4 A! ~. aAddAttribute( 8, 53000, 642, 642, 973 )
8 e* d) |& h% d! i; AAddAttribute( 9, 53000, 761, 761, 1101 )
/ w* u O. ]! W3 \+ OAddAttribute( 10, 53000, 895, 895, 1244 )- @! r. S7 {+ ~" m/ d8 {# _) j
AddAttribute( 11, 53000, 1042, 1042, 1402 )* H! A6 C. r b
AddAttribute( 12, 53000, 1203, 1203, 1575 )$ d& B3 l8 T" `$ J* a4 B/ H
AddAttribute( 13, 53000, 1379, 1379, 1763 )
$ V7 G, Y6 [9 C/ EAddAttribute( 14, 53000, 1568, 1568, 1966 )
6 k% O$ B6 _$ G1 pAddAttribute( 15, 53000, 1772, 1772, 2184 )
5 ]- O& J6 \4 D; v$ t' MAddAttribute( 16, 53000, 1989, 1989, 2417 )
1 M& g3 a8 b; u0 X( D; }AddAttribute( 17, 53000, 2221, 2221, 2665 )/ ^# _! K* l" D! z1 ^, P# ^1 Y. H
AddAttribute( 18, 53000, 2467, 2467, 2998 )
+ E* K+ j9 F0 e0 J' ^. ^AddAttribute( 19, 53000, 2726, 2726, 3207 )
" P# C$ s c9 J: mAddAttribute( 20, 53000, 3000, 3000, 3500 )# Q# z* z# }9 l9 X0 [% G
0 A" O' L3 {* r
----------------------------------------------------------: a! ~9 N) H5 Q9 c
----------------------------------------------------------# C5 h" @1 ]5 d4 G6 T, J
----------------------------------------------------------4 d9 n/ W( D! r4 B
nItemTransyLowLevel = 5000001 `% L* H, m9 k3 g6 Q
nItemTransyHighLevel = 2000000% F: B5 D0 j3 l, q1 C* n* t7 A! z, v
) ^) y5 D7 g/ i; m& o----------------------------------------------------------$ I% A# ?, R a' R& o' u" Y3 f
--Kost黰e Kombination Chance------------------------------
0 Y- [/ X6 q( m4 h$ \. E1 @----------------------------------------------------------7 D6 f( E/ c% S9 d$ g- l
3 y; o9 {- ~( s
nFashionCombineChance = 2500 -- 25%- v3 D& G u! a& u1 e2 a% t1 L
0 P' Q! r, D- ]2 H# d |
|