可以代替猛禽壹擊,能放的話會自動放反擊,貓鼬
出了反擊天賦的
在下邊依次填上反擊,貓鼬撕咬,猛禽壹擊 在動作條上的編號,查編號看上邊基礎知識
/script local b,s,j={反擊編號,貓鼬編號,猛禽編號},{"反擊","貓鼬撕咬","猛禽壹擊"};for j=1,3 do if IsUsableAction(b[j]) and GetActionCooldown(b[j])==0 then CastSpellByName(s[j]);break;end;end;
沒出反擊的
在下邊依次填上貓鼬撕咬,猛禽壹擊 在動作條上的編號,查編號看上邊基礎知識
/script local b,s,j={貓鼬編號,猛禽編號},{"貓鼬撕咬","猛禽壹擊"};for j=1,2 do if IsUsableAction(b[j]) and GetActionCooldown(b[j])==0 then CastSpellByName(s[j]);break;end;end;
智能釘刺宏
牧師不會解毒,應該用蝰蛇,反倒是對德魯伊要用蝰蛇1騙驅毒,到頭來毒蛇無用?其實應該對所有怪都用毒蛇
功能介紹:按照下列規則放釘刺
戰、賊:毒蠍
獵、法、術,薩,牧:蝰蛇
騎,德:蝰蛇1
NPC:毒蛇
/script local c,s,t=UnitClass("target"),"毒蛇釘刺",UnitPowerType("target");if UnitIsPlayer("target") then if t==0 then s="蝰蛇釘刺";if c=="聖騎士" or c=="德魯伊" then s=s.."(等級 1)";end;else s="毒蠍釘刺";end;end;CastSpellByName(s);
打賊專用:標記 / 照明彈
有目標就標記,沒有就放閃光彈
/script if UnitExists("target") then CastSpellByName("獵人印記");else CastSpellByName("照明彈");end;
雄鷹守護 + 獵人印記 + 寵物攻擊
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"RavenF") then f=1;break;end;end;if f then c("獵人印記");PetAttack();else c("雄鷹守護");end;
靈猴 獵豹切換
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"Monk") then f=1;break;end;end;if f then c("獵豹守護");else c("靈猴守護");end;
靈猴 雄鷹切換
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"Monk") then f=1;break;end;end;if f then c("雄鷹守護");else c("靈猴守護");end;
獵豹 雄鷹切換
/script local c,i,b,f=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"eTiger") then f=1;break;end;end;if f then c("雄鷹守護");else c("獵豹守護");end;
靈猴守護 + 威懾
威懾的編號看上邊基礎知識自己填
/script local c,i,b,f,s,d=CastSpellByName;for i=1,16 do b=UnitBuff("player",i);if b and strfind(b,"Monk") then f=1;break;end;end;if not f then c("靈猴守護");SpellStopCasting();end;s,d=GetActionCooldown(妳威懾編號);if d<2 then c("威懾");end;
收寵 假死 陷阱
非戰鬥狀態就放陷阱,否則假死,再按陷阱,註意,戰鬥中假死瞬間陷阱放不出來的,會提示妳正在戰鬥中
所以戰鬥中需要狂按這個宏
這個宏WOW 2.0就用不著了
/script PetFollow();if UnitAffectingCombat("player") then CastSpellByName("假死"); else CastSpellByName("冰凍陷阱");end;
野獸護符 - 雙多重宏
護符放飾品1上,把妳多重射擊換個地方,並查出編號,替換紅色字,查編號看上邊基礎知識
/script local s,d;s,d=GetActionCooldown(妳多重射擊的編號);if d>2 then UseInventoryItem(13);SpellStopCasting();end;CastSpellByName("多重射擊");
法術書版
/script local s,d;s,d=GetSpellCooldown(妳多重射擊的編號,"spell");if d>2 then UseInventoryItem(13);SpellStopCasting();end;CastSpellByName("多重射擊");
這個宏可以目前替代多重了,但是馬上WOW 2.0要來了,這個宏屆時將失效,目前沒有解決方案
寶寶打圖騰
/script local t,n,i,_={"根基","戰栗","地縛","灼熱","清毒",};for _,i in t do n=i.."圖騰";TargetByName(n,1);end;PetAttack();
寵物宏 - 智能召喚/復活/治療
如果寵物存在,死的就復活,沒死就++,寵物消失了的話就召喚,如果是屍體消失,請同時按住Alt鍵,
會強制使用復活,因為WOW消失了仍然認為是活的……
/script local p,s="pet","召喚";if UnitIsDead(p) then s="復活";elseif UnitExists(p) then s="治療" elseif IsAltKeyDown() then s="復活";end;CastSpellByName(s.."寵物");
尋找稀有精英寵物
/script local s="斷牙";TargetByName(s,1);if UnitName("target")==s then ChatFrame1:AddMessage("找到");end;
上邊名字自己修改
針對不同目標調整寵物技能自動施放情況
這個宏可以針對不同類型的目標調整寵物技能的自動施放,比如帶蝙蝠面對近戰應該打開尖嘯,而面對法系就應該關掉
帶會爪擊的寵物打怪時應該關掉爪擊開低吼,而遇到玩家需要關低吼開爪擊,這個宏可以自動為妳做到
/施放 獵人印記
/script local x,p,j,e,_={1,1,1},UnitPowerType("target");if UnitIsPlayer("target") then if p==0 then x={1,nil,nil,1};else x={1,nil,1};end;end;for j=4,7 do _,_,_,_,_,_,e=GetPetActionInfo(j);if x[j-3]~=e then TogglePetAction(j);end;end;
說明壹下,紅色的{1,1,1}對應NPC,藍色的{1,nil,nil,1}對應有藍職業,綠色的{1,nil,1}對應戰,賊
四個1/nil對應寵物技能條4 5 6 7按鈕,1代表開,nil代表關,最後壹個是nil的話可以不寫,
大家可以自己調整技能和對應職業的開關順序,畢竟不同bb技能不用
將“TAB”的最遠距離改為50碼 (最大是50)
/console SET targetNearestDistance "50"
另2:用TAB選擇身後的目標最遠設為50碼 (默認是10碼)
/console SET targetNearestDistanceRa***s "50