|
ItemUpgrade.lua: ]/ \4 y: t m5 p) C f# g
----------------------------------------------------------, W" G& M$ @- |7 {- y5 a
--Sockel Chance-------------------------------------------& v+ l6 {) B7 q+ X! W
----------------------------------------------------------
; D& t* W$ C% x8 D7 W: _& M, f1 gtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)8 X3 B$ V; H7 j2 [& A
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }2 y! T1 c7 I ^+ W6 X- B
F* D2 _& g6 {, V# C1 w
, _. l! I# T% q" R! ?- [
----------------------------------------------------------# `4 c& ^* p! _
--Upgrade Chance------------------------------------------
! e4 V. S# x" K: v----------------------------------------------------------/ k7 I7 m0 H* Z. @9 f; s
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
+ m4 H' |; G1 ?' r0 h, o0 v1 T4 M9 a$ r$ d! m* e
----------------------------------------------------------3 J/ f6 R4 l( P8 A9 ]
--Upgrade Chance------------------------------------------+ z( f; K K- H9 L; N
----------------------------------------------------------2 ?$ K/ q- e6 l3 X4 H/ F
tAttribute = {}& F: o8 \& m' |
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
/ Y3 P- l& W5 L% w" _, Q4 { tAttribute[nNum] = {}
' {' X6 G4 e7 R6 _% I7 S tAttribute[nNum].nProb = nProb
8 K0 c5 M2 u! D+ c% ` tAttribute[nNum].nDamageRate = nDamageRate
I1 u" |* ?; l7 |/ M* F4 ^ tAttribute[nNum].nDefenseRate = nDefenseRate9 M0 _6 J. B' X( |+ @* o; K& n' X0 [
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate" ~# y% u# ?+ t; ~
end
) ]8 L! a5 N$ K# h-- 0 {5 c: [3 `- R
AddAttribute( 1, 100000, 200, 200, 500 )
; l1 r6 j& r/ R# WAddAttribute( 2, 100000, 221, 221, 522 )8 C9 R$ {5 r2 s! f8 c! C
AddAttribute( 3, 92000, 256, 256, 560 )& l# m' \( g% l2 M4 M7 n
AddAttribute( 4, 70000, 305, 305, 612 )3 M q/ L0 b* _' D
AddAttribute( 5, 53000, 368, 368, 680 )
* {& ]3 P% [. C9 C/ ~1 I& RAddAttribute( 6, 53000, 446, 446, 763 )
/ n+ R' M9 H' K0 M8 WAddAttribute( 7, 53000, 537, 537, 860 )% v& k7 r1 [9 b; g" {
AddAttribute( 8, 53000, 642, 642, 973 )9 ?/ p$ `# Z0 ^- P- N
AddAttribute( 9, 53000, 761, 761, 1101 )
6 Y0 k+ T* ?, yAddAttribute( 10, 53000, 895, 895, 1244 )
, p! ]4 @" s7 XAddAttribute( 11, 53000, 1042, 1042, 1402 )
H$ l5 Q, f" u0 _: UAddAttribute( 12, 53000, 1203, 1203, 1575 )
5 \/ u- u* g7 j# ?- H* X4 xAddAttribute( 13, 53000, 1379, 1379, 1763 )
I# h: H, J, f" y& J& ]& o2 |AddAttribute( 14, 53000, 1568, 1568, 1966 ) x7 B' R: N. E. H% `" f) ]
AddAttribute( 15, 53000, 1772, 1772, 2184 )# J/ Y: V- \1 B7 g& T( f
AddAttribute( 16, 53000, 1989, 1989, 2417 )
8 }+ E( P! T7 zAddAttribute( 17, 53000, 2221, 2221, 2665 )
0 _ ~2 {7 R/ F: Y0 WAddAttribute( 18, 53000, 2467, 2467, 2998 )
' S; f$ A, d* q- IAddAttribute( 19, 53000, 2726, 2726, 3207 )
5 S' h" J! f5 U1 G) LAddAttribute( 20, 53000, 3000, 3000, 3500 )4 I/ w! H0 p% s, V
( X( c; w. h. ?/ [
----------------------------------------------------------8 s5 }8 T J/ A9 m
----------------------------------------------------------
% y7 y; N0 f+ l: C----------------------------------------------------------
( c. Z! Q. m4 `nItemTransyLowLevel = 5000005 s( G. Q! H% {1 e
nItemTransyHighLevel = 20000001 Y; ]4 c# X6 @" A1 L) F& k
; h; e4 w! ~8 p c, w- S# g* D( N----------------------------------------------------------* L4 t% {, a: j- c
--Kost黰e Kombination Chance------------------------------9 k$ r; b9 f) `9 }! j# k0 c
----------------------------------------------------------) R% I6 ~) t; L0 k( w7 E
, t: J U8 S- E/ R) q; S
nFashionCombineChance = 2500 -- 25%* l6 n3 p% z& W% A4 B* c6 y
& Y( |! m, d, P9 ]# `% c+ p( \$ i
|
|