ГлавнаяРегистрацияВход
Приветствую Вас Кю | RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 2
  • 1
  • 2
  • »
Архив - только для чтения
Модератор форума: ORB, Sphinx, MAZZILA, ADOLF  
Форум гильдии Horde Malleus » World of Warcraft » Общий раздел » Макросы (и с чем их едят)
Макросы
ORBДата: Четверг, 01 Марта 2007, 2:01 AM | Сообщение # 1
Fallen Chaplain
Группа: Караул Смерти
Сообщений: 3369
Статус: Офф
Основы Макросов
Что это все означает? Что это за макросы?
Простыми словами, макрос это серия команд, которая присвоена какой-либо кнопки на твоей панеле инструментов. Хватит шевелить извилинами, потому что то, что я сказал очень даже не плохо.
Так, теперь давай немного расширим твои познания. Макросы используются обычно в двух случаях:
• Необходимо выполнить множество команд как можно быстрее, даже быстрее чем твое нажатие на клавишу.
• Необходимо выполнить множество команд, которые часто повторяются.

Можешь ли ты себе представить пару ситуаций, когда макрос будет полезным? Возможно у тебя уже появилось пару идей. Если же нет, тогда вот парочка примеров:
• Мгновенно нацелится на ту цель, на которую твой танк нацелился.
• Мгновенно отправить в атаку своего питомца, как только ты начал атаковать.
• Сказать что-либо, в тот же момент, в который ты сделал каст.
• Сменить одним нажатием клавиши оружие.

Ограничения Макросов
Ну что заинтригован? Отлично! Однако существуют некоторые ограничения. Во-первых, каждый аккаунт может иметь 18 макросов. Поэтому 18 макросов деляться на всех твоих персонажей на всех рилмах. Так что раскинь хорошенько мозгами, если у тебя много чаров. Во-вторых, каждый макрос может состоять из 255 символов. Это означает, что твой макрос не может стрельнуть из лука, дать приказ питомцу атаковать, использовать все твои способности в атаке, подежать к трупу, забрать лут, снять шкуру, затем накормить твоего питомца и самого себя, и после этого атаковать ближайшего моба, ну и т.д. И последние ограничение - макросы не ждут задержку. Макрос выполняет все команды мгновенно. Так что если ты хочешь сначала пополнить здоровье, а после этого пополнить ману, у тебя ждет неудача, т.к. у них одинаковая задержка. В остальном же ты свободен в действии.

Является ли это читерством?Позволь мне уверить тебя, что не зависимо от того, играешь ли ты за Орду или за Альянс, не зависимо от расы, класса и профессии, макросы могут значительно увеличить твой скилл в игре. В сообщесте идет небольшая дискуссия пока на тему являются ли макросы честным превосходством. Одно я знаю наверника, использование макросов не является читерством. Каждый игрок может сделать макрос, т.к. у них есть доступ к одинаковым командам, не имеет значения даже твой уровень (level). Превосходство дается тем, кто потравив время и усилия на их создание, может теперь использовать макросы.

Твой первый маркрос
Закончив с вводной частью, перейдем к твоему первому макросу. Этот макрос не позволит тебе одним кликом завалить Ониксию, но облегчит тебе жизнь в Аукционном Доме, или, не даст скучать во время долгого путешествия на другой континент. Вообще-то, этот макрос является социальным, т.к. выполняет серию эмоций и заставляет твоего чара высказать пару фраз.

Итак начнем с того, что найди сначал кнопку Главного Меню(Main Menu) и нажми на Macros. Появится окно создания макросов, которое, в принципе, должно быть пустым, если ты не делал до этого пару экспериментов. Выглядит оно следующим образом:

Прикрепления: 42490004.jpg (3.3 Kb)


Я вампир! А у вас какая отмазка?

Глаза Мамины. Улыбка Папина. Но как? Каким образом мне достался характер Сталина??? (с)
 
ORBДата: Четверг, 01 Марта 2007, 2:12 AM | Сообщение # 2
Fallen Chaplain
Группа: Караул Смерти
Сообщений: 3369
Статус: Офф
Т.к. мы добавляем новый макрос, то нажми на кнопку New (выделена на рисунке). После нажатия появится следующее окно:

Тут ты можешь назвать свой макрос и выбрать ему иконку, которая будет размещена на панеле инструментов. Как видишь, я назвал свой макрос "Dance" и выбрал иконку с лысой головой(вторая строка и второй столбец). Также эта иконка поможет не спутать еще с чем-либо еще. После того как ты назвал свой макрос и выбрал иконку, жми Okay, которая станет доступной. Пошли дальше.

Теперь нужно набрать команды, которые твой макрос должен выполнять. Вот что я напечатал:
/dance
/train
/say Come on everybody...and ride it. Come on everybody...do the Choo Choo!
/train

Я нажал [Enter] в конце каждой строки. Так все выглядит наглядно. Внизу окна ты можешь заметить счетчик, который считает количество символов. Запомни не больше 255 символов! После того как ты все это сделал, тебе не нужно сохранять макрос или делать с ним что-то еще - он уже готов к использованию.
Все что тебе нужно сделать это перетянуть иконку из окна макросов на твою панель инструментов. Теперь уж точно все! Нажимай Exit и добро пожаловать в игру.

ПроверкаПосле твоего возвращения в игру, нажмни на иконку макроса и ты должен начать танцевать, говорить, ну и получить удовольствие от нового творения.

Как это работает спросишь ты? К счастью, все прошло хорошо. Если нет, тогда возвращайся назад и проверь синтаксис, т.е. убедись что нет ошибок. Орфография - это основа макросов. Проверь пару раз текст, и я уверен, что у тебя все заработает. Теперь можешь побегать перед игроками и показать, какой ты у нас скоростной. Если никто не отреагировал на тебя словами "lol" или "rofl"....то поищи чаров с чувством юмора!

Дальше?
Следующим шагом для тебя будет практика с макросами. Ты ничего не сломаешь, если неправильно что-то напишешь, просто удали и начни сначала. Ну а я перейду к следующему шагу....ладно, пошел я писать вторую часть.

Еще один пошаговый пример создания макроса• Наберите /macro или нажмите на кнопку разговора и выберите пункт Макрос. Появится окно, содержащее список макросов. В начале, макросов у Вас не будет.
• Нажмите кнопку "new" внизу этого окна. Появится другое окно, в котором Вы можете ввести название для нового Макроса и выбрать иконку.
• Введите название Макроса. Выберите его таким образом, чтобы было понятно, что он делает. Например, введите название "assist" (помочь).
• Выберите иконку. Например, меч.
• Нажмите "Okay" – теперь перед Вами появится окно Макросов с выбранной иконкой (меч) и введенным названием ("assist").
• Нажмите левой кнопкой мыши (ЛКМ) на иконке макроса, чтобы выделить ее. Появится кнопка, с помощью которой можно сменить название макроса или его иконку.
• В то время как иконка вашего макроса подсвечена, переместите курсор в область ввода "enter macro commands" (введите команды макроса). Именно там Вы можете вводить то, что Макрос должен делать, когда Вы нажимаете на его иконку. Вам необходимо добавлять "/" перед командой, если она этого требует. В общем, команды необходимо вводить так же, как и при обычном их использовании.
• Введите "/assist Nebu"
• Теперь, поместите курсор над иконкой меча (assist), потом нажмите на ней ЛКМ и зажмите ее (ЛКМ).
• Переместите иконку на свободное место в панели быстрого доступа (action bar).
• Чтобы использовать Ваш новый макрос, нажмите соответствующую цифровую кнопку или нажмите правой кнопкой мыши (ПКМ) на иконке макроса в панели быстрого доступа.
• Теперь, у Вас есть Макрос, с помощью которого Вы можете помогать другому игроку (Nebu) в нападении на монстров. Когда Nebu вступает с кем-нибудь в бой, нажмите кнопку данного Макроса и вашей новой целью станет субъект, с которым дерется Nebu.

