|
|
ItemUpgrade.lua
. M1 q' D" L6 ]( X+ Q----------------------------------------------------------* z0 U( H3 ?. j0 D' [8 s" F
--Sockel Chance-------------------------------------------% M9 I8 s: @" n- G
----------------------------------------------------------
9 S: _4 W _( f# x7 p, G5 }9 e2 T0 UtSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)! d4 e* Q; Y+ y6 O* z# \4 @6 f
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
1 D$ _: N4 e- V& H0 j0 ~; w
9 y$ O* x) U" B3 j( v+ f+ s
, ^. e2 l) T$ v/ G. ^0 Q----------------------------------------------------------$ `; ^1 r* {1 Z7 W0 X8 n; m
--Upgrade Chance------------------------------------------
- A, g5 r& i+ Q/ |7 Y* T f9 A----------------------------------------------------------
5 N& @0 w8 k ?% ]& ctGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
- p' J8 ?; P( x" k: U/ ~ Z/ n0 c
# ~0 Y7 O- K; b5 i----------------------------------------------------------
9 _) K7 H P: ^4 x--Upgrade Chance------------------------------------------: T, _. K% h0 o. t! T
----------------------------------------------------------
% A' U" U2 K& ztAttribute = {}
$ Y' U1 S1 T: \8 v# D1 u( ?4 Efunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
5 K! v! W z+ Y+ T$ } tAttribute[nNum] = {}
' U( f2 O3 Z+ H% V tAttribute[nNum].nProb = nProb
8 r& }- h1 Q% f6 } tAttribute[nNum].nDamageRate = nDamageRate
. ~# V& [: |- y tAttribute[nNum].nDefenseRate = nDefenseRate
4 U* I- s& [0 p5 k+ [. Q tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate/ f$ L) ~# F9 p( F& _; i
end2 Q, v- R/ ]- ^' v% T b
--
& V& p+ i4 K3 `' B& h! E: t# qAddAttribute( 1, 100000, 200, 200, 500 )' O# @; A: O; O* }# z. v
AddAttribute( 2, 100000, 221, 221, 522 )0 ~; d5 t0 K9 u. w2 V6 T
AddAttribute( 3, 92000, 256, 256, 560 )% i4 M' U+ r. g+ p3 X5 @7 W
AddAttribute( 4, 70000, 305, 305, 612 )
u: G. M- e+ P6 W k! D0 }+ h$ lAddAttribute( 5, 53000, 368, 368, 680 )
3 n9 g3 n) D SAddAttribute( 6, 53000, 446, 446, 763 )0 d3 `$ X k1 C; D5 d! h
AddAttribute( 7, 53000, 537, 537, 860 ) d% l( d( k$ E- K6 S, v- P
AddAttribute( 8, 53000, 642, 642, 973 )+ z) q, p! P% u$ g- n T5 ^
AddAttribute( 9, 53000, 761, 761, 1101 )
- _$ r- [5 b+ t0 j; C( |- SAddAttribute( 10, 53000, 895, 895, 1244 )
5 G4 |, B7 z* j" q. X2 LAddAttribute( 11, 53000, 1042, 1042, 1402 )
# f5 j$ u! u W7 H9 I9 AAddAttribute( 12, 53000, 1203, 1203, 1575 )1 m+ u" u7 y3 N8 G3 ]5 E
AddAttribute( 13, 53000, 1379, 1379, 1763 )4 q4 [3 `3 O& T# N" T2 O
AddAttribute( 14, 53000, 1568, 1568, 1966 )
6 u3 e/ s- Z) E8 nAddAttribute( 15, 53000, 1772, 1772, 2184 )
( _+ y& I6 I* f( n3 O. E! |AddAttribute( 16, 53000, 1989, 1989, 2417 )
; @( Q+ v$ K L; AAddAttribute( 17, 53000, 2221, 2221, 2665 ). U9 c* n" U) ~$ P/ k2 l: ^
AddAttribute( 18, 53000, 2467, 2467, 2998 )
. M) J! T+ }$ @4 dAddAttribute( 19, 53000, 2726, 2726, 3207 )
. T9 J+ z+ g( w! ]1 N5 W* R( d0 SAddAttribute( 20, 53000, 3000, 3000, 3500 )7 ~4 L7 L' ?0 \* Z; X6 E* T% `, c5 s
0 ~+ F5 C9 t; h" v5 A0 \4 z
----------------------------------------------------------
! z9 u5 a" P/ y$ S0 k----------------------------------------------------------
0 a( b% [; q% `8 k0 m----------------------------------------------------------0 O# q0 Y1 X3 |. q( `1 m
nItemTransyLowLevel = 500000
' s- K2 W4 k: CnItemTransyHighLevel = 20000000 Z+ @9 p3 r2 Q% g1 `
% s3 p* L$ [! _4 ?----------------------------------------------------------- y8 B. E( Y) M( \* ~) t+ u
--Kost黰e Kombination Chance------------------------------
* ] C6 d9 R- L. a. G0 p9 \9 V----------------------------------------------------------
, b& T' W& b* @8 E2 c* f J
4 L5 i" [$ C0 I7 f, L7 TnFashionCombineChance = 2500 -- 25%6 z; B P" B- z
* w( a; A) P/ u. C9 E' Y4 ~& z
|
|