影舞匕首宏

来源:百度知道 编辑:UC知道 时间:2024/06/22 01:45:03
求做这个宏:
若没有释放影舞,则被刺,若释放了影舞,则伏击!
各位高手帮帮忙,谢谢!

50分交了!

很简单一个宏

/施放 伏击(等级X)
/施放 背刺(等级X)

等级自己写。

说下原理。你未潜行的时候。无法放伏击所以系统会PASS掉伏击而施放背刺。而你影舞后。可以施放伏击。而因为公共CD。施放不了背刺。

宏就完成了。

那个宏现在无法实现~
3.0以前版本可以实现~ 他那个算是BUFF下技能宏~

战斗贼版
/script c=CastSpellByName;p="player";u=0;i=1;while UnitBuff(p,i) do u=string.find(UnitBuff(p,i),"SliceDice");if(u)then break;end;i=i+1;end;if(not u and GetComboPoints()>0)then c("切割");else CastSpellByName("邪恶攻击");end

匕首贼版
/script c=CastSpellByName;p="player";u=0;i=1;while UnitBuff(p,i) do u=string.find(UnitBuff(p,i),"SliceDice");if(u)then break;end;i=i+1;end;if(not u and GetComboPoints()>0)then c("切割");else CastSpellByName("背刺");end

出血贼版
/script c=CastSpellByName;p="player";u=0;i=1;while UnitBuff(p,i) do u=string.find(UnitBuff(p,i),"SliceDice");if(u)then break;end;i=i+1;end;if(not u and GetComboPoints()>0)then c(&