找回密码
 注册
搜索
楼主: zhaoziyu@tj

探讨在理相是死的时候不做hs2

[复制链接]
门派:天龙寺
 楼主| 发表于 2019-5-11 11:21:37 | 显示全部楼层
我这个版本是针对做ll开关模式,点开启做ll,那么hs2就关闭了;在纯挂机的模式下,会根据理相来确定是否开启做hs2
门派:天龙寺
发表于 2019-5-12 01:14:51 | 显示全部楼层
huashan_yls_ask=function(n,l,w)
    EnableTriggerGroup("huashan_yls",false)   
    DeleteTriggerGroup("huashan_yls_ask")
        DeleteTimer("yls_give_timer")
    create_trigger_t('huashan_yls_ask1','^(> )*你向岳灵珊打听有关『力不从心』的消息。','','huashan_yls_back')
    SetTriggerOption("huashan_yls_ask1","group","huashan_yls_ask")
    EnableTriggerGroup("huashan_yls_ask",false)
    if w[2]=='二' then
       return huashan_yls_back()
    end
        -- 死相不做hs2 另外做ll时有信的情况下不做hs2
    if w[2]=='一' and (dohs2==0 or score.xiangyun=='死' or (lostletter==1 and needdolost==1)) then
       return check_bei(huashan_yls_lbcx)
    else
       return check_bei(huashan_heal)
    end
end
这是我的版本,就注释那里改了一下。
也挺好用的
门派:天龙寺
发表于 2019-5-12 01:16:26 | 显示全部楼层
这样改面板那里一直开着hs2就好了
门派:天龙寺
发表于 2019-5-12 10:11:29 | 显示全部楼层
lwaaa@tj 发表于 2019-5-12 01:14
huashan_yls_ask=function(n,l,w)
    EnableTriggerGroup("huashan_yls",false)   
    DeleteTriggerG ...

我觉得这个还是很有用的。
门派:天龙寺
 楼主| 发表于 2019-5-12 11:35:16 | 显示全部楼层
本赐这改法也很不错啊,理相死做HS2太费时间了
门派:天龙寺
发表于 2019-5-12 12:07:29 | 显示全部楼层
都是机器大神嘛!!赞一个
门派:天龙寺
发表于 2019-5-12 17:58:10 | 显示全部楼层
zhaoziyu@tj 发表于 2019-5-12 11:35
本赐这改法也很不错啊,理相死做HS2太费时间了

[string "Script file"]:4987: 'end' expected (to close 'if' at line 1976) near '<eof>'
我哪里改错了??
function checkJob()
   --if hp.exp>2000000 then job.zuhe["zhuoshe"]=nil end
   --if hp.shen>0 or hp.exp>6000000 then job.zuhe["songshan"]=nil end
   if score.xiangyun=='死' then
    dohs2=0
        else
        if score.xiangyun=='死' then
    dohs2=0
        else
        if score.xiangyun~='死' and needdolost==0 then
    dohs2=1
        else
        if score.xiangyun~='死' and needdolost==1 then
    dohs2=0
        end
        end
   if job.zuhe["songxin2"] then
      job.zuhe["songxin2"]=nil
          job.zuhe["songxin"]=true
          flag.sx2=true
   end
   if job.last and job.zuhe[job.last] then
      if type(job.zuhe[job.last]) == "number" then
              job.zuhe[job.last] = job.zuhe[job.last] + 1
          else
              job.zuhe[job.last] = 1
          end
   end
门派:天龙寺
发表于 2019-5-12 18:06:09 | 显示全部楼层
没有出现错误了。。。现在测试中
门派:天龙寺
 楼主| 发表于 2019-5-12 19:48:10 | 显示全部楼层
btqq@tj 发表于 2019-5-12 18:06
没有出现错误了。。。现在测试中

你最近在死挂机么,没有上来么?你机器实现渡口来回切换了没?
门派:天龙寺
发表于 2019-5-12 19:55:46 | 显示全部楼层
zhaoziyu@tj 发表于 2019-5-12 19:48
你最近在死挂机么,没有上来么?你机器实现渡口来回切换了没?

有上来,时间不长。最近工作比较忙。渡口没有切换。不会弄啊师兄
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-23 01:45 , Processed in 0.035158 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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