Quantcast
Download
(21 Kb)
Download
Updated: 09-13-15 01:47 PM
Compatibility:
Minor patch (6.2.3)
Updated:09-13-15 01:47 PM
Created:06-09-13 07:00 AM
Downloads:1,338
Favorites:6
MD5:

Pet Special Attack Button

Version: 1.11
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 except Korean, because Wowhead isn't available in Korean. The pet family names may be incorrect for Traditional Chinese (Taiwan) because Wowhead is only available in Simplified Chinese (China).

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.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)


Archived Files (9)
File Name
Version
Size
Author
Date
1.09
9kB
Choonstertwo
04-28-15 04:35 AM
1.08
8kB
Choonstertwo
04-26-15 08:39 AM
1.07
8kB
Choonstertwo
11-05-14 10:18 AM
1.06
7kB
Choonstertwo
06-21-13 12:52 AM
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


Post A Reply Comment Options
Unread 09-13-15, 02:18 PM  
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 192
File comments: 92
Uploads: 32
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: 737
File comments: 1928
Uploads: 38
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: 192
File comments: 92
Uploads: 32
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: 381
Uploads: 2
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: