|
ItemUpgrade.lua T0 i1 U5 S+ {9 V, z3 W& d: I
----------------------------------------------------------9 C. @. e6 g5 D- n* I9 _
--Sockel Chance-------------------------------------------- q& H/ T3 r$ V5 B% g8 C9 J
----------------------------------------------------------
5 X e1 Z+ V' G8 R' G6 {8 ftSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)6 k2 o1 w1 R- l' y8 n' g
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 } n3 R2 p: l1 t4 J7 I3 B
1 n2 `3 A+ r$ E+ y& z4 H) j, _, a" g9 ?' q, @ S1 C v9 x
----------------------------------------------------------+ H5 H5 U: h+ a3 e. P
--Upgrade Chance------------------------------------------2 N4 |' m% c$ m. K2 \' D
----------------------------------------------------------
9 c! ?8 Y, t' }) H" W3 C4 z& i# A T( ktGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
$ f6 m7 P8 ^$ f6 K9 f5 z
, b _3 }' F4 J& [% \: v2 g+ i----------------------------------------------------------
: x' u3 M% ~. X( }( M( _--Upgrade Chance------------------------------------------+ x2 n8 _. h% Q
----------------------------------------------------------
% g: _; W$ t& [4 mtAttribute = {} M5 e& {: A/ n7 ?
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
3 V3 j6 G6 ~/ x) b4 ~# Q tAttribute[nNum] = {}
3 [3 ~: U1 N. d8 j' J1 W& N tAttribute[nNum].nProb = nProb7 f5 S: c* y7 n m
tAttribute[nNum].nDamageRate = nDamageRate8 Y. A: P0 A7 c; u' ]
tAttribute[nNum].nDefenseRate = nDefenseRate, t$ w; G- R: N. H2 e/ K- ~
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
0 h1 b3 B( M2 H. t q8 F2 c/ P3 Jend
& f$ B3 R: w0 M `2 M3 d-- - P2 C% D/ @9 X7 s" W# M! e# a, ?
AddAttribute( 1, 100000, 200, 200, 500 )2 F4 S1 L4 E" R) r% j; R G
AddAttribute( 2, 100000, 221, 221, 522 )3 f+ J+ a: n0 M+ S' ?6 J; n
AddAttribute( 3, 92000, 256, 256, 560 )
" n+ u/ z+ x tAddAttribute( 4, 70000, 305, 305, 612 )
6 O; s3 W% Y5 C t. B, WAddAttribute( 5, 53000, 368, 368, 680 )
' a% O* O7 y" j2 A" j2 qAddAttribute( 6, 53000, 446, 446, 763 )
. B, N" J" S5 X; d5 [5 X9 PAddAttribute( 7, 53000, 537, 537, 860 )
& H7 `- ?2 M b: ^! j# y* A0 sAddAttribute( 8, 53000, 642, 642, 973 )
( k1 |% }4 n+ ~; k3 X& h& k4 E7 \AddAttribute( 9, 53000, 761, 761, 1101 )0 @- s4 H6 ~ |& ^/ m0 T; W' q
AddAttribute( 10, 53000, 895, 895, 1244 )
5 K7 O$ h( C9 H) ]; `AddAttribute( 11, 53000, 1042, 1042, 1402 )! G7 U& b# ?& W" N* _
AddAttribute( 12, 53000, 1203, 1203, 1575 )
# X- S5 y# m6 Y* i, G5 X7 EAddAttribute( 13, 53000, 1379, 1379, 1763 )% g/ L$ W/ y* ?7 C- j
AddAttribute( 14, 53000, 1568, 1568, 1966 )
, f* w/ h9 A. ^7 Y9 F. sAddAttribute( 15, 53000, 1772, 1772, 2184 )
; j6 k }% I3 y% nAddAttribute( 16, 53000, 1989, 1989, 2417 )
) Z; _1 |7 @/ B& @& H7 MAddAttribute( 17, 53000, 2221, 2221, 2665 )% t" l* v! t) z# J2 N+ v- Q. J
AddAttribute( 18, 53000, 2467, 2467, 2998 )
1 H% i+ S$ q/ B# dAddAttribute( 19, 53000, 2726, 2726, 3207 )
. M; ?" j, l) N2 I$ T; }# S. bAddAttribute( 20, 53000, 3000, 3000, 3500 )
- O2 C5 J" ^( R$ d9 U
3 {+ }0 T/ m( c% @' j% ]----------------------------------------------------------+ n8 O4 P5 ^8 G6 _' s8 j! E( W
----------------------------------------------------------* F0 x: s2 \2 |8 ?" L, H
----------------------------------------------------------! c2 f6 F8 c0 P4 b4 t2 `
nItemTransyLowLevel = 500000
0 c9 l8 ], r: U4 o2 w& ?nItemTransyHighLevel = 2000000+ ?3 e; c8 U. P' ~
' e8 G1 `, x3 ]% b4 B r, p9 w----------------------------------------------------------( m9 H! w# h3 z s1 e, O6 U, ]
--Kost黰e Kombination Chance------------------------------
4 H+ B; h/ d" ^8 C/ u: A& m1 y----------------------------------------------------------- A3 L7 Y# D8 M; }- U$ R* }
2 U( Q) x$ @1 _, SnFashionCombineChance = 2500 -- 25%; g" B5 V0 c5 \
- k# f. D# l0 ~
|
|