Drain Soul Macro Assistance

Drain Soul Macro Assistance

by ResmoDaimac » Mon Sep 21, 2015 5:38 am

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 :)
ResmoDaimac
Private
Private
 

Re: Drain Soul Macro Assistance

by zand » Tue Sep 22, 2015 5:37 pm

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 :)
zand
Tester
 

Re: Drain Soul Macro Assistance

by ResmoDaimac » Wed Sep 23, 2015 2:50 am

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!
ResmoDaimac
Private
Private
 

Re: Drain Soul Macro Assistance

by Soulxlock » Wed Sep 23, 2015 6:32 am

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.
User avatar
Soulxlock
Senior Sergeant
Senior Sergeant
 

Re: Drain Soul Macro Assistance

by Numi » Wed Sep 23, 2015 1:17 pm

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.
Numi
Senior Sergeant
Senior Sergeant
 

Re: Drain Soul Macro Assistance

by Botmaster5 » Wed Sep 23, 2015 1:35 pm

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
<Titans of War> Xashe
"Behold those who have power, and who are not afraid to wield it. Behold... the warlocks!" - Gul'dan
User avatar
Botmaster5
Sergeant Major
Sergeant Major
 

Re: Drain Soul Macro Assistance

by Soulxlock » Thu Sep 24, 2015 6:15 am

Thanks guys, I will try it out once I can afford a soul pouch and report back if it worked.
User avatar
Soulxlock
Senior Sergeant
Senior Sergeant
 

Re: Drain Soul Macro Assistance

by ResmoDaimac » Fri Sep 25, 2015 4:54 am

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.
ResmoDaimac
Private
Private
 


Return to Warlock