没有大佬出个双持邪冰脚本吗?
没有大佬出个双持邪冰脚本吗? 有偿求双持邪·······本帖最后由 dirscana 于 2022-8-14 09:19 AM 编辑
什么 版本的都 本说都吗?
--print(UnitDebuff("target","痛楚",nil,nil) );
local tar,debufffs,debufftc,debfftkwc,debuffgy;
tar=UnitName("target");
if(tar) then --如果目标存在
if(not UnitIsPlayer("target")) then --如果目标不是玩家
if(not UnitIsDead("target")) then --如果目标不是死亡
if(amjl()<=40)then --如果跟目标的距离小于等于40码
debufffs=UnitDebuff("target","腐蚀术",nil,nil); --获取目标是否有腐蚀术的DEBUFF
debufftc=UnitDebuff("target","痛楚",nil,nil); --获取目标是否有痛楚的DEBUFF
debfftkwc=UnitDebuff("target","痛苦无常",nil,nil); --获取目标是否有痛苦无常的DEBUFF
debuffgy=UnitDebuff("target","鬼影缠身",nil,nil); --获取目标是否有鬼影缠身的DEBUFF
if(not debufffs)then --如果目标没有腐蚀术的DEBUFF
CastSpellByName("腐蚀术"); --释放技能腐蚀术
elseif(notdebufftc)then --如果目标没有痛楚的DEBUFF
CastSpellByName("痛楚"); --释放技能痛楚
elseif(not debfftkwc)then --如果目标没有痛苦无常的DEBUFF
CastSpellByName("痛苦无常"); --释放技能痛苦无常
elseif(not debuffgy)then --如果目标没有鬼影缠身的DEBUFF
CastSpellByName("鬼影缠身"); ---释放技能鬼影缠身
else --上面4个DEBUFF都存在 CastSpellByName("灾难之握"); ---释放技能灾难之握
amrun("/targetenemy "); --选怪
end
-- print( UnitDebuff("target","腐蚀术",nil,nil));
else
amrun("/targetenemy ");
end
else
amrun("/targetenemy ");
end
else
amrun("/targetenemy ");
end
else
amrun("/targetenemy ");
end
这是5.48的术士简单脚本你可以根据你的需要自行修改
dirscana 发表于 2022-8-11 09:43 AM
什么 版本的都 本说都吗?
3.35版····························
页:
[1]