function to check if pet is ferocity or tenacity
Does anyone know if there is a function for check what type of pet you have out? Something like:
PetClass() - returns Ferocity, Tenacity, or Cunning If not, is there a function to check to see if a spell exists? For example, I could run SpellExists('Dash') and if it returns 1 that means it's Ferocity or Cunning, if it returns 0 that means it's Tenacity. I'm basically trying to make a macro that I can run that will toggle between passive and defensive/assist - defensive if I have a Tenacity pet out, assist if I have a Cunning or Ferocity pet out. I've got something like this in mind: Code:
/petfollow [@pettarget,exists] |
The closest you can get is the following:
Code:
/petpassive [pet:Wolf] |
Oh that will work well enough. I could just put a few lines with each type of pet I use. Thank you for pointing me there.
|
Quote:
|
So a macro as such:
Code:
/petfollow For anyone wondering, this is my button to call off my pet should the need arise. I can spam it in combat to call my pet to my side and put it back into its defensive or assist state. I have /petattack bound to my Hunter's Mark. |
All times are GMT -6. The time now is 01:36 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI