求WOW的FS宏

来源:百度知道 编辑:UC知道 时间:2024/05/11 00:48:19
要反制、冰箱、还有灵凤专注的,谢谢了

反制:
/script SpellStopCasting();CastSpellByName("Counterspell")
用这个反制技能就能立刻发出了。

冰箱:
/script SpellStopCasting() CastSpellByName("Ice Block");local i for i = 0,15 do if ( GetPlayerBuffTexture(i) == "Interface\\Icons\\Spell_Frost_Frost") then CancelPlayerBuff(i);end;end
冰箱虽然是瞬发,但是有公共CD,所以要等前一个法术进度条过1.5秒后才起作用。小于1.5秒按只会取消前一个法术,冰箱不能发出,需要再按一下才有效果。再按一下是取消冰箱。

关于灵风专注效果的两个宏..

宏1:/s cript i=1;m=0;while(UnitBuff("player",i)~=nil) do if(strfind(UnitBuff("player",i),"Spell_Shadow_Teleport")~=nil) then m=1; end;i=i+1;end; c=CastSpellByName; if(m==1) then c("炎爆术(等级 8)");else c("寒冰箭(等级 11)");end;

宏2:/s cript c="寒冰箭(等级 11)"; for i=1,16,1 do if (UnitBuff("player",i)~=nil) then if (string.find(UnitBuff("player",i),"Spell_Shadow_Teleport")~=nil) then c="炎爆术(等级 8)"; break; end; end; end; CastSpellByN