Page 1 of 1

Drain Soul Macro Assistance

PostPosted: Mon Sep 21, 2015 5:38 am
by ResmoDaimac
Greetings,

If somebody can assist me with a macro to do the following, it would be much appreciated. I have only written very basic macros up to this point and don't have a strong knowledge on the /script writing.

Cast Drain Soul (Rank 1)
Set pet on passive if pet's target is the same as my own. If pet's target does not match my target, do not issue any command to pet.

Thanks :)

Re: Drain Soul Macro Assistance

PostPosted: Tue Sep 22, 2015 5:37 pm
by zand
Code: Select all
/run CastSpellByName("Drain Soul(Rank 1)") if UnitExists("pettarget") and UnitIsUnit("target","pettarget") then PetPassiveMode() PetFollow() end


I haven't test it yet, but I believe it should work, and make sure they are in one line :)

Re: Drain Soul Macro Assistance

PostPosted: Wed Sep 23, 2015 2:50 am
by ResmoDaimac
Got the following from LYQ on the forums. Tested it and it works perfectly.

The macro allows me to get Improved Drain Soul spirit regeneration bonus without competing with my pet or having to manually call him off. Keeps him on another target if I'm juggling multiple enemies too.

Code: Select all
/run CastSpellByName("Drain Soul (Rank 1)") if UnitIsUnit("playertarget","pettarget") then PetPassiveMode() end


Thanks for your efforts on a solution!

Re: Drain Soul Macro Assistance

PostPosted: Wed Sep 23, 2015 6:32 am
by Soulxlock
Is there any way to combine the above macro with the one in the Warlock guide?

Code: Select all
/cast Drain Soul(Rank 1)
/run local a=GetBagName(4); if a=="Core Felcloth Bag" or a=="Felcloth Bag" or a=="Soul Pouch" or a=="Box of Souls" or a=="Small Soul Pouch" then PickupContainerItem(4,GetContainerNumSlots(4)) DeleteCursorItem() else end


Then you would not have to worry about your bag getting full with soul shards and your pet would not interfere as well.

Re: Drain Soul Macro Assistance

PostPosted: Wed Sep 23, 2015 1:17 pm
by Numi
Soulxlock wrote:Is there any way to combine the above macro with the one in the Warlock guide?

Code: Select all
/run local a=GetBagName(4); if a=="Core Felcloth Bag" or a=="Felcloth Bag" or a=="Soul Pouch" or a=="Box of Souls" or a=="Small Soul Pouch" then PickupContainerItem(4,GetContainerNumSlots(4)) DeleteCursorItem() else end
/run CastSpellByName("Drain Soul (Rank 1)") if UnitIsUnit("playertarget","pettarget") then PetPassiveMode() end


I haven't tried it out, but this should do it.

Re: Drain Soul Macro Assistance

PostPosted: Wed Sep 23, 2015 1:35 pm
by Botmaster5
Numi wrote:
Soulxlock wrote:Is there any way to combine the above macro with the one in the Warlock guide?

Code: Select all
/run local a=GetBagName(4); if a=="Core Felcloth Bag" or a=="Felcloth Bag" or a=="Soul Pouch" or a=="Box of Souls" or a=="Small Soul Pouch" then PickupContainerItem(4,GetContainerNumSlots(4)) DeleteCursorItem() else end
/run CastSpellByName("Drain Soul (Rank 1)") if UnitIsUnit("playertarget","pettarget") then PetPassiveMode() end


I haven't tried it out, but this should do it.


that macro looks pretty hefty... maybe too many characters to use without supermacro

Re: Drain Soul Macro Assistance

PostPosted: Thu Sep 24, 2015 6:15 am
by Soulxlock
Thanks guys, I will try it out once I can afford a soul pouch and report back if it worked.

Re: Drain Soul Macro Assistance

PostPosted: Fri Sep 25, 2015 4:54 am
by ResmoDaimac
While I'm sure the macros can be successfully combined, I highly recommend utilizing Necrosis as a Warlock. It's great at shard management and quite a bit more.