|
|
ItemUpgrade.lua
* a7 S J; x& f----------------------------------------------------------! [0 x/ Q2 ^7 t% G
--Sockel Chance-------------------------------------------
: _9 ]" W. V! o! \8 w) S' @----------------------------------------------------------
* M: q$ ?# B$ Y stSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
+ H" t9 i- O7 L! {5 T5 gtWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
! N( z# c# v7 Q% w# C) W" x4 i1 Q& h9 N* |' H
+ s9 K3 D4 K) S) M5 q
----------------------------------------------------------' Y" U& ^. t$ n" v3 x- K, J O
--Upgrade Chance------------------------------------------
# A1 ^& W6 Z3 Y9 U. t----------------------------------------------------------
6 {7 f8 ?) Z$ j, a3 TtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
2 h0 T. m- A+ x( \) B0 s
3 Q, m L$ {: E; f----------------------------------------------------------
3 l" J* S% q/ a- [3 c--Upgrade Chance------------------------------------------
# [8 k8 a ~, j----------------------------------------------------------
4 N' y8 z5 m3 u" G0 W. s( xtAttribute = {}1 B' m- d- S- U2 h$ B
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
% f9 E) V; T& }+ N6 h tAttribute[nNum] = {}( K$ j! d4 l# V
tAttribute[nNum].nProb = nProb( X/ u7 k ^/ ^1 o: c W& z
tAttribute[nNum].nDamageRate = nDamageRate9 ^. }7 ^, q5 e. U
tAttribute[nNum].nDefenseRate = nDefenseRate
$ g, h% N, C5 i9 K2 O' Z tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
3 t8 @% [( B( lend
8 k7 j. _+ c1 l: c G-- 8 P# z, T' j' S! z. h _, M
AddAttribute( 1, 100000, 200, 200, 500 )
2 y# i4 R7 c! Z! J& |6 hAddAttribute( 2, 100000, 221, 221, 522 )+ `' h3 f5 \/ L$ o t/ g
AddAttribute( 3, 92000, 256, 256, 560 )
: t/ \. |% W' [ FAddAttribute( 4, 70000, 305, 305, 612 )7 F5 P3 z5 M- h* e4 c% x
AddAttribute( 5, 53000, 368, 368, 680 )
3 x. l# H7 n6 k; O9 D; l. s6 mAddAttribute( 6, 53000, 446, 446, 763 )# j, e# U" M( z& F
AddAttribute( 7, 53000, 537, 537, 860 )- S9 U; E/ e9 s" Y4 v
AddAttribute( 8, 53000, 642, 642, 973 )$ Y$ J4 J$ ?4 a$ v, [+ N
AddAttribute( 9, 53000, 761, 761, 1101 )& m$ p Q% F8 |0 l: E2 B) ~
AddAttribute( 10, 53000, 895, 895, 1244 )
# }3 o5 g9 ]$ \( |& w* sAddAttribute( 11, 53000, 1042, 1042, 1402 )" o8 S8 o9 p) n1 N1 ]4 Q
AddAttribute( 12, 53000, 1203, 1203, 1575 )* L5 `2 S( L2 c: j. r
AddAttribute( 13, 53000, 1379, 1379, 1763 )2 V+ B. q2 u: Y( }+ E9 E5 S
AddAttribute( 14, 53000, 1568, 1568, 1966 )8 k' @& a4 Y/ {/ L& t0 p+ j
AddAttribute( 15, 53000, 1772, 1772, 2184 )
2 F3 a% k' A: v; m" tAddAttribute( 16, 53000, 1989, 1989, 2417 )$ g3 c8 x% Y% l0 }9 a6 F0 b
AddAttribute( 17, 53000, 2221, 2221, 2665 )
3 T9 Q8 v6 k- ~- e- g9 yAddAttribute( 18, 53000, 2467, 2467, 2998 )
7 E/ ?5 I0 Q& Q/ d7 ?4 DAddAttribute( 19, 53000, 2726, 2726, 3207 )$ d& h5 d- B# d) k! P0 h, k* a' ?, d
AddAttribute( 20, 53000, 3000, 3000, 3500 )
3 o6 ]- }" |6 |5 n+ I
) w7 l, n+ |. i z7 G+ v2 ?" _----------------------------------------------------------
8 P6 k# [( m. h! Y3 {( K----------------------------------------------------------# o1 B$ W! {6 i$ N5 J2 A! c
----------------------------------------------------------
% m, \- g. a/ B$ \+ ?nItemTransyLowLevel = 500000- ^6 V8 O! O+ E9 |" O8 y9 V
nItemTransyHighLevel = 2000000
" u" z# V F7 A
- }4 V" J) s- L! d2 B6 C) C/ V! ~; L----------------------------------------------------------
- x1 E5 p; j% d; F; L--Kost黰e Kombination Chance------------------------------! N2 N. E( g4 }
----------------------------------------------------------
1 g. t' U" f0 [5 q. z0 @8 m: F
, Z7 ~. \% x5 }0 N I! CnFashionCombineChance = 2500 -- 25%
# B4 S: o/ t; O" W& }* X# @. f) K0 w; s0 H' G0 ^: J) q- D
|
|