Завершение Редактирования Макросов
После того, как вы закончите редактировать или создавать Макросы, нажмите крестик, расположенный в правом верхнем углу окна Макросов, чтобы закрыть его.

Редактирование Существующих Макросов
Введите /macro а затем нажмите на иконке макроса, который Вы хотите редактировать. Теперь Вы можете редактировать выбранный Макрос в области ввода "Enter Macro Commands". Когда Вы закончите, нажмите крестик, расположенный в правом верхнем углу окна Макросов, чтобы закрыть его.

Советы по Использованию Макросов
Используйте любые существующие команды
Вот некоторые другие советы по использованию макросов:
-повторение текста, который вы не хотите вводить снова
-повторение сообщений для аукционов
-создание забавных сообщений
-выполнение последовательности команд, например:
/leave 1 /leave 2(покинуть каналы 1 и 2)
/join world (присоединится к общему каналу )
/g Hello everyone! (поприветствовать всех на канале Вашей гильдии)

Дополнительная информация
• Вы можете использовать "%t" в Ваших Макросах, что бы автоматически вставить выбранного монстра, существа, игрока в Ваш Макрос. Например, Макрос "/say hi %t"выведет "Hi Nebu", если Вы в данный момент выбрали игрока Nebu.
/castпозволяет исполнять заклинания по имени. Наберите "/cast (название заклинания)" - Пример "/cast Fireball (Rank 1)".Чтобы использовать эту команду в макросах, Вы можете набрать ее "ручками", или нажать на заклинании с зажатым шифтом (Shift) в книге заклинаний, чтобы автоматически добавить соответствующую команду в макрос.
Вы можете напечатать "/а" <начать нажимать клавишу Tab>, будет прокручиваться список команд, начинающихся на "а".

Примеры макросов
Макрос на лечение пета
/script M=0;T='player';function F(a)h=UnitHealth(a);d=UnitHealthMax(a)-h;if d>M and h>0 then M=d;T=a;end end F(T);for i=1,4 do p='party'..i;if p then F(p);TargetUnitsPet(p);p='target';if p then F(p);end end end TargetUnit(T);CastSpell(66,'spell')

Смена 2 рукого оружия на 1рукое и щит/script PickupInventoryItem(17);if(CursorHasItem()) then PickupContainerItem(4,2);PickupContainerItem(4,1);PickupInventoryItem(16);else PickupContainerItem(4,1);PickupInventoryItem(16);PickupContainerItem(4,2);PickupInventoryItem(17);end

