Is there a way to check what kind of pet is out?
eg: I'm BM, Can it check if i have my chimera out?
I got idea for something like this, for cast pet spell.
add that to aoe rotation. but that doesnt check if i have my chimera out.PHP Code:
if not UnitBuffID("pet", 92380) and UnitPower("pet") >= 50 then
CastSpellByName(GetSpellInfo(92380), "target")
end
Also, spell is cast whenever i enter combat, is there a way to make it cast only get close to add?
If I use <UnitExists> function, I have to set it to "Chimera", or the actual name of my pet.
add: after a bit folling around it seems what i wrote above give quite a bit lua error because everytime i activated it lag the game once in a while. anyone have better way to do this?