|
ItemUpgrade.lua
1 O8 a1 y7 O1 g, E0 L! s4 L. d3 f----------------------------------------------------------) J8 l! [2 X# ?7 y( P) G6 @
--Sockel Chance-------------------------------------------
4 N% G" ]3 m0 N0 S$ [/ P7 R----------------------------------------------------------! Q8 ^3 W9 K, ~& @2 j
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
1 g2 `9 S" O6 l% MtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
7 ?/ W* ?+ f! S6 d" x7 o% e7 O5 j. d6 z2 N- a. H. y
) V9 D$ `) Z6 u* |- Y( w----------------------------------------------------------% c2 x( t4 {$ w" z2 ?
--Upgrade Chance------------------------------------------
: O/ b0 C2 @+ M----------------------------------------------------------
d5 g6 G- s& U/ N- stGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
. w& R6 H' ~$ G: d2 f6 j( `# K, l
$ G$ ]" y2 a0 ^7 T. ?& q----------------------------------------------------------8 W J) x" u' ~3 P+ U/ d
--Upgrade Chance------------------------------------------
/ S1 X. G' I9 n7 O+ ^0 `( r4 r: L' @----------------------------------------------------------
: C _7 e- s7 B' |% G) W1 p3 y4 E# ZtAttribute = {}7 R1 f% U* b4 ]
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
$ w; B5 |* `6 U0 u( E tAttribute[nNum] = {}
. e, q. o( C) N1 u tAttribute[nNum].nProb = nProb% O# H6 _! c- K/ L4 y9 E
tAttribute[nNum].nDamageRate = nDamageRate+ F4 P* ?' \: s
tAttribute[nNum].nDefenseRate = nDefenseRate
' N. C P# t* [$ ?8 }% W7 p7 n tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate2 H3 V, g3 s! M. U. n C
end9 E( M! `% G5 S- }7 ?( A
--
d7 i4 |9 F+ j. A- ~AddAttribute( 1, 100000, 200, 200, 500 )
! G7 P5 v9 }1 k) S. \& M. U. {6 NAddAttribute( 2, 100000, 221, 221, 522 )
& b% h0 |+ @% o1 uAddAttribute( 3, 92000, 256, 256, 560 )
( Q$ f! ]% E; \/ gAddAttribute( 4, 70000, 305, 305, 612 )
7 E4 y7 Y: F( B( lAddAttribute( 5, 53000, 368, 368, 680 )
' I7 f$ r2 G1 r- N7 `; l% O" NAddAttribute( 6, 53000, 446, 446, 763 ): X- T, R& g4 S4 W2 V8 M+ Y4 c
AddAttribute( 7, 53000, 537, 537, 860 )
+ R5 @$ x: [% OAddAttribute( 8, 53000, 642, 642, 973 )
4 f2 Z4 L2 W2 ^1 I, xAddAttribute( 9, 53000, 761, 761, 1101 ), m0 w9 c0 \( W( I
AddAttribute( 10, 53000, 895, 895, 1244 )
* m0 a. W! K: b$ x! d4 pAddAttribute( 11, 53000, 1042, 1042, 1402 )- n! ?/ J6 t# u/ f$ ?7 y
AddAttribute( 12, 53000, 1203, 1203, 1575 )
. p6 X; B5 u* \& |AddAttribute( 13, 53000, 1379, 1379, 1763 )% @4 N2 F' E" x# g1 G
AddAttribute( 14, 53000, 1568, 1568, 1966 )
& Z& O- T9 ^: s t! w' b, SAddAttribute( 15, 53000, 1772, 1772, 2184 )+ M" N* n, X8 I
AddAttribute( 16, 53000, 1989, 1989, 2417 )/ q* `5 W5 V$ {. [
AddAttribute( 17, 53000, 2221, 2221, 2665 )1 P, I3 u# `: @( n
AddAttribute( 18, 53000, 2467, 2467, 2998 )) b( s7 ?4 B5 O& `6 W4 s
AddAttribute( 19, 53000, 2726, 2726, 3207 )
" v; P$ s" _# Q* m( [$ @+ eAddAttribute( 20, 53000, 3000, 3000, 3500 )
9 x, q: u" X* l# _8 ] H4 m% y+ I' e. E1 y+ p! R+ @+ E; `
----------------------------------------------------------
- o/ x1 u y4 O7 b0 R$ m/ G----------------------------------------------------------/ w7 O" Y4 H1 _0 U0 h
----------------------------------------------------------
9 R( x7 ]: \. v1 d7 b1 P2 [3 B5 x) `nItemTransyLowLevel = 500000: t9 M! K) ]% J6 ~5 ^! l
nItemTransyHighLevel = 2000000% e: p8 @) R2 I6 m( D( _' F, i6 \
5 t3 c, H3 e& i' m
----------------------------------------------------------; W0 [2 h9 l5 F/ ?
--Kost黰e Kombination Chance------------------------------
4 V4 @/ h! k" t) n: H----------------------------------------------------------, R& S# v2 c* D& z
- {! U* D# _& [3 q" NnFashionCombineChance = 2500 -- 25%
9 c/ h' m2 d) d8 J- f5 X
" r7 Z- `* o. Z5 _1 C2 y( ]3 }2 K6 y |
|