求大佬进来看下
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 吸血鬼之触","target");
BeeUnitCastSpellDelay("吸血鬼之触",0.5);
return true;
elseif BeeTargetDeBuffTime("吸血鬼之触")>1and BeeUnitCastSpellName("player")=="吸血鬼之触" then
BeeRun("/stopcasting");
return;end
-----------
if BeeTargetDeBuffTime("吸血鬼之触")>2 then
if BeeTargetDeBuffTime("噬灵疫病")<1 and BeeIsRun("噬灵疫病") then BeeRun("/cast 噬灵疫病")
return;end
-------------
if BeeTargetDeBuffTime("噬灵疫病")>2 then
if BeeSpellCD("心灵震爆")==0 and BeeIsRun("心灵震爆")then BeeRun("/cast 心灵震爆");return;end
----------------
if BeeIsRun("暗言术:痛")and BeeTargetDeBuffTime("暗言术:痛")<1 and count==5 then BeeRun("/cast 暗言术:痛");return;end
------------------------------
ifBeeSpellCD("心灵震爆")>0 then
if BeeTargetDeBuffTime("暗言术:痛")>1 or count<5then BeeRun("/cast 精神鞭笞");
return;end
return;end
return;end
return;end
return;end
页:
[1]