Download
(26Kb)
Download
Updated: 12-27-18 11:54 AM
Compatibility:
Tides of Vengeance (8.1.0)
Updated:12-27-18 11:54 AM
Created:06-09-13 07:00 AM
Downloads:3,053
Favorites:7
MD5:

Pet Special Attack Button

Version: 1.13
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 works in all locales, but the pet family names may be incorrect for Traditional Chinese (Taiwan), Portuguese (Portugual) and Spanish (Spain) because Wowhead is only available in Simplified Chinese (China), Brazilian Portguese and Mexican Spanish respectively.

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.13
  • Bump TOC Interface version to 8.1
  • Remove the Rylak override from the generate script
    • The Rylak family has been merged into the Chimaera family in 8.0
  • Update generate script to new use new Battle.net API
    • Add Portuguese (Portugal) and Korean locales
    • Update WoW folder paths to match the new structure introduced in 8.1
  • Update abilities to 8.1
    • zhCN (Simplified Chinese) had to be updated from Wowhead manually as the China region's Battle.net API isn't working
  • Add abilities for Portuguese (Portugal) and Korean locales

1.12
  • Bump TOC Interface version to 8.0
  • Update abilities and generate script to 8.0
    • Remove overrides for abilities that no longer exist
    • Remove overrides for abilities that are chosen automatically
    • zhCN abilities haven't been updated because the CN region API is no longer accessible without a CN account
    • The Rylak pet family is missing from Wowhead, so it's not included in the abilities tables
  • Add .travis.yml file and TOC properties for the BigWigs packager script
    • https://www.wowinterface.com/forums/showthread.php?t=55801

1.11
  • Restructure repository for p3lim's AddOn Packager Proxy

1.10
  • Change generate script to generate abilities for all available locales -- Add strict and PrettyPrint depenencies for generate script -- Add all generated abilities files -- Move generate script and depenencies to subdirectory
  • Add Stone Scale override for Basilisk

1.09
  • Add German (deDE) abilities
    • Contributed by Baine of WoWI

1.08
  • Add override abilities for Nether Ray and Rylak
  • Fix typo in generate script

1.07
  • Update generate script to use new BNet API
  • Update overrides and abilities_enUS.lua with current (6.0) data
  • Bump TOC Interface number

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
  • Fix macro not being initialised properly at login
    • See my post at http://us.battle.net/wow/en/forum/to...4980?page=2#23 for an explanation of the issue and the solution.

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)


Post A Reply Comment Options
Unread 08-04-18, 07:24 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Aahz
This is because the Rylak family was rolled into the Chimera family.
Thanks for letting me know, I haven't been keeping up with WoW updates very much. I'll remove the Rylak override from the generate script.
Report comment to moderator  
Reply With Quote
Unread 08-04-18, 12:50 PM  
Aahz
A Kobold Labourer
 
Aahz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 11
Uploads: 2
The Rylak pet family is missing from Wowhead, so it's not included in the abilities tables
This is because the Rylak family was rolled into the Chimera family.
Report comment to moderator  
Reply With Quote
Unread 09-13-15, 02:18 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Tonyleila
Why not use the Spell IDs so that it works in any language?
It could use spellIDs for the abilities, but that only solves half the problem: it uses pet family names because there's no locale-independent ID for them available in-game.

The latest version's generate script uses spellIDs and Wowhead's pet family IDs to generate ability names and family names for each locale (except Korean, because Wowhead isn't available in Korean).
Report comment to moderator  
Reply With Quote
Unread 09-13-15, 02:13 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Originally Posted by Choonstertwo
Originally Posted by Baine
i've gone and made a mess...

uhm, i mean

i generated the german abilities
Thanks, I've just released version 1.09 which includes German (deDE) abilities.
Why not use the Spell IDs so that it works in any language?
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 04-28-15, 04:36 AM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 194
File comments: 105
Uploads: 34
Originally Posted by Baine
i've gone and made a mess...

uhm, i mean

i generated the german abilities
Thanks, I've just released version 1.09 which includes German (deDE) abilities.
Report comment to moderator  
Reply With Quote
Unread 04-28-15, 04:05 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 393
Uploads: 1
i've gone and made a mess...

uhm, i mean

i generated the german abilities
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: