LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 753|回复: 9

335输出血DK

[复制链接]
发表于 2022-1-26 19:28:16 | 显示全部楼层 |阅读模式
一点说明:此代码为破加血输出天赋,其他天赋无效。代码:
if UnitIsDeadOrGhost("player") then RepopMe()RetrieveCorpse()AcceptResurrect()AcceptXPLoss()return;end
BeeRun("/targetenemy [noharm][dead]")
BeeRun("/startattack")
local HPB=BeeUnitHealth("player","%",0)--自己的HP百分比
local HPZ=BeeUnitHealth("player","nil",0)--自己的HP当前值
local MPZ=BeeUnitMana("player","%",0)--自己的MP当前值
local MHPB=BeeUnitHealth("target","%",0)--目标的HP百分比
local MHPZ=BeeUnitHealth("target","nil",0)--目标的HP当前值
local BFT=BeePlayerBuffTime--自己BUFF剩余时间秒
local MBFT=BeeTargetDeBuffTime--目标DEBUFF剩余时间秒
local BF=BeeUnitBuffList("player")--自己的BUFFl列表
local MBF=BeeUnitBuffList("target")--目标的BUFF列表
local MBS=BeeUnitCastSpellName("target")--目标正在释放的法术
local SS=BeeStringFind--搜索
local ZD=BeeIsCombat()--检查是否进入战斗状态==1
local R=BeeUnitPlayerControlled(target)--人物==1
local PK=BeeUnitCanAttack("target")==1--可以PK
local IR=IsSpellInRange--检查技能距离
local CD=BeeSpellCD--检查CD
local IU=IsUsableAction--检查技能是否可用1
local GA=GetActionCooldown--检查技能是否可用2
local FSFS="奥术飞弹,精神鞭笞"
if PK and SS(FSFS,MBS) and CD("反魔法护罩")==0 and MPZ>20 then BeeRun("反魔法护罩")end
--自动上BUFF
if not SS("鲜血灵气",BF) then BeeRun("鲜血灵气")end
if BFT("寒冬号角")<0 and BeeSpellCoolDown("寒冬号角")==0 then BeeRun("寒冬号角")end
if BFT("白骨之盾")<1 and BeeSpellCoolDown("白骨之盾")==0 and (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0) then BeeRun("白骨之盾")end
--按键回血
if IsLeftShiftKeyDown() and HPB<60 then
    if BeeRune("鲜血符文")>0 and BeeRune("邪恶符文")>0 and BeeRune("冰霜符文")>0 and CD("亡者大军")==0 then BeeRun("亡者大军")end
    if CD("亡者大军")~=0 and MPZ>40 and CD("天灾契约")==0 then BeeRun("天灾契约")end
end
--按键传染
if IsAltKeyDown() then
    if MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 and (BeeRune("鲜血符文")>0 or BeeRune("死亡符文")>0) then BeeRun("传染")end
end
--目标大于我的血量输出
if MHPZ>HPZ then
    if BeeSpellCoolDown("召唤石像鬼")==0 and MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 then BeeRun("召唤石像鬼")end
    if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("符文武器增效")==0 and BFT("活力分流")<=0 and CD("活力分流")>0 then BeeRun("符文武器增效")end
end
--正常输出
if (not IsLeftAltKeyDown() or not IsShiftKeyDown()) and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack("target")==1 then
    if MPZ>40 and IR("凋零缠绕")==1 then BeeRun("凋零缠绕")end
    if BeeRune("鲜血符文")<1 and BeeRune("邪恶符文")<1 and BeeRune("冰霜符文")<1 and BeeSpellCoolDown("活力分流")==0 then BeeRun("活力分流")end
    if ((BeeRune("冰霜符文")>0 and BeeRune("邪恶符文")>0) or (BeeRune("冰霜符文")>0 and BeeRune("死亡符文")>0) or (BeeRune("邪恶符文")>0 and BeeRune("死亡符文")>0)) and MBFT("冰霜疫病")>1 and MBFT("血之疫病")>1 then
        if BeeIsRun("天灾打击") and IR("天灾打击")==1 then BeeRun("天灾打击")end
        if HPB<70 and IR("灵界打击")==1 then BeeRun("灵界打击")end
    end
    if (BeeRune("冰霜符文")>0 or BeeRune("死亡符文")>0) and (MBFT("冰霜疫病")<2 or BeeRune("鲜血符文")<1) and IR("冰冷触摸")==1 then BeeRun("冰冷触摸")end
    if (BeeRune("邪恶符文")>0 or BeeRune("死亡符文")>0) and (MBFT("血之疫病")<2 or BeeRune("鲜血符文")<1) and IR("暗影打击")==1 then BeeRun("暗影打击")end
    if BeeRune("鲜血符文")>0 and IR("心脏打击")==1 then BeeRun("心脏打击")end
end

回复

使用道具 举报

 楼主| 发表于 2022-1-26 19:31:22 | 显示全部楼层
收集前人,略作改动,感谢之前的大神。
if MPZ>40 and IR("凋零缠绕")==1 then BeeRun("凋零缠绕")end    可改为大于70,可以手动开符文刃舞
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-1-26 19:37:33 | 显示全部楼层
本帖最后由 小懒猪 于 2022-1-26 07:40 PM 编辑

破加血输出DK天赋,仅供参考
回复 支持 反对

使用道具 举报

发表于 2022-2-21 13:39:30 | 显示全部楼层
输出血天赋图有没有啊
回复 支持 反对

使用道具 举报

发表于 2022-6-14 13:35:03 | 显示全部楼层
输出血天赋图有没有啊
回复 支持 反对

使用道具 举报

发表于 2022-10-7 00:18:06 | 显示全部楼层
好人一生平安,总有许多大佬出现,照耀新手前行
回复 支持 反对

使用道具 举报

发表于 2022-10-14 00:33:47 | 显示全部楼层
.
回复 支持 反对

使用道具 举报

发表于 2023-2-12 15:33:32 | 显示全部楼层
输出血天赋图有没有啊。。。
回复 支持 反对

使用道具 举报

发表于 2023-2-20 16:05:26 | 显示全部楼层
这才是大神的无私分享
回复 支持 反对

使用道具 举报

发表于 2024-1-3 17:06:52 | 显示全部楼层
你有个代码我没看懂,破甲血为什么有召唤石像鬼的技能?
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-5-31 06:16 AM , Processed in 0.037163 second(s), 32 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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