|
|
ItemUpgrade.lua
I8 n2 C3 X9 B' J. c. J, t, `----------------------------------------------------------% J) I& s! V+ ]( _8 q5 v+ D' z
--Sockel Chance-------------------------------------------
7 w4 B+ Q* `. f- t9 e' g----------------------------------------------------------; h+ e; r: [, E4 k
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)% n/ {( b' D7 L8 ~5 r8 ^/ `
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }6 A8 \# m9 w& L5 F
; z% l; F7 Q5 P
, G/ i; l/ E" \* X8 G4 N----------------------------------------------------------
% ~" b5 J. I3 I! s. W3 Z6 d--Upgrade Chance------------------------------------------
( s7 g) i" t i8 z----------------------------------------------------------
4 S( g- \; {5 FtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)$ D+ p, P! W$ }
1 ^0 [7 j8 O+ w1 W----------------------------------------------------------/ e! ]6 S5 R# f; l# U
--Upgrade Chance------------------------------------------
. y u- f, p$ e! N0 `2 J% z----------------------------------------------------------
. Z& U% J; I) v ktAttribute = {}8 D+ X) Z2 I' F- ~% v; S) M
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )9 M% G) p) k5 S) r
tAttribute[nNum] = {}7 P2 J8 }% \% t
tAttribute[nNum].nProb = nProb( M% l s! P" r, q& x* P
tAttribute[nNum].nDamageRate = nDamageRate
+ p. t- R- g1 r) u- Y tAttribute[nNum].nDefenseRate = nDefenseRate% C! U/ d* F2 X
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
* y9 ]3 B5 J- ~4 ^end' \6 i8 \% {8 T
-- ! k# r. j# l* w4 h
AddAttribute( 1, 100000, 200, 200, 500 )
( t5 M+ _; F- C! R4 u! fAddAttribute( 2, 100000, 221, 221, 522 )
$ L1 u7 Y+ L. \7 HAddAttribute( 3, 92000, 256, 256, 560 )/ t5 A- j. x) l4 A0 w0 ]
AddAttribute( 4, 70000, 305, 305, 612 ), v" n, c A) O+ r) k# P
AddAttribute( 5, 53000, 368, 368, 680 )
8 {. j* C- c5 C+ _# j8 w; M6 u# FAddAttribute( 6, 53000, 446, 446, 763 )
9 M( E' I5 A( [( oAddAttribute( 7, 53000, 537, 537, 860 )4 ]/ U& ?7 `, F" C/ p
AddAttribute( 8, 53000, 642, 642, 973 )
) ^7 w& Y( c0 y) j* z) J" c! jAddAttribute( 9, 53000, 761, 761, 1101 ); }2 q2 f& P/ `5 N& F
AddAttribute( 10, 53000, 895, 895, 1244 )
; ~+ N# j+ o/ W i& tAddAttribute( 11, 53000, 1042, 1042, 1402 )
2 E9 X6 B6 }- n+ HAddAttribute( 12, 53000, 1203, 1203, 1575 )3 Z8 F( O9 G$ e. |+ y* K
AddAttribute( 13, 53000, 1379, 1379, 1763 )* m: o7 h& g F, L: {" D
AddAttribute( 14, 53000, 1568, 1568, 1966 )
/ V, e9 M* J' e9 W7 V( }; _3 Y) uAddAttribute( 15, 53000, 1772, 1772, 2184 )
0 F4 z: x& M; I* Q ?' |! C+ YAddAttribute( 16, 53000, 1989, 1989, 2417 )
~6 c$ s8 j( n, z% J5 M% LAddAttribute( 17, 53000, 2221, 2221, 2665 )) n! h n1 E- s/ n
AddAttribute( 18, 53000, 2467, 2467, 2998 )7 T) B& z' p+ E4 w/ v6 Z
AddAttribute( 19, 53000, 2726, 2726, 3207 )
, @4 U! p4 M7 w* ^5 d$ I* ~- tAddAttribute( 20, 53000, 3000, 3000, 3500 )9 `1 F, e7 p N; s8 u2 L0 b
0 Q+ L+ |3 m3 k3 q8 ^& S: Y7 S6 k* N
----------------------------------------------------------- u" p' o. x4 ] D Y# i
----------------------------------------------------------6 l* b& c! q0 i0 L3 K7 V
----------------------------------------------------------$ ]( d/ G: ], L5 k1 {& y4 @5 j
nItemTransyLowLevel = 500000
1 Z5 |# F1 q2 a E7 v$ l+ e4 tnItemTransyHighLevel = 2000000
# g: X! A0 U) C7 V \
! a& l' y3 r& F3 K- a/ n& ?. N* x/ ?----------------------------------------------------------% w* B" o. Z! {% |( h7 e5 f
--Kost黰e Kombination Chance------------------------------
0 c. ^7 F5 d4 c8 t4 t" p# a" y----------------------------------------------------------
* C( M! ~1 Q% I4 k# y" w$ E6 B. {3 B' I
nFashionCombineChance = 2500 -- 25%
( Z% H" |2 m5 q: b2 z' Z
9 l, Y8 q, z* t5 F) t |
|