|
ItemUpgrade.lua
6 S- B a( h8 v F- i3 J; m----------------------------------------------------------
5 Z2 Z7 @" b9 U ^--Sockel Chance-------------------------------------------
- N! m, X4 e- s; c3 j- B( C, ]----------------------------------------------------------
! }! l U4 B; ItSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊) Q. H9 R g" u4 f# r: p
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }' @1 g* k! d5 {9 _& E- L
0 A5 t3 j2 @- d2 s6 l+ v0 ~
1 N2 P# p; l. Y) f% k----------------------------------------------------------- X; r: B/ ?6 b! S4 c# Y, Z! K
--Upgrade Chance------------------------------------------5 }! K, Y( C$ l( G, Y
----------------------------------------------------------5 Q; R" F, ~- ^2 l
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)* j5 M9 k u3 M+ Y" r
5 `% _" K' B6 j, H: V* |
----------------------------------------------------------$ G ]5 w- q% Y: z' B
--Upgrade Chance------------------------------------------6 s, S1 a4 Z/ `
----------------------------------------------------------* ~* p" `/ f' G( C- J: N |- V
tAttribute = {}
5 l" V N. ?2 t8 lfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate ); K$ K/ q8 t4 g' [. J8 t
tAttribute[nNum] = {}% s- _) ^& D8 n6 x
tAttribute[nNum].nProb = nProb4 S/ z# ^5 L* y1 K2 `) D. {
tAttribute[nNum].nDamageRate = nDamageRate: k- F1 J+ a" O+ k
tAttribute[nNum].nDefenseRate = nDefenseRate
. m8 l4 S1 e% r. c; h tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
9 m0 J8 Y. C7 D# P) g9 ?5 Hend
; ~9 d6 b# r) i2 ?5 I5 w% L4 Y! @/ V--
8 @+ g" k/ Y2 V7 J! Z6 f# c- qAddAttribute( 1, 100000, 200, 200, 500 )2 p6 N& y7 K7 ?$ L& [4 T' ^) i; \
AddAttribute( 2, 100000, 221, 221, 522 )5 J( |/ N) K/ _" Q5 Z
AddAttribute( 3, 92000, 256, 256, 560 )4 R9 ?$ z! x: S, M q, e! z
AddAttribute( 4, 70000, 305, 305, 612 )
( X5 Q2 o3 l+ X5 BAddAttribute( 5, 53000, 368, 368, 680 )( ]6 r t! b' K2 W, l
AddAttribute( 6, 53000, 446, 446, 763 )* {. w9 Z( b; g9 m2 F9 R
AddAttribute( 7, 53000, 537, 537, 860 )4 U+ M' F0 e7 a" g
AddAttribute( 8, 53000, 642, 642, 973 )" J1 p- |! @( j; F( {
AddAttribute( 9, 53000, 761, 761, 1101 )1 p2 e1 X* ]8 G* L9 H" s
AddAttribute( 10, 53000, 895, 895, 1244 )
; q/ r+ o! U) r2 Q( vAddAttribute( 11, 53000, 1042, 1042, 1402 )' B9 f- f, b) n
AddAttribute( 12, 53000, 1203, 1203, 1575 )0 M: ^8 A( i2 ? D
AddAttribute( 13, 53000, 1379, 1379, 1763 )
9 n) W# {3 ]& R+ JAddAttribute( 14, 53000, 1568, 1568, 1966 )
" B7 p s. `1 J4 u+ E. EAddAttribute( 15, 53000, 1772, 1772, 2184 )
- O5 [2 ] h6 \" a- k7 c& dAddAttribute( 16, 53000, 1989, 1989, 2417 )6 G# W I, a; z9 w" Y. a7 `2 g5 m
AddAttribute( 17, 53000, 2221, 2221, 2665 )
- \) X0 P3 W$ S' f7 @AddAttribute( 18, 53000, 2467, 2467, 2998 )
, v: K- d. o8 h- \! A6 u9 [8 B) yAddAttribute( 19, 53000, 2726, 2726, 3207 )4 H# P) Y1 ?+ j0 T9 D1 v0 h
AddAttribute( 20, 53000, 3000, 3000, 3500 )
" q! i* Y8 a. R% ^+ j" P
# r+ j R, w6 a3 c----------------------------------------------------------( w0 ]) c. o8 j: b$ w6 Q2 Y) f' {1 S7 I
----------------------------------------------------------9 z; E8 t! w% \' S* E- W
----------------------------------------------------------
4 h' t7 O- Y, X: j4 {9 DnItemTransyLowLevel = 500000* |+ ], E! t5 F- ^! t4 j3 g
nItemTransyHighLevel = 2000000, c/ i g0 H" U5 `( B1 @
9 F2 s5 t" } V----------------------------------------------------------
7 i% K3 G b4 A1 A# C0 v1 ~--Kost黰e Kombination Chance------------------------------1 f; d& c( i% @+ ?6 h& \/ o' G( Z
----------------------------------------------------------7 z! G" a$ [& ~1 [2 s
+ i2 q6 A" A! P# UnFashionCombineChance = 2500 -- 25%
' L. a. y* I) P% d. S) G: q0 N6 p! @# w/ n; j& z5 T
|
|