Автоматическое применение на себе какого либо предмета из рюкзака (например повязки)
/target YourNameHere
/script UseContainerItem(Bag#, Item#);
/script TargetLastEnemy();

Прикрепления: 00723495.jpg (6.5 Kb)


Я вампир! А у вас какая отмазка?

Глаза Мамины. Улыбка Папина. Но как? Каким образом мне достался характер Сталина??? (с)
 
ORBДата: Четверг, 01 Марта 2007, 2:24 AM | Сообщение # 3
Fallen Chaplain
Группа: Караул Смерти
Сообщений: 3369
Статус: Офф
Гид по макросам для конкретных случаев

Заклинания

Замечание: Начиная с патча 1.хх колдовство заклинаний больше не требует окончания в записи “(rank X)”. Достаточно записать: /cast Holy Light для колдовства спела максимального ранга. Макросы такого типа не позволяют кастить спелы более низкого ранга на выбранную цель, для использования низких рангов нужно дописывать окончание (rank X), где Х – нужный ранг спела. Пример: /cast Holy Light (rank 1);
Колдовство заклинаний на самого себя без потери фокуса на цели:
/script CastSpellByName('Holy Light', 1)
Колдовство заклинаний на самого себя если нельзя колдовать заклинание на выбранную цель:
Данный макрос кастует заклинание “spell” на самого себя только в том случае если цель враждебна
/script if ( not UnitIsFriend("player", "target") ) then CastSpellByName("Spell", 1); end

Колдовство заклинаний на цель конкретного класса:
Используется в основном для баффов рейда, по конкретным классам, возможны модификации применительно к ПвП
/script class = UnitClass("target"); if ( ( class == "Rogue" ) or ( class == "Warrior" ) ) then
CastSpellByName("Blessing of Might"); else CastSpellByName("Blessing of Wisdom"); end

Колдовство заклинаний на цели разных уровней(баффы):
Используется очень редко, но я все же приведу пример пристовского макроса для баффа на стамину, с проверкой уровня цели:
/script Pre="Power Word: Fortitude(Rank " Sp={1,2,14,26,38,50} if (UnitLevel("target") ~= nil and UnitIsFriend("player","target")) then
for i=6,1,-1 do if (UnitLevel("target") >= Sp[i]) then CastSpellByName(Pre..i..")") return end end end

Колдовство заклинаний на ближайшую цели с проверкой кол-ва % здоровья цели:
Приведу пример на основе каста хилиерских заклинаний на ближайшие цели с проверкой на кол-во здоровья цели, макрос лечит ближайшую дружественную цель со здоровьем ниже 70%, проверяются только ближайшие 40 целей.
/script for i=1,40 do TargetNearestFriend(); if UnitHealth("target")/UnitHealthMax("target") < 0.7 then if UnitIsPlayer("target") then CastSpellByName("Lesser Healing Wave") end end end; TargetLastEnemy();Анонсирование кастуемых заклинаний в пати-чат:
/cast Healing Touch
/party Healing %t in 3.5 seconds

Колдовство заклинаний на конкретных игроков партии:Всегда лечит первого игрока партии Флешкой, при этом не сбивает фокуса на выделенной цели.
/script TargetUnit("party1")
/cast Flash Heal
/script TargetLastTarget()

Колдовство нескольких заклинаний (баффов) с проверкой на наличие оных на цели:
Кастует различные баффы на цель, только в том случае если на цели еще нет такого заклинания(баффа), пример версии для друида:
/script i=1;m=0;while(UnitBuff("target",i)~=nil) do if(strfind(UnitBuff("target",i),"Regeneration")~=nil) then m=1; end;i=i+1;end; c=CastSpellByName; if(m==1) then c("Mark of the Wild(Rank 10)");else c("Thorns(Rank 10)");end;

Макрос для поиска номера заклинания в книге умений:
Иногда использования скриптов CastSpellByName приводит к тому что длинна макроса превышает допустимые 255 символов, например макрос: /script CastSpellByName('Holy Light', 1) занимает достаточно много символов, когда как проще использовать макрос: /script CastSpellByNumber(); Но как же узнать какой номер у того или иного заклинания из вашей книги? На помощь приходит очень полезный и распространенный макрос проверки номера заклинания, он выдает на экран имя спела с соответствующим номером:
/script SpellNumber=26; SpellName,SpellRank=GetSpellName(SpellNumber,"spell");
M=format("Spell %d: %s %s",SpellNumber,SpellName,SpellRank); DEFAULT_CHAT_FRAME:AddMessage(M);

Инвентарь и Предметы

Использовать предмет:
/script UseContainerItem(bag, slot);• Bag – это номер сумки, от 0 до 4, где 0 – начальная сумка.
• Slot – это номер слота в сумке от 1 до 20.
Макрос автоматически использует предмет в заданной сумке на заданном месте, полезен при использовании алхимии или просто при переодевании тринкетов.

Быстрое использование Бинтов на самого себя:
/target [Player Name]
/script UseContainerItem(#, #);
/script TargetLastEnemy();

Очень полезный макрос для дуэлей 1v1. Вот еще один пример макроса для бинтов, более сложный, с проверкой на наличие бинтов в инвентаре, фокусировки на предыдущей цели или сбросе фокуса, если цель – вы сами:
/script if (not GetContainerItemLink(x,x)) then OpenBag([same bag number as before]); else
TargetUnit("player");UseContainerItem(3,15);TargetUnit("playertarget");if (UnitIsPlayer("target"))
then ClearTarget() end end

Использование предмета из Хот-бара:Приведу пример использования Бинтов лежащих в одном из слоте одного из шести хот-баров, макрос использует бинты на выбранную дружественную цели, или на самого себя если цель враждебна:
/script UseAction(ActionID, 0, 1);
/script if( SpellIsTargeting() ) then SpellTargetUnit("player"); end
• ActionID – это номер слота одного из шести хот-баров, он выбирается соответственно из таблицы:

Хот-бар: Номер слота
1: 1 2 3 4 5 6 7 8 9 10 11 12
2: 13 14 15 16 17 18 19 20 21 22 23 24
3: 25 26 27 28 29 30 31 32 33 34 35 36
4: 37 38 39 40 41 42 43 44 45 46 47 48
5: 49 50 51 52 53 54 55 56 57 58 59 60
6: 61 62 63 64 65 66 67 68 69 70 71 72

Более продвинутый вариант того же макроса, использует бинты на самого себя в любом случае, даже если цель дружественна и находится в радиусе действия, очень полезен в ПвЕ:
/scriptp="player";t="target";if(not UnitCanAttack(t, p))then ot=UnitName(t);TargetUnit(p);
else ot=nil;end;UseAction(ActionID);if(SpellIsTargeting())then SpellTargetUnit(p);
end if(ot) then TargetByName(ot);end

Использование точильных камней на оружие:Простой макрос сократит вам время
/script UseContainerItem (#,#);
/script PickupInventoryItem (16);
Меняя в последней строке 16 на 17 получим макросы для заточки правой и левой рук.

Интерфейс

Переключение Хот-баров:
/script CURRENT_ACTIONBAR_PAGE = X;
/script ChangeActionBarPage();

• Где X – номер нужного нам хот-бара, от 1 до 6.

Пример готового и усложненного макроса, выводом на экран сообщения о смене макроса:
/script CURRENT_ACTIONBAR_PAGE = 1;
/script ChangeActionBarPage(); == Macro Frame Toggling ==
/script if ( not MacroFrame:IsVisible() ) then ShowUIPanel(MacroFrame);
else HideUIPanel(MacroFrame); end;

Изменение видео опций
Иногда хочется изменить видео опции игры, что бы комфортнее себя чувствовать в густо населенных игроками зонах, таких как Банк или Аукцион, так же при большой нагрузке в ПвЕ зонах, примером может служить первая фаза Разоргора ( 1 босс БВЛ ):
Для хорошего качества видео:
/z SetFarclip(777)
/z SetWorldDetail(2)
/z SetBaseMip(1)
Для среднего качества видео:
/z SetFarclip(477)
/z SetWorldDetail(1)
/z SetBaseMip(1)

Для плохого качества видео:
/z SetFarclip(177)
/z SetWorldDetail(0)
/z SetBaseMip(0)
Переключение игры из Full-screen в Window режим:
Полезен для съемки видео или просто для удобной настройки посторонних программ:
/script currentRes = GetCurrentResolution(); if (currentRes == 3)
then SetScreenResolution(15); SetCVar("gxWindow", 0); SetMultisampleFormat(16);
else SetCVar("gxWindow", 1); SetScreenResolution(3); SetMultisampleFormat(1); end;
Числовые значения подобраны для переключения из разрешения 1600x1200 full anti-aliasing в разрешение 1024x768 1x anti-aliasing

Отключение имен игроков / npc:
Полезный макрос, для снятия нагрузки с экрана и любителям скриншотов

Для имен игроков:
/script if ( GetCVar("UnitNamePlayer") == "1" ) then SetCVar("UnitNamePlayer",0) else SetCVar("UnitNamePlayer",1) end

Для имен npc:

/script if ( GetCVar("UnitNameNPC") == "1" ) then SetCVar("UnitNameNPC",0) else SetCVar("UnitNameNPC",1) end Автоматическая смена чата:
Макрос для автоматической смены между чатам /s если вы вне партии, /p если вы в партии на 5 человек, /raid если вы находитесь в рейде, макрос только устанавливает чат, но не пишет сообщения:
/script if (GetNumRaidMembers() > 0) then PR = "Raid"; elseif (GetNumPartyMembers() > 0)
then PR = "Party"; else PR = "Say"; end;

Для того что бы автоматически написать какую либо фразу в выбранный чат, добавьте строку:
/script SendChatMessage("Ты Gijdalah нуб и ничего не понимаешь!!!",PR);

Бой

Макросы для помощи танку:Самый простой макрос для атаки цели которую атакует выбранный заранее танк:
/assist %t
/script AttackTarget();
Этот макрос слишком простой и не может покрыть всего того функционала который необходим зачастую в быстро протекающем бое, попробуем сделать более сложный вариант макроса, разделив при этом часть автоматической выборки подходящего танка, и часть фокуса на цели выбранного танка:

---- Для выбора танка ----/script LeaderPlayerName = UnitName("target") or UnitName("party1") or "";
/script DEFAULT_CHAT_FRAME:AddMessage("######## Set main assist to: " .. LeaderPlayerName);

---- Для атаки цели танка ----/script AssistByName(LeaderPlayerName or UnitName("party1") or UnitName("player"));
/script DEFAULT_CHAT_FRAME:AddMessage("######## Assisting "..
LeaderPlayerName .. " with target " .. (UnitName("target") or "NO TARGET"));
При использовании первого макроса, в памяти интерфейса запоминается ник выбранного игрока, что бы при нажатии второго макроса, выбиралась цель ранее запомненного танка, не зависимо от того где он находится, не нужно использовать первый макрос каждый раз, только один раз для начальной установки танка.
Но это два макроса, они будут занимать два слота на вашем интерфейсе, хотя они и очень удобные. Попробуем совместить оба макроса в один не потеряв при этом функциональности. Макрос будет выглядеть следующим образом:
/script p=PAsi or""u=UnitName;t="target"c=IsControlKeyDown()if©then p=u(t)or u("party1")or""else AssistByName(p)end;DEFAULT_CHAT_FRAME:AddMessage("######## "..(c and("Set assist: "..p)or("Assisting "..p.." with "..(u(t)or"NO TARGET"))))PAsi=p Тот же макрос в более удобном для чтения виде, так как выше приведенный, не читаем из за оптимизации под длину в 255 символов:
/script
p=PAsi or"";
u=UnitName;
t="target";
c=IsControlKeyDown();
if© then
p=u(t) or u("party1") or ""
else
AssistByName(p)
end;
DEFAULT_CHAT_FRAME:AddMessage("######## "..
(c and
("Set assist: "..p)
or
("Assisting "..p.." with "..(u(t) or "NO TARGET"))));
PAsi=p;

Итак, как же пользоваться этим макросом:
Для установки нужного танка, удерживая Ctrl кликните на иконку использования макроса.
Обычный клик на иконку использования макроса выберет необходимую цель.
Модификация этого макроса с возможностью колдовства разных заклинаний на цель выбранного танка (выбрано заклинание Полиморф, что может быть заменено на любое другое):
/script t=Tg1 or""c=IsControlKeyDown()if©then t=UnitName("target")or""else TargetByName(t)if(IsShiftKeyDown())then CastSpellByName('Polymorph')end end ChatFrame1:AddMessage("######## "..(c and("Tg1 set to: "..t)or("Targeting: "..t)))Tg1=t Тот же макрос в удобном виде: /script
t=Tg1 or""
c=IsControlKeyDown()
if© then
t=UnitName("target")or""
else
TargetByName(t)
if(IsShiftKeyDown()) then
CastSpellByName('Polymorph')
end
end
DEFAULT_CHAT_FRAME:AddMessage("######## "..
(c and
("Tg1 set to: "..t)
or
("Targeting: "..t)))
Tg1=t

Если удерживая Shift кликнуть на иконку использования макроса, то персонаж начнет колдовать выбранное заклинание (полиморф) на текущую цель выбранного ранее танка.

Макросы для уничтожения тотемов:
Простейший вариант:
/target Totem
/cast Moonfire(Rank 1)

Более сложный вариант:
/script u=UnitName;
s=strfind;
t="target";
for i = 1,10,1 do TargetNearestEnemy()
if (not UnitCanAttack("player",t))then
break;
end;
if ((s(u(t),"Totem") or s(u(t),"Ward")) and not s(UnitCreatureType(t),"Human")) then
CastSpellByName("Shoot");
break;
end;
end;

Таймер:
/script if IsAltKeyDown() then L1="Instance Start"; T1=GetTime();
M=format("Timer Set [%s]",L1); else N=GetTime(); D=N-T1;
M=format("Time Elapsed - [%s]: %02dh:%02dm:%02ds",L1, D/3600,mod((D/60),60), mod(D,60)); end
SendChatMessage(M,"SAY");

Макрос отсчитывает время с момента установки начального времени отсчета, что бы установить оное, нужно зажав Alt кликнуть на иконку использования макроса. При использовании макроса, выдается искомое время с точностью до секунды.

Макросы для петов

Атака петом:
Простой макрос атаки пета по выбранной цели
/script PetAttack();
Более продвинутый вариант:
/target player
/assist
/script PetAttack();

Атака специальным заклинанием пета (например Dash):
/script PetAttack(); CastPetAction(4);

Команды для пета:Список всех команд пету
/script PetAggressiveMode();
/script PetDefensiveMode();
/script PetPassiveMode();
/script PetFollow();
/script PetAttack();
/script PetStopAttack();
/script CastPetAction(X);

• Для последней строки, X – номер заклинания пета в панели управления петом


Я вампир! А у вас какая отмазка?

Глаза Мамины. Улыбка Папина. Но как? Каким образом мне достался характер Сталина??? (с)
 
ORBДата: Четверг, 01 Марта 2007, 2:28 AM | Сообщение # 4
Fallen Chaplain
Группа: Караул Смерти
Сообщений: 3369
Статус: Офф
Примеры классовых макросов

Просто перечислю некоторые примеры оригинальных макросов для каждого класса.

Друид:
Nature's Swiftness + Healing Touch – без глобального кулдауна:
/cast Nature's Swiftness
/script SpellStopCasting();
/cast Healing Touch(Rank 10)
/script if ( SpellIsTargeting() ) then SpellTargetUnit ("player"); end

Хантер:
Выбор ближайшей цели, если цель рога – выстрел Scatter Shot:
/script TargetNearestEnemy(); if (UnitClass("target")=="rogue") then CastSpellByName("Scatter Shot"); CastSpellByName("Hunter's
Mark (Rank 4)");end
Raptor strike + Wing clip:
/cast Raptor Strike
/cast Wing Clip

Макрос для Пула с одновременной привязкой марки к цели:
/cast Hunters Mark(Rank #);
/cast Concussive Shot();
/cast Autoshoot();

Автоматическое кормление пета:
/cast Feed Pet
/script PickupContainerItem (#,#)

Маг:
Макрос для вызова всех типов мана-кристалов, требует многочисленного нажатия:
/script local c=function(a) local f,d a="Mana "..a for i=0,4 do for k=1,GetContainerNumSlots(i) do
d=GetContainerItemLink(i,k) or "" if strfind(d,a) then f = 1 end end end if not f then CastSpellByName("Conjure "..a) end end
c "Ruby" c "Citrine" c "Jade"
Колдовство заклинаний с использованием тринкетов /
приведу пример ЗХЧ + ПоМ + фростболт 11 ранга:
/script UseAction(37); SpellStopCasting(); CastSpell(82,"spells"); SpellStopCasting(); CastSpell(158,"spells"

Макрос отправляющий висперы, о прекращении атаки игрокам партии, монстра которого вы хотите полиморфить:
/cast Polymorph
/script local n,p,t=UnitName,"party","target" for i=2,5 do if n(p..i) then if
UnitIsUnit(p..i..t,t) then SendChatMessage("I am about to sheep your target, please change
targets.","WHISPER",nil,n(p..i)) end end end

Паладин:
Авто-бафф дружественных целей использующих Ману – Wisdom Blessing и остальных, включая себя – Might Blessing:
/script power = UnitPowerType("target"); if ( power == 0 ) then CastSpellByName("Blessing of Wisdom") else CastSpellByName("Blessing of Might") end; if ( SpellIsTargeting() ) then CastSpellByName("Blessing of Might"); TargetUnit("player"); end;

Рога:
Макрос для рог которые используют Sinister Strike как основную атаку, макрос использует Riposte, если возможно:
/script if (UnitMana("Player")>=999) then CastSpellByName("Sinister Strike"); end;if (IsUsableAction(18) and UnitMana("Player")>=10) then CastSpellByName("Riposte"); end;
/script if UnitMana("Player")>=40 then CastSpellByName("Sinister Strike"); end;

Шаман:
Nature Swiftness + healing
/script local a=IsAltKeyDown();local c,d=GetSpellCooldown(157,0);if(c==0)then CastSpell(157,0) else if(a)then TargetUnit("player")
end;if(d==0.001)then CastSpell(146,0) else CastSpell(152,0) end;if(a)then TargetLastTarget() end;end
Макрос делает следующее:
• если Nature Swiftness не на кулдавне, кастует его.
• если на вас активен Nature Swiftness, кастует Healing Wave 9 rank на выбранную цель
• во всех остальных случаях кастует Lesser healing wave rank 6 на выбранную цель.

Макрос анонса тотемов в пати-чат:
/party +88 agility totem, 30 yards, stay close
/cast Grace of Air
Stormstrike + тринкет:
/script UseInventoryItem(14);
/script SpellStopCasting();
/cast Stormstrike(Rank 1)

Варлок:
Колдовство страха и одновременное отключение атаки пета:
/cast Fear(Rank #)
/script PetFollow();
Воин:
Battle stance -> Mocking blow:
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Mocking Blow()"); else CastSpellByName("Battle Stance()"); end;Требуется минимум 2 нажатия.

Defensive stance -> Taunt:
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Taunt()"); else CastSpellByName("Defensive Stance()"); end; Требуется минимум 2 нажатия.

Berserker stance -> Berserker rage
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Berserker Rage()"); else CastSpellByName("Berserker Stance()"); end;
Требуется минимум 2 нажатия.

Прочие макросы

Серверное время:Макрос выдает на экран, серверное время
/script hour,min=GetGameTime()
/script DEFAULT_CHAT_FRAME:AddMessage(format("Server time is %s:%s",hour,min));
Координаты и локация:
/script px,py=GetPlayerMapPosition("player")
/script DEFAULT_CHAT_FRAME:AddMessage(format("[ %s ] %s , %s",GetZoneText(),px,py));


Макрос печатающий цели квеста в пати-чат:

/script i = GetNumQuestLeaderBoards(); for j = 1, i, 1 do a1, a2, a3 = GetQuestLogLeaderBoard(j); SendChatMesssage(a1, "PARTY"); end;

Макрос автоматической сдачи квеста неограниченное кол-во раз:
/script SelectGossipAvailableQuest(1); CompleteQuest(); GetQuestReward();
Макрос часто используют для неоднократного выполнения квеста – Dark Iron Residue

Макрос лечения 2 строки Эмерженси монитора, аддона CT_raid:
Очень полезный для любого лекаря макрос, спам которого позволяет сократить оверхил, и четко и быстро реагировать на повреждения рейда
/script CT_RA_Emergency_TargetMember(1)
/script CT_RA_Emergency_TargetMember(2)
/cast Lesser Healing Wave(Rank 6);
/script TargetLastTarget();
Макрос выбирает 2 строчку монитора, если такой нет, то первую, и кастует на цель Lesser healing wave rank 6.


Я вампир! А у вас какая отмазка?

Глаза Мамины. Улыбка Папина. Но как? Каким образом мне достался характер Сталина??? (с)
 
SphinxДата: Четверг, 01 Марта 2007, 8:28 AM | Сообщение # 5
Capellan Horde Malleus [Kwinta]
Группа: Атраментары
Сообщений: 361
Статус: Офф
smile круто...осталось попробовать...как раз сегодня собрался сделать макрос "КУПЛЮ МЕДЬ"...думаю это возможно. Инфы выложил прес, спс.

 
WARGДата: Понедельник, 07 Января 2008, 6:26 PM | Сообщение # 6
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
Блин классно, отличная инфа. Если я что-нибудь нарою -выложу тоже сюда! ОРБ молодец, сколько смотрю, ненарадуюсь :)

Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
BorovДата: Понедельник, 03 Марта 2008, 6:09 PM | Сообщение # 7
Г
Группа: Атраментары
Сообщений: 311
Статус: Офф
фуух всё так сложно))) без макросов проживу))

ЗА ООРРДДУУУУ!!!!!Больше крови
 
WARGДата: Понедельник, 03 Марта 2008, 9:13 PM | Сообщение # 8
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
Quote (Borov)
фуух всё так сложно))) без макросов проживу))

