Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(115 Kb)
Download
Updated: 10-19-14 10:12 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-19-14 10:12 AM
Created:08-04-10 07:07 PM
Downloads:2,134
Favorites:31
MD5:
Categories:Action Bar Mods, Combat Mods, Unit Mods
ImpliedTarget
Version: 1.2.2
by: Vrul [More]
This addon only works with action buttons provided by the default UI. Support for Bartender4 and Dominos is provided via included modules.

Macros allow you to change the ability that you use based on whether your target is friend or foe. This addon allows you to do the opposite, change the target of an ability based on whether that ability is harmful or helpful. Support for custom paging of the main action bar is also provided (disabled if using Bartender4 or Dominos).


Anyone with several macros similar to:

/cast [harm, nodead] [@targettarget, harm, nodead] [@mouseover, harm, nodead] [@pettarget, nodead] HarmfulSpell

or

/cast [@mouseover, help, nodead] [help, nodead] [@targettarget, help, nodead] [@player] HelpfulSpell

can instead set up a targeting priority and apply it to all of your action buttons without wasting a single macro.


To further enhance your mouseover targeting, two additional options are provided. @unitframe can be used in place of @mouseover to target a unit only if it is a unit frame. @unitmodel similarly can be used to target only units that are in the 3D world.


Note: Target behavior is only changed for spells and items placed directly into an action button.

Translators: To submit a translation please just edit an existing file (example: ImpliedTarget_Config\Locales\deDE.lua) and send it to me.


