飞飞世界论坛

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

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

[复制链接]

197

主题

203

帖子

1086

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1086
QQ
跳转到指定楼层
楼主
发表于 2016-1-10 02:21:49 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
ItemUpgrade.lua
& o2 V: Y; |* R' K4 |7 \% b----------------------------------------------------------
1 E# w0 A) e3 c4 e--Sockel Chance-------------------------------------------2 C: B2 a- p) l# T$ t0 D
----------------------------------------------------------2 r5 v; T+ E' z0 X7 a/ m
tSuitProb = { 8000, 5000, 2000, 500 }//这个是穿洞机率(俊俊), ^  L! N+ P* W7 Q( o* x
tWeaponProb = { 5000, 2500, 1250, 625, 313, 156, 78, 39, 20, 10 }. M0 [- K( l3 m! a

8 K) c. N$ T  F2 O9 U
/ A# J+ b  b! A2 g# j  {----------------------------------------------------------. w- Q9 l$ I- t8 r9 Q
--Upgrade Chance------------------------------------------
$ C" w: r) t) i4 |4 G' U----------------------------------------------------------
3 C4 K4 R, R  L; {6 R1 etGeneral = { 10000, 10000, 7000, 5000, 4000, 3000, 2000, 1000, 500, 200 };//这个是普通武器/装备精炼机率修改(俊俊)4 i8 n* K$ i4 |" U  Q9 a& E

9 L5 Q7 }  k( p" L0 @- v----------------------------------------------------------. G/ f! s- U$ J+ Q* h
--Upgrade Chance------------------------------------------
7 K# x0 A9 ]; K: Z----------------------------------------------------------3 t" x% {; h9 Z, C( N! R
tAttribute = {}
! p5 m: B) C6 L: L, e9 d0 i' Efunction AddAttribute( nNum, nProb, nDamageRate, nDefenseRate, nAddAtkDmgRate )
8 @) v' P, b( t% S4 c1 o5 {$ ~! |        tAttribute[nNum] = {}$ |( R. i$ V: u( W. u
        tAttribute[nNum].nProb = nProb4 n0 |" r) a: g8 v
        tAttribute[nNum].nDamageRate = nDamageRate) W% I1 M: f7 R, n5 M
        tAttribute[nNum].nDefenseRate = nDefenseRate3 n4 z/ {3 f+ R) ?) a
        tAttribute[nNum].nAddAtkDmgRate = nAddAtkDmgRate
& m1 ?3 c  i0 K1 ?end5 `  T: Z" y; F# b4 {, ?) w* G
--                        / k) L1 j2 C" t, M( v  N
AddAttribute(        1,                100000,                200,                        200,                        500                )6 {" X1 }& f- p2 g
AddAttribute(        2,                100000,                221,                        221,                        522                )% g) a& r# M, b  g: M) S$ S
AddAttribute(        3,                92000,                256,                        256,                        560                )4 G) U4 U: `; e! G6 p$ S- q
AddAttribute(        4,                70000,                305,                        305,                        612                )
+ P1 t/ s6 [, W6 ]6 K  J, K0 h+ r: ^AddAttribute(        5,                53000,                368,                        368,                        680                )8 w' h# M1 o8 J8 U% Y' W4 i
AddAttribute(        6,                53000,                446,                        446,                        763                )+ B8 ?' D- Y2 w; o% r; V5 V
AddAttribute(        7,                53000,                537,                        537,                        860                )
' e4 n0 w5 L8 D2 TAddAttribute(        8,                53000,                642,                        642,                        973                )
1 \5 h+ u8 L# \5 e6 e/ eAddAttribute(        9,                53000,                761,                        761,                        1101                )1 Y: i0 w, g$ i2 J
AddAttribute(        10,                53000,                895,                        895,                        1244                )
8 u/ ?% i5 f, q$ L- W( LAddAttribute(        11,                53000,                1042,                        1042,                        1402                )( \( U7 q+ Y) W2 C7 R( w" [
AddAttribute(        12,                53000,                1203,                        1203,                        1575                )" ^' e/ _( w* A$ c
AddAttribute(        13,                53000,                1379,                        1379,                        1763                )3 h, j- Q4 e% `7 L
AddAttribute(        14,                53000,                1568,                        1568,                        1966                )# C5 c& d7 v7 o
AddAttribute(        15,                53000,                1772,                        1772,                        2184                )
* R# L" a7 z; P2 u/ M  oAddAttribute(        16,                53000,                1989,                        1989,                        2417                )$ M" r% d5 y& v4 g
AddAttribute(        17,                53000,                2221,                        2221,                        2665                )9 w1 f  B' t- a1 ]* w
AddAttribute(        18,                53000,                2467,                        2467,                        2998                )
3 ~+ i# w# B8 J" n5 i, zAddAttribute(        19,                53000,                2726,                        2726,                        3207                ), ~* j- @7 E9 ]8 x4 E! h. s
AddAttribute(        20,                53000,                3000,                        3000,                        3500                ), O4 s% X+ c* W# q3 @
( }7 ~% Y* K" w9 C- W
----------------------------------------------------------
0 R& t; |& a9 i, Z----------------------------------------------------------
0 L. Q3 d) D: j$ H" d----------------------------------------------------------
8 K" c$ P; C) mnItemTransyLowLevel        = 500000
. }! g. Z! t& J/ J3 J! s4 J% {nItemTransyHighLevel        = 2000000$ ~( F( H; T* @: x! `& W

/ A9 d) J* ]# S: G* l6 f8 e+ L; K----------------------------------------------------------
% L# d9 G" m9 ^& ~7 E--Kost黰e Kombination Chance------------------------------7 l3 O! ~6 E4 l& z3 n. z
----------------------------------------------------------$ y2 M* ~+ L2 T3 U
4 p" N) {( \4 r7 M
nFashionCombineChance = 2500 -- 25%( J+ m: V9 l7 R# x1 b- \; _/ V

1 m  F) L' A7 \- z$ w4 P
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-1-11 07:33 , Processed in 0.069142 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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