LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 228|回复: 0

[综合] 求大佬进来看下

[复制链接]
发表于 2022-1-11 11:15:48 | 显示全部楼层 |阅读模式
3.35 80级。同时团队里有两个MS。经常打着打着就一直读吸血鬼之触或者疫病,这个怎么解决,求大佬教学。
代码呈上

if BeeUnitCastSpellName("player")=="精神鞭笞"or
BeeUnitCastSpellName("player")=="心灵震爆" or
BeeUnitCastSpellName("player")=="吸血鬼之触" then return;end
-----------单体输出
local count = BeePlayerBuffCount("暗影交织");
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and not IsShiftKeyDown() then
    if BeeTargetDeBuffTime("吸血鬼之触")<=0 and not BeeUnitCastSpellName("player") and BeeIsRun("吸血鬼之触")  then
        BeeRun("/cast [nochanneling:精神鞭笞] 吸血鬼之触","target");
        BeeUnitCastSpellDelay("吸血鬼之触",0.5);
        return true;
    elseif BeeTargetDeBuffTime("吸血鬼之触")>1  and BeeUnitCastSpellName("player")=="吸血鬼之触" then
        BeeRun("/stopcasting");
    return;end
    -----------
    if BeeTargetDeBuffTime("吸血鬼之触")>2 then
        if BeeTargetDeBuffTime("噬灵疫病")<1 and BeeIsRun("噬灵疫病") then BeeRun("/cast [nochanneling:精神鞭笞] 噬灵疫病")
        return;end
        -------------
        if BeeTargetDeBuffTime("噬灵疫病")>2 then
            if BeeSpellCD("心灵震爆")==0 and BeeIsRun("心灵震爆")  then BeeRun("/cast [nochanneling:精神鞭笞] 心灵震爆");return;end
            ----------------
            if BeeIsRun("暗言术:痛")  and BeeTargetDeBuffTime("暗言术:痛")<1 and count==5   then BeeRun("/cast [nochanneling:精神鞭笞] 暗言术:痛");return;end
            ------------------------------
            if  BeeSpellCD("心灵震爆")>0 then
                if   BeeTargetDeBuffTime("暗言术:痛")>1 or count<5  then BeeRun("/cast [nochanneling:精神鞭笞] 精神鞭笞");
                return;end
            return;end
        return;end
    return;end
return;end

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-4-25 03:43 AM , Processed in 0.055833 second(s), 13 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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