64㎡年輕小夫妻的家,三居改一居,安放屋主的所有喜好!
2023-01-30
更新時(shí)間:2022-03-15 02:52:40作者:佚名
1、/script local b,s,j={貓鼬編號(hào),猛禽編號(hào)},{貓鼬撕咬,猛禽一擊\};for j=1,2 do if IsUsableAction(b[j]) and GetActionCooldown(b[j])==0 then CastSpellByName(s[j]);break;end;end;
2、【智能釘刺宏 】牧師不會(huì)解毒,應(yīng)該用蝰蛇,反倒是對(duì)德魯伊要用蝰蛇1騙驅(qū)毒,到頭來毒蛇無用?其實(shí)應(yīng)該對(duì)所有怪都用毒蛇 ;功能介紹:按照下列規(guī)則放釘刺 ;戰(zhàn)、賊:毒蝎 ;獵、法、術(shù),薩,牧:蝰蛇 ;騎,德:蝰蛇1 ;NPC:毒蛇
3、/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..(等級(jí) 1);end;else s=毒蝎釘刺;end;end;CastSpellByName(s);
4、【打賊專用:標(biāo)記 / 照明彈 】;有目標(biāo)就標(biāo)記,沒有就放閃光彈 ;/script if UnitExists(target) then CastSpellByName(獵人印記);else CastSpellByName(照明彈);end;
5、【雄鷹守護(hù) + 獵人印記 + 寵物攻擊 】;/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(雄鷹守護(hù));end;
6、【靈猴 獵豹切換 】;/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(獵豹守護(hù));else c(靈猴守護(hù));end;
7、【靈猴 雄鷹切換 】;/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(雄鷹守護(hù));else c(靈猴守護(hù));end;
8、【獵豹 雄鷹切換】 ;/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(雄鷹守護(hù));else c(獵豹守護(hù));end;
9、【靈猴守護(hù) + 威懾 】;威懾的編號(hào)看上邊基礎(chǔ)知識(shí)自己填 ;/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(靈猴守護(hù));SpellStopCasting();end;s,d=GetActionCooldown(你威懾編號(hào));if d<2 then c(威懾\);end;
10、【收寵 假死 陷阱】 ;非戰(zhàn)斗狀態(tài)就放陷阱,否則假死,再按陷阱,注意,戰(zhàn)斗中假死瞬間陷阱放不出來的,會(huì)提示你正在戰(zhàn)斗中 ;所以戰(zhàn)斗中需要狂按這個(gè)宏 ;這個(gè)宏WOW 2.0就用不著了 /script PetFollow();if UnitAffectingCombat(player) then CastSpellByName(假死); else CastSpellByName(冰凍陷阱\);end;
11、【野獸護(hù)符 - 雙多重宏 】護(hù)符放飾品1上,把你多重射擊換個(gè)地方,并查出編號(hào),替換紅色字,查編號(hào)看上邊基礎(chǔ)知識(shí);/script local s,d;s,d=GetActionCooldown(你多重射擊的編號(hào));if d>2 then UseInventoryItem(13);SpellStopCasting();end;CastSpellByName(多重射擊\);
12、寶寶打圖騰 ;/script local t,n,i,_={根基\,戰(zhàn)栗\,地縛,灼熱,清毒,};for _,i in t do n=i..圖騰;TargetByName(n,1);end;PetAttack();
13、寵物宏 - 智能召喚/復(fù)活/治療 ;如果寵物存在,死的就復(fù)活,沒死就++,寵物消失了的話就召喚,如果是尸 體消失,請(qǐng)同時(shí)按住Alt鍵, 會(huì)強(qiáng)制使用復(fù)活,因?yàn)閃OW消失了仍然認(rèn)為是活的;/script local p,s=pet,召喚;if UnitIsDead(p) then s=復(fù)活\\;elseif UnitExists(p) then s=治療 elseif IsAltKeyDown() then s=復(fù)活\\;end;CastSpellByName(s..寵物\);
14、【尋找稀有精英寵物 】公共部分已經(jīng)有了,不過鑒于獵人特殊性在專門寫一個(gè) ;/script local s=斷牙;TargetByName(s,1);if UnitName(target)==s then ChatFrame1:AddMessage(找到);end; 上邊名字自己修改 針對(duì)不同目標(biāo)調(diào)整寵物技能自動(dòng)施放情況
15、這個(gè)宏可以針對(duì)不同類型的目標(biāo)調(diào)整寵物技能的自動(dòng)施放,比如帶蝙蝠面對(duì)近戰(zhàn)應(yīng)該打開尖嘯,而面對(duì)法系就應(yīng)該關(guān)掉
16、帶會(huì)爪擊的寵物打怪時(shí)應(yīng)該關(guān)掉爪擊開低吼,而遇到玩家需要關(guān)低吼開爪擊,這個(gè)宏可以自動(dòng)為你做到
17、/施放 獵人印記 ;/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;
18、說明一下,紅色的{1,1,1}對(duì)應(yīng)NPC,藍(lán)色的{1,nil,nil,1}對(duì)應(yīng)有藍(lán)職業(yè),綠色的{1,nil,1}對(duì)應(yīng)戰(zhàn),賊 四個(gè)1/nil對(duì)應(yīng)寵物技能條4 5 6 7按鈕,1代表開,nil代表關(guān),最后一個(gè)是nil的話可以不寫,
19、大家可以自己調(diào)整技能和對(duì)應(yīng)職業(yè)的開關(guān)順序,畢竟不同bb技能不用