找回密码
 注册
搜索
查看: 1465|回复: 12

运相的判断代码

[复制链接]
门派:姑苏慕容
发表于 2016-12-13 15:49:16 | 显示全部楼层 |阅读模式
score_check_xy=function(n,l,w)
        score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰、死
        if score.xiangyun=='死' then smyteam=xx end
        if score.xiangyun=='衰' then smyteam=xx end
        if score.xiangyun=='平' then smyteam=xx end
        if score.xiangyun=='生' then smyteam=xx end
        if score.xiangyun=='败' then smyteam=xx end
        if score.xiangyun=='旺' then smyteam=xx end
end

xx就是你在当前运相下,要打的组数,弄了faint的新版shujian.lua,自己改吧,倒霉时候不上山的就用原版就可以了

评分

1

查看全部评分

门派:姑苏慕容
 楼主| 发表于 2016-12-13 15:50:22 | 显示全部楼层
哦,记得在颂摩崖上打坐什么的地方加个score
门派:华山派
发表于 2016-12-13 16:52:08 | 显示全部楼层

score_check_xy=function(n,l,w)
        score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰、死
        if score.xiangyun=='死' then smyteam=14 end
        if score.xiangyun=='衰' then smyteam=15 end
        if score.xiangyun=='平' then smyteam=15 end
        if score.xiangyun=='生' then smyteam=15 end
        if score.xiangyun=='败' then smyteam=15 end
        if score.xiangyun=='旺' then smyteam=15 end
end

修改完毕
门派:姑苏慕容
发表于 2016-12-13 19:29:41 | 显示全部楼层
jecchs@tj 发表于 2016-12-13 16:52
score_check_xy=function(n,l,w)
        score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰 ...

牛,大牛              
门派:古墓派
发表于 2016-12-13 19:41:12 | 显示全部楼层
死的时候还15组 才叫牛
门派:丐帮
发表于 2016-12-13 21:36:37 | 显示全部楼层
哎哟不错哦都是高手                     
门派:古墓派
发表于 2016-12-13 21:36:55 | 显示全部楼层
打死不降组30gg扛起                    
门派:姑苏慕容
发表于 2016-12-13 22:02:08 | 显示全部楼层
kuzi@tj 发表于 2016-12-13 21:36
打死不降组30gg扛起

你牛x                  
门派:桃花岛
发表于 2016-12-14 00:58:33 | 显示全部楼层
怎么抓取运相的数值呢                                
tianyi@tj 该用户已被删除
发表于 2016-12-14 10:59:29 | 显示全部楼层
等 明天重启了再弄这些
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-6-10 05:02 , Processed in 0.024246 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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