Thread Tools Display Modes
05-12-05, 02:39 PM   #1
Inokis
EQInterface Staff
 
Inokis's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 156
Dash/Dive Pet Attack Usage...

I'm finding that the pets don't utilize their dash/dive consistently. This script checks the pet class that would have dash/dive and pet level, then casts the pet action bar slot 7, which is where I use the dash/dive. I only used two pet classes for this example, however all the pet classes that utilize that ability should be listed. The slot can be changed to whatever you use for that pet ability.

Code:
function PetCharge_Macro()
	if UnitCreatureFamily("Pet") == "Cat"  or
	UnitCreatureFamily("Pet") == "Carrion Bird" and UnitLevel("Pet") >= 33 then
		CastPetAction(7);
	end
end
I use this function in a custom MacroLibrary LUA as part of multiple pet attack/assist macros for different spells.
__________________
If not yourself, who can you count on...
  Reply With Quote
05-12-05, 03:43 PM   #2
Remelio
 
Remelio's Avatar
Join Date: Dec 2004
Posts: 696
Cool, thanks!!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Dash/Dive Pet Attack Usage...

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off