|
|
ItemUpgrade.lua
, c3 s. {- R# I/ N: ~4 b# B----------------------------------------------------------
3 }/ i' R- Q3 P* Y! v: l--Sockel Chance-------------------------------------------
* S0 R5 S4 \6 a7 P, w2 Y----------------------------------------------------------
. r% D( v7 G2 n7 y# ZtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
( _: j/ X$ |* `tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
P' X- Y7 r% u/ [) z3 Z: U" s+ K0 O0 b& {
$ F2 F8 X Y/ l& R$ B* s
----------------------------------------------------------
' a# o! j$ D+ J: h% G% @--Upgrade Chance------------------------------------------
; K1 y, j: P+ f h----------------------------------------------------------
+ \. R5 C2 X+ {+ a! F& `3 s8 ~8 ItGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)% c ~4 W( c" v+ G; W
7 W+ ]8 s# i3 G7 E" \. @" Y# H
----------------------------------------------------------; ~, Y' _! @, h: G
--Upgrade Chance------------------------------------------
k- @/ Y9 [8 D3 b----------------------------------------------------------3 j7 }( V' d' n7 A5 S
tAttribute = {}9 N9 [: h7 }: O5 @
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )' Z( h v: N- @* C% b. [
tAttribute[nNum] = {}
S8 V5 j" h$ P$ c' ?7 @1 X. W tAttribute[nNum].nProb = nProb
. n9 T# D9 f% s& k+ _4 z! P' n' w tAttribute[nNum].nDamageRate = nDamageRate1 ^% j) o9 j0 x) v7 I
tAttribute[nNum].nDefenseRate = nDefenseRate, J9 n9 e L( u3 h% x6 v4 R
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate3 z. \: H5 l6 F2 ?
end' k' X+ v' q) s" b! T0 t8 T, A; c" ?
-- 8 a9 b6 q* m. R2 H$ h: k/ l/ t$ ^2 ^
AddAttribute( 1, 100000, 200, 200, 500 )
4 f2 r( y/ n' H2 ^- R. c# HAddAttribute( 2, 100000, 221, 221, 522 )- i6 e0 [! N, A; v6 ]5 n, `
AddAttribute( 3, 92000, 256, 256, 560 )+ j* @* A& z1 x' _( M+ U
AddAttribute( 4, 70000, 305, 305, 612 )# i/ h, Q3 H# W$ _
AddAttribute( 5, 53000, 368, 368, 680 )$ L9 ^% o; s6 o, |) O& K/ l
AddAttribute( 6, 53000, 446, 446, 763 )8 V% @2 I1 k$ p/ C) B
AddAttribute( 7, 53000, 537, 537, 860 )
$ j$ |4 S8 z& }$ cAddAttribute( 8, 53000, 642, 642, 973 )- R6 R- \# m D, \2 n
AddAttribute( 9, 53000, 761, 761, 1101 )0 k9 p# O/ y6 ?3 u7 K5 M, R4 U o
AddAttribute( 10, 53000, 895, 895, 1244 )
8 L% }9 G/ j+ U1 c; eAddAttribute( 11, 53000, 1042, 1042, 1402 )3 R) W7 S+ s. e% S/ {% t% H
AddAttribute( 12, 53000, 1203, 1203, 1575 )
. k( }* u" P. _* yAddAttribute( 13, 53000, 1379, 1379, 1763 )
; E3 F/ n% Z# ~% e: ]AddAttribute( 14, 53000, 1568, 1568, 1966 )
8 Y/ F. h: T4 c2 H- p# zAddAttribute( 15, 53000, 1772, 1772, 2184 )
8 M! e) M* {8 v5 ]' rAddAttribute( 16, 53000, 1989, 1989, 2417 )8 W& Z, Q" i0 }" [
AddAttribute( 17, 53000, 2221, 2221, 2665 ) r& a/ ?# v8 \
AddAttribute( 18, 53000, 2467, 2467, 2998 )& S& ~' i" J3 l. |0 F1 E! A# C- [
AddAttribute( 19, 53000, 2726, 2726, 3207 )" A1 q) b7 |* p m; I8 h$ I) H: `
AddAttribute( 20, 53000, 3000, 3000, 3500 )+ {# Y* m" F: e( c
4 G: c; w3 k, S* |7 G; q" D |
----------------------------------------------------------
( O; R( F L5 [ w9 [2 d----------------------------------------------------------1 Q; x+ z1 Z/ k7 T' F
----------------------------------------------------------
, G4 u P7 j3 i, z' z2 ~nItemTransyLowLevel = 500000% B! M; J: N0 l
nItemTransyHighLevel = 20000004 }3 V$ u: i# u7 Z- B r1 F
5 x& @( t0 _2 M0 b
----------------------------------------------------------
0 w! F/ a5 O" d: ?--Kost黰e Kombination Chance------------------------------* n% j3 q4 Q- r( @* N
----------------------------------------------------------
" A# i$ J3 c+ D' {3 s% H. y& y
7 b E* q8 V) }nFashionCombineChance = 2500 -- 25%
5 e4 w" y! W( Z; `" A) M6 N8 g V0 @0 Y' @/ V: R% B
|
|