|
|
ItemUpgrade.lua; Y3 K8 b* h& Z" a
----------------------------------------------------------1 o! w) j9 I4 L. ^ N
--Sockel Chance-------------------------------------------- r/ i5 k' s- w1 h4 c; [2 D
----------------------------------------------------------. B) F# _5 j- I5 C) v) C1 J
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
( }1 m) Y8 Y; ^ L4 ~8 ^1 l0 atWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
8 L4 _' p! V$ C$ `! f% R- `* j) _ \
( h8 _+ ?% u# v7 A+ f/ ?---------------------------------------------------------- o. k, V0 F: a' a' I4 G
--Upgrade Chance------------------------------------------' T- [# e) X" s# B& E* S
----------------------------------------------------------; b: Y, M( G! k0 {; S/ s: H
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)- m: x" A* u. @' Q" n, c
' h* y8 b9 ^$ L# F
----------------------------------------------------------# |6 s' M) v) W; S- d1 h3 L
--Upgrade Chance------------------------------------------- {/ s. J. J$ h( C/ D, R5 `
----------------------------------------------------------
% `7 p$ {5 V/ |tAttribute = {}
/ G; d- q" z. f: f) Wfunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
& s# {% y, M" y! O* u tAttribute[nNum] = {}
8 d( V% Y" b y U( P5 M1 z6 w; e. u tAttribute[nNum].nProb = nProb$ A) L& v" K7 x8 p
tAttribute[nNum].nDamageRate = nDamageRate8 C9 q9 i: P x% a! {% m; Y9 B
tAttribute[nNum].nDefenseRate = nDefenseRate1 l1 u U+ K! L* J* Y1 q0 e& u6 s: F
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate" e) _$ O' k; J' q% W
end, H% M7 M: l' O( T% G4 p
-- . Z: ~4 J# w: u* y
AddAttribute( 1, 100000, 200, 200, 500 )
* H: k# ]4 x% n$ h" z. tAddAttribute( 2, 100000, 221, 221, 522 )
% O2 l, i: _5 S! f2 }/ ^0 d- IAddAttribute( 3, 92000, 256, 256, 560 )& B1 I" L& @+ c! u3 u q8 d- L
AddAttribute( 4, 70000, 305, 305, 612 )
4 [6 k( S a& A- IAddAttribute( 5, 53000, 368, 368, 680 )* l y9 K$ Y: @! X
AddAttribute( 6, 53000, 446, 446, 763 )
: r% ^$ X( n: O, p! r( GAddAttribute( 7, 53000, 537, 537, 860 )6 q$ ~9 G* y& d* Q9 Z
AddAttribute( 8, 53000, 642, 642, 973 )7 y5 \% P' @, L2 t9 p% W
AddAttribute( 9, 53000, 761, 761, 1101 )
# F" W0 u( I' w" @0 w7 Q iAddAttribute( 10, 53000, 895, 895, 1244 ). }, i" X& `5 _- g
AddAttribute( 11, 53000, 1042, 1042, 1402 )
2 }9 P# f- P3 ?AddAttribute( 12, 53000, 1203, 1203, 1575 ), p7 H6 Y+ U0 k- ~! t4 l$ G
AddAttribute( 13, 53000, 1379, 1379, 1763 )' [% O5 w8 d! t4 q2 u
AddAttribute( 14, 53000, 1568, 1568, 1966 )$ i% y. e% P: D3 E
AddAttribute( 15, 53000, 1772, 1772, 2184 )
) }3 U$ n/ X$ W1 vAddAttribute( 16, 53000, 1989, 1989, 2417 )
4 ?2 a; s( k eAddAttribute( 17, 53000, 2221, 2221, 2665 )
1 G) X: G" A! d7 A6 HAddAttribute( 18, 53000, 2467, 2467, 2998 )/ O5 _% S1 U {6 G* R- D" p
AddAttribute( 19, 53000, 2726, 2726, 3207 )0 `/ B1 p7 a7 N0 Y$ |
AddAttribute( 20, 53000, 3000, 3000, 3500 )5 p- o; o3 n1 B
; ~4 Y( B, y7 S0 Y6 m' ^
----------------------------------------------------------
; p7 Q1 d1 O2 _----------------------------------------------------------
' s7 F$ x9 v a% D$ F. h* L) J----------------------------------------------------------
1 h3 u; I; } [& r* r% QnItemTransyLowLevel = 500000 e. N$ _/ a5 v) I1 J- U% j5 B
nItemTransyHighLevel = 2000000* h# L1 j0 o5 H8 w
! i, x2 Q8 F+ b: v3 K----------------------------------------------------------
3 B1 G3 a E+ X% p- k) z: v9 b/ E3 `--Kost黰e Kombination Chance------------------------------0 K2 o( e' Y8 J+ R0 U
----------------------------------------------------------: n. K: \& X3 I
* N; N" O1 I R. {4 @# [7 s- \nFashionCombineChance = 2500 -- 25%# i4 X3 F y0 Z3 o
s( z# k H0 J( ~+ e; Z1 {
|
|