飞飞世界论坛
标题:
武器/装备/穿洞精炼机率
[打印本页]
作者:
admin
时间:
2016-1-10 02:21
标题:
武器/装备/穿洞精炼机率
ItemUpgrade.lua
/ {4 K$ h9 b/ Q6 I6 t* G0 B0 E- S
----------------------------------------------------------
) p0 Y( n7 y1 }- S3 t; i) L2 O* `
--Sockel Chance-------------------------------------------
% V7 {; }9 P; M# [
----------------------------------------------------------
4 F2 F2 v* c5 |3 }
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
! Z% j$ ~/ L3 e; q% [* n
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
- D' T/ t$ y+ s
9 T6 ^# X4 ?' V6 X: T1 O" j+ \8 }, e
+ g' g" e; S1 _8 \* h, ?# Q
----------------------------------------------------------
4 [/ ?* ^, t) s) ~0 \) X( Z) M
--Upgrade Chance------------------------------------------
/ M3 ?% u G4 N" F" a
----------------------------------------------------------
Q2 [. h2 x* n+ x D$ q& r
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
# w# {2 h) z3 S; J
5 D) e; o% @; O% D$ x( r/ F- g9 ^" T
----------------------------------------------------------
& _* R: I8 w- R8 h& K3 j9 `- _% G
--Upgrade Chance------------------------------------------
& M$ o' g5 M; a( ^3 p7 l
----------------------------------------------------------
% o: k' q0 {0 a" S
tAttribute = {}
8 ?& u r8 U5 j s$ ]6 h% k; e
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
1 U; P* P& s/ J* ?% h( f
tAttribute[nNum] = {}
$ ?: C$ N" C# s9 N9 S" y: @4 c
tAttribute[nNum].nProb = nProb
+ R! o6 w# d* Z
tAttribute[nNum].nDamageRate = nDamageRate
* B, N: P4 h3 k
tAttribute[nNum].nDefenseRate = nDefenseRate
& u0 O( O, D4 n
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
& Q1 T, m$ Q& W' c) p, u& C
end
" i: ^& w5 _7 ?3 ?
--
& e6 ?( d* Y1 A2 `
AddAttribute( 1, 100000, 200, 200, 500 )
$ m9 _& x6 c( e; s
AddAttribute( 2, 100000, 221, 221, 522 )
/ a& }1 J4 D2 V
AddAttribute( 3, 92000, 256, 256, 560 )
" S3 c# o% I, m8 |& O% |0 b3 C
AddAttribute( 4, 70000, 305, 305, 612 )
" i1 f7 n( R2 ^
AddAttribute( 5, 53000, 368, 368, 680 )
4 X# b. J9 a( M( ^, e/ s$ }
AddAttribute( 6, 53000, 446, 446, 763 )
+ q+ w# e9 T1 O; {8 @ A$ |% L
AddAttribute( 7, 53000, 537, 537, 860 )
- {& f6 J$ r7 L" J2 O5 n
AddAttribute( 8, 53000, 642, 642, 973 )
9 |/ N4 x0 L$ o' S
AddAttribute( 9, 53000, 761, 761, 1101 )
! h6 B0 Q& o; j- B
AddAttribute( 10, 53000, 895, 895, 1244 )
% f2 `( d g1 u5 H0 t9 {$ F% p
AddAttribute( 11, 53000, 1042, 1042, 1402 )
$ u7 t5 s5 |8 Q2 k
AddAttribute( 12, 53000, 1203, 1203, 1575 )
6 R; N( v# o5 W
AddAttribute( 13, 53000, 1379, 1379, 1763 )
" p5 m# A$ o- s; C1 z$ |2 \
AddAttribute( 14, 53000, 1568, 1568, 1966 )
% F( [! }. c, \$ ~
AddAttribute( 15, 53000, 1772, 1772, 2184 )
; p2 D4 [; z6 @+ R S
AddAttribute( 16, 53000, 1989, 1989, 2417 )
$ ?1 N% g8 ^! ?3 q
AddAttribute( 17, 53000, 2221, 2221, 2665 )
; u+ B; z) i. q+ \+ q
AddAttribute( 18, 53000, 2467, 2467, 2998 )
: A( e5 b9 y9 T0 H% D: ]- s' Z
AddAttribute( 19, 53000, 2726, 2726, 3207 )
- J9 T; a/ j; W1 ]: q3 n
AddAttribute( 20, 53000, 3000, 3000, 3500 )
) o" ]# l0 [9 m9 z1 t6 p
, x1 r5 @# G; e0 K
----------------------------------------------------------
+ Q S2 U' n' f. C4 _2 g
----------------------------------------------------------
* x' N5 [5 V& v ]
----------------------------------------------------------
7 [& P+ |' Q% m4 X/ g
nItemTransyLowLevel = 500000
8 M( I% ^" r5 a5 i
nItemTransyHighLevel = 2000000
; l1 x$ [+ j: ^8 L& E! T
% I, x" f& c- \) V1 e: o
----------------------------------------------------------
6 [$ O R$ P' s. O3 p2 s2 n/ V0 c, c
--Kost黰e Kombination Chance------------------------------
4 x# y! q+ S5 j) M
----------------------------------------------------------
4 o4 ^& m6 ]9 `* @! f7 m
% [- ^6 \6 V# n5 Z3 t$ ^' x2 E5 b, v
nFashionCombineChance = 2500 -- 25%
- n- E0 r( W8 Z1 q
' t9 }9 ?# K+ T
欢迎光临 飞飞世界论坛 (http://ffwold.com/)
Powered by Discuz! X3.2