Не поживешь... Профи встретиться, снесет тебя в пвп, вот тогда узнаешь. Я тоже думал проживу - как шама мля разъе..ал меня в пух и прах и всего то на 1 лвл мя выше был - понял, нубов и сердних без макросов валить можно легко, профи - нет.


Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
MAZZILAДата: Вторник, 04 Марта 2008, 10:18 AM | Сообщение # 9
Chaplain Horde Malleus [ShadowZone]
Группа: Атраментары
Сообщений: 252
Статус: Офф
Реально сколько смотрю видео с профи на оффе видно что чел вобще даже мышь не использует в пвп..... Ток клавиши жмет.... Нада учиться потихоньку прикреплять спелы к кнопкам и юзать их.... а то мышью пока наведешь....

НИ ДНЯ БЕЗ УХА АЛЕНЯ!!!!!
 
WARGДата: Вторник, 04 Марта 2008, 8:26 PM | Сообщение # 10
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
Хот кеи - это вешь, да...Разумеется профи ты не деранешь мышью... А макросы -тоже залог победы - ведь хот кеев не хватит - да и много запоминать - получается таже хня что и с мышью - по всей клаве с хотами гоняться...

МАКРОСЫ ЛОКА, хз работают или нет, но вот:

/petattack
/petattack [target=Tremor Totem]
/petattack [target=Earthbind Totem]
/petattack [target=Windfury Totem]
/petattack [target=Fire Resistance Totem]

/cast Death Coil
/stopcasting
/cast Fear
/stopcasting
/cast Curse of Ellements
/use 13
/use 14
/cast Soul Fire
/castsequence Siphon Life, Curse of Agony, Corruption
/stopcasting

Pet Macros
[edit] Pet management

Both your warlock and pet can engage the same target at the same time, given a long-casting opener and a modifier key.

/petattack [modifier]
/cast Shadow Bolt

[edit] Pet Attack Toggle

Pet attack toggle button.

/petattack [target=pettarget,noexists]
/petfollow [target=pettarget,exists]

[edit] Pet Attack => Grind

This one also makes sure your pet is attacking the target; useful to take some of the finger-work out of grinding. You'll want to fine-tune the sequence depending on your level, spec, and the mobs you're fighting.

/petattack
/castsequence reset=combat/target Corruption, Curse of Agony, Life Tap, Drain Life, Shoot

[edit] Pet Attack => Grind => Drain Soul

If you want to cram even more functionality into that grinding button, here's the above macro, plus the feature that if you hold Alt while pressing it, it will cast Drain Soul instead.

/petattack [nomodifier]
/castsequence [nomodifier] reset=target/combat Corruption, Curse of Agony, Immolate, Shadow Bolt, Shadow Bolt, Shoot
/cast [modifier:alt] Drain Soul

[edit] Pet Attack => Cast DoT's in Sequence => Hold Alt to nuke

Sends your pet to attack, and casts immolate. Press again for Curse of Agony, and again for Corruption. Then hold alt, and nuke away. If you're not grouped, and have a voidwalker out, you will alternate between Shadow Bolt and Searing Pain when holding alt. I suggest you keep Immolate first as it gives you time to cast without interrupts, and lets your demon cast or attack in time to build up aggro.

/petattack
/castsequence [modifier:alt,nogroup,pet:Voidwalker/pet:Felhunter] Searing Pain, Shadow Bolt, Shadow Bolt
/cast [modifier:alt] Shadow Bolt
/castsequence reset=combat/target Immolate, Curse of Agony, Corruption

[edit] Voidwalker Sacrifice / Succubus Seduction / Felhunter Devour & Spell Lock

This macro will do the following. If you have your Voidwalker summoned and are out of combat it will cast Consume Shadows, or Sacrifice if you are in combat. If you have your Succubus summoned it will cast Seduction on your focus or if you have no focus then it will cast Seduction on your current target. If you have your Felhunter summoned it will cast Devour Magic on your focus.

#showtooltip
/cast [pet:voidwalker,nocombat] Consume Shadows; [pet:voidwalker,combat] Sacrifice
/cast [pet:Succubus,target=focus] Seduction; [pet:Succubus] Seduction
/cast [pet:Felhunter,target=focus] Devour Magic
/focus [target=focus,dead]

Note If you assign the Question Mark button to it it will change the graphic to match whatever spell your current pet will use and will show the correct tooltip on mouseover.
[edit] All pet abilities in one button / AI

221 characters long to get the most out of all pet abilities, this macro will:
1. If you have a Succubus out, cast Seduction on your focus.
2. If you have an Imp out, cast Dark Pact.
3. if you have a Felhunter out, cast Spell Lock on your focus.
4. If in combat with a voidwalker, cast Dark Pact and then Sacrifice.
5. If out of combat with a voidwalker, cast Consume Shadows and Health Funnel.

#showtooltip
/cast [pet:Imp]Dark Pact;[pet:Succubus,target=focus]Seduction;[pet:Felhunter,target=focus]Spell Lock
/stopmacro [nopet:voidwalker]
/cast [combat]Dark Pact;Consume Shadows
/cast [combat]Sacrifice;Health Funnel

-submitted by Dracko86
[edit] Imp Dark Pact / No Imp Life Tap

Dark Pact if you have an Imp out, Life Tap if you don't have an Imp out. Depending on your playstyle, this may let you get by with only 1 keybinding for both Dark Pact and Life Tap.

/cast [pet:imp] Dark Pact; Life Tap

[edit] Devour Magic off Target else Yourself

Devour Magic on your target, Devours off of you when right clicked.

