Close
Showing results 1 to 7 of 7

Hybrid View

  1. #1

    Default 'lock summoning macro

    I'm looking for an "if, then, else" macro that will basically do this:

    if
    soul shard exists
    then
    summon voidwalker
    else
    summon imp

    I tried modifying a couple macros I found which seemed to be for determining if soul shards existed, but I couldn't figure out the correct code.
    Team Insanity:
    Owatanka/Yuutee/Nothroma/Iseraduna/Melka

    Team Melee:
    Guerria/Guerrissa/Minou/Benira/Oragreva

    Team Rick Roll:
    Nevergonna/Giveyouup/Letyoudown/Runaround/Desertyou

  2. #2

    Default

    I think you can exploit fall-through for this. Maybe. At least, try it.

    /cast Summon Voidwalker
    /cast Summon Imp

    If it works, it should summon the VW if possible, ending the macro since you can't have multiple GCD casts in the same action. Otherwise, it should try to cast the second spell (succeeding if you're not OOM or CCed). If this doesn't work, I don't know of anything that would - conditional execution is something they want to avoid. About the most you can do along that line is stuff like different actions for friendly/enemy targets et cetera.

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

    Default

    If that macro does not work, you could try a castsequence.

    /castsequence reset=5 Summon Voidwalker, Summon Imp

  4. #4

    Default

    Try to make a script out of it. here.

    This script does actually search your bag for a soul shard and delete it if it can find one, but I'm sure it can be modified.
    Code:
    /run i="Soul Shard"d=1 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
    I made some modifications to the above script, that (hopefully) will check your bag for Soul shards, and if it finds one, it will cast Summon VoidWalker, else it will cast Summon Imp.
    Code:
    /run i="Soul Shard"d=1 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 CastSpellByName("Summon VoidWalker") d=d-1 else CastSpellByName("Summon Imp") end end end end
    I have absolutely no idea if this will work, or if there is any bugs, but it's worth the try. Hopefully it will be helpful in some way.

  5. #5

    Default

    CastSpellByName is protected and can only be called by Blizzard, so that won't work, I'm afraid.
    Jafula.
    Jamba - Jafula's Awesome Multi Boxer Assistant. An addon for YOU.

  6. #6

    Default

    I use the following for both demon attack and demon summoning since I'm demonology spec and I'm always summoning a felguard. Mod alt tells the demon to follow to effectively stop attacking and mod ctrl applies a health funnel. Otherwise the nice thing about this one is it will summon a replacement demon in combat if it goes away or dies, using fel domination for faster summoning if your in combat

    /a [target=focus,help]; [target=focus,noexists];party1
    /petattack [nomod:alt/ctrl]
    /petfollow [mod:alt]
    /cast [nopet,combat][target=playerpet,dead,combat] Fel Domination
    /cast [nopet][target=playerpet,dead] summon felguard; [mod:ctrl] Health Funnel

    if your not demonology spec (which sounds like the case since your using voidwalker not felguards) you can make it the following and it should do what you want as well as sending your demon in to attack

    /a [target=focus,help]; [target=focus,noexists];party1
    /petattack [nomod:alt/ctrl]
    /petfollow [mod:alt]
    /cast [nopet][target=playerpet,dead] summon voidwalker; [mod:ctrl] Health Funnel
    /cast [nopet][target=playerpet,dead] summon imp

    You know you've been playing to much WoW when your Girlfriend's pants are a rare drop.

  7. #7

    Default

    Code:
    /cast Summon Voidwalker
     /cast Summon Imp
    Just fizzles out 'cause the first spell can't complete.

    Code:
    /castsequence reset=5 Summon Voidwalker, Summon Imp
    Never gets to the second spell, 'cause the first spell don't complete.

    Code:
    /run i="Soul Shard"d=1 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 CastSpellByName("Summon VoidWalker") d=d-1 else CastSpellByName("Summon Imp") end end end end
    Yop, Blizzard blocks it, it don't work.

    Code:
    /a [target=focus,help]; [target=focus,noexists];party1
     /petattack [nomod:alt/ctrl]
     /petfollow [mod:alt]
     /cast [nopet][target=playerpet,dead] summon voidwalker; [mod:ctrl] Health Funnel
     /cast [nopet][target=playerpet,dead] summon imp
    Does the same thing as the first one, fizzles 'cause there's no soul shard, and it don't summon an imp.

    So, if there's no way of coding it that way, I guess I'll just have to settle for

    Does pet exist?
    Yes, do nothing.
    No, summon voidwalker, or with shift mod summon imp

    But I'm having trouble getting the right code for it... this is what I tried:

    Code:
    /cast [nopet][target=playerpet, dead] summon voidwalker
    /cast [nopet][target=playerpet, dead][mod:shift] summon imp
    But it doesn't seem to be working. Any ideas?
    Team Insanity:
    Owatanka/Yuutee/Nothroma/Iseraduna/Melka

    Team Melee:
    Guerria/Guerrissa/Minou/Benira/Oragreva

    Team Rick Roll:
    Nevergonna/Giveyouup/Letyoudown/Runaround/Desertyou

Similar Threads

  1. Destro Lock spammable DPS macro (need help)
    By Ivanhalf in forum Macros and Addons
    Replies: 22
    Last Post: 06-28-2010, 05:15 PM
  2. Meta Lock AE Macro - Possible?
    By Greythan in forum Macros and Addons
    Replies: 1
    Last Post: 01-30-2009, 06:14 PM
  3. Alt Lock healthstone macro?
    By zoneblitz61 in forum Macros and Addons
    Replies: 1
    Last Post: 09-27-2008, 05:33 PM
  4. RAF- summoning tip
    By Naysayer in forum General WoW Discussion
    Replies: 8
    Last Post: 08-28-2008, 02:42 AM
  5. Any tips for my Priest / Lock / Lock team?
    By Team Squishee in forum General WoW Discussion
    Replies: 0
    Last Post: 02-25-2008, 10:02 PM

Posting Rules

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