|
|
ItemUpgrade.lua
' @2 ^0 [' U6 ?----------------------------------------------------------
8 K8 |9 e4 k2 w; e* q- E--Sockel Chance-------------------------------------------
# \, i( r3 k1 Z7 I7 f! c% m----------------------------------------------------------
1 Z3 a x1 V2 Q! c! Z: D2 _: otSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
- W" e) M& G- n5 e1 V! h! |tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }" [9 _8 n* u. h/ x
1 S+ O: {% C* N: Y5 i+ A
& S6 r: S5 ~' y* m6 r& `7 i* Y/ K
----------------------------------------------------------$ I$ i; \# F3 P; E. g
--Upgrade Chance------------------------------------------
( ?1 T- \. H6 P( H3 c# ~4 t----------------------------------------------------------
. F7 B j5 z- `" P. ~: k5 m9 KtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)1 v9 H% V" T% Z8 s' h2 j
) p. z1 \7 j+ o. e' y
----------------------------------------------------------
+ f" C$ k& q8 Z4 B' j--Upgrade Chance------------------------------------------+ [* m* A, h' o* `! c8 i4 |2 F
----------------------------------------------------------& n7 p5 u$ Q+ t: e! M6 V
tAttribute = {}; o' z0 w& |, m( ]
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate ); V/ w. ^& M( \1 F; p1 ?
tAttribute[nNum] = {}
- A3 o5 w+ d" Q( H5 v2 c tAttribute[nNum].nProb = nProb, \1 x2 O& S+ g' H0 R% o7 i7 b
tAttribute[nNum].nDamageRate = nDamageRate9 g) {3 B# [( F6 [
tAttribute[nNum].nDefenseRate = nDefenseRate
& _0 i! `" C% Q* S tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate: N% j3 W$ i3 j( V/ R4 _" V
end
2 h7 q" E# u! S8 Q& M* A+ L! V-- 3 U7 a7 t! k' ] r
AddAttribute( 1, 100000, 200, 200, 500 )
" e" ?$ ]' e3 Q/ KAddAttribute( 2, 100000, 221, 221, 522 )& t- j2 O1 A- W U, n
AddAttribute( 3, 92000, 256, 256, 560 )
6 u% K9 k2 O6 Z3 e, y7 r1 XAddAttribute( 4, 70000, 305, 305, 612 ); o C1 R& J# s3 a
AddAttribute( 5, 53000, 368, 368, 680 )3 [1 l9 I6 ^/ g. T8 n
AddAttribute( 6, 53000, 446, 446, 763 )
7 o" @8 e9 K1 L& O1 ~7 v3 f" {AddAttribute( 7, 53000, 537, 537, 860 )% C3 H _" m4 Y
AddAttribute( 8, 53000, 642, 642, 973 )
% M) f/ Z, X- N8 iAddAttribute( 9, 53000, 761, 761, 1101 )
% D, |, S; v# R" f0 AAddAttribute( 10, 53000, 895, 895, 1244 )
' g+ ~7 A4 T8 B" NAddAttribute( 11, 53000, 1042, 1042, 1402 )8 K4 H7 D3 V4 O: b- M+ m
AddAttribute( 12, 53000, 1203, 1203, 1575 )
" ~# y2 ^ G, Z. A' CAddAttribute( 13, 53000, 1379, 1379, 1763 )
& ]- Q7 B5 s# L5 @3 w' zAddAttribute( 14, 53000, 1568, 1568, 1966 )& E" b: b4 o4 _, ^' i2 l, f9 w
AddAttribute( 15, 53000, 1772, 1772, 2184 )
, }" ^# _5 F1 N8 |; tAddAttribute( 16, 53000, 1989, 1989, 2417 )
( f7 `* J! p- P1 I$ aAddAttribute( 17, 53000, 2221, 2221, 2665 )9 Y% D+ S6 |3 e" c7 h( v
AddAttribute( 18, 53000, 2467, 2467, 2998 )
1 p9 r/ w5 t' {& ^1 I4 {4 @% u7 |AddAttribute( 19, 53000, 2726, 2726, 3207 )6 J l* Z% ^, `6 P: }! ~* h6 G
AddAttribute( 20, 53000, 3000, 3000, 3500 )" f9 U8 f8 Q4 C% u
$ j; d! H, a9 D9 F* u8 Y: k8 C v----------------------------------------------------------! t; \1 x* R3 _( ]
----------------------------------------------------------5 j. \* E9 ~4 j: h! d5 \5 v5 r
---------------------------------------------------------- J5 l' c! y- z# }' @, w
nItemTransyLowLevel = 500000
0 H7 ^, B. K: t. G/ LnItemTransyHighLevel = 2000000
2 p% F; _+ K* w& f- }
' r& I. E: y' R) Q: j- T----------------------------------------------------------
9 k) c l0 j9 L' P3 r--Kost黰e Kombination Chance------------------------------9 d9 P" [7 Q n4 B, {
----------------------------------------------------------( F0 {1 b8 D, T" A, z0 S: S6 z+ V
$ _$ v& _2 ?" k- M% n5 FnFashionCombineChance = 2500 -- 25%
9 q9 c/ v2 f) l" P( O& v, h4 `( n; l( Z3 ?+ b/ B9 U0 z: }7 `
|
|