|
|
ItemUpgrade.lua
% m$ y6 N' l- q3 H1 T----------------------------------------------------------# g- d4 D, @" I! A$ N# i6 Q
--Sockel Chance-------------------------------------------- V7 y0 `& U8 y; X# F5 f
----------------------------------------------------------
0 c5 {, J% b8 c* R( ~tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)+ f6 x, ^: {6 n6 O( b+ F
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
/ A5 ^" @, t$ _5 C# `
8 C7 f9 Y* m- ]# }& o8 N9 V4 \! k# q) g! @6 |7 ] C% e
----------------------------------------------------------8 V+ ^* e; Y* o9 x
--Upgrade Chance------------------------------------------3 i7 F$ ]5 h" |7 @! M- ]2 t' ~8 s
----------------------------------------------------------
6 J' t+ l" ?- Z. y7 d; w, T3 w7 }/ _tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
9 p% h# ]) F1 w$ h! M* i; U. [
6 l6 |, p, J" A3 }$ @9 M----------------------------------------------------------' H/ ~0 q5 P* o/ {9 b. @) K
--Upgrade Chance------------------------------------------; [ t$ z+ L, ]& i
----------------------------------------------------------) K k7 z, Z* ]! X+ H, C
tAttribute = {}- u( x( i4 A9 g. G5 K" e) t" I) e
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
1 d) }+ N9 @* m: Y ^ tAttribute[nNum] = {}
0 P) Y# e. I' I1 m3 L& H tAttribute[nNum].nProb = nProb% E% b2 ]9 }9 B2 }& A
tAttribute[nNum].nDamageRate = nDamageRate
0 |; x, W; R! W ~0 z tAttribute[nNum].nDefenseRate = nDefenseRate
D/ C( i% |4 s2 h3 K. n/ j1 d8 I tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
6 f: M7 G }# X3 \end
/ e# g3 z8 t0 k-- 0 d4 [2 @- I& l. }
AddAttribute( 1, 100000, 200, 200, 500 )# I% p( Q: W: b/ M- [4 x5 p
AddAttribute( 2, 100000, 221, 221, 522 )) n( {# m' {# X' n" y
AddAttribute( 3, 92000, 256, 256, 560 )
, r7 o3 g' F* k; F0 \+ T- qAddAttribute( 4, 70000, 305, 305, 612 )
8 x% i3 h. J1 }5 v" qAddAttribute( 5, 53000, 368, 368, 680 )
( B: p( R* W# C% N" h3 cAddAttribute( 6, 53000, 446, 446, 763 )
3 r d3 M9 x5 j5 Y* O4 j6 mAddAttribute( 7, 53000, 537, 537, 860 )2 E. Z0 o5 U/ h& k: z; H9 U
AddAttribute( 8, 53000, 642, 642, 973 )
+ m) @: R: c" ]AddAttribute( 9, 53000, 761, 761, 1101 )7 y8 [1 o* d8 t) q$ Q. V
AddAttribute( 10, 53000, 895, 895, 1244 )
. Q4 j+ R! H f6 H" tAddAttribute( 11, 53000, 1042, 1042, 1402 )
1 b1 C/ e& X7 GAddAttribute( 12, 53000, 1203, 1203, 1575 )& w" }$ f" r2 z. w' e, I0 e
AddAttribute( 13, 53000, 1379, 1379, 1763 )
2 Y6 u. g$ G9 G8 DAddAttribute( 14, 53000, 1568, 1568, 1966 )) x/ m0 b2 v: U
AddAttribute( 15, 53000, 1772, 1772, 2184 )
7 o5 Y! b# k1 {AddAttribute( 16, 53000, 1989, 1989, 2417 )# e" q* \. V( L; C. P. d, F' ~ g
AddAttribute( 17, 53000, 2221, 2221, 2665 )$ Q2 {/ P3 |; E2 H. a/ I
AddAttribute( 18, 53000, 2467, 2467, 2998 )9 c+ S5 ~% [! w# n
AddAttribute( 19, 53000, 2726, 2726, 3207 )
: z8 U3 T* i# t) QAddAttribute( 20, 53000, 3000, 3000, 3500 )
3 _% X( g* |7 ?% I w6 m
; d8 U8 g& g$ }1 \- y7 _' C----------------------------------------------------------
2 x2 z; v8 C$ k: _4 [----------------------------------------------------------
5 b4 a5 m8 J" [* ? W1 o; X( }- {----------------------------------------------------------
# y! ]: e) Y; l9 ^9 `% I1 gnItemTransyLowLevel = 500000
" ]7 O( P" j4 _) O6 qnItemTransyHighLevel = 20000007 f \' r( {8 O! Y
: J6 Z- X6 l! I! _
----------------------------------------------------------. H6 W1 c# V5 n5 i2 o
--Kost黰e Kombination Chance------------------------------. O4 P8 x* A p* e3 }4 y. w* |
----------------------------------------------------------, O! T! z; ^& q& h5 z6 B' z
; D F4 Z X0 ~" ]9 x; M$ G QnFashionCombineChance = 2500 -- 25%
) `5 }/ n2 ?) C' A; J5 s# a! Z, J! D" o0 l% i6 ^0 w, c
|
|