|
|
ItemUpgrade.lua5 X; G$ I5 a' q0 v) M9 [) k. `
----------------------------------------------------------: o7 E# ` u- u. ~: T' h0 I& w
--Sockel Chance-------------------------------------------9 ]2 K0 }7 ~% N2 g& \
----------------------------------------------------------
% ~; \7 r3 N. Y. n" x* _7 ltSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)$ Z6 x3 D+ _1 B$ }4 @5 D
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }6 y4 L ~# ]& K% O# B& ~3 U
, F5 x; D) ]) t& g8 Z2 S) h! H
- f# _: C, a" C
----------------------------------------------------------
' A: L% q+ y$ E--Upgrade Chance------------------------------------------, q# w+ ?. r" ?3 N
----------------------------------------------------------5 d6 Z6 i/ ]5 p b
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
+ g& r2 s9 ~5 h. ] K2 M
1 m% r4 h8 @# u+ V7 B----------------------------------------------------------
: d+ p, p9 E" L: e" ^* @--Upgrade Chance------------------------------------------
3 Z8 Y9 @" { l: t, G' F" h6 K----------------------------------------------------------
5 Q# x! E7 |& T4 q' }tAttribute = {}
7 G e' X3 _+ J0 t! kfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
# u* A4 k; N3 I$ O tAttribute[nNum] = {}# N3 G) A2 X; ]+ ~( C
tAttribute[nNum].nProb = nProb
. A9 d9 K0 }( F+ V- W9 W7 L tAttribute[nNum].nDamageRate = nDamageRate' ^! \9 L3 b+ Y; X: q- K( r
tAttribute[nNum].nDefenseRate = nDefenseRate( f! D7 x9 F9 e+ o8 I) Z
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
3 ^0 b% Q0 u* Fend
/ P/ L8 g2 z+ {: t8 v1 d-- 1 b) X# Y( K8 w9 \
AddAttribute( 1, 100000, 200, 200, 500 )2 }8 L' [: W: L; ?" q4 D
AddAttribute( 2, 100000, 221, 221, 522 )
8 M g7 ?0 ^5 T7 ]AddAttribute( 3, 92000, 256, 256, 560 )" l& [) f6 Q, b! K/ K% A% z3 Z7 b
AddAttribute( 4, 70000, 305, 305, 612 )* N( u! u& A% i# ?8 R, H8 S
AddAttribute( 5, 53000, 368, 368, 680 )+ G1 X7 i3 ?+ G1 D
AddAttribute( 6, 53000, 446, 446, 763 )
" J6 a, W- w) ~AddAttribute( 7, 53000, 537, 537, 860 )$ _. J) P2 K5 I" l# r, K. v( R
AddAttribute( 8, 53000, 642, 642, 973 )
: W+ b* r9 S. M" i7 R# g+ I% tAddAttribute( 9, 53000, 761, 761, 1101 )# J6 \1 A: w6 G4 w/ b
AddAttribute( 10, 53000, 895, 895, 1244 )
8 {6 }/ p4 W5 ~( z) Q' FAddAttribute( 11, 53000, 1042, 1042, 1402 )/ O& L5 {: y0 l; G4 L1 b
AddAttribute( 12, 53000, 1203, 1203, 1575 )
) Y9 N; U/ m& o! [- h Y3 L4 CAddAttribute( 13, 53000, 1379, 1379, 1763 )
7 C8 E0 K& V5 [1 t' }7 s/ L" N9 uAddAttribute( 14, 53000, 1568, 1568, 1966 )! u! P. D' C* u* a# \
AddAttribute( 15, 53000, 1772, 1772, 2184 )! J+ \1 _" g" U9 d& I
AddAttribute( 16, 53000, 1989, 1989, 2417 )3 Y5 {7 G) o6 L2 e% v% \' G8 i
AddAttribute( 17, 53000, 2221, 2221, 2665 )6 r4 Y. a( h" Q2 h5 |# D3 |
AddAttribute( 18, 53000, 2467, 2467, 2998 )" E9 Z' d- M6 M5 P" Q: N: b3 e% ?
AddAttribute( 19, 53000, 2726, 2726, 3207 )% z8 a% T4 S$ s5 o( w7 ?: M
AddAttribute( 20, 53000, 3000, 3000, 3500 )
) v: l% K% O: F i d
* G3 \; H* ` @' u1 q' t0 N----------------------------------------------------------
+ ^. V. q* ~; z$ W+ `----------------------------------------------------------* P, I$ ^7 r; h* d
----------------------------------------------------------1 e' j1 c2 x3 p& O) z! R8 m! s
nItemTransyLowLevel = 500000
+ E1 L2 `% Y& B: j1 `% k, AnItemTransyHighLevel = 20000006 s8 D+ ~) h$ [ I {# G" a% }
8 \2 k4 Q) |3 ]. E" _0 h6 o
----------------------------------------------------------
2 B0 _& h! A8 H E--Kost黰e Kombination Chance------------------------------. R" P; m* u6 m! Q- B
----------------------------------------------------------2 _2 l, _3 K+ N% u& B
0 L ]2 ~9 N1 b" Z/ H. w4 ?
nFashionCombineChance = 2500 -- 25%7 t7 K) E; w9 t: j: I# ?2 D
' F. P; X. @2 P4 E% e; D1 }, f
|
|