Drain Soul Macro Assistance

Drain Soul Macro Assistance

by ResmoDaimac » Mon Sep 21, 2015 8:41 pm

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 LYQ » Tue Sep 22, 2015 4:29 pm

not sure but it's possible, you can try

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

(you gotta check if the spellname is written perfectly, it matters if there is a space more or less)

edit: the part with the passivemode does work, just check if the spell drainsoul with rank is written correctly
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: Drain Soul Macro Assistance

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

That works perfectly! Thanks so much!

That macro is far more simple than the macros I was creating an experimenting with.
ResmoDaimac
Private
Private
 


Return to Addons & macros