Close
Showing results 1 to 2 of 2
  1. #1

    Default Need help with warlock Soulstone Macro

    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

  2. #2
    Member
    Join Date
    Sep 2008
    Location
    Calgary, AB and Vancouver, BC
    Posts
    7638
    Blog Entries
    2

    Default

    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.

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •