|
ItemUpgrade.lua8 R$ W5 |) n2 B8 [ t
----------------------------------------------------------
% Y( F7 V O( e0 t9 H+ j: Q( o: {--Sockel Chance-------------------------------------------2 D) ~9 P" v$ P: J: J- F0 r: P, ?6 H
----------------------------------------------------------! l/ i; F. G1 [4 u, O
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
# K7 I2 b6 X; v8 }tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }) P9 c4 a/ v3 e
$ q9 R7 u. P, u: m1 H# L% x
3 o; Y4 \4 w/ F% S1 z----------------------------------------------------------( s8 s. z; F% r6 d# E6 M8 h/ {
--Upgrade Chance------------------------------------------+ L. a0 C1 Z2 P* F" Q
----------------------------------------------------------
) u: E4 ~0 t& ~; y) UtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
% R+ |1 M7 K# Z, [& R* c! X
8 C- [- C8 h8 l2 v3 w----------------------------------------------------------" [ @" ^/ M) h$ f
--Upgrade Chance------------------------------------------
6 }6 x3 R& _- g- U----------------------------------------------------------
; }) @# |4 A8 N, b: N, H; utAttribute = {}3 G5 i! t. Z ^
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )( Y. N# `& r0 }% s/ B3 N5 p
tAttribute[nNum] = {}( C! K( v4 C4 [& U
tAttribute[nNum].nProb = nProb6 r) P, U0 l- r4 X
tAttribute[nNum].nDamageRate = nDamageRate
5 e) e3 m! ^; a4 @ o$ S/ S tAttribute[nNum].nDefenseRate = nDefenseRate
* m. I; C- D0 \0 _$ {8 t tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
+ b6 ^6 l ^% tend6 J# d3 ~8 _' N6 b" E8 A* r. Y/ T$ ~
-- ; @# F! y# n% z: _# C7 J$ F; p2 g
AddAttribute( 1, 100000, 200, 200, 500 )
X$ ]) P4 @# F* A" l+ W7 Y6 qAddAttribute( 2, 100000, 221, 221, 522 )6 z7 ]2 w4 m* Q
AddAttribute( 3, 92000, 256, 256, 560 )+ H0 N4 D2 F7 n. b
AddAttribute( 4, 70000, 305, 305, 612 )
- Q/ n1 p9 q. q+ `" n0 Q5 eAddAttribute( 5, 53000, 368, 368, 680 )
1 S, h( c5 N) o4 [" } |" Y+ {AddAttribute( 6, 53000, 446, 446, 763 )
5 z( V" X. j/ N9 O) SAddAttribute( 7, 53000, 537, 537, 860 )+ z# i5 O. q: H; o Y) Q+ f
AddAttribute( 8, 53000, 642, 642, 973 )
& l+ m! r* T1 L5 P7 ~AddAttribute( 9, 53000, 761, 761, 1101 )1 O; x/ G1 t) |; M6 q1 u
AddAttribute( 10, 53000, 895, 895, 1244 )
1 V* Q+ Q2 I" E* e# YAddAttribute( 11, 53000, 1042, 1042, 1402 )9 g) F' }$ d Y- ~, E$ a ~
AddAttribute( 12, 53000, 1203, 1203, 1575 )8 s& X' w+ {" W! Q3 C, @1 @
AddAttribute( 13, 53000, 1379, 1379, 1763 ). a, G* M7 a, ?, A1 u# u
AddAttribute( 14, 53000, 1568, 1568, 1966 )
8 ?; W+ r5 x1 i# }AddAttribute( 15, 53000, 1772, 1772, 2184 )
) N$ J3 i1 n: C" A% W8 q) @AddAttribute( 16, 53000, 1989, 1989, 2417 ): u' f+ N+ x7 L1 M, A
AddAttribute( 17, 53000, 2221, 2221, 2665 ) E0 X; I$ i/ L. a9 }! L
AddAttribute( 18, 53000, 2467, 2467, 2998 )
! U% X" a9 e" |+ Y9 `AddAttribute( 19, 53000, 2726, 2726, 3207 )
5 r/ I1 o/ [ g( d TAddAttribute( 20, 53000, 3000, 3000, 3500 ); ~2 k5 T, T7 ^9 K
; n1 C, S; `9 U2 o, ^----------------------------------------------------------
* e% G' D% ~' K- Q3 ^ i* l----------------------------------------------------------1 p4 W4 G3 e+ ~$ c: i
----------------------------------------------------------
! r+ I+ \# D8 G. AnItemTransyLowLevel = 500000+ I X& Y) N1 Q, Z
nItemTransyHighLevel = 2000000+ @( A5 {' O- u) G: x" H( O* x5 [
T+ `' R# A$ X, {. S/ U' E----------------------------------------------------------' Z8 ]$ P) @1 w7 R9 q
--Kost黰e Kombination Chance------------------------------
: `7 r" {6 |9 ]----------------------------------------------------------
) f: t% P9 p: s# K1 r9 K4 v4 b8 w- w- U4 R7 z/ v
nFashionCombineChance = 2500 -- 25%
* k x3 p! M9 \3 t: Z
% ^. I' E* W+ |/ O6 P/ D/ Q( Q X5 ~ |
|