Go to Page... |
Compatibility: | Shadowlands patch (9.0.5) Shadowlands patch (9.0.2) Shadowlands pre-patch (9.0.1) |
Updated: | 03-16-21 05:13 PM |
Created: | 08-04-10 07:07 PM |
Downloads: | 28,805 |
Favorites: | 48 |
MD5: | |
Categories: | Discontinued and Outdated Mods, Combat Mods, Unit Mods |
This addon only works with action buttons provided by the default UI. Support for other action bar addons may be found in the Other Files tab.
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 (may be disabled by another addon).
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. Similarly, @unitmodel 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 (ImpliedTarget\Locales.lua or ImpliedTarget_Config\Locales\deDE.lua) and send it to me.
Developers: If you would like to make ImpliedTarget work with your addon then see the API below and look at how it was done for other addons in the Other Files tab.
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.Returns:
bind - (string) The name of the key bind for the action button.
button - (table or nil) If successful the action button is returned, otherwise nil.
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.
File Name |
Version |
Size |
Author |
Date |
Type |
1.0.1 |
918B |
12-08-20 11:43 PM |
Addon |
||
1.0 |
1kB |
09-27-18 04:42 PM |
Addon |
||
2.0 |
2kB |
08-06-18 12:36 PM |
Addon |
Comment Options |
08-27-18, 06:22 AM | ||
|
|
|
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
nKweo |
View Public Profile |
Send a private message to nKweo |
Find More Posts by nKweo |
Add nKweo to Your Buddy List |
Gazzoose |
View Public Profile |
Send a private message to Gazzoose |
Find More Posts by Gazzoose |
Add Gazzoose to Your Buddy List |
08-26-18, 05:12 PM | ||
|
Re: Re: Re: Config issues
I know that LibStub and LibOptionsAssist-1.1 are running based on the test you already ran. Is your ImpliedTarget_Config folder missing? Try running this command in game: Code:
/run print(GetAddOnInfo("ImpliedTarget_Config")) Code:
ImpliedTarget_Config nil nil false MISSING INSECURE false |
|
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
08-26-18, 12:52 PM | ||||
A Kobold Labourer
Forum posts: 0
File comments: 3
Uploads: 0
|
Re: Re: Config issues
The only addon I couldn't disable was Addon Control Panel, as it doesn't have the option to actually disable itself, is there any other information I could provide? |
|||
|
Gazzoose |
View Public Profile |
Send a private message to Gazzoose |
Find More Posts by Gazzoose |
Add Gazzoose to Your Buddy List |
08-25-18, 01:16 PM | ||
|
Re: Config issues
Code:
/run print(LibStub) /run print(LibStub("LibOptionsAssist-1.1", true)) /run print(ImpliedTarget) Code:
table: 000001C6FCD0C7A0 table: 000001C6FCE1BE90 3 table: 000001C6FD9E1440 If everything looked good above then get an addon for errors (AmberAlert, BugSack, or Bugger (last two require !BugGrabber) and report any errors here. |
|
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
08-25-18, 09:42 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 3
Uploads: 0
|
Config issues
I've just started trying to use this addon (initially with ElvUI) and have run into several issues, the most important one to me right now is that I can't figure out how to access the config page as shown in the screenshots here. I can't see any button for it, and /impliedtarget returns the usual "Type /help for a listing of a few commands." message.
Am I missing something obvious? |
|
Gazzoose |
View Public Profile |
Send a private message to Gazzoose |
Find More Posts by Gazzoose |
Add Gazzoose to Your Buddy List |
08-22-18, 10:56 AM | |||
|
|
||
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
08-22-18, 09:13 AM | ||
|
Also a minor point: I like to end 'help' macro's with [@target] as this prevents the spell from 'readying' when you have no target available (the cursor lights up and clicking on a unit casts the spell) and warns me that I have no target selected. This doesn't work with ImpliedTarget, however; spells again ready when I have no target. Is this intended? Could it be changed easily? |
|
|
nKweo |
View Public Profile |
Send a private message to nKweo |
Find More Posts by nKweo |
Add nKweo to Your Buddy List |
08-22-18, 06:13 AM | ||
|
I'm also working on a way to modify spells individually but its still not quite ready. |
|
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
08-21-18, 11:55 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 27
Uploads: 0
|
it would be nice if you could adapt this addon to work for ground target spells, or make a new addon. all my ground target spells are @cursor and its annoying to make macros for everything. id love them all to just assume @cursor
|
|
taiya |
View Public Profile |
Send a private message to taiya |
Find More Posts by taiya |
Add taiya to Your Buddy List |
08-13-18, 08:32 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 3
Uploads: 0
|
Why not available in curse/twitch
Hi, really like your addon. It's exactly what I was looking for. I was searching on alternative to writing a lot of copy/pasta macro and found a 2015 forum post about this addon. Without this really old post I would not found your addon since by default I'm using curse (now twitch client) to get/update my addons.
Is there a reason why your addon is not available in the twitch client? I'm pretty sure a lot of people are missing this addon because they don't look elsewhere for addon. |
|
sumoren |
View Public Profile |
Send a private message to sumoren |
Find More Posts by sumoren |
Add sumoren to Your Buddy List |
07-25-18, 04:09 AM | |
|
Thanks for updating! (Not that it didn't work before, but it feels good to know everything is fresh and clean again ).
|
|
nKweo |
View Public Profile |
Send a private message to nKweo |
Find More Posts by nKweo |
Add nKweo to Your Buddy List |
04-11-18, 04:39 PM | ||
|
Some time later (not sure when), Blizzard removed the ability to pass spell ids to IsHarmfulSpell and IsHelpfulSpell and now they only take spell names. There is no way to get a spell name from a spell id in the secure environment on the fly, so I decided to keep my hard coded lists. |
|
|
Vrul |
View Public Profile |
Send a private message to Vrul |
Find More Posts by Vrul |
Add Vrul to Your Buddy List |
04-11-18, 09:24 AM | |
|
One more thing, I took a peak at the code of this addon and noticed that it depends on spell lists that were created for each class. I know Bartender can do some things similar to what you can do with macros (e.g. 'auto assist' = try to cast on targettarget when target is not help/harm depending on spell), but I don't believe there's a manual list behind this functionality. Just out of curiosity: where does this difference stem from? It seems to me that maintaining the addon would be less work if it didn't require updating spell lists with expansions/patches.
Last edited by nKweo : 04-11-18 at 09:32 AM.
|
|
nKweo |
View Public Profile |
Send a private message to nKweo |
Find More Posts by nKweo |
Add nKweo to Your Buddy List |