gmsv石器单机研究论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
123
返回列表 发新帖
楼主: shiqizz

石器delphi7 indy10 登录器源代码

[复制链接]

7

主题

66

帖子

515

积分

中级会员

Rank: 3Rank: 3

积分
515
发表于 2016-9-15 13:06:29 | 显示全部楼层
顶顶顶!!!      

16

主题

112

帖子

115

积分

注册会员

Rank: 2

积分
115
发表于 2017-1-30 18:36:08 | 显示全部楼层
8888888888888888

39

主题

188

帖子

351

积分

中级会员

Rank: 3Rank: 3

积分
351
发表于 2017-2-17 00:37:02 | 显示全部楼层
钱不够啊,继续攒了

10

主题

44

帖子

68

积分

注册会员

Rank: 2

积分
68
 楼主| 发表于 2017-6-19 09:17:18 | 显示全部楼层
继续攒了继续攒了

60

主题

150

帖子

703

积分

中级会员

Rank: 3Rank: 3

积分
703
发表于 2017-7-1 00:21:13 | 显示全部楼层
for i = 0, 4 do
                if toindex == char.getCharPet(charaindex, i) then
                        LevelUpPoint = char.getInt(toindex, "能力值")
                       
                        vital = char.getRightTo8(LevelUpPoint, 1)
                        str = char.getRightTo8(LevelUpPoint, 2)
                        tgh = char.getRightTo8(LevelUpPoint, 3)
                        dex = char.getRightTo8(LevelUpPoint, 4)
                       
            sum = vital + str + tgh + dex
       
            petrank = char.getInt(toindex, "成长区间") + 1
                        if petrank < 1 or petrank > 6 then
                                petrank = 1;
                        end
       
                        hp = 0
                        atk = 0
                        def = 0
                        quick = 0
                        for j=1, 140 do
                                ability = {0, 0, 0, 0}
                                for j=1, 10 do
                                        rnd = math.random(4)
                                        ability[rnd] = ability[rnd] + 1
                                end
                               
                                ivital = vital
                                istr = str
                                itgh = tgh
                                idex = dex
       
                                ivital = (ivital * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2]) + ability[1] * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2])) / 100
                                istr = (istr * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2]) + ability[2] * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2])) / 100
                                itgh = (itgh * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2]) + ability[3] * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2])) / 100
                                idex = (idex * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2]) + ability[4] * math.random(RankRandTbl[petrank][1], RankRandTbl[petrank][2])) / 100
               
                          ihp = (ivital * 4 + istr + itgh + idex) * 0.01
                          iatk = (istr * 0.01 + itgh * 0.001 + ivital * 0.001 + idex * 0.0005)
                          idef = (itgh* 0.01 + istr * 0.001 + ivital * 0.001 + idex * 0.0005)
                          iquick = idex * 0.01
                          
                          hp = hp + ihp
                          atk = atk + iatk
                          def = def + idef
                          quick = quick + iquick
                        end
                       
                        hp = hp / 140
                        atk = atk / 140
                        def = def / 140
                        quick = quick / 140

                        token = char.getChar(toindex, "名字") .. " Lv" .. char.getInt(toindex, "等级") .. " 的四围成长值如下:\n"
                                                .. "\n 体力:" .. hp
                                                .. "\n 腕力:" .. atk
                                                .. "\n 耐力:" .. def
                                                .. "\n 速度:" .. quick
                                                .. "\n 总成长:".. atk + def + quick
                                                .. "\nPS:以上只属参考,稍有偏差,请按实际为准"
                        lssproto.windows(charaindex, "对话框", "确定", -1, -1, token)
                        char.DelItem(charaindex, haveitemindex)
                        return
                end
        end
       
        char.TalkToCli(charaindex, -1, "该物品只能给宠物使用!", "红色")

0

主题

41

帖子

41

积分

新手上路

Rank: 1

积分
41
发表于 2018-6-11 22:52:51 | 显示全部楼层
好东西,支持一下!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|gmsv石器单机研究论坛

JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!

GMT+8, 2024-4-27 06:19 , Processed in 0.168364 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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