Перейти к публикации

У нас всего 1 рекламный блок. Пожалуйста, отключите AdBlock на нашем портале, тем самым поможете нам.

Tesla

Macros: Vanilla WoW 1.12.0 / Макросы в WoW classic

Рекомендованные сообщения

Как сделать неотключаемую автоатаку в спам макросах:

Выносим на панель автоатаку.

В макрос добавляем вот такой код:

Please login or register to see this code.

Где Х - это число слота в котором разместили автоатаку, сичтается просто все панели содержат по 12 слотов, нажав SHIFT+1 или 2,3,4,5,6 и т.д. вы переключаетесь на панель, соотвествтенно крайний левый слот это 12*(N-1)+1, а крайний правый 12*(N-1)+12 (N-номер панели). Вот этот номер и вписываем вместо Х в макросе. Чтобы макрос постоянно работал автоатака должна быть на панели.
Вот номера мест
X04vfIw.jpg

Если хотим встроить в макрос с абилкой, то делаем так:

Please login or register to see this code.

Сперва автоатака, потом абилка, так как если абилка не срабатывает из-за нехватка энергии/раги/маны, то до автоатаки не доходит из-за прерывания макроса.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Druid Feral Macros

enrage.png Druid Enrage + cancel buff

The spell Enrage causes you to take more damage but is really nice when tanking if you’ve specced into it in talents. In order for it to be useful while tanking you have to remove the buff quickly enough. This is annoying when you have to click the buff with your mouse to cancel. This can be done quickly in one macro where you press it once to cast, and second to cancel the buff.

Please login or register to see this code.

spell_nature_stoneclawtotem.jpg Druid Barkskin + cancel buff

The spell Barkskin reduces damage taken but increases casting speed. Its useful if you accidentally catch aggro but can be dangerous when you need to heal, its a tradeoff. This macro helps you quickly cancel it.

Please login or register to see this code.

tigersfury.png ravage.png Druid Tiger’s Fury + Ravage combo spammable macro

This macro will prevent accidentally overwriting Tiger’s Fury if its already active and also if it is active, attempt to use Ravage.

Please login or register to see this code.

If you only want the Tiger’s Fury spammable without ravage you can get this one instead:

Please login or register to see this code.

ability_druid_rake.jpg ability_druid_ferociousbite.jpg Druid Claw / Ferocious Bite spammable macro

This macro serves as a replacement for your claw ability. When you have 5 combo points on your target it will cast Ferocious bite instead.

Please login or register to see this code.

Same as above but with auto targeting + auto attack if you’ve followed my guide below.

Please login or register to see this code.

Druid Healing Macros

spell_nature_faeriefire.jpg Druid Faerie Fire spammable macro

This will only cast if your current target is not already a victim to the spell. That way you can spam the spell without accidentally overwriting your fellow druids casting it. Always keep Faerie Fire up on raid bosses! This applies to the non-feral version. Don’t use this macro for casting Faerie Fire (Feral) from the feral talent tree.

Please login or register to see this code.

spell_nature_faeriefire.jpg insectswarm.jpg Druid Combined Faerie Fire + Insect Swarm spammable macro

The above can be compacted down into a combined macro for both Faerie Fire and Insect Swarm for resto druids:

Please login or register to see this code.

spell_nature_lightning.jpg Innervate overwrite prevention

Allows you to check if Innervate is already active on your target. This does conflict with mage arcane power as it uses the same spell icon. It’s not a big issue though but keep it in mind.

Really useful if you’re raiding together with several druids. Make sure that everyone use it and you will never waste an innervate again!

Please login or register to see this code.

Its also useful to combine with a whisper or a broadcast in your guild healing channel or raid chat. Unfortunately using LUA functions will far surpass the 255 character limit so just add this:

Please login or register to see this code.

spell_nature_rejuvenation.jpg Druid Rejuvenation overwrite prevention macro

Same as above but you can use this to spam heal your party/raid members without accidentally overwriting any active Rejuvenations heal over time buffs (HOTs).

NOTE! It only works if you already have a target when clicking the spell. Clicking the spell first and then selecting your target wont work as this depends on checking initial conditions for any specific raidframe addon that you use. Know about this limitation and choose your target first. 

Rank 10

Please login or register to see this code.

Rank 4

Please login or register to see this code.

Rank 5

Please login or register to see this code.

spell_nature_rejuvenation.jpg inv_relics_idolofrejuvenation.jpg Druid Rejuvenation / Swiftmend Combo

Same as the above but instead of doing nothing when Rejuvenation is already active, it will cast Swiftmend (If you have learned it from the restoration talent tree)

Rank 10

Please login or register to see this code.

Rank 4

Please login or register to see this code.

Rank 5

Please login or register to see this code.

Druid cancel form on spellcast (shapeshifting)

cancelform.png

There are addons that help you with automatically canceling shapeshifting when casting spells. A good one is Ezdismount.

However this can be a bit risky, especially when tanking in Bear form. With Ezdismount it’s easy to accidentally cancel bearform while tanking which can be fatal for your party. I prefer to only use shapeshift canceling when casting healing spells.

Copy and paste the following into a macro to cancel form of any shapeshifting:

Please login or register to see this code.

Unfortunately we only get 255 characters inside a macro and this one takes up a lot of space (151 out of 255).

As in the previous example with autoattacking above instead we can call this macro from another macro if we place it in an action bar slotID.

In the following example I will place it in action bar slotID 37.

actionbarslots3.png

After placing the macro you can reference it in other macros with the following:

Please login or register to see this code.

And then we combine it with a healing spell:

Please login or register to see this code.

This is the trick required to bypass the 255 character limitation in macros. It does take up extra action bars and macro slots though, so keep that in mind!

Because of limitations in the vanilla API you have to press this macro twice. First to cancel shapeshifting, second to start casting the spell.

 

Warrior Macros

ability_warrior_defensivestance.jpg spell_nature_ancestralguardian.jpg Warrior Tanking, Berserker Rage stance dance macro

This macro will change to berserker stance if youre not in it, use Berserker rage to become immune to fear and then change back to defensive stance as fast as possible if you spam it.
Side note: Don’t push it again after returning to defensive stance, if you do it will go back to berserker stance which is bad. (The reason for this is because further conditionals was not possible to fit within 255 characters) The macro is 252 chars long phew

Please login or register to see this code.

ability_racial_bloodrage.png Warrior Bloodrage + cancel buff

This macro is pretty much the same as the one I made for druid Enrage buff except changed for warrior Bloodrage. In difference to Enrage, Bloodrage also gets you into combat.
As you know, you can’t charge while in combat and canceling bloodrage in an emergency requires that you move your mouse and click the buff to cancel it. With this macro you dont need to do that. Just click once to enter bloodrage, and click it again to cancel the buff and get out of combat.

Please login or register to see this code.

ability_warrior_charge.jpg ability_rogue_sprint.jpg Warrior one button Charge / Intercept macro

This macro will use the appropriate ability and change stances depending if youre in or out of combat. Out of combat -> Battle stance and charge. In combat -> Berserker stance and Intercept.
What it doesn’t do is check for cooldowns or available rage. It would be cool but couldn’t possibly fit withing a 255 character space.

Please login or register to see this code.

Mage Macros

spell_nature_polymorph.jpg Mouseover Polymorph without changing target

You can replace s=”mySpellName(Rank X)” with any other spell of you’re choice.

Please login or register to see this code.

Polymorph turtle:

Please login or register to see this code.

Alternative less compact version if you want it to register cooldowns etc using Addons like Bongos.

Please login or register to see this code.

spell_nature_lightning.jpg Mage Arcane Power spammable

Arcane Power cancels itself if cast again. I don’t know if this is intended or just a server side bug but this macro works around it.

Please login or register to see this code.

Optional edit with the addition of also casting Frostbolt if the buff is active!

Please login or register to see this code.

spell_nature_enchantarmor.jpg Mage Presence of Mind spammable

Same as above but for Presence of Mind

Please login or register to see this code.

 

Priest Macros

mana.png Shadow Priest Mind flay spammable macro

This macro will cast Mind Flay only if your current target is not already a victim to the spell. That way you can spam the spell without accidentally interrupting yourself. There is a limitation to this that you should know about: If you are 2 or more shadow priests in the same group and if one is already casting mind flay on your target, you will not be able to cast it at the same time.

Please login or register to see this code.

 

Rogue Macros

sinister.jpg ability_rogue_eviscerate.jpg 
Rogue Sinister strike until 5 combo points then use Eviscerate.

Please login or register to see this code.

Same as above but with auto targeting + auto attack if you’ve followed my guide below.

Please login or register to see this code.

Доработал скрипт добавил Riposte из комбат ветки, срабатывающий после парирования

Please login or register to see this code.

Warlock Macros

spell_shadow_abominationexplosion.jpg spell_shadow_curseofsargeras.jpg spell_shadow_requiem.jpg Warlock DoT rotation – Apply dots when needed

This macro will apply DoT debuffs when needed. There are the same drawbacks to this as Priest Mind Flay above that it can’t distinguish between your own debuffs and fellow warlocks. Still, its quite useful for grinding or when you’re the lone warlock in group. Another limitation is the length of the macro. In order to fit the 255 character limit the debuff names have to be shortened, this could cause conflicts in case a debuff with a similar name is already applied.

Example:

Curse of Agony = Spell_Shadow_CurseOfSargeras
Corruption = Spell_Shadow_AbominationExplosion
Siphon Life = Spell_Shadow_Requiem

Order Alternative a) 1) Corruption, 2) Curse of Agony, 3) Siphon Life

Please login or register to see this code.

Order alternative b) 1) Siphon Life, 2) Corruption, 3) Curse of agony

Please login or register to see this code.

Order alternative c) 1) Siphon Life, 2) Curse of agony, 3) Corruption

Please login or register to see this code.

If you dislike all the above theres always the “dumb” rotation. This doesn’t take anything into account, it simply rotates everytime you click. Don’t click faster than the global cooldown and keep in mind your mana.

Dumb dot rotation

Please login or register to see this code.

Paladin Macros

The following combine seals followed by Judgement in single macros. This enables you to spam one button instead of having to press two.

ability_thunderbolt.jpg spell_holy_righteousfury.jpg Seal of Righteousness + Judgement

This one checks for both Seal of the Crusader and Seal of Righteousness and only recasts Seal of Righteousness if none of them are active. This helps a lot when tanking.

Please login or register to see this code.

spell_holy_righteousnessaura.jpg spell_holy_righteousfury.jpg Seal of Wisdom + Judgement

Please login or register to see this code.

spell_holy_holysmite.jpg spell_holy_righteousfury.jpg Seal of the Crusader + Judgement

Please login or register to see this code.

 

Shaman Macros

Repopping toems

This is a macro for re-popping totems using the cheapest rank 1 spells. You have to click it 4 times with 1 second wait between each click and not faster than the global cooldown. Clicking too quickly will skip one. Its not perfect but great in a pickle when you have move your totems.

Please login or register to see this code.

Auto Target + Auto Attack + Cast Spell – combination macro guide

autoattackautotarget1.png

In vanilla when you use your “Attack” ability or press the keybinding for attacking (default: T) this is toggled on/off. Spamming T is really bad if you want to maximize hits. In most situations you don’t want to stop auto attacking, you just want to start!

Here is a step by step walkthrough with explanation of how to write this into any other ability/spell or macro. It is important to understand the different sections in order to adapt this to your preference. You can’t just copy and paste.

Please keep note that in order for the following to work you must make a macro that replaces your spell. You can only do this from inside a macro.

When done editing the macro it should look like the image above. The semicolon “;” separators are not necessary, they are only visual aids.

1. Auto targeting part

The following part of the script will check if you currently have no target (nil). If this is the case then target nearest enemy. You can copy and paste this script directly into chat to test it.

Please login or register to see this code.

2. Auto attacking part

The next part of the script will attempt to use action in action slot 25 if it is not currently active. This is how we enable auto attacking without accidentally stopping the auto attack.

Please login or register to see this code.

Optional: Hiding the autoattack on macro

If you want you can replace slotID 25 with 13 which is located in the second page of the hidden action bar and place the macro there instead!

3. Dragging attack into the action bar

All action bars have a unique slotID. In this example we will use actionbar slot 25. You can change this later if you want.
Click and drag the Attack ability from your spell book into slot 25. (Se images below)

attack.png actionbarslots1.png

4. Casting a spell from a macro

This is quite easy. In order to properly cast a spell in your macro you should not use /cast as this will call a different function. In order to use it in combination with other scripts you should use this function instead:

Please login or register to see this code.

Please note the following, this is important:

  • Functions are CaSeSeNsItIvE! You can’t mix lowercase with UPPERCASE letters.
  • Don’t have any space between the name of the spell and the rank of the spell Moonfire_(Rank 8) will not work but Moonfire(Rank 8) will.
  • You need to manually edit the rank to cast. If your level is lower than 60 you will have to manually edit the macro to your desired rank.
  • For abilities that overwrite lower ranks like Heroic Strike(Rank 8) ranks will not work in a macro but Heroic Strike without the parenthesis and rank will.

