|
|
ItemUpgrade.lua
$ y/ o0 v8 W) y/ M% e4 x0 n----------------------------------------------------------
2 h) Y% s1 q! o4 \/ z--Sockel Chance-------------------------------------------
. E) T# z5 t5 @5 N2 b" Y% q----------------------------------------------------------
( P5 v& d$ F1 U, Y/ B; [/ g% b @tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
8 S' m- ^- A* v* ztWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }. {( E3 |& B; ^2 y
1 _) [+ N- E) ?! l' Z9 H
$ T( m, }/ v5 d) @----------------------------------------------------------
$ u z* m9 U# i& g--Upgrade Chance------------------------------------------: |& p" ?, f) ~, M+ f/ ?
----------------------------------------------------------
' G9 O. p, v) ~, K8 R @tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊), Q) e6 G4 P! X8 c1 I
, l4 t; h7 x5 Q, q/ D Y----------------------------------------------------------
( ^/ b- h- m+ S `--Upgrade Chance------------------------------------------
: X( e2 m4 }3 o( [. U' I( U. u6 z& c----------------------------------------------------------0 C6 [6 }- ~4 H" i
tAttribute = {}
/ Z. d- w5 z: b' ^7 B8 {function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
- _3 m T. i- h: D; `4 T9 W3 i tAttribute[nNum] = {}" Q; {( ^$ R, ^5 a! N
tAttribute[nNum].nProb = nProb
5 @. R* N" ?/ _% \1 j7 d- I( D+ [1 f tAttribute[nNum].nDamageRate = nDamageRate
, K Y) M+ B5 O& F5 J tAttribute[nNum].nDefenseRate = nDefenseRate/ D( V- ~& f& U W
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
- |- B) }- e% r3 Wend
4 {; G. r3 P- R-- - C( z5 Q, C/ k6 w M* C; u
AddAttribute( 1, 100000, 200, 200, 500 )
6 [6 y p$ Z4 P0 \' U$ P: uAddAttribute( 2, 100000, 221, 221, 522 )* N( R2 R% G* ~, p* X1 I
AddAttribute( 3, 92000, 256, 256, 560 ); K: |6 q" ~; a. A
AddAttribute( 4, 70000, 305, 305, 612 )
* i# v- N! f) f; u3 }; T2 a( ^AddAttribute( 5, 53000, 368, 368, 680 )
* Y4 O' N9 J, W) g% X/ m- GAddAttribute( 6, 53000, 446, 446, 763 )9 y6 i0 K: v+ s
AddAttribute( 7, 53000, 537, 537, 860 )/ R0 \: E5 s5 k+ X0 ~: Q' Z
AddAttribute( 8, 53000, 642, 642, 973 )
% U, P* p" {+ R* W5 B OAddAttribute( 9, 53000, 761, 761, 1101 )1 K2 M& }' ?8 e8 n/ _& n7 |4 h6 T
AddAttribute( 10, 53000, 895, 895, 1244 )
3 [$ h) u8 P: r5 DAddAttribute( 11, 53000, 1042, 1042, 1402 )
j, r# W: F! }- R( `1 mAddAttribute( 12, 53000, 1203, 1203, 1575 )0 s4 G8 @, Q/ _5 O
AddAttribute( 13, 53000, 1379, 1379, 1763 )0 z7 N- }2 [1 v c# T; e
AddAttribute( 14, 53000, 1568, 1568, 1966 )
( W F q7 S% H0 I2 CAddAttribute( 15, 53000, 1772, 1772, 2184 )
* `2 _& e, M1 @AddAttribute( 16, 53000, 1989, 1989, 2417 )
4 v' \! @2 p: f( l$ q lAddAttribute( 17, 53000, 2221, 2221, 2665 )7 v8 ?* T" l0 h9 w$ {- g% q
AddAttribute( 18, 53000, 2467, 2467, 2998 )
; b# u0 |. B! B: \1 a1 d2 a AAddAttribute( 19, 53000, 2726, 2726, 3207 )
4 g! G) p1 {! Z" U0 [AddAttribute( 20, 53000, 3000, 3000, 3500 )
+ {! |% O( e$ T# s" Y" x0 i7 j1 c: ]4 S" C( D
----------------------------------------------------------. d, N* [& p0 y2 p: @
----------------------------------------------------------8 U+ D% r+ u* \1 ? N
----------------------------------------------------------
4 ~& C* U! ]. P" g5 Q2 SnItemTransyLowLevel = 500000
2 T' B+ S( ]; H. P+ e& B* Y; x4 dnItemTransyHighLevel = 2000000
! K. H6 T% h$ g, j# T0 U+ M5 {# ~/ X4 z3 j; t* l) k; h) \ C
----------------------------------------------------------
( g- s1 X7 ]4 ?& K$ [" A+ d--Kost黰e Kombination Chance------------------------------
6 ]9 Q8 t5 Y2 _- V7 Z----------------------------------------------------------# V3 R8 ^' K" c9 w8 r+ ~) n
5 H0 x$ p. E) H% `+ c
nFashionCombineChance = 2500 -- 25%
% M7 i. W& ` M+ m0 |* H8 N( l/ t: S" e' h4 C4 c
|
|