|
|
ItemUpgrade.lua
* B4 I7 Z- G# x, O7 F; m7 Q4 ~2 J----------------------------------------------------------" f g) f* K* w, X4 D! v% L: m
--Sockel Chance-------------------------------------------3 R; E/ R$ z, J1 q
----------------------------------------------------------1 C! L S' p* E, O+ f/ ?) X# U( S
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
8 R3 F2 m9 r% R9 P- l! JtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }- K3 R+ P' |! M$ a9 y! ]
. E y+ ]; ?7 b! G y9 U' T- U+ r; l- \
----------------------------------------------------------2 `; [2 R4 E" E. S& I9 n
--Upgrade Chance------------------------------------------! U; z4 x% _: i u: u/ o9 a& M
----------------------------------------------------------
" w" f- O& U' J. etGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊). ?: m3 }3 k# {
% G8 z) R1 y- ^2 f- l, F----------------------------------------------------------5 S4 n( Q2 o2 e/ V% T7 G/ |# C! U
--Upgrade Chance------------------------------------------8 @+ H8 W- m5 e
----------------------------------------------------------
! B+ O0 ~) m# y; Y) `; }tAttribute = {}
4 b3 E% K0 K9 s" @$ e% P8 `function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )/ \0 I( A h+ N$ b/ O1 l# \7 n5 h
tAttribute[nNum] = {}
" k- R5 p8 f4 N5 Y& N0 n2 S' y! ] tAttribute[nNum].nProb = nProb8 J% e* \4 l4 {6 M$ a
tAttribute[nNum].nDamageRate = nDamageRate6 c8 a' D" u) y" N. e* V
tAttribute[nNum].nDefenseRate = nDefenseRate
* L" @: M- l( L7 L. ?% k tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate1 V$ z* H0 @2 u/ ~
end
( w$ s& `0 m4 \2 v+ r& B# ^--
8 _$ ?4 d9 Q6 ^# d: Z8 IAddAttribute( 1, 100000, 200, 200, 500 )5 y" y, i& r6 V( k/ ?) R
AddAttribute( 2, 100000, 221, 221, 522 )9 Q" j, e) v: S1 O! l% l6 a
AddAttribute( 3, 92000, 256, 256, 560 )
! f* J9 Q9 v0 [" T+ m2 ]' k4 ?AddAttribute( 4, 70000, 305, 305, 612 )
* h% B5 h! V, u8 ^0 ?/ bAddAttribute( 5, 53000, 368, 368, 680 )
4 w. l" x' U- w& D! _AddAttribute( 6, 53000, 446, 446, 763 )% J7 H4 I2 f: I6 u; r& L( {6 }0 Q
AddAttribute( 7, 53000, 537, 537, 860 )5 ~% E. v q: {. W
AddAttribute( 8, 53000, 642, 642, 973 )
% l% o7 D! I/ u6 V' O5 ?AddAttribute( 9, 53000, 761, 761, 1101 )" \1 N8 L C0 Y' f
AddAttribute( 10, 53000, 895, 895, 1244 )6 D' `9 Q. S6 U' M5 [/ ^ o! i
AddAttribute( 11, 53000, 1042, 1042, 1402 ). H2 J$ [" p6 c! O8 k% Y% k+ H
AddAttribute( 12, 53000, 1203, 1203, 1575 ) ^9 A' I& n" l) k' q$ N% I+ w
AddAttribute( 13, 53000, 1379, 1379, 1763 )
7 _* y; f/ t T c! NAddAttribute( 14, 53000, 1568, 1568, 1966 )
% P$ Z T7 C% SAddAttribute( 15, 53000, 1772, 1772, 2184 )
/ T& G8 G4 A& E* v$ [/ c$ ], \AddAttribute( 16, 53000, 1989, 1989, 2417 )
" x8 L. a& j% f/ W( ]AddAttribute( 17, 53000, 2221, 2221, 2665 )8 f% X G& G- t& P. e9 i
AddAttribute( 18, 53000, 2467, 2467, 2998 )
* B9 ?! m7 x5 T7 l% K& |+ [: BAddAttribute( 19, 53000, 2726, 2726, 3207 )/ c( K: Q ` K
AddAttribute( 20, 53000, 3000, 3000, 3500 )
- I9 K4 A- K. m& `. w$ z( ^
# T0 ^6 [ Z3 p" U) y4 r4 A& y. Z" A----------------------------------------------------------* |9 a& y0 n% i! q1 V
----------------------------------------------------------
: P) m" w" ^: B5 @----------------------------------------------------------% N5 Y2 m+ o5 k$ P6 _! a
nItemTransyLowLevel = 500000* o5 q* a8 k: D/ z% h/ E
nItemTransyHighLevel = 20000007 n& o& P; ^7 M0 S% H! V- u8 ]
. v, \7 [, _* A3 }----------------------------------------------------------6 Q/ k* f! g) [$ r/ ]
--Kost黰e Kombination Chance------------------------------, c( ]2 G! ]3 F3 S8 {% h
----------------------------------------------------------2 i( k" w8 H! ]4 p a! w" Y
+ |# _" ?% r4 DnFashionCombineChance = 2500 -- 25%
4 Z3 X4 c' H/ O/ K% c0 d2 E ~8 N6 d A! Q0 }
|
|