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

找个给了shouji然后直接说失败

[复制链接]
门派:武当派
发表于 2019-3-15 15:44:49 | 显示全部楼层
taot@tj 发表于 2019-3-15 15:20
又是这个错误啊

还是之前的问题,你好像没改过来
门派:武当派
 楼主| 发表于 2019-3-15 15:50:34 | 显示全部楼层
mcyzcs@tj 发表于 2019-3-15 15:44
还是之前的问题,你好像没改过来

是的!就是给了shouji 后没有接上去
门派:武当派
发表于 2019-3-15 15:52:07 | 显示全部楼层
taot@tj 发表于 2019-3-15 15:50
是的!就是给了shouji 后没有接上去

你用QQ传给我,我来看看
门派:武当派
 楼主| 发表于 2019-3-15 15:53:18 | 显示全部楼层
mcyzcs@tj 发表于 2019-3-15 15:52
你用QQ传给我,我来看看

我发了贴你看看           
门派:武当派
 楼主| 发表于 2019-3-15 15:53:54 | 显示全部楼层
mcyzcs@tj 发表于 2019-3-15 15:52
你用QQ传给我,我来看看

huashan_cut_act=function()
    DeleteTimer('perform')
    --weapon_unwield()
    --weaponWieldCut()
        if string.find(job.where,'绝情谷') then
            for i=1,2 do
                exe('get ling pai from corpse '..i)
            end
                exe('qie corpse ')
                l_huashanItem='head'
        else
           check_halt(exe('get corpse'))
           l_huashanItem='corpse'
        end
end
huashan_cut_weapon=function()
    return check_halt(huashan_cut_act,1)
end
huashan_cut_con=function(n,l,w)
    if job.target~=tostring(w[2]) then
       --exe('drop head')
           EnableTriggerGroup("huashan_cut",true)
           l_corpseNum=l_corpseNum+1
           check_halt(exe('drop corpse;get corpse '..l_corpseNum))
    else
       DeleteTriggerGroup("all_fight")
       EnableTriggerGroup("huashan_cut",false)
           if l_huashanItem=='corpse' then check_halt(exe('get ling pai from corpse')) end
       return go(huashan_yls,'华山','祭坛')
    end
end
huashan_cut_con1=function()
    for i=1,3 do
                exe('halt;get ling pai from corpse '..i)
                exe('qie corpse '..i)
            end
                l_huashanItem='head'
end
huashan_yls=function()
    DoAfterSpecial(1.5,'return AntiFloodTimer()',12)
        antiFlood="huashan_yls"
    DeleteTriggerGroup("huashan_yls")
    create_trigger_t('huashan_yls1','^(> )*(这里没有这个人。|你身上没有这样东西。|这人好象不是你杀的吧?|你的令牌呢|你还没有去找恶贼,怎么就来祭坛了?)','','huashan_yls_fail')
    create_trigger_t('huashan_yls2','^(> )*岳灵珊在你的令牌上写下了一个 (一|二) 字。','','huashan_yls_ask')
        create_trigger_t('huashan_yls3','^(> )*这好象不是你领的令牌吧?','','huashan_yls_lingpai')
    SetTriggerOption("huashan_yls1","group","huashan_yls")
    SetTriggerOption("huashan_yls2","group","huashan_yls")
        SetTriggerOption("huashan_yls3","group","huashan_yls")
    --return exe('give head to yue lingshan;hp')
        antiFlood=""
        return exe('give '..l_huashanItem..' to yue lingshan;hp')
end
huashan_yls_fail=function()
    EnableTriggerGroup("huashan_yls",false)
        if locl.room~="祭坛" then
           return go(huashan_yls,'华山','祭坛')
        end
    exe('out;w;s;se;su;su;s')
    return check_halt(huashan_shibai_b)
end
huashan_yls_lingpai=function()
    EnableTriggerGroup("huashan_yls",false)
        exe('drop ling pai')
    return check_halt(huashan_yls)
end
huashan_yls_ask=function(n,l,w)
        antiFlood=""
    EnableTriggerGroup("huashan_yls",false)   
    DeleteTriggerGroup("huashan_yls_ask")
    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
    if w[2]=='一' and dohs2==0 then
       return check_bei(huashan_yls_lbcx)
    else
       return check_bei(huashan_heal)
    end
end
门派:武当派
发表于 2019-3-15 15:55:47 | 显示全部楼层

huashan_cut=function()
看看这个函数
门派:武当派
 楼主| 发表于 2019-3-15 16:17:17 | 显示全部楼层
11111111111111111111

huashan.zip

4.54 KB, 下载次数: 23

门派:武当派
发表于 2019-3-15 19:17:10 | 显示全部楼层
taot@tj 发表于 2019-3-15 15:19
我砍了好几次!这个没有判断啊

有的,get corpse的话交corpse,砍头交head。你这个应该是砍头了又先交尸体,所以就会出现这种情况。
门派:武当派
 楼主| 发表于 2019-3-15 21:51:48 | 显示全部楼层
kjrwd@tj 发表于 2019-3-15 19:17
有的,get corpse的话交corpse,砍头交head。你这个应该是砍头了又先交尸体,所以就会出现这种情况。

等下改好了在看看效果         
门派:武当派
发表于 2019-3-16 10:28:09 | 显示全部楼层
taot@tj 发表于 2019-3-15 21:51
等下改好了在看看效果

王者师弟帮你改好了?。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-26 12:59 , Processed in 0.071276 second(s), 26 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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