API:GetPetActionInfo

Pet Skillbar GetPetActionInfo

Arguments
local icon, auto = GetPetActionInfo(i);

Returns
Skill Icon Name(str?), IsSkillActive(bool), AutoCastAllowed(bool)

Example
local icon_path,active,autoCastAllowed = GetPetActionInfo(6)

Returns the Skill Icon Name, active status and autoCastAllowed and assignes to icon_path,active,autoCastAllowed variables