API (these functions may be called in combat, but their effects won't happen until combat has ended)

ImpliedTarget.DisableKeyBinding()

Forces ImpliedTarget to disable it's key binding code and allow it to be garbage collected. Only call this if your addon will be providing this functionality.


ImpliedTarget.DisablePaging()

Forces ImpliedTarget to disable it's paging code for the primary action bar and allow it to be garbage collected. Only call this if your addon will be providing this functionality.


ImpliedTarget.AddButton(button [, bind])

Allow ImpliedTarget to alter the behavior of an action button.

Arguments:
button - (table or string) An action button or name of an action button.

bind - (string) The name of the key bind for the action button.
Returns:
button - (table or nil) If successful the action button is returned, otherwise nil.

ImpliedTarget.RemoveButton(button)

Prevent ImpliedTarget from altering the behavior of an action button.

Arguments:
button - (table or string) An action button or name of an action button.
Returns:
button - (table or nil) The action button if it was removed, nil if the action button had not been previously added.
Version 1.2.2 (10/19/2014)
- Fix for key binds not working after a reload

Version 1.2.1 (10/14/2014)
- Updated for 6.0

Version 1.2 (10/31/2013)
- Resurrection abilities are now completely separate from helpful abilities in the options
- Improved the way secure unwrapping was done to avoid conflicts with other addons
- Changing the active key bind set now updates key binds so they will still work
- Fix to allow key binds to work with the pet battle UI
- Fix for key binds containing "[" or "]"
- The Grid integration option was replaced with a more universal solution: @unitframe, @unitmodel
- Moved Bartender4 and Dominos support into separate addons as examples for any addon author looking to incorporate ImpliedTarget support
- Added some auto-correction for minor errors in parameters that are manually entered

Version 1.1.7 (09/18/2013)
- Fixed key bind issues with ExtraActionButton and PetBattleUI
- Corrected an issue with changing Paging settings

Version 1.1.6 (06/23/2013)
- Added an option to disable resurrection abilities from working with implied targeting
- Corrected the spellID for the warlock spell Soul Stone
- Improved behavior with Grid integration
- Option based code optimization

Version 1.1.5 (06/14/2013)
- Fixed an error and a bug with Grid integration

Version 1.1.4 (06/13/2013)
- Resurrection abilities will now also work with implied targeting
- Added an option for Grid users

Version 1.1.3 (09/02/2012)
- Added options for excluding entire action bars from implied targeting

Version 1.1.2 (07/28/2012)
- Updated for MoP

Version 1.1.1 (12/10/2011)
- Added compatibility for Dominos

Version 1.1 (11/26/2011)
- Added compatibility for Bartender4
- Changed options to be easier for novice users (borrowed Bartender4's style)

Version 1.0.5 (01/11/2011)
- Correct an issue with some empty vehicle buttons

Version 1.0.4 (01/04/2011)
- Fix for key binds that contain characters that have special meaning for Lua's format function

Version 1.0.3 (12/24/2010)
- Ignore spells that can't be identified as harmful or helpful (fixes errors with vehicle abilities)

Version 1.0.2 (10/13/2010)
- Updated for 4.0

Version 1.0.1 (08/06/2010)
- Fixed a bug when changing key binds for the main action bar

Version 1.0 (08/04/2010)
- Initial release
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
1.2.1
115kB
Vrul
10-13-14 11:43 PM
1.2
114kB
Vrul
10-31-13 03:40 PM
1.1.7
106kB
Vrul
09-18-13 05:34 PM
1.1.6
105kB
Vrul
06-23-13 02:01 PM
1.1.4
104kB
Vrul
06-13-13 05:13 PM
1.1.3
102kB
Vrul
09-02-12 11:26 AM
1.1.2
102kB
Vrul
07-28-12 02:40 PM
1.1.1
101kB
Vrul
12-10-11 07:14 PM
1.1
100kB
Vrul
11-26-11 03:55 PM
1.0.5
96kB
Vrul
01-11-11 07:16 PM
1.0.4
96kB
Vrul
01-04-11 03:19 PM
1.0.3
96kB
Vrul
12-24-10 01:45 PM


Post A Reply Comment Options
Unread 08-29-12, 06:13 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 765
File comments: 392
Uploads: 39
Bumping, hoping for an update. :3
__________________
Profile: Curse | Wowhead
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 11-27-11, 10:38 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 765
File comments: 392
Uploads: 39
Interesting concept, very handy for example when playing my healer I don't have to setup each spell to have a macro to help me cast heals, dispells, e.g. on mouseover and such, hehe. +1 from me
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 01-05-11, 01:28 AM  
jangkyojin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hello~

This is so cool! addon~

Please tell me the bartender4 how to use... Plz... T.T

or the bartender4 could do apply to?
.
Last edited by jangkyojin : 01-05-11 at 01:29 AM.
jangkyojin is offline Report comment to moderator  
Reply With Quote
Unread 01-04-11, 05:10 PM  
laerbeejo
The MMOiest Chick of All
 
laerbeejo's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 16
Uploads: 3
<3

Yay, thank you so much!
laerbeejo is offline Report comment to moderator  
Reply With Quote
Unread 01-04-11, 03:21 PM  
Vrul
A Cobalt Mageweaver
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 238
Uploads: 26
Re: :S

Originally posted by laerbeejo
I am getting the following error on login:
That should be fixed with version 1.0.4 that I just put up.
Vrul is offline Report comment to moderator  
Reply With Quote
Unread 01-04-11, 01:06 PM  
laerbeejo
The MMOiest Chick of All
 
laerbeejo's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 16
Uploads: 3
:S

I am getting the following error on login:

Code:
Message: Interface\FrameXML\RestrictedExecution.lua:397: Call failed: Interface\FrameXML\RestrictedExecution.lua:124: [string "self:SetBindingClick(nil, 'SHIFT-\', 'MultiBarRightButton12', '..."]:1: ')' expected near 'MultiBarRightButton12'
Time: 01/04/11 11:59:10
Count: 1
Stack: [C]: ?
Interface\FrameXML\RestrictedExecution.lua:397: in function <Interface\FrameXML\RestrictedExecution.lua:390>
(tail call): ?
(tail call): ?
Interface\FrameXML\SecureHandlers.lua:490: in function <Interface\FrameXML\SecureHandlers.lua:468>
[C]: in function `SetAttribute'
Interface\FrameXML\SecureHandlers.lua:673: in function <Interface\FrameXML\SecureHandlers.lua:659>
(tail call): ?
Interface\AddOns\ImpliedTarget\Core.lua:126: in function <Interface\AddOns\ImpliedTarget\Core.lua:124>
Interface\AddOns\ImpliedTarget\Core.lua:144: in function `func'
Interface\AddOns\ImpliedTarget\Core.lua:115: in function <Interface\AddOns\ImpliedTarget\Core.lua:111>
Interface\AddOns\ImpliedTarget\Core.lua:160: in function `?'
Interface\AddOns\ImpliedTarget\Core.lua:79: in function <Interface\AddOns\ImpliedTarget\Core.lua:78>

Locals: (*temporary) = "Call failed: Interface\FrameXML\RestrictedExecution.lua:124: [string "self:SetBindingClick(nil, 'SHIFT-\', 'MultiBarRightButton12', '..."]:1: ')' expected near 'MultiBarRightButton12'"
laerbeejo is offline Report comment to moderator  
Reply With Quote
Unread 01-03-11, 11:23 AM  
jangkyojin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
hello~
nice addon!
But as a bartender4 on how to use? plz... T.T
Last edited by jangkyojin : 01-03-11 at 11:37 AM.
jangkyojin is offline Report comment to moderator  
Reply With Quote
Unread 11-28-10, 08:47 AM  
Vrul
A Cobalt Mageweaver
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 203
File comments: 238
Uploads: 26
Originally posted by Xubera
Is there a way where I can put a harm and help spell on the same button? So like if im targeting a baddie, I cast Shadow Word: Pain, and if not, cast Renew?
You would have to use a macro for that.
Vrul is offline Report comment to moderator  
Reply With Quote
Unread 11-16-10, 09:06 PM  
Xubera
A Cobalt Mageweaver
 
Xubera's Avatar
AddOn Author - Click to view AddOns

Forum posts: 207
File comments: 36
Uploads: 8
This is EXACTLY what ive been looking for and had to resort to an entire bar mod (macaroon) just to get this effect, now I can revert back to how I liked my old bars.

I have a Razer Naga and have my extra 12 mouse buttons bound to the top row of the keyboard (1 through =) and this allows me to use my raiding Unit frames by using my Naga buttons (because they simulate keyboard presses, and unit frames on click heals only account for mouse clicks)

I do have one question:
Is there a way where I can put a harm and help spell on the same button? So like if im targeting a baddie, I cast Shadow Word: Pain, and if not, cast Renew?
__________________
Chat Consolidate is the solution to any out of control trade chat. Ignore lines, throttle chat, consolidate posts!Follow the link to find out how!

▲ ▲ WoWInterface wont let me triforce >.>
Last edited by Xubera : 11-16-10 at 09:08 PM.
Xubera is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: