魔獸世界:LR宏之學習篇(1)
格魯
2006-09-04 18:30:17
【瀏覽字體選擇:大 中 小】
(一)單獨的宏命令:
/script petAttack();
寵物攻擊
/script PetFollow();
寵物跟隨
/script ClearTarget();
清除當前所選目標
/釋放 法術名稱(等級 X)
釋放某種法術/技能
(二)多條語句的宏命令
清除當前當前目標,命令寵物跟隨並釋放假死
/script ClearTarget();
/script PetFollow();
/施放 假死
命令寵物跟隨,釋放驅散射擊,並清除當前所選目標
/script PetFollow();
/施放 驅散射擊
/script ClearTarget();
釋放獵人標記並命令寵物攻擊目標
/釋放 獵人印記(等級 X)
/script PetAttack();
釋放獵人標記並命令寵物跟隨
/釋放 獵人印記(等級 X)
/script PetFollow();
1.自動選最近目標
說明:(尋找最近目標+寵物防禦模式+寵物攻擊+獵人印記+自動攻擊)(以上動作同時進行)
快捷鍵Tab
/script TargetNearestEnemy()
/script PetDefensiveMode()
/script PetAttack()
/施放 獵人印記(等級 3)
/施放 攻擊
2.印記目標/雄鷹
說明:(自動射擊+寵物攻擊+雄鷹守護/獵人印記)同時進行
如果身上有靈猴守護則施放雄鷹守護 如果有雄鷹守護則施放獵人印記
/施放 自動射擊
/script PetAttack()
/script for i=1,16,1 do if (UnitBuff("player",i)~=nil) then if (string.find(UnitBuff ("player",i),"Mon")~=nil) then CastSpellByName("雄鷹守護(等級 4)");break;end end if(i==16) then CastSpellByName("獵人印記(等級 3)");end end
3.切換靈猴守護
說明:如果身上沒有靈猴守護則施放靈猴守護,有則使用猛禽一擊
/script for i=1,16,1 do if (UnitBuff("player",i)~=nil) then if (string.find(UnitBuff("player",i),"Mon")~=nil) then CastSpellByName("猛禽一擊(等級 6)");break;end end if(i==16) then CastSpellByName("靈猴守護");end end
補:靈猴守護/獵豹守護(注)在PK下這招好用的很
/script for i=1,16,1 do if (UnitBuff("player",i)~=nil) then if (string.find(UnitBuff("player",i),"Mon")~=nil) then CastSpellByName("獵豹守護");break;end end if(i==16) then CastSpellByName("靈猴守護");end end
4.近身技能
說明:(如果目標沒有被摔拌則施放摔拌,有則猛禽一擊+寵物攻擊)+貓鼬撕咬
/施放 貓鼬撕咬(等級 3)
/script local T; for i=0,15,1 do T=UnitDebuff("target", i); if (T and string.find (T,"Trip")) then break; end; end; if (T and string.find (T,"Trip")) then CastSpellByName("猛禽一擊(等級 6)"); else CastSpellByName("摔絆(等級 2)"); PetAttack() end
5.跳放冰凍陷阱/爆炸陷阱
說明:跳放陷阱不容易被察覺
/script U=UseAction Jump()
/施放 冰凍陷阱(等級 2)
6.找JY寵物
說明:方便抓JY寵物,如果目標野獸在40碼內就有顯示目標頭像
/target 巨型火鳥
/script if UnitExists("target") then Jump();end
7.假死陷阱
說明:按一下是假死+寵物停止攻擊收寵+清除目標,按第2下是冰凍陷阱。
/script TargetLastEnemy()
/script PetPassiveMode()
/script PetFollow()
/script ClearTarget()
/施放 假死
/施放 冰凍陷阱(等級 2)
/script TargetLastEnemy()
8.使用繃帶
說明:使用繃帶後,不丟失目標。
/script TargetUnit("Player");
/use 厚魔紋繃帶
/script TargetLastEnemy();
/script PetDefensiveMode()
9副本報告巡邏隊來了
注意:先用鼠標指在視野內的怪身上,按該宏的快捷鍵即可
/script p=mouseover
/script if UnitExists(target) then if (UnitIsEnemy(player,p) ) then SendChatMessage(巡邏隊>>..UnitName(target)..[lvl ..UnitLevel(target)..]<