|
|
ItemUpgrade.lua
4 R+ b. Z% _7 T----------------------------------------------------------! [9 i# g% f4 L" D9 t; k* W
--Sockel Chance-------------------------------------------( N! f- p: G0 `; {
----------------------------------------------------------( K. f) V) Y/ d+ d5 H1 a- O# H" t
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
P4 y/ A0 G, U0 G8 DtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }7 |: h0 B" e' j! k* U
, @* F( l! Y8 I% L" ]3 O$ X
, \' ~' ~" z7 x5 }----------------------------------------------------------* T/ w2 N3 z* P, S+ ~3 H. O6 X3 t3 U
--Upgrade Chance------------------------------------------1 h. n) o8 J$ T0 K/ s( P6 Y+ A
----------------------------------------------------------
* W; ~8 F/ @: P1 I- CtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
8 C" X6 x! x3 \; J4 d7 k8 E+ M- v# D
% x2 e) B: ^+ u2 k' K$ C----------------------------------------------------------
V# h4 f8 ~) U- E9 l9 b' K( w--Upgrade Chance------------------------------------------' D- \. b. z' j3 ]- t7 w( s
----------------------------------------------------------
& ?' Q2 a+ J, e# NtAttribute = {}
) T3 G* P4 k$ Nfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
( r6 @, V0 r8 X tAttribute[nNum] = {}3 X: g- R L" m
tAttribute[nNum].nProb = nProb$ H3 U) l1 `; z
tAttribute[nNum].nDamageRate = nDamageRate
% \0 T; x7 G, ^7 P& [ tAttribute[nNum].nDefenseRate = nDefenseRate) M! D+ p+ `. v' }5 Z9 ]3 R
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate7 R2 q! o, h! t f8 |6 ]. J
end
/ H* _! Y3 B1 C" ^0 |8 B0 V--
/ B! Y: y: r! iAddAttribute( 1, 100000, 200, 200, 500 )
" T$ {, v+ P9 e! A' TAddAttribute( 2, 100000, 221, 221, 522 )/ c# K! O5 ]! ~- _& ?
AddAttribute( 3, 92000, 256, 256, 560 )
6 y K: K8 c9 lAddAttribute( 4, 70000, 305, 305, 612 )) A+ b9 u. E1 n! ^# E3 |
AddAttribute( 5, 53000, 368, 368, 680 )2 g9 n. R7 j r: s8 Q+ J# h
AddAttribute( 6, 53000, 446, 446, 763 )
5 w2 U' Q [. K }AddAttribute( 7, 53000, 537, 537, 860 )/ n+ ^2 ~7 \' ?& n! [
AddAttribute( 8, 53000, 642, 642, 973 )
6 p% \" _. D5 ` R# B7 TAddAttribute( 9, 53000, 761, 761, 1101 )
5 {+ X6 w. C$ |' f. |AddAttribute( 10, 53000, 895, 895, 1244 ). @) P$ f+ D( c
AddAttribute( 11, 53000, 1042, 1042, 1402 )( O" ?4 X! g* E
AddAttribute( 12, 53000, 1203, 1203, 1575 )
- A" B+ |/ a7 u$ [4 _8 k2 s6 [AddAttribute( 13, 53000, 1379, 1379, 1763 )
+ N% ^, A* q* }: G' k5 SAddAttribute( 14, 53000, 1568, 1568, 1966 )8 g$ D0 n. a. H% T$ |6 o) V
AddAttribute( 15, 53000, 1772, 1772, 2184 ). g' W: D% s$ p! W! l( R9 v
AddAttribute( 16, 53000, 1989, 1989, 2417 )- d0 C6 t) _. W: H/ S' Q1 w
AddAttribute( 17, 53000, 2221, 2221, 2665 )
$ z/ V" r# k' s8 B8 sAddAttribute( 18, 53000, 2467, 2467, 2998 )
- y8 E. x1 q" Z) |+ r/ a! U$ {AddAttribute( 19, 53000, 2726, 2726, 3207 )
5 u1 J; E/ Q/ a! tAddAttribute( 20, 53000, 3000, 3000, 3500 )
/ ]7 T: H) z( t! s# W7 J9 I7 U: C$ e* E# v) N8 w& R8 k5 I
----------------------------------------------------------
" ^ o2 G# v1 k9 y' J& |- V----------------------------------------------------------
7 @+ I8 z1 e6 p4 j! |' k& J5 z, c----------------------------------------------------------
6 k/ {' L5 v3 ^nItemTransyLowLevel = 500000# @% [+ H' t& Q4 V4 R9 ^ S
nItemTransyHighLevel = 2000000% O2 d1 v9 M9 c7 \7 ` D
: r ^0 N. y& F& [! [5 r" p----------------------------------------------------------* Q1 \# P# o+ _+ a% F" i- w; J
--Kost黰e Kombination Chance------------------------------& p9 N5 V ?0 |, n
----------------------------------------------------------/ Q a4 n+ Y5 l6 Q* }1 ~9 ?
3 t5 z6 Y, Y5 g
nFashionCombineChance = 2500 -- 25%$ u9 p8 p {. o' T
' V( H$ S2 L2 X* d: `* J |
|