Multipurpose Pet Class Macro
This is the multipurpose Macro I use, as a Warlock, for casting and pet assisting. Posting here for use if anyone needs:
edit: changed the second line of code to be a more party freindly pet assist, in case a player is targeted edit: Consolitated the script into on line /script instead of two. /script if UnitExists("pet") and not UnitExists("target") or UnitIsFriend("target", "pet") or UnitIsDead("target") then AssistUnit("pet"); end /stand /cast Curse of Agony(Rank 4) /script PetAttack(); |
Nice Inokis, thank you.
|
Fixed: Found the correct Unit Values.
There is a bug with the second script. What I'm trying to get it to do is if target==pet then assist pet, however the current configuration will assist pet even if you have your own target, so i'm trying to work out the if pet==target part. |
Added an additional 'if UnitIsDead("target")' statement to help prevent any further 'invalid target' messages.
|
All times are GMT -6. The time now is 06:19 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI