PDA

View Full Version : [WoW] Need help with warlock Soulstone Macro



JackBurton
08-18-2009, 06:55 PM
What i use now
/cast [nocombat,harm] Soul Fire; [combat,harm,nochanneling:Shadow Bolt] Shadow Bolt


I use this to destroy soulstones if i get too many. I know it works. Is there a way to use this code in a macro to prevent using the last soulstone
/run i="Soul Shard"d=GetItemCount(i)-20 for x=0,4 do for y=1,GetContainerNumSlots(x) do if (d>0) then l=GetContainerItemLink(x,y) if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end

Ualaa
08-18-2009, 08:13 PM
Possibly, sorry that doesn't help a whole lot.
For your macro, you could change it a little.


/cast [nocombat,harm] Soul Fire; [combat,harm,nochanneling:Shadow Bolt] Shadow Bolt

The first part reads, if you're not in combat and the target is hostile, cast a Soul Fire.

The second part reads, if you are in combat, the target is hostile and you are not channeling shadow bolt (which is not a channel spell by the way), then shadow bolt.

Chance it to this:
/cast [nocombat,harm] Soul Fire; [combat,harm,nochanneling] Shadow Bolt

That way, it won't cast a Shadow Bolt, if you are channeling Drain Life or Drain Soul or Drain Mana.