飞飞世界论坛
标题:
武器/装备/穿洞精炼机率
[打印本页]
作者:
admin
时间:
2016-1-10 02:21
标题:
武器/装备/穿洞精炼机率
ItemUpgrade.lua
( }$ S r, ^7 t ?
----------------------------------------------------------
' \7 ]& V7 K% z# ^6 V. @
--Sockel Chance-------------------------------------------
% J1 g2 F! L, C8 q% h0 D
----------------------------------------------------------
7 ~6 I' R: x5 x# E& _
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)
( w1 K9 t# D0 H7 @# c
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
. Z6 m: y) o! Y6 [& i2 }+ [
' q _ y. {8 R" `1 _
- ~, q5 z4 A" A9 N- b
----------------------------------------------------------
) `- E7 q9 v' ~, b- h
--Upgrade Chance------------------------------------------
9 n% ]$ y/ k+ `1 d3 f1 A0 c2 A
----------------------------------------------------------
* m# y* l" V( m: t
tGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
! y. x' L* Q- g4 ]6 r
: q( P8 L( ]6 W }# I8 M# W" \
----------------------------------------------------------
/ ~: s# e5 e4 R2 V9 N
--Upgrade Chance------------------------------------------
4 N L$ l4 x$ J9 \" o; G9 U
----------------------------------------------------------
" W: s7 L# J% B# r% [9 \
tAttribute = {}
% ]9 ~2 E6 }( R- e1 R- i8 N
function AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
6 E j; k1 W+ P6 A# P- d1 G
tAttribute[nNum] = {}
7 E( `- A2 l: a/ {) l2 a; y
tAttribute[nNum].nProb = nProb
1 n2 o K4 Y' Z7 t7 X4 d% ?
tAttribute[nNum].nDamageRate = nDamageRate
9 j6 l8 E7 V# @/ y
tAttribute[nNum].nDefenseRate = nDefenseRate
8 Z% Z+ l) p2 @
tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
; L, y( S) ~3 i
end
0 z4 N. R3 e5 b; R. S! B
--
- s3 @ k6 v% I9 P5 ~1 \8 F
AddAttribute( 1, 100000, 200, 200, 500 )
& ?: n- f2 x+ Z1 }
AddAttribute( 2, 100000, 221, 221, 522 )
* M6 @& T+ u L4 {7 u8 o* [
AddAttribute( 3, 92000, 256, 256, 560 )
( a p5 i, W/ W4 H
AddAttribute( 4, 70000, 305, 305, 612 )
$ {: A! u. {* c# T
AddAttribute( 5, 53000, 368, 368, 680 )
& o. s- g1 P; q9 [2 s8 n
AddAttribute( 6, 53000, 446, 446, 763 )
% f$ H' x* v5 X; Z0 P( ^
AddAttribute( 7, 53000, 537, 537, 860 )
) f8 T4 f1 {8 Z/ w( |+ a1 a; u1 Q
AddAttribute( 8, 53000, 642, 642, 973 )
5 _7 ~. }' k: O
AddAttribute( 9, 53000, 761, 761, 1101 )
* `. V2 e2 D+ ]* o1 P/ I/ t( x- _
AddAttribute( 10, 53000, 895, 895, 1244 )
4 M7 E3 W+ V6 A
AddAttribute( 11, 53000, 1042, 1042, 1402 )
8 u. B7 ?. S* G6 Z/ h
AddAttribute( 12, 53000, 1203, 1203, 1575 )
( ]% J, b. c; u' ? D( M) F. v
AddAttribute( 13, 53000, 1379, 1379, 1763 )
0 T, I# H# M- n5 T* s# B h, Q
AddAttribute( 14, 53000, 1568, 1568, 1966 )
- v1 u. J" M0 m* L8 I! ?" ?5 K' d! H
AddAttribute( 15, 53000, 1772, 1772, 2184 )
3 u( }" Y ]. t4 q ?; |3 N, E% ~, o
AddAttribute( 16, 53000, 1989, 1989, 2417 )
# Y) v% y9 v- r; }8 |& ?
AddAttribute( 17, 53000, 2221, 2221, 2665 )
& Z: G* i9 Z7 r7 Z. v! O1 B2 V. |
AddAttribute( 18, 53000, 2467, 2467, 2998 )
- k) D/ p( G! W* r! x" C
AddAttribute( 19, 53000, 2726, 2726, 3207 )
; y7 ]# h. ]+ j& [6 ~7 W S. J a
AddAttribute( 20, 53000, 3000, 3000, 3500 )
8 V3 V( i' B( o4 [8 S+ o
: y" `* l' a! h+ z1 W! y& i* K
----------------------------------------------------------
S& B6 r! N- f- U; a: ~
----------------------------------------------------------
& ?8 F* F/ g* {. Z. U
----------------------------------------------------------
4 h* x. V/ i. j% C& f$ S8 ^2 J
nItemTransyLowLevel = 500000
' ^* W+ r7 w$ x9 A# k
nItemTransyHighLevel = 2000000
! s# L7 P2 g5 u# l @
- V1 K9 S% U& S1 s+ d
----------------------------------------------------------
. S/ T( M% p* u& L/ @ B3 n& ?& z
--Kost黰e Kombination Chance------------------------------
" v) I+ C0 L5 q
----------------------------------------------------------
: |! B8 D: d( z6 `
# N% c7 v' g8 s2 h; P
nFashionCombineChance = 2500 -- 25%
$ y7 m% a8 C! Q8 B. M8 H3 `
6 I" z' a" P& f; d L
欢迎光临 飞飞世界论坛 (http://ffwold.com/)
Powered by Discuz! X3.2