|
ItemUpgrade.lua5 G$ [& V% F$ ]
----------------------------------------------------------5 Z7 F! d$ P) b" v6 ]2 e
--Sockel Chance-------------------------------------------+ U+ v9 o! q o- j; k' \ f; T4 b
----------------------------------------------------------
. E6 o2 a/ O! ]2 G+ H6 E1 J2 _0 @tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
0 D5 ]. W- W$ {4 ItWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }& T" q, Z$ T# N; o' v! z
* X) `* B6 \1 A
+ G$ d5 w0 b9 b! l
----------------------------------------------------------6 [5 x- F" _7 d- C* ]
--Upgrade Chance------------------------------------------( Z" e# j H" ~% ~
----------------------------------------------------------
+ ^' G( X/ o6 q) d4 x6 e' ntGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
% N4 ?& C- ^ w% {6 w$ X
# Z L" w7 o2 S* D4 j----------------------------------------------------------7 X a. |$ U; a6 T& c
--Upgrade Chance------------------------------------------# ^, I" y* H h" V3 c; Q0 C) g
----------------------------------------------------------
: ^- m9 u$ { e0 _4 {+ VtAttribute = {}
& t8 Y" `# P4 l+ m- N Nfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
2 H& E% g8 M) Y& o) |8 h! a$ g tAttribute[nNum] = {}6 L0 x6 \* Y% n( H/ h
tAttribute[nNum].nProb = nProb
6 F. _4 n' \( F tAttribute[nNum].nDamageRate = nDamageRate' B# \# N2 X7 j& K( |6 k6 q; f- J
tAttribute[nNum].nDefenseRate = nDefenseRate ^$ l7 L( e- }+ M1 Z" W: {
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate$ [" c8 W; c. O% X
end
8 Z( Y1 b. v% T( a$ E5 D--
- A8 w7 }5 o$ q kAddAttribute( 1, 100000, 200, 200, 500 )
0 j6 h0 E( M2 s" _AddAttribute( 2, 100000, 221, 221, 522 )
+ U% q; |+ W; b0 r V1 yAddAttribute( 3, 92000, 256, 256, 560 ); H. @ j8 g1 I
AddAttribute( 4, 70000, 305, 305, 612 )
0 n4 @! C0 H, e/ h* e1 jAddAttribute( 5, 53000, 368, 368, 680 )
7 p( E6 ~. _1 @0 DAddAttribute( 6, 53000, 446, 446, 763 ): |3 h5 u3 P" S8 z; G6 F. q3 E
AddAttribute( 7, 53000, 537, 537, 860 ), ^2 U* D6 ?3 y- B) n
AddAttribute( 8, 53000, 642, 642, 973 ) t4 m/ k! G% ?
AddAttribute( 9, 53000, 761, 761, 1101 )
; n- q# t: S2 a# Y: |AddAttribute( 10, 53000, 895, 895, 1244 )
% m) v, }2 C% ^0 Z% TAddAttribute( 11, 53000, 1042, 1042, 1402 )
7 z# k* T& k/ S& s4 z: W5 [! BAddAttribute( 12, 53000, 1203, 1203, 1575 )
% e1 A% A v6 @5 O* \/ YAddAttribute( 13, 53000, 1379, 1379, 1763 )
4 ?3 F$ J3 K9 e/ V7 J! OAddAttribute( 14, 53000, 1568, 1568, 1966 )
! i% J% q, J! c8 Y+ ~: l8 kAddAttribute( 15, 53000, 1772, 1772, 2184 )4 A5 r- [2 N0 p7 y7 i
AddAttribute( 16, 53000, 1989, 1989, 2417 )6 [7 `" R8 C9 Y( M9 z9 I
AddAttribute( 17, 53000, 2221, 2221, 2665 )
. n: [* j( D" g& }# e1 G6 a2 ?AddAttribute( 18, 53000, 2467, 2467, 2998 )
0 S3 T3 U; O6 `& A e; X. I. O3 @AddAttribute( 19, 53000, 2726, 2726, 3207 )4 r( r$ c O( g0 [
AddAttribute( 20, 53000, 3000, 3000, 3500 )
1 q, G% a) K9 V' J: n8 e
/ R3 \% G& l" U: _----------------------------------------------------------' q% |$ o6 |) t' l0 e) u
----------------------------------------------------------; k$ T- }6 p2 _( M+ [3 E* n R
----------------------------------------------------------
, ~% ?0 I/ ]: @6 F$ xnItemTransyLowLevel = 500000% e2 K9 ^7 R8 e2 P% D7 q+ T
nItemTransyHighLevel = 2000000
! a3 V& z+ S$ _8 N* P- U% M
; g" E5 {- V8 K. c: M/ |3 \----------------------------------------------------------
8 t9 A, j0 r) X7 {0 U--Kost黰e Kombination Chance------------------------------
/ @3 \( D3 U# }4 T% G5 M5 ]0 v----------------------------------------------------------9 @6 R' L5 Y. _) x; q) t1 W, ^- S
( _5 z: e" s% V5 K) }; i
nFashionCombineChance = 2500 -- 25%
& e8 z) f( I2 s8 |& {( [& U( {1 e9 J; @
|
|