/cast [button:2,target=player] Devour Magic; Devour Magic

[edit] Fel Domination + Summon Pet

If you are demonologist and have Fel Domination it will cast it and summon the pet you want. Just change "pet you want to summon" with the name of your desired minion, for example /cast Summon Voidwalker (Summon).

/cast Fel Domination
/stopcasting
/cast Summon [pet you want to summon](Summon)

[edit] 4 Demons on 1 button

One button, 4 Demons. Left = Felhunter, Right = Voidwalker, Shift click = Imp, Control click = Succubus. Saves bar space.

/cast [modifier:shift]Summon Imp(Summon); [modifier:ctrl]Summon Succubus(Summon); [button:2]Summon Voidwalker(Summon); Summon Felhunter(Summon)

[edit] Focus a Target out of combat, then attack in combat

This macro will set a focus on your target outside of combat and when in combat will command your pet to either assist the focussed target if it is friendly or attack the focussed target if it is hostile. Can be modified to clear focus when used or can be made so that focus is kept so pet can be juggled between 2 targets in combat. Also, if out of combat can send your pet to attack once a focus is set. There's really a lot of ways someone can tweak with this so figure out what works for you and change to your liking.

/focus [nocombat]
/petattack [target=focus, exists,harm,combat]; [target=focustarget,exists,harm,combat]; target

[edit] Voidwalker management on one button

1. If you do not have a Voidwalker out it will summon it.
2. If you have a Voidwalker and ARE NOT in combat, will cast Consume Shadows and heal Voidwalker.
3. If you have a Voidwalker and ARE in combat, will Sacrifice Voidwalker.

/cast [nopet:Voidwalker] Summon Voidwalker
/cast [pet:Voidwalker,nocombat] Consume Shadows
/cast [pet:Voidwalker,combat] Sacrifice

A variant Voidwalker Summon/Sacrifice macro: If in combat and pet is Voidwalker, cast Sacrifice, otherwise Summon Voidwalker.

/cast [target=pet,dead] Summon Voidwalker; [combat,pet:Voidwalker] Sacrifice; Summon Voidwalker

Note: The "[target=pet,dead]" part is necessary to keep from getting a "Your pet is dead" error when resummoning shortly after casting Sacrifice.
[edit] Voidwalker Health Recovery

Often when soloing with an affliction build, a warlock ends combat with near full health and mana. This quickly gets your voidwalker back up to fighting condition in a single click. If you aren't using your voidwalker or are in combat it acts just like the normal health funnel button.

#showtooltip
/cast Health Funnel
/cast [nocombat, pet:Voidwalker] Consume Shadows

[edit] Two-button Total Pet Control

With two buttons (macros) you can have total pet control if you make them context sensitive. The point of this is that a keyboard can become utterly cluttered, and requiring more than 2 buttons for 5-6 functions on your pets results in more buttons than preferred being in an unreachable place. Before the macro I'd bind pet function 1 (attack) and 5 to two buttons, but occasionally the situation comes up where the pet needs to be recalled, or needs to be told to stay in a position in sentry mode. Using the mouse + pet bar for these more advanced techniques wastes valuable time, multiple buttons waste valuable pet space. I therefore wrote a macro to bring it all down to two buttons, based on having a target selected or not.

Macro 1:

/petfollow
/petpassive
/petattack [harm]

Macro 2:

/petfollow [pet:succubus]
/cast [harm] Spell Lock
/cast [help] Devour Magic
/cast Seduction
/cast Sacrifice
/cast Intercept
/petstay [noexists]
/petdefensive [noexists]

This allows you to do the following things:

* Send your pet to attack pressing button 1 while targeting an enemy
* Get your pet to return to you immediately by deselecting any targets and pressing the same button again
* Have your pet use its special attack (Seduce, Sacrifice, Intercept, Spell Lock) when you target an enemy with the second button
* have your pets (other than the Voidwalker) stay in one place and become aggressive when pressing the second button and no target is selected
* Have them return again to you and become passive again pressing the first button again
* You can now re-seduce without the succubus being blocked by an ongoing seduce
* The Felhunter will attempt to devour Magic on targeted friendlies, and spell lock targeted enemies.

Basically everything you ever need to do with your pet in 2 buttons.
[edit] Summon All Pets

This one is a very simple macro that allows you to summon any pet you wish to summon. Just left click to summon an Imp. Hold alt and left click to summon a Succubus. Hold ctrl and left click to summon a felhunter. Hold shift and left click to summon a Voidwalker. Right click to summon a Felguard. Hold shift and right click to summon a Felsteed. Hold alt and right click to summon a Dreadsteed. That covers every possible summon, includes the mounts. Even if you don't have some of the summons it doesn't matter because it'll just mean that you can't use that one until you get the spell. So lets say you don't have a Felhunter and you ctrl right click, nothing will happen. Yet all the other summons will work fine. So no matter what level you are it will work with whatever pets you have.

/cast [button:1,nomodifier] Summon Imp
/cast [modifier:alt] Summon Succubus
/cast [modifier:ctrl] Summon Felhunter
/cast [modifier:shift] Summon Voidwalker
/cast [button:2,nomodifier] Summon Felguard
/cast [button:2,modifier:shift] Summon Felsteed
/cast [button:2,modifier:alt] Summon Dreadsteed

[edit] Focused Seduction

* Upon use, the macro will Focus your target, and have your succubus Seduce it.
* When used for the second time, and your Focused target, i.e. the Seduction target, is alive, it will re-seduce it, regardless of what your current target is. It will not focus your current target, and seduce that; it will re-seduce it's focused target.
* If used during Seduction, it will break the seduction and re-seduce the focused target.
* If clicked while "Alt" is being pressed, it will cancel the previous focus and assign a new focus on your current target.

#show Seduction
/clearfocus [modifier:alt]
/focus [target=focus,noexists]; [target=focus,dead]
/clearfocus [target=focus,help]
/petstay
/petfollow
/stopcasting
/cast [pet:succubus,target=focus,exists,harm] Seduction; Seduction

[edit] Devour Magic - 3v3 Arena Style

* On use, this macro will cast Devour Magic on the target specified without breaking your current target.
* Useful for 3v3 Arenas, requires a middle mouse button.

#showtooltip
/cast [pet:Felhunter,button:1,target=party1] Devour Magic;
/cast [pet:Felhunter,button:2,target=party2] Devour Magic;
/cast [pet:Felhunter,button:3,target=player] Devour Magic;

[edit] Advanced Spell Lock with Focus

