Archived

This topic is now archived and is closed to further replies.

jilanea

Macro Questions

794 posts in this topic

I couldn't find a thread about general macro questions so I made this.

My specific question is how do you write a macro that eats the biggest healthstone you have in your inventory, ideally without linking to specific bag slots (made by warlocks with different tallent points). Seem like it should be doable, but as they have the same name might not be. Not seem this listed anywhere despite reading the huge warlock macro thread WoW Forums -> My Warlock Macros (2.1.0)

If needed first 3 slots of my backpack would be useful as the slots eaten from.

Share this post


Link to post
Share on other sites

I've not heard of something like this being possible (I could be wrong), but the easiest way would be to just make a /use Master Healthstone macro, then just order them biggest->smallest in the first 3 slots of bag1. It ofc takes slightly more work having to reorganise them each time you pick up new stones, but as far as i'm aware, you cant have a macro do it for you.

Share this post


Link to post
Share on other sites

I'm not sure if you can use item id's in macro commands yet, or whether that'll be in 2.2, but you can always do:

/castsequence 22105, 22104, 22103

or something similar.

Share this post


Link to post
Share on other sites

The easiest way to do it is to just have a macro like:

/use Master Healthstone

Assuming you're using 3 master healthstones from warlocks with different ranks of improved healthstones. The order in which they are used is determined by their position in your bags from top-left to bottom-right, bag 0(backpack)-4.

Share this post


Link to post
Share on other sites
I'm not sure if you can use item id's in macro commands yet, or whether that'll be in 2.2, but you can always do:

/castsequence 22105, 22104, 22103

or something similar.

Close.

item:#### :P

Share this post


Link to post
Share on other sites

You cannot just check to see if something exists in your backpack or not. Ultimately, you have to specify the slot or just put up with the standard WoW logic path for eating the first thing in your inventory. There isn't a way to always be sure you're eating the biggest healthstone in your backpack at all times whenever you push the button.

Share this post


Link to post
Share on other sites

I'm doing what you're trying to do, but with this addon:

WoWInterface Downloads : AutoRack

It allows you to define a list of items for each of up to 8 of your bag slots, each hotkey-able, and it'll move the highest priority item in each list that isn't on cooldown into its corresponding slot. For example, I use it with 2 slots. In one slot, I have a list of healthstones and health potions, in that order. In the second slot, I have mana gems and mana pots, also in that order. Usually at the start of a fight, I'll have a healthstone and a mana gem in the corresponding 2 slots. If I hit my hotkey for the healthstone/health pot slot to use the healthstone that was there, conjured items are now on cooldown, so it'll swap a health pot into the first slot, and a mana pot into the second.

Share this post


Link to post
Share on other sites
/use item:22105

/use item:22104

/use item:22103

/use Charged Crystal Focus

Works like a charm.

Share this post


Link to post
Share on other sites

I'd like to know if it's possible to have one macro in which you both summon your Water Elemental, and use it's nova, but the pet should only be summoned if I don't have another Water Elemental active.

I'm aware of what commands to use to summon the pet and use the ability, but is there any condition like [nopet] or something similiar?

Something like this, though I don't know what to use within the [].

/cast [nopet?] Water Elemental

/click PetActionButton5

Any help is appreciated.

Share this post


Link to post
Share on other sites

Here's what I use:

#show Summon Water Elemental

/use Xi'ri's Gift

/cast [nopet] Summon Water Elemental

/click [pet] PetActionButton7

Share this post


Link to post
Share on other sites

/cast Freeze works as well. Personally I favor:

#show Summon Water Elemental

/cast [pet] Freeze

/cast [nopet] Summon Water Elemental

Share this post


Link to post
Share on other sites
/use item:22105

/use item:22104

/use item:22103

/use Charged Crystal Focus

Works like a charm.

I'm using this also, it really is great. Additionally, you can set up your zone-specific Mana Potions the same way.

Share this post


Link to post
Share on other sites
I'm using this also, it really is great. Additionally, you can set up your zone-specific Mana Potions the same way.

#showicon

/use item:32902

/use item:32903

/use item:22832

Should be right i think. Gonna try it tonight.

Share this post


Link to post
Share on other sites

Wouldnt it just be easier to put your healthstones on your bars and make a key-binding to it? Your bars do not have to be visible to be key-binded.

Share this post


Link to post
Share on other sites
Wouldnt it just be easier to put your healthstones on your bars and make a key-binding to it? Your bars do not have to be visible to be key-binded.

Unless you can bind ONE key to MULTIPLE buttons, no. In times of long boss fights and 3 warlocks in the raid group to supply 3 different healthstones its quite handy to have a 1 button mash macro to swallow a healthstone in emergency cases.

Share this post


Link to post
Share on other sites
/cast Freeze works as well. Personally I favor:

#show Summon Water Elemental

/cast [pet] Freeze

/cast [nopet] Summon Water Elemental

Did the nova spell get renamed? I seem to recall it used to be called "Frost Nova" just like the mage spell which is why people had to resort to the /click PetActionButton business.

Either way, /case Freeze is cleaner so I'll just change my macros to that now. Thanks. :)

Share this post


Link to post
Share on other sites
Where can you get an item's id number from?

From a Wowhead or Thottbot URL, among other places. Some mods will also show it in-game (I think Pawn and RatingBuster can do this).

Share this post


Link to post
Share on other sites
/use item:22105

/use item:22104

/use item:22103

/use Charged Crystal Focus
Works like a charm.
Am I missing some sort of advantage that using Item IDs give over a macro like the following provides?
/use Master Healthstone

/use Major Healthstone

/use Charged Crystal Focus

Share this post


Link to post
Share on other sites

Read the thread. Healthstones give different values at different talent investments, but the item itself has the same name.

Mana gems are easysauce. Go read the sticky at the top of the official Mage board.

Share this post


Link to post
Share on other sites
Am I missing some sort of advantage that using Item IDs give over a macro like the following provides?

/use Master Healthstone

/use Major Healthstone

/use Charged Crystal Focus

Using item IDs lets you distinguish between items with the same name. So by using a macro, you could specify to try to use an improved healthstone before a standard one, and so on.

Share this post


Link to post
Share on other sites

If you would rather not use a macro, autobar will do this for you, after setup. It puts the most powerful of the same class of item first, and goes down from there.

Share this post


Link to post
Share on other sites

Hi, I recently started leveling a druid, and as i want to use all possible ways to improve my character i wanted macros to switch weapons to healing mace/oh in caster and strenght mace in forms.

I started with:

#show Bear form

/cancelform [noflying]

/cast [nostance] Bear Form

and

#show Cat form

/cancelform [noflying]

/cast [nostance] Cat Form

since i really need to leave any form by pressing any forms button.

After browsing some forums, i didnt find anything useful really, so i mixed a few macros i found together(with my absolute limited macro knowledge) and came up with

#show Bear form

/cancelform [noflying]

/cast [nostance] Bear Form

/equip [stance:1] Death Speaker Scepter

/equip [stance:1] Pagan Rod of the Eagle

/equip [nostance] Hefty Battlehammer of Strength

and

#show Cat form

/cancelform [noflying]

/cast [nostance] Cat Form

/equip [stance:3] Death Speaker Scepter

/equip [stance:3] Pagan Rod of the Eagle

/equip [nostance] Hefty Battlehammer of Strength

On the 1st glimpse they seem fine, but some strange things happen:

1st of all, sometimes i get no global when leaving a form(like it should be) and sometimes it gets a global(which is kinda deadly in close situations). Also it doesnt change weapons all the time.

Hope to get some answers, thank you already for reading if you got this far :)

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.