飞飞世界论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 14507|回复: 0
打印 上一主题 下一主题

武器/装备/穿洞精炼机率

[复制链接]

197

主题

203

帖子

1092

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1092
QQ
跳转到指定楼层
楼主
发表于 2016-1-10 02:21:49 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
ItemUpgrade.lua
7 W7 u9 o& S4 _6 k----------------------------------------------------------
8 m/ ?2 b! o5 u; L; i& L--Sockel Chance-------------------------------------------
+ ^7 x1 d2 g  ]( d. b% T0 t8 F, H6 n----------------------------------------------------------1 c; x+ n* l7 r8 R
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊)( q# e) N( ?3 u, E: ?
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }
0 t# Z8 t8 |% S* m) Q" T9 r& K6 v6 v) X3 T. u

1 `$ n$ v) \8 I* n: ~- m5 v. L0 J----------------------------------------------------------
3 ~2 X4 S+ _8 B7 x4 g; A--Upgrade Chance------------------------------------------
4 e- ~/ j( {& e1 r----------------------------------------------------------
$ h2 Z/ K/ _* T/ P3 L$ Q3 Q; GtGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)
- E/ E# h* q. c" _: n5 f4 A2 l0 t$ `  c( Q" d3 |7 }5 H
----------------------------------------------------------$ Y( f7 Y: Z# G; K+ G
--Upgrade Chance------------------------------------------2 h4 G0 r2 ~3 C- \8 {4 w; ]- F
----------------------------------------------------------( h) }$ z. P% p9 M
tAttribute = {}
2 d- u/ n2 T; }9 \: W; Ifunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )" \! f& f# i+ T
        tAttribute[nNum] = {}$ t( p; B% _# p6 r
        tAttribute[nNum].nProb = nProb
' \4 `. G5 j, {/ i1 {) `        tAttribute[nNum].nDamageRate = nDamageRate( ^7 D1 d! r! x4 N7 D& T
        tAttribute[nNum].nDefenseRate = nDefenseRate  z  [( P& e7 m( P  ~3 Z3 t. u7 j
        tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
2 t5 f) U. n. M8 b8 d8 U$ b8 Nend
2 ~1 W$ c$ t$ q. W--                       
0 C; K( {& b. C! [+ q& P5 HAddAttribute(        1,                100000,                200,                        200,                        500                )
: P+ m! m6 G2 ~9 x: E/ lAddAttribute(        2,                100000,                221,                        221,                        522                )
: l4 |5 A3 ?5 kAddAttribute(        3,                92000,                256,                        256,                        560                )4 c# h+ `" s2 R. d- d+ P" y
AddAttribute(        4,                70000,                305,                        305,                        612                )5 \4 e  K, U' M4 b
AddAttribute(        5,                53000,                368,                        368,                        680                )
$ F- B, ]; S5 D, u' qAddAttribute(        6,                53000,                446,                        446,                        763                )
' l7 m( R0 u. w/ G: i6 XAddAttribute(        7,                53000,                537,                        537,                        860                )
8 i/ ]( K0 u  ]$ R% N% {AddAttribute(        8,                53000,                642,                        642,                        973                )
3 D% C. q" N7 w6 X2 g* h: SAddAttribute(        9,                53000,                761,                        761,                        1101                )
2 ^) S3 y1 L; ~AddAttribute(        10,                53000,                895,                        895,                        1244                )
% ?, c! P( S# O5 h4 P3 iAddAttribute(        11,                53000,                1042,                        1042,                        1402                ): P% C, l0 P6 v
AddAttribute(        12,                53000,                1203,                        1203,                        1575                ), k* Z1 \! p+ d. P4 ~3 \: u, ^7 |
AddAttribute(        13,                53000,                1379,                        1379,                        1763                )
3 m* j# Z( b2 ]& g! x8 JAddAttribute(        14,                53000,                1568,                        1568,                        1966                )
/ F4 A& F5 v; S5 V  ?3 _AddAttribute(        15,                53000,                1772,                        1772,                        2184                ). p/ a0 C6 s; I# @' `! l# ]
AddAttribute(        16,                53000,                1989,                        1989,                        2417                )
* V8 m$ X7 y5 x% sAddAttribute(        17,                53000,                2221,                        2221,                        2665                )- _+ ^* W% ]) u0 W1 ^5 v. x7 L$ u
AddAttribute(        18,                53000,                2467,                        2467,                        2998                )* Y: W0 E! X, ?( S) |/ y2 Q% ^3 Y
AddAttribute(        19,                53000,                2726,                        2726,                        3207                )
$ `- D0 A. o1 a2 ?7 H* u2 vAddAttribute(        20,                53000,                3000,                        3000,                        3500                )& g" m; |, |5 Y8 T9 B* R: Z4 _
1 r2 ^* Q  u- b2 I# q
----------------------------------------------------------
8 R* H1 Q* P1 N& r4 W! o2 i! ]----------------------------------------------------------
7 `' J1 N* ^: m----------------------------------------------------------( ]4 ]" D/ K( A/ x4 r$ u: A) U( B  l
nItemTransyLowLevel        = 500000
9 h( z- J' w, u  ZnItemTransyHighLevel        = 20000003 ^1 n7 D& h, I

* s3 y/ L2 I8 v2 D; v  M* D. A, _----------------------------------------------------------1 i5 ?! `5 z- S, b  S2 Q2 Q6 }6 q# j
--Kost黰e Kombination Chance------------------------------
0 g# T7 D- }. I5 n: A3 [----------------------------------------------------------* w, k, u7 h- y% x+ P" Z# ^3 V
* E4 A  t" W8 y2 v
nFashionCombineChance = 2500 -- 25%
6 c9 Y3 J2 [* k8 e, M/ ?8 m* ?# G1 S+ A# `
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|飞飞世界技术论坛  

GMT+8, 2026-1-29 15:23 , Processed in 0.060577 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表