Addon that allows more control and functionality from your pet
What can it do?
Makes pet overall more responsive to attack and follow commands
Has feature to make pet follow you better
Has feature to make pet attack any currently selected enemy better
Has feature to make pet use its abilities as soon as possible or turn them off completely
Has feature to make pet auto-follow you better if it currently has no targets to attack
Has feature to make pet attack any enemy you are currently attacking if it has no current target
Has feature to make pet attack any enemy that attacks you if it has no current target
Has feature to make pet follow you anytime you target yourself
All these feature can easily be enabled/disabled through addon slash command(/lpet)
How do I use it?
First unzip it into your interface\addons directory.
Now just run WAR and once logged in, type /lpet to get the options list.
Feature Commands
/lpet autoattack on|off - option to make pet to automatically attack when you attack if it doesn't have a target.
/lpet attackrangecheck on|off - option to make pet autoattack close targets only
/lpet autodefend on|off - option to make pet attack when you are attacked if it doesn't have a target.
/lpet defendrangecheck on|off - option to make pet autodefend close targets only
/lpet autofollow on|off - option to make pet follow you if it has no targets and you are not in combat.
/lpet selftargetfollow on|off - option to make pet follow you if you target yourself
/lpet allfeatures on|off - special command that allows you to set all above features on/off at same time.
The default setting for all feature commands is "off"
Ability Commands
The following commands control how the addon throttles pet abilities. Set them to "fast" if you want the add-on to use them as soon as they are available. The "default" setting means the addon will do nothing, and the ability will be used based on the game settings. This does not mean that the ability will never be used. The game will use the ability according to its own internal timers and settings. Setting them to "off" will completely disable them. Once you turn an ability off, you can re-enabled it with a fast or default command. THE ADDON ONLY ALLOWS CHANGING ABILITY SETTINGS FOR THE CAREER YOU LOG INTO.
White Lion Abilities
/lpet lionsroar fast|default|off
/lpet legtear fast|default|off
/lpet shred fast|default|off
/lpet gutripper fast|default|off
/lpet maul fast|default|off
/lpet fangandclaw fast|default|off
/lpet terrifyingroar fast|default|off
/lpet bite fast|default|off
/lpet clawsweep fast|default|off
Engineer Abilities
/lpet penetratinground fast|default|off
/lpet flamethrower fast|default|off
/lpet shockgrenade fast|default|off
/lpet highexplosivegrenade fast|default|off
/lpet machinegun fast|default|off
/lpet steamvent fast|default|off
Magus Abilities
/lpet demonicfire fast|default|off
/lpet warpingenergy fast|default|off
/lpet flameoftzeentch fast|default|off
/lpet flamesofchange fast|default|off
/lpet coruscatingenergy fast|default|off
/lpet demonicconsumption fast|default|off
Squig Herder Abilities
/lpet squigsqueal fast|default|off
/lpet gore fast|default|off
/lpet goopshootin fast|default|off
/lpet poisonedspine fast|default|off
/lpet spinefling fast|default|off
/lpet sporecloud fast|default|off
/lpet headbutt fast|default|off
/lpet deathfromabove fast|default|off
/lpet allabilities fast|default|off - special command that allows you to sets all abilities at once
The default setting for all ability command is "fast".
Other Commands
/lpet printsettings features|abilities|all - special command to view your current settings
/lpet attackbuttoncombo 1-13 - command to set button combination for pet attack
/lpet followbuttoncombo 1-13 - command to set button combination for pet follow
Button Combinations are:
1 = Off
2 = Left Mouse
3 = Left Mouse + Shift
4 = Left Mouse + Ctrl
5 = Left Mouse + Alt
6 = Middle Mouse
7 = Middle Mouse + Shift
8 = Middle Mouse + Ctrl
9 = Middle Mouse + Alt
10 = Right Mouse
11 = Right Mouse + Shift
12 = Right Mouse + Ctrl
13 = Right Mouse + Alt
The default settings for attackbuttoncombo and followbuttoncombo is 1(Off)
/lpet gui - special command to toggle gui window. Allows you to set all options with gui interface
Changes
Version 2.1
Hotfix for 2.0
Version 2.0
GUI implemented. It's a little crude but gets the job done. I'll improve it as time goes on. Eventhough gui has been added all slash commands are still available. This makes it easier to change options and you don't want a gui in the way.
Lightened restriction on forced passive mode. Now the addon will only force passive stance when autoattack or autodefend are enabled. It will not force passive stance if you enable the button combo options.
Added autodefend and defendrangecheck options. These options are similar to autoattack and attackrangechecked respectively except that autodefend will cause the pet to attack when you are attacked, and defendrangecheck make it only trigger at close range.
Replaced the mousebuttons option with attackbuttoncombo and followbuttoncombo options. These options allow more flexibility for manual pet attack and follow commands.
Re-added the selftargetfollow option. Had a few requests to add this back. It allows you to simply target yourself to make your pet follow.
Replaced fastabilities option with allabilities option. Can now set all abilities to fast, default, or off at once.
Updated compatibility with 1.0.4 patch
Fixed pet ability throttling due to a game bug
Added Aiiane's TargetInfo fix
Version 1.8
Setting structure changed once again, so your settings will be reset yet again. Sorry, but it's for the greater good :)
Adjusted chat filter fix in 1.7.1. It was too restrictive.
Added mousebuttons option to choose mouse button settings for clickattack and clickfollow.
If mousebuttons is set to middle then clickattack = Middle Mousebutton, and clickfollow = Shift + Middle Mousebutton
If mousebuttons is set to right then clickattack = Ctrl + Right Mousebutton, and clickfollow = Alt + Right Mousebutton
Cleaned up unused code
Added option to enable/disable range checking for autoattacking
Changed fastabilities and ability options to handle disabling of abilities
Note about 1.7 and 1.7.1 - Many may not have noticed but autoattack only activates when the player initiates combat. The pet will no longer activate autoattack when the user is attacked by an unselected target in range.
Version 1.7.1
Minor fix for Chat Filters. Should filter spam even better
Minor fix for fast ability feature. Was only working with clickattack and autoattack enabled. Now should always work.
Version 1.7
Added full ability support for engineer, magus, and squig herder careers. NOTE: The settings structure was changed, so the stored addon settings from 1.6 and below will be reset to the defaults. I'm hoping this is the last time a reset is needed.
Corrected a bad hook call to the Alert Window
Changed clickattack to be Ctrl + Right Mouse Click. The target still has to be selected first before click attack works.
Changed clickfollow to be Alt + Right Mouse Click
Changed logic to ability fastcast. Due to game's targeting system, and the way it handles pet command. Ability fastcasting automatically turns off if your pet is attacking a different target than you. Once your pet starts attacking the same target as you, fastcast turns back on automatically.
Added logic to force pet into passive Stance if clickattack or autoattack are enabled. This is to ensure game attack settings aren't interfering with addon attack settings
Changed the auto-attack functionality yet again. The pet will only start auto attacking if the target is within a certain range of the player. Also, once the pet has begun auto attacking a target, it will remain locked on that target until the player sends it to attack another target or issues a follow command. I would suggests having clickattack and clickfollow enabled if you plan to use autoattack to provide even more control over it. IF YOU DON'T WANT YOUR PET RUNNING OFF AFTER A FLEEING TARGET IT IS AUTOATTACKING, EITHER USE CLICKFOLLOW TO MAKE IT RETURN TO YOU OR TURN AUTOATTACK OFF. Until target of target is added to the API, this is the best autoattack I can think of right now.
Fixed auto-attack problem with pet just running off after a target not selected
Added support to reduce combat log spam for pet fastcasting abilities
Version 1.6
Changed ability command options to be more descriptive of their actual functionality
Fixed the last of the left-click/tab bugs that caused pet to attack unexpectedly while clickattack was active. As a result you must right click a target twice if it is not already selected. This may be an undesirable side-effect, but it's better than the bug
Improved autofollow and autoattack behavior even more
Added a saved settings version check. If saved settings are from a incompatible version then they will now be reset properly. In fact, any settings saved prior to 1.6 will be reset as a result of this new check
Added engineer and magus back to acceptable career list
Improved ability speed behavior even more for white lions
Version 1.5
Support for Ticket Request 1. slash commands will now give confirmation messages.
Added another option: /lpet printsettings features|abilities|all which will display the current settings for features, fast-ability use, or both respectively.
Version 1.4
more command options added. Can now choose to turn all features on/off with one command line. Can choose to turn fast-trigger functions on/off for each pet ability, or set them all with on command
improved fastability behavior(should not trigger until in range of target)
improved autofollow and autoattack behavior
Version 1.2
First public release. Basic functionality and option selection complete.
TODO
The following list is in no particular order of priority
GUI improvements
Other tweaks and improvements
Special Thanks
Grayhoof - For creating the Warhammer Scrolling Combat Text addon. I was able to use your addon as a great template for my GUI, and some other functions too.
Aiiane - For creating the TargetInfoFix file, it definitely helps in my addon.