|
|
ItemUpgrade.lua: Y( m" l1 G7 U/ H. O; U
----------------------------------------------------------; P7 u/ r" w# G- C3 a
--Sockel Chance-------------------------------------------0 Z4 {6 H6 o6 @: Q: G$ ~. m7 K
----------------------------------------------------------
! Z4 ?4 {" i3 b; BtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)) @+ V- ~ Y3 N+ W( m0 c
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }9 x1 ~7 o* ^6 n! C/ \! \! ?+ i
: ^2 G9 w" T) ~7 Z6 b/ y
o9 ~* ~4 m2 P
----------------------------------------------------------
$ b" a0 N; c/ `0 ~8 u; A9 W L2 X--Upgrade Chance------------------------------------------5 u+ V9 v* {1 F8 y: [& ?
----------------------------------------------------------7 Z) a, P- E0 Z
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)- P1 x' I$ f+ P' B }8 v
. W2 Q9 z& e t* i; S# E& F----------------------------------------------------------. K/ `) W5 K/ G) J
--Upgrade Chance------------------------------------------
1 M# }4 t. Z; t2 O----------------------------------------------------------9 C" q( M+ y4 s% G
tAttribute = {}
; f+ _. D' c) R% Rfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
. H( R4 q9 `- ~, b$ m- ` tAttribute[nNum] = {}2 M3 s! ?: B; e6 v! w' y( H
tAttribute[nNum].nProb = nProb+ i( \! f9 t" _! Y
tAttribute[nNum].nDamageRate = nDamageRate2 K- |6 J, V, N: x- f, w
tAttribute[nNum].nDefenseRate = nDefenseRate
$ c" @; n: g+ s) A tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
4 Q3 s# o1 ^- N; x3 aend6 d: X K$ @1 W# {+ N! ?6 W
--
: |8 l- A" j7 iAddAttribute( 1, 100000, 200, 200, 500 )6 `" p% W0 g' g& c* r m4 P# |1 a
AddAttribute( 2, 100000, 221, 221, 522 )+ ?$ z( r1 ^" e. _" T B
AddAttribute( 3, 92000, 256, 256, 560 )( h5 G% S6 @/ Q8 t6 L1 b
AddAttribute( 4, 70000, 305, 305, 612 )9 d$ _. ^; M' g7 l# {3 V
AddAttribute( 5, 53000, 368, 368, 680 )7 ^& X2 K! H( m+ Y w' N1 t% `, w( z
AddAttribute( 6, 53000, 446, 446, 763 )$ n4 G; c. O4 K; b" n
AddAttribute( 7, 53000, 537, 537, 860 )- \8 O$ b; G% s9 B. w P4 F. V
AddAttribute( 8, 53000, 642, 642, 973 ): h/ X; B5 m, @ M! M9 e
AddAttribute( 9, 53000, 761, 761, 1101 )
7 o* I# h1 ]9 [6 K! wAddAttribute( 10, 53000, 895, 895, 1244 )
' z% d' |2 l' m* y/ _, Y" i/ lAddAttribute( 11, 53000, 1042, 1042, 1402 )
2 j6 N% w& X# oAddAttribute( 12, 53000, 1203, 1203, 1575 )% \$ `& N+ O0 {" h( V: G& }
AddAttribute( 13, 53000, 1379, 1379, 1763 )
4 j. A8 I& f" A2 m3 y, KAddAttribute( 14, 53000, 1568, 1568, 1966 )
2 F# g9 t' @. A/ U- V, r8 tAddAttribute( 15, 53000, 1772, 1772, 2184 )- n& [4 T+ R+ `2 L. T' U
AddAttribute( 16, 53000, 1989, 1989, 2417 )) i! i* A8 X; n; h% s; n1 F
AddAttribute( 17, 53000, 2221, 2221, 2665 )
4 }# j7 b( i% G( K, j$ PAddAttribute( 18, 53000, 2467, 2467, 2998 )
2 y# a& K: A9 `1 p) gAddAttribute( 19, 53000, 2726, 2726, 3207 )# |2 G, ~2 U9 K- T
AddAttribute( 20, 53000, 3000, 3000, 3500 )- Z1 \) n r* @
% w! u- \% {* ?. q. E& C
----------------------------------------------------------
% e: ~8 r# l9 F3 E" Q0 {----------------------------------------------------------9 M) z) m4 b" S( ~, j' C
----------------------------------------------------------
8 h# U2 U! ]9 Q9 g/ S* m9 L6 fnItemTransyLowLevel = 5000006 x4 ^% {! N, O6 O1 d, H# B" u3 W* c
nItemTransyHighLevel = 2000000
0 l# ?, }: W4 v! {% {
1 |4 x( I- H# D$ B) q" q+ \----------------------------------------------------------% \: h2 H! n0 \8 [8 t$ R3 B* v$ L" p( j
--Kost黰e Kombination Chance------------------------------4 t; n" C; [$ R/ m
----------------------------------------------------------
! V# t8 E' Z3 F9 z# e& `4 _ G% K1 d: E4 }; N7 B* q4 [
nFashionCombineChance = 2500 -- 25%
; T' v$ o- a- U3 r2 L G$ J/ f$ X$ P7 ^
|
|