Originally Posted by Aalwein
Code:
/petfollow [@pettarget,exists]
/petpassive [@pettarget,exists]
/script if PetClass() = 'Tenacity' then
/petdefensive [@pettarget,noexists] else /petassist [@pettarget,noexists]
If I can just check to see if a spell exists, I'd just do a function check to see if "Thunderstomp" exists and go from there.
|
Note a couple things. First, /script runs the argument as Lua code, which throws errors if you try to mix macro commands in it. Also you can use /cast for a spell that isn't available to you currently, the game will cast it if you have it or completely ignore the command if you don't.