找回密码
 注册
搜索
查看: 513|回复: 9

请教 大晕版本的 衰 死 理相 降组怎么改

[复制链接]
门派:不明
发表于 2017-1-23 12:03:44 | 显示全部楼层 |阅读模式
score_check_xy=function(n,l,w)
        score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰、死
        if job.name=='songmoya' then
                --如果正在颂摩崖任务中,那么碰到负状态直接下山,记得每组战斗完之后,score查看一下状态触发一下
                --或者颂摩崖上不管状态直接打完,下山之后再score触发!因为即使状态开始转变,半个小时也不会转变成最大衰减的死状态!
        else
                if score.xiangyun=='衰' or score.xiangyun=='死' then
                        --负状态的时候,设置你想干的事情
                        if job.zuhe["songmoya"] then job.zuhe["songmoya"]=nil end
                else
                        --正状态的时候,设置你想干的事情
                        if go_on_smy~=0 and job.zuhe["songmoya"]==nil then job.zuhe["songmoya"]=true end
                end
        end
end
门派:姑苏慕容
发表于 2017-1-23 19:41:44 | 显示全部楼层
  1. score_check_xy=function(n,l,w)
  2.         score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰、死
  3.         score.xypot=tonumber(Trim(w[2]))
  4.         if job.name=='songmoya' then
  5.                 --如果正在颂摩崖任务中,那么碰到负状态直接下山,记得每组战斗完之后,score查看一下状态触发一下
  6.                 --或者颂摩崖上不管状态直接打完,下山之后再score触发!因为即使状态开始转变,半个小时也不会转变成最大衰减的死状态!
  7.         else
  8.                 if score.xiangyun=='衰' then
  9.                         --负状态的时候,设置你想干的事情
  10.                         if score.xypot>=1 then
  11.                                 if job.zuhe["songmoya"] then
  12.                                        
  13.                                                 smyteam=8 --最低不能低于8组
  14.                                        
  15.                                 end
  16.                         end
  17.                 end
  18.                 if score.xiangyun=='死' then
  19.                         if score.xypot>=1 then
  20.                                 if job.zuhe["songmoya"] then
  21.                                                 smyteam=7 --最低不能低于7组
  22.                                        
  23.                                 end
  24.                         end
  25.                 end
  26.                 if score.xiangyun=='生' or score.xiangyun=='败' or score.xiangyun=='平' then
  27.                         --正状态的时候,设置你想干的事情
  28.                         --if go_on_smy~=0 and job.zuhe["songmoya"]==nil then job.zuhe["songmoya"]=true end
  29.                         if job.zuhe["songmoya"] then
  30.                                 if smyteam<10 then
  31.                                         smyteam=smyteam+1  --一般状态最多11组
  32.                                 end
  33.                         end
  34.                 end
  35.                 if score.xiangyun=='旺' then
  36.                         if job.zuhe["songmoya"] then
  37.                                 if smyteam<11 then
  38.                                         smyteam=smyteam+1 --旺状态可以多一组试试
  39.                                 end
  40.                         end
  41.                 end
  42.         end
  43. end
复制代码
门派:不明
 楼主| 发表于 2017-1-24 10:52:29 | 显示全部楼层
谢谢大晕神



                  
门派:天龙寺
发表于 2017-1-24 18:18:39 | 显示全部楼层
这个很全面啊,分的很细致        
门派:天龙寺
发表于 2017-1-24 22:03:44 | 显示全部楼层
        if job.name=='songmoya' then
                --如果正在颂摩崖任务中,那么碰到负状态直接下山,记得每组战斗完之后,score查看一下状态触发一下
                --或者颂摩崖上不管状态直接打完,下山之后再score触发!因为即使状态开始转变,半个小时也不会转变成最大衰减的死状态!
        else'
为什么这个if 和 else中间没执行什么指令?加这个else是为什么?
门派:华山派
发表于 2017-1-25 15:32:44 | 显示全部楼层
score_check_xy=function(n,l,w)
        score.xiangyun=Trim(w[1])  --六个状态,生、旺、败、平、衰、死        
        score.xynum=tonumber(Trim(w[2]))
        if score.xiangyun=='死' then smyteam=8 end
        if score.xiangyun=='衰' and score.xynum<=5 then smyteam=9 end
        if score.xiangyun=='衰' and score.xynum>5 then smyteam=8 end
        if score.xiangyun=='平' then smyteam=10 end
        if score.xiangyun=='败' and score.xynum>=25 then smyteam=13 end
        if score.xiangyun=='败' and score.xynum<25 and score.xynum>=15 then smyteam=12 end
        if score.xiangyun=='败' and score.xynum<15 and score.xynum>=5 then smyteam=11 end
        if score.xiangyun=='败' and score.xynum<5 then smyteam=10 end
        if score.xiangyun=='生' and score.xynum>=25 then smyteam=13 end
        if score.xiangyun=='生' and score.xynum<25 and score.xynum>=15 then smyteam=12 end
        if score.xiangyun=='生' and score.xynum<15 and score.xynum>=5 then smyteam=11 end
        if score.xiangyun=='生' and score.xynum<5 then smyteam=10 end
        if score.xiangyun=='旺' then smyteam=13 end
end
门派:华山派
发表于 2017-1-25 15:33:46 | 显示全部楼层
这年头姨妈期对于攻防两端影响太大了
门派:不明
 楼主| 发表于 2017-1-25 17:29:54 | 显示全部楼层
jecchs@tj 发表于 2017-1-25 15:33
这年头姨妈期对于攻防两端影响太大了

理相的数值是不是要根据个人根骨设置呢?
门派:古墓派
发表于 2017-1-25 20:04:09 | 显示全部楼层
这个应该要看自己的根骨吧               
门派:华山派
发表于 2017-1-25 20:35:24 | 显示全部楼层
hyy@tj 发表于 2017-1-25 17:29
理相的数值是不是要根据个人根骨设置呢?

当然  每个人理想值的范围不同~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-5 22:11 , Processed in 0.044809 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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