飞飞世界论坛
标题:
武器/装备/穿洞精炼机率
[打印本页]
作者:
admin
时间:
2016-1-10 02:21
标题:
武器/装备/穿洞精炼机率
ItemUpgrade.lua
, u3 l/ d/ x) G( `" O3 @
----------------------------------------------------------
1 a4 h: O3 E5 V! B$ w
--Sockel Chance-------------------------------------------
5 n5 C- n8 n8 q$ k u
----------------------------------------------------------
z, _% I( u, ~8 ]
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
# `: b! l2 d4 M
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
r% k6 A& @/ T7 x" r6 p
) b4 Y7 {9 {8 }- \
- g; h E# f7 o5 O8 P
----------------------------------------------------------
w' j4 K& v( c; G5 k
--Upgrade Chance------------------------------------------
9 P' k: I$ G/ y
----------------------------------------------------------
! v3 T/ i/ L! ~) Q1 p5 X
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
( T N9 j* ?1 M" T, S# u
6 ?% @. F% x# F0 @
----------------------------------------------------------
/ ?6 n) D# A5 G) H
--Upgrade Chance------------------------------------------
* [$ T4 _) S+ M* m/ A0 ~+ i
----------------------------------------------------------
2 _) t7 m- O8 H" P# N
tAttribute = {}
3 D4 d. Y( P5 C- Y4 K; p" C
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
$ D- J8 s. D& c5 k
tAttribute[nNum] = {}
' ] v) F; ~: L1 d: C0 i8 L
tAttribute[nNum].nProb = nProb
9 B8 |4 g/ p" A# r, O4 ^
tAttribute[nNum].nDamageRate = nDamageRate
0 G* w8 V- y! ] e! Z8 c" m; d
tAttribute[nNum].nDefenseRate = nDefenseRate
) T* r1 I% u1 Q8 p; x( ]+ M
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
/ y( g M6 c0 ?4 ]; Q- k9 e
end
3 O% L# g3 h3 R6 C' `: s
--
5 e( o/ M$ ?; y5 y# ?7 d2 N! o% y7 l
AddAttribute( 1, 100000, 200, 200, 500 )
5 @4 d& M" U& o u2 @
AddAttribute( 2, 100000, 221, 221, 522 )
3 ?9 c: K3 ]8 g! L- I
AddAttribute( 3, 92000, 256, 256, 560 )
0 N7 A" |: I# T8 Z* u; p9 B
AddAttribute( 4, 70000, 305, 305, 612 )
- o9 a2 n1 @. o* Q" \8 |
AddAttribute( 5, 53000, 368, 368, 680 )
$ n9 P: r' q; n1 Z+ j" ]
AddAttribute( 6, 53000, 446, 446, 763 )
: @ [" ?+ ^- l' D3 ]. \# n
AddAttribute( 7, 53000, 537, 537, 860 )
8 I: x* }; F* A% H7 b( p( T( P2 c! t
AddAttribute( 8, 53000, 642, 642, 973 )
' v. z/ Q7 D) r0 d
AddAttribute( 9, 53000, 761, 761, 1101 )
' V$ t( G4 B+ z% h: D' I9 l) {
AddAttribute( 10, 53000, 895, 895, 1244 )
7 E' s: |, p: Z* r( l
AddAttribute( 11, 53000, 1042, 1042, 1402 )
: Z9 v+ b$ a% K5 U% n: Y
AddAttribute( 12, 53000, 1203, 1203, 1575 )
3 K, L- i6 E C' d6 {& e
AddAttribute( 13, 53000, 1379, 1379, 1763 )
# r: ?: ]; e* i G3 V7 {2 \
AddAttribute( 14, 53000, 1568, 1568, 1966 )
5 S, F$ e% _( b- k2 l
AddAttribute( 15, 53000, 1772, 1772, 2184 )
4 } X0 j1 u+ I6 H9 q: x- o
AddAttribute( 16, 53000, 1989, 1989, 2417 )
2 D+ O5 [, R4 [) w
AddAttribute( 17, 53000, 2221, 2221, 2665 )
& x. ^' D( n. v0 N* l f" P
AddAttribute( 18, 53000, 2467, 2467, 2998 )
- ~" Z s' c9 D! G& t
AddAttribute( 19, 53000, 2726, 2726, 3207 )
% _( I' Q* p% d9 T+ |
AddAttribute( 20, 53000, 3000, 3000, 3500 )
- ?' N" b% {) M; Q9 {7 C
2 C+ L" W* R- G& @3 z
----------------------------------------------------------
- D' _! w4 X/ C4 e: T0 R2 A' g
----------------------------------------------------------
2 y; z) \7 p A$ I& R" i' J
----------------------------------------------------------
2 o) s% l8 R( a. y k# V
nItemTransyLowLevel = 500000
) E! M: j+ K8 a+ S
nItemTransyHighLevel = 2000000
& k! `' b. w6 ~1 K9 q
8 ^5 P/ ^: R' r7 n. { z
----------------------------------------------------------
! {5 \6 Y- S e4 H6 x2 B7 d
--Kost黰e Kombination Chance------------------------------
; r" |0 D" ?" V: P1 V
----------------------------------------------------------
1 h3 Q5 m1 L* k5 ~+ K& @: z, Z/ z
, P8 Z6 J6 H% A$ P; z6 P: ?* A
nFashionCombineChance = 2500 -- 25%
( ?; N+ u, X! j) j9 m$ o
( G6 i9 N! }6 r8 a
欢迎光临 飞飞世界论坛 (http://ffwold.com/)
Powered by Discuz! X3.2