* When used, this macro will focus your current target (if you don't already have a focus) and cast Spell Lock on that target. If shift is held down while using this macro it will focus your current target and cast Spell Lock on that target (changing focus), if you don't have a target it will simply clear your focus. If ctrl is held down while using this macro it will simply Spell Lock the target your mouse is hovering (this way you won't loose your current target).

#showtooltip Spell Lock
/clearfocus [modifier:shift]
/focus [target=focus, noexists]
/cast [nomodifer, pet:Felhunter, target=focus, harm] Spell Lock; [modifier:ctrl, pet:Felhunter, target=mouseover, harm] Spell Lock

[edit] Advanced Devour Magic

* When used, this macro will cast Devour Magic on you. If shift is held down while using this macro it will cast Devour Magic on your current target.

#showtooltip Devour Magic
/cast [modifier:shift, pet:Felhunter] Devour Magic; [pet:Felhunter, target=player] Devour Magic

[edit] Affliction DoT castsequence

* When used, this macro will first cast Immolate, Corruption,Curse of Agony and finally Siphon Life on your target. If the button is left unpressed for 10 seconds or you change your target it will reset the sequence and the next spell that will be cast will be Immolate.

/castsequence reset=10 Immolate, Corruption, Curse of Agony, Siphon Life

* This macro will utilize and maximize your DPS(Damage Per Second) and wont conflict with the DoTs(Damage Over Time) duration on your situated target.

Stone Management
[edit] Wand/Spellstone use on 1 button

This will allow you to turn your wand's auto-shoot on or use your equipped Spellstone with one button.

/cast [equipped:Wand] Shoot; Master Spellstone

Alternative method with Shadow Ward as an alt-click.

#show Shadow Ward
/cast [nomodifier,equipped:wand] Shoot
/cast [nomodifier,equipped:relic] Major Spellstone
/cast [modifier:alt] Shadow Ward

[edit] Two Macros to Switch between Wands and Firestone

These two macros will allow you to attack with your Firestone in hand (or go back to combat equipment after fishing) and swap it out to use your wand.

#showtooltip
/equip <Name of you main hand weapon>
/equip <Name of your off hand item>
/equip Firestone
/startattack

This second one will equip your wand with the first press, and shoot your wand with the second one.

#showtooltip
/equip <Name of your wand>
/cast Shoot

[edit] Soulstone Macro

This macro will on right click make a soulstone (change for appropriate level), left click, use it and on alt left click cast it on yourself.

#showtooltip Minor Soulstone
/cast [modifier:alt,target=player] Minor Soulstone; [button:1] Minor Soulstone; [button:2] Create Soulstone

[edit] 2 healthstones on one button

One button, 2 Healthstones. Left click to discharge a Major Healthstone, right for Greater Healthstone. Shift click to create a Major, Control click for Greater. While one can have multiple healthstones of differing rank in one's inventory, they will share the same cooldown. Hence, this macro is more useful for longer fights.

/cast [button:2] Greater Healthstone; [modifier:shift] Create Healthstone; [modifier:ctrl] Create Healthstone; Major Healthstone

[edit] Healthstone and Healing Potion

Note: It is currently impossible to write a macro that will have you use a healthstone if you have one and a potion if you do not.

* Left-click uses a Healthstone; right-click a potion named in the macro
* If you choose an icon for the macro rather than allowing the program to choose one for you, the macro button in your action bar will be grayed if you do not have a healthstone.
* In all cases, only the cooldown for your healthstone will be shown.

#showtooltip
/use [button:1] Healthstone; [button:2] Superior Healing Potion

[edit] Healthstone use/summon, Ritual of Souls in group

This will allow to use a healthstone with one click, summon with another, however in groups you will cast Ritual of Souls rather than a single summon.

#showTooltip Master Healthstone
/cast [group, button:2] Ritual of souls
/cast [button:2] Create Healthstone
/use [button:1] Master Healthstone

When you first log in it'll show you a red question mark icon until you make your first stone. You can change the first line to "#showTooltip Create Master Healthstone" to fix this, however it will display the number of soulshards remaining instead of healthstone.
[edit] General Macros
[edit] Motaba's Grind Macro

This is intended for grinding. The assumption is that you have the following spells: Curse of Agony, Corruption, Drain Life, Health Funnel and Drain Soul. You should have some level of these spells by level 12. After that point, the macro will just use the most advanced version of each spell (except Drain Soul). The Voidwalker or Felguard are good pets when using this macro.

To use, simply press the button when each spell is finished. To drain the soul (and create a soul shard)hold down the <Alt> key while pressing the button.

/petattack
/cast [nocombat] Curse of Agony
/castsequence [nomodifier,combat] reset=target/combat Corruption,Life Tap,Drain Life,Health Funnel,Shoot
/cast [modifier:alt] Drain Soul(Rank 1)

Here is the same macro with Amplify Curse (in case you have it)

/petattack
/cast [nocombat] Amplify Curse
/stopcasting [nocombat]
/cast [nocombat] Curse of Agony
/castsequence [nomodifier,combat] reset=target/combat Corruption,Life Tap,Drain Life,Health Funnel,Shoot
/cast [modifier:alt] Drain Soul(Rank 1)

[edit] Chain-Fear Focus Macro

* If you do not have a focus it will set focus on your mouseover target.
* It will cast fear on your focus.
* If you do not have a focus, it will cast fear on your target.
* Will null your focus if you click the macro button with the control key held down, or if your target is dead.

#showtooltip
/focus [target=focus, noexists][target=focus, dead] mouseover
/cast [nomodifier, target=focus] Fear
/stopmacro [nomodifier]
/clearfocus [modifier:ctrl]

Note that if you select the macro picture Question Mark the first line of the macro will make this icon the fear spell, and will allow your usual tooltip to display

[edit] Amplify Curse with Curse

Will do a one click Amplify Curse (if its up) with the curse of your choice. If Amplify Curse is not up, it will just cast the curse as normal.

#showtooltip Curse of Agony
#show Curse of Agony
/cast Amplify Curse
/stopcasting
/cast Curse of Agony

#showtooltip Curse of Exhaustion
#show Curse of Exhaustion
/cast Amplify Curse
/stopcasting
/cast Curse of Exhaustion

Added: #showtooltip Curse of Agony ---> shows curse of agony's tool tip on macro mouseover

#show Curse of Agony ---> use ? icon and it will show CoA icon and cooldown (as in removes Amplify curse cooldown from button)

Adding the following lines will eliminate unwanted error messages.

#showtooltip Curse of Agony
#show Curse of Agony
/script local function x() end local y = UIErrorsFrame.AddMessage UIErrorsFrame.AddMessage = x
/cast Amplify Curse
/script UIErrorsFrame.AddMessage = y
/stopcasting
/cast Curse of Agony

== Amplified Trinket'd Curse of Doom ==
This macro will use your available Trinket, cast Amplify Curse, and Curse of Doom all in one button.
<pre>
#showtooltip Curse of Doom
#show Curse of Doom
/use 13
/stopcasting
/use 14
/stopcasting
/cast Amplify Curse
/stopcasting
/cast Curse of Doom

Be wary this will still cast Curse of Doom reguardless if you have a trinket or Amplify Curse available.

Note: As of 2.3 this macro may require a second click to cast Curse of Doom.
[edit] Announce your summon to /raid or /party

/script local C; if(GetNumRaidMembers()==0) then C = "PARTY" else C = "RAID" end SendChatMessage("Summoning %t to << "..GetMinimapZoneText().." >>. Please assist.", C)
/cast Ritual of Summoning

[edit] Stop Attacking / Drain Soul

Useful if you wish to quickly stop attacking or casting to get in a Drain Soul before a mob dies to pick up a soul shard. Right clicking will stop autoattack or stop casting, while left clicking will cast Drain Soul.

/stopattack [button:RightButton]
/stopcasting [button:RightButton]
/cast [button:LeftButton] Drain Soul(Rank 1)

Note that if you use this macro while attacking with a wand, stopping your attack is not immediate; you still have to wait for the universal cooldown to complete. May not work with channeled spells.
[edit] Gathering and Tracking Macros

The Hunter has several tracking abilities that can be selected: this can, however, put a dint in your gathering prospects. This is taken from the Useful Macros page

The skill that a Warlock has that uses the minimap to track is;

Class Skills:

* Sense Demons

/castsequence [nocombat] find herbs, find minerals, sense demons

[edit] Drain Soul and Destroy Shards

If you're affliction specced and use Drain Soul to gain mana back due to the talent Improved Drain Soul you might have the problem of building up many more Soul Shards than needed and losing precious inventory room. This macro will stop everything from casting, destroy the first shard in your bag and then cast Drain Soul Rank 1.

It relies on your shard bag being the furthest left bag on your action bar(the F8 bag). If your shard bag is not in the F8 slot it will NOT delete items in the bag there.

As of 2.3, the recalling of a pet is no longer necessary to ensure a "kill proc" from an ability. With this in mind I have created a new macro to perform these basic actions, ensure the item being destroyed is a soul shard, and that the bag is in fact full of shards before attempting to delete an item. This is necessary since soulbags work in a "last in, first out" behavior. Will ONLY destroy Soul Shards.

/stopcasting
/script if GetContainerNumSlots(4)==GetInventoryItemCount("pl ayer",23) then PickupContainerItem(4,1); local a,b,c=GetCursorInfo(); if a=="item" and b==6265 then DeleteCursorItem(); else ClearCursor(); end; end
/cast Drain Soul(Rank 1)

-submitted by Dracko86

All three drain's on a single button (via ctrl and alt).

/stopmacro [noharm]
/cast [nomodifier,nochanneling rain Soul(Rank 1)] Drain Soul(Rank 1)
/cast [modifier:ctrl,nochanneling rain Mana] Drain Mana
/cast [modifier:alt,nochanneling rain Life] Drain Life

[edit] Focus banishing

This can also be easily altered for use of any kind to focus-cast.

#showtooltip
/clearfocus [button:2]
/focus [button:1,target=focus,dead];[target=focus, noexists,button:1]
/cast [button:1,target=focus] Banish

[edit] Banish Rank 1/2

This macro will cast Banish (Rank 2), which lasts for 30 seconds, if clicked with no modifiers. However, if you want a shorter Banish, then shift-clicking the macro will cast Banish (Rank 1), which lasts for 20 seconds.

#showtooltip
/cast [modifier:shift] Banish(Rank 1); Banish

More indepth focused macro that:
1. Sets focus if one does not already exist.
2. Preserves modifier support.
3. Informs party of the cast.

#showtooltip
/clearfocus [target=focus,noharm][target=focus,dead]
/focus [target=focus,noexists]
/cast [target=focus,modifier:shift]Banish(Rank 1);[target=focus]Banish
/stopmacro [nogroup]
/p Banishing %f

-submitted by Dracko86
[edit] Drain Life/Life Tap)

Follows Drain Life with Life Tap. If you don't use the tap within two seconds of the channel ending, reverts to drain. Hit alt to just drain. Great for Affliction builds.

#showtooltip
/castsequence [nomodifier:alt] reset=7 Drain Life, Life Tap
/cast [modifier:alt] Drain Life

-submitted by Bolddeciever
[edit] Drain Soul and Destroy Shards

If you're affliction specced and use Drain Soul to gain mana back due to the talent Improved Drain Soul you might have the problem of building up many more Soul Shards than needed and losing precious inventory room. This macro will stop everything from casting, destroy the first shard in your bag and then cast Drain Soul Rank 1.

It relies on your shard bag being the furthest left bag on your action bar(the F8 bag). If your shard bag is not in the F8 slot it will NOT delete items in the bag there.

As of 2.3, the recalling of a pet is no longer necessary to ensure a "kill proc" from an ability. With this in mind I have created a new macro to perform these basic actions, ensure the item being destroyed is a soul shard, and that the bag is in fact full of shards before attempting to delete an item. This is necessary since soulbags work in a "last in, first out" behavior. Will ONLY destroy Soul Shards.

/stopcasting
/script if GetContainerNumSlots(4)==GetInventoryItemCount("pl ayer",23) then PickupContainerItem(4,1); local a,b,c=GetCursorInfo(); if a=="item" and b==6265 then DeleteCursorItem(); else ClearCursor(); end; end
/cast Drain Soul(Rank 1)

-submitted by Dracko86
Note: This is the best macro ever. TYVM Dracko86.

All three drain's on a single button (via ctrl and alt).

/stopmacro [noharm]
/cast [nomodifier,nochanneling rain Soul(Rank 1)] Drain Soul(Rank 1)
/cast [modifier:ctrl,nochanneling rain Mana] Drain Mana
/cast [modifier:alt,nochanneling rain Life] Drain Life

Мои 2 макроса:
1) С Фиром
/castsequence [nomodifier,combat] reset=target/combat Curse of Agony, Immolate, Fear, Shadow Bolt, Shadow Bolt
2) Без Фира
/castsequence [nomodifier,combat] reset=target/combat Curse of Agony, Immolate, Shadow Bolt, Shadow Bolt