Optional: If you want to show spell cooldowns and tooltips over macros you need an addon to do this in vanilla. #showtooltip does not work. Either use a custom UI action bar addon like Bongos, Bartender or Anarons MacroTooltip for vanilla. If you use the addon MacroTooltip add /setspelltooltip Moonfire or more compacted /sstt Moonfire to show tooltip and cooldown.

5. Combining the different features into the final macro

moonfire.png Moonfire auto target + auto attack macro:

Please login or register to see this code.

Auto Self Cast with the interface option disabled

Some addons are essential but also annoying. One especially that you can have a heard time healing without is Clique. It’s amazing to use and enables you to bind spells directly when mouse clicking players in your raid interface. The drawback is that in order for it to work you have to disable Auto Self Cast in interface options:

autoselfcastdisabled.jpg

autoselfcastwith-disabled.png

It can quickly get annoying to have to toggle this option on and off everytime you’re going to heal. This is possible to “workaround” using macros. Unfortunately you have to make a macro for each spell. In the following examples I will be using Healing Touch, Regrowth and Rejuvenation but you can replace them with whichever spell you wish to cast.

healtouch.png Healing Touch auto self cast macro :

Please login or register to see this code.

regrowth.png Regrowth auto self cast macro :

Please login or register to see this code.

rejuve.png Rejuvenation auto self cast macro :

Please login or register to see this code.

Showing spell tooltips

If you want the addon MacroTooltips by Anaron to work you can’t use the above as it wont recognize the compact syntax s=”myspell”. You have to use the full spell name inside CastSpellByHealing(“MySpell”) instead as in the following macro examples:

Healing Touch auto self cast macro :

Please login or register to see this code.

Regrowth auto self cast macro :

Please login or register to see this code.

Rejuvenation auto self cast macro :

Please login or register to see this code.

Cancel form + auto self cast

If you want to combine the above spells with cancel shapeshifting add /script UseAction(37) to the macros.

Rejuvenation auto self cast + Cancel shapeshift macro :

Please login or register to see this code.

Instant casting / Cancel any active channeling spell

This is really important to know for all casting classes as it helps you when you change your mind when casting something. Add it to your macros where timing is important.

Please login or register to see this code.

To combine it with a macro that casts another spell simply add it to the beginning of the macro:

Please login or register to see this code.

As a Tauren it’s really useful in combination with War Stomp 

Please login or register to see this code.

 

Shoot Gun/Bow/Crossbow macro

This macro will combine the abilities Shoot Bow, Shoot Crossbow and Shoot Gun into one button to get rid of the annoyance that Warriors and Rogues are having in vanilla.

1dyy01w.png 

Copy and paste the following into a macro:

Please login or register to see this code.

More info:

You still need to equip ammo.

  • It wont handle thrown weapons because nobody uses that :>
  • This might not work if you’re using and addon called Supermacro.
  • To get the “in range” color change if you’re using the Addon Bongos or Bartender you need to keep –CastSpellByName(“Shoot Gun”) inside the macro. It doesn’t have any effect on the actual macro. It just “tricks” the addon that it’s a regular spell macro.

If you don’t know what the in range thing is it’s when text of an ability becomes red when you’re out of range of your target:

 

Using Trinkets / Inventory Items

Vanilla doesn’t have support for /use command etc. that exists in retail unless you use an addon for it. To use equipment with right click functionality you need to know the slotID.

This example will use the trinket in your top slot:

Please login or register to see this code.

inventoryslots.jpg

To use an item in your bags you must know the inventory slotID there as well. You can’t use the item by name. For that you need an addon. My addon Nirklars Keybindings has this functionality with /use added.

The command for using an item in your first bag slot (for example a bandage) on yourself is the following:

Please login or register to see this code.

The syntax for the UseContainerItem function is as follows:

UseContainerItem(bagID, slotNumber, UseOnSelf?)

BagID 

bagid.png

SlotNumber 

slotnumber.png

UseOnSelf can be true, false, 0, 1

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас

  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.

  • Сейчас в сети   0 пользователей, 0 анонимных, 0 гостей (Полный список)

    Нет пользователей в сети в данный момент.



×