|
|
ItemUpgrade.lua
- m# ?2 L% U% d9 m0 V* e----------------------------------------------------------, M; b. _! t6 E+ n% |
--Sockel Chance-------------------------------------------
* P2 Y5 ~1 I, V: E z----------------------------------------------------------* y9 X7 |) R Y! n' p) f
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)( \8 }7 O, Z: U: f. E$ X3 L0 f, x
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }7 F0 ^$ a) j' W) w
& J, z$ _5 |3 V6 @: t; i5 J* A( j. F% J
----------------------------------------------------------
+ Y3 l% t* @. ~! O$ L--Upgrade Chance------------------------------------------* ?& O0 p/ y7 ?( k
----------------------------------------------------------* {/ O8 ~% E4 \) j, F
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊), V8 G5 K3 }4 p& @, l( U! i* L) |
5 L7 V8 n4 A& v% `( [ v7 H
----------------------------------------------------------
3 |- b( }* H+ Q( ~0 h. W--Upgrade Chance------------------------------------------
9 i, T. ?9 {1 Y5 n" C) o----------------------------------------------------------9 \% A" {5 ~8 z' j$ {3 l
tAttribute = {}
$ k8 n$ c$ r+ G8 ]$ M' [. X+ |function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
& \3 s3 I" b+ v% D9 a! g tAttribute[nNum] = {}. D( P0 j; S- E8 v0 [; Z
tAttribute[nNum].nProb = nProb
2 A( n5 M9 e8 Z; A tAttribute[nNum].nDamageRate = nDamageRate: ~( f6 Q" e$ p6 k9 M8 |
tAttribute[nNum].nDefenseRate = nDefenseRate+ U+ [* ?* b$ R: @0 w5 Y& ]
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate, H9 R L) C9 a
end
, O! B# ?( Y1 U; j4 J7 Z-- * d& U0 Y- p5 f n" X4 s4 |1 B
AddAttribute( 1, 100000, 200, 200, 500 )$ y* p- ?' x4 Z) T e
AddAttribute( 2, 100000, 221, 221, 522 )
) F2 j4 R5 @+ O, T( VAddAttribute( 3, 92000, 256, 256, 560 )
/ H7 W9 ^; G! V# lAddAttribute( 4, 70000, 305, 305, 612 )# ~& S+ D; _) N
AddAttribute( 5, 53000, 368, 368, 680 ); \" Y9 h( z5 t# E8 E6 C
AddAttribute( 6, 53000, 446, 446, 763 )
1 G* C4 ~# q. }) M$ i2 iAddAttribute( 7, 53000, 537, 537, 860 )
$ e, V: c+ ]& \8 e* S. m) WAddAttribute( 8, 53000, 642, 642, 973 )4 f( g0 e/ w5 d B1 ~
AddAttribute( 9, 53000, 761, 761, 1101 )6 m) R7 m: }+ F; ~+ j
AddAttribute( 10, 53000, 895, 895, 1244 )5 _& }' o; q) ]% i7 Z% Y
AddAttribute( 11, 53000, 1042, 1042, 1402 )' I; g( y2 |, w
AddAttribute( 12, 53000, 1203, 1203, 1575 )
1 y5 [- X% S% h7 O. nAddAttribute( 13, 53000, 1379, 1379, 1763 )
. y8 C& n r2 U& nAddAttribute( 14, 53000, 1568, 1568, 1966 )8 Q e$ J5 n g# g! P+ d4 K
AddAttribute( 15, 53000, 1772, 1772, 2184 )( H0 l: j6 S; D6 L6 y
AddAttribute( 16, 53000, 1989, 1989, 2417 )
3 k3 E# ^8 n0 c4 v M/ y4 P3 BAddAttribute( 17, 53000, 2221, 2221, 2665 )
$ A6 ^. a+ R# q% x8 V$ B/ Z! fAddAttribute( 18, 53000, 2467, 2467, 2998 )
7 _3 Y4 `5 j8 M! yAddAttribute( 19, 53000, 2726, 2726, 3207 )1 s% h/ C- }+ Y4 ?* e
AddAttribute( 20, 53000, 3000, 3000, 3500 )0 F" g7 \7 D. L3 s: Q
5 _) L- S, H- X E( A4 T----------------------------------------------------------) z- G. X2 I [0 _
----------------------------------------------------------' L+ i1 E+ c( ]7 e
----------------------------------------------------------( O, T$ }8 e4 U, q1 r$ |& o/ V
nItemTransyLowLevel = 500000
! A! |: @2 V( v7 M& jnItemTransyHighLevel = 2000000
4 _, A' H9 @# W6 p* M+ A8 s1 _* l8 ~: o
----------------------------------------------------------, g/ R9 A; v3 r9 S
--Kost黰e Kombination Chance------------------------------
( z5 t# G7 ^2 U4 S5 c9 d----------------------------------------------------------
4 j5 D W' X1 q ~* o7 U d" Y# x' @! @6 d) e$ x* m
nFashionCombineChance = 2500 -- 25%
* W6 U) ]/ G; r6 S# V; T4 y" n* H& L3 [( z
|
|