ДОБАВЛЕНО 07.03.2008 !!!

ВАРЛОКИ ,ССЫЛКА НА МАКРОСЫ!!! МАКРОСЫ ДЛЯ ЛОКА


Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
WARGДата: Понедельник, 30 Августа 2010, 11:13 PM | Сообщение # 11
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
http://mmoboom.ru/blogs/guides/1733

Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
ORBДата: Среда, 01 Декабря 2010, 11:03 AM | Сообщение # 12
Fallen Chaplain
Группа: Караул Смерти
Сообщений: 3369
Статус: Офф
из ссыли выше
#showtooltip
/use [mod:ctrl] способность4;[mod:alt] способность3;[mod:shift] способность2;[nomod] способность1
Вот это оч полезный макрос. Я использую его несколько видоизмененную форму, точно не помню уже что атм а вов на ремонте пока)) Смысл в том что стоит каст спелл 1\ каст спелл 2 при нажатом шифте. Я так всю полоску первую забиндил и в итоге вместо одного бара получилось 2. Долой кликанье мышкой))
Одна проблема - постоянно меняю спек дестракта на аффли и обратно и поэтому бывает путаница поначалу какой спелл где))
В вов зайду полностью макрос чиркану. И да для подобных макросов картинку когда выбираем то необходимо выбирать знак вопроса

полезный макрос на фир по фокусу(цель одна а фиряем ту на которой просто мышка наведена):
/cast [target=focus, exists] Fear

ну или да
/cast [target=mouseover] Fear

Итак зашел. Что использую
Макрос на стан петом в демонологе:
#showtooltip Призыв Стража Скверны
/cast [nopet] Призыв стража скверны
/cast Метание топора
У остальных петов тоже е нить стоит - у собаки сало\чарокрад через шифт, у импа диспелл

Макрос через шифт, иконка - знак вопроса:
#showtooltip
/cast [nomod:shift, @target] Блуждающий дух ; Нестабильное колдовство
Вместо этих спелов можно использовать любые другие. Убодно 2 бича например на 1 кнопку повесить

моментальный ожог души
/cast Горящая душа
/cast Ожог души


Я вампир! А у вас какая отмазка?

Глаза Мамины. Улыбка Папина. Но как? Каким образом мне достался характер Сталина??? (с)
 
WARGДата: Пятница, 04 Марта 2011, 9:38 AM | Сообщение # 13
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
http://wowraider.ru/message/202344

Статейка про макросы

Макросы.Воврейдер


Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
WARGДата: Вторник, 29 Марта 2011, 12:54 PM | Сообщение # 14
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
Вот что искал!!! Макрос на рандом маунтов!!!

/castrandom маунт1, маунт2, маунт3, маунт4
chaosmile


Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
WARGДата: Суббота, 23 Августа 2014, 3:02 AM | Сообщение # 15
First Chaplain
Группа: Инквизиция
Сообщений: 7218
Статус: Офф
/script i={1,5,6,7,9,12}CallCompanion("MOUNT",i[random(#i)])


на рандомного маунта макрос. Может кому пригодится


Eukahainen-Druid;Alessandro-Warlock-R.I.P
 
Форум гильдии Horde Malleus » World of Warcraft » Общий раздел » Макросы (и с чем их едят)
  • Страница 1 из 2
  • 1
  • 2
  • »
Поиск:

Horde Malleus © 2006. Слава Орде!
Сайт управляется системой uCoz