Download
(7 Kb)
Download
Updated: 06-21-13 12:52 AM
Compatibility:
Escalation (5.3)
Updated:06-21-13 12:52 AM
Created:06-09-13 07:00 AM
Downloads:481
Favorites:5
MD5:
Pet Special Attack Button
Version: 1.06
by: Choonstertwo [More]
This AddOn allows you to use /click PetSpecialAttackButton in macros to use your current pet's special ability. It will probably work with Stampede.

It can also update a macro's icon to show your current pet's special ability, just set your macro's name at the top of core.lua. The icon doesn't always update properly when you summon a pet for the first time, so you can use /psab_update or /psabu to manually trigger an icon update.

It currently only works in English clients, but I can easily add localisations for any language that Wowhead is available in. If you want support for a language that Wowhead isn't available in, please translate the PET_ABILITIES table in the abilities_enUS.lua file and post it in the comments on Curse or WoW Interface. The best way to do this is to submit your translation to a paste service like CurseForge Pastes, GitHub Gists or PasteBin and then post a link to your paste in the comments.

You can view the source code of this AddOn on GitHub.

Thanks to Tybudd for posting this thread on the official UI and Macro forum, which inspired me to write this AddOn.
1.06
  • Add missing comma to abilities_enUS.lua
  • Change generate script to add a trailing comma to the abilities table

1.05
  • Add option to update a macro's icon with the current pet's special ability
    • Add slash command (/psab_update, /psabu) to manually trigger an icon update
  • Change EXCEPTIONS table to OVERRIDES in generate script
    • Change output for each family to show whether the selected ability is an override
  • Add overrides for Cat, Shale Spider and Silithid as per Tybudd's recommendations
    • Re-generate abilities_enUS.lua with these overrides

1.04
  • Add manual ability exceptions to generate script
    • Default exception list is Surface Trot for Water Strider
    • Re-generate abilities_enUS.lua with this exception list and sort entries into alphabetical order

1.03
1.02
  • Add option in generate script to use exotic abilities where possible.
    • Re-generate abilities_enUS.lua with this option enabled.

1.01
  • Fix "Attempt to index global 'ns' (a nil value)"
  • Add .pkgmeta for CurseForge packager
  • Change TOC to use CurseForge's version
  • Update README.md with information about availability from Curse/WoWI
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.05
7kB
Choonstertwo
06-15-13 05:41 PM
1.04
7kB
Choonstertwo
06-13-13 10:29 AM
1.03
6kB
Choonstertwo
06-13-13 06:44 AM
1.02
6kB
Choonstertwo
06-10-13 11:26 PM
1.01
6kB
Choonstertwo
06-09-13 07:00 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: