魔獸世界自動攻擊宏怎麼寫
1、自動攻擊宏
/run for z=1,172 do if IsAttackAction(z)then if not IsCurrentAction(z)then UseAction(z);end;end;end;
需要把「攻擊」技能圖標拖到任意動作條上。
2、自動選擇最近目標宏
/script if GetUnitName(「target」)==nil then TargetNearestEnemy() end
3、自動魔杖宏
/script if not IsAutoRepeatAction(x) then CastSpellByName(「射擊」); end
4、自動射擊宏
/script if not IsAutoRepeatAction(x) then CastSpellByName(「自動射擊」); end
反復按不會取消遠程武器自動射擊。需要把「自動射擊」技能圖標拖到動作條x位置上。
(x)中的X是動作條對應位置,比如主動作條是1-12,然後次動作條是13-24。
來源:遊俠網