- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,104 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
Hunter Got Focus
- 0 Likes
- World of Warcraft
- 225 Monthly Downloads
- Supports: 4.0.1
- 11,074 Total Downloads
- Updated 11/6/2010 7:43:19 AM
- Created 10/20/2010 9:02:56 AM
- 16 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU General Public License version 2 (GPLv2)
- Newest File: Hunter Got Focus 1.2.3
About Hunter Got Focus
This add-on is made for hunters to help them make a choice between choosing Arcane Shot and Steady Shot (or Cobra). It helps you float around the minimum focus you need as a hunter to shoot your main ability.
The trick with playing a hunter is that you need to know a couple of things at the same time to decide what ability you should play. This add-on is designed in a minimal way to tell you all things you need to know in a visual way:
- Shows how much energy you require to use your main ability
- Shows a cooldown bar of the above ability so you know exactly know when you can use it and make sure that by that time you have the required focus
- Shows an idication of how much focus you would loose choosing an Arcane Shot or how much you would win using a Steady Shot.
- All these indicators are updated the moment you would get more focus regen (through haste procs) or get a reduction in focus cost
It also features following features:
- Color coding: green, orange and red tell you what shot you can choose (in a next version this will be more intuitive according to the amount of cooldown you got left)
- Support two Information Bars (at the bottom of the frame, players can disable this in the menu)
- BM: Information Bar 1 shows the cooldown on Bestial Wrath, Information Bar 2 counts towards Focus Fire (through the Frenzy Effect of your pet)
- MM: Information Bar 1 shows the Improves Steady Shot uptime, Information Bar 2 counts towards the free Aimed Shot
- Surv: Information Bar 1 shows the coolodwn on Black Arrow, Information Bar 2 shows the Explosive Shot debuff (to prevent clipping)
- Has a Serpent Sting uptime bar at the top of the frame
- For Beast Masters it adjusts the minimum focus required when going into Killing Streak and it updates the focus loss when aquiring The Beast Within
- Has a minimal config window to place the focus frame at your desired location (/hgf)
Possible trouble
- The add-on needs your current haste to make on the fly adjustments to the amount of focus you would win or loose, to do this the add-on compars your current ranged speed with your base ranged speed on your bow. The base ranged speed is found on the tooltip of your ranged weapon (afaik the only method of obtaining it). Although there has been plenty of testing, it could be that the add-on doesn't find this in rare cases. Also having an add-on that changes the data on your tooltips heavily can interfere with this proces. So watch out for this! In the rare case that the add-on doesn't find your base ranged speed it will use 2.80 as your ranged speed!
Todo
- Custom color coding and texture use
- Just found out that I missed out on the talent Termination in the Marksman tree. I'll add this effect in the formulas
Final Notes
This add-on has never been tested with Survival specc, I would be happy to hear if there are problems with Survival Hunters.
The code has extensive comments and if you wanna adjust the code please feel free to do it, this is my first add-on so there might be inconsistencies
If you find bugs for this add-on or have feature request please use the ticket tracker for this add-on provided by curse.
- Prevented the mod from failing when a user would use a ranged weapon that has been reforged, the add-on now uses a base speed of 2.80 also in case the add-on doesn't find the bow speed.
- The Add-on finds the right ranged speed however in following cases:
- Heroic ranged weapons of all qualities (both reforged as not reforged)
- Soulbound ranged weapons of all qualities (both reforged as not reforged)
- Non-soulbound ranged weapons (both reforged as not reforged)
- Heirloom ranged weapons should work (not tested yet)
- The add-on tries to read the ranged speed from the tooltip, should you use a tooltip add-on, be aware that this might brake this add-on (this is not the case for add-ons that only change the esthetics of the tooltip)
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| Hunter Got Focus 1.2.3 | Release | 4.0.1 | 8,702 | 11/6/2010 7:43:19 AM |
| Hunter Got Focus 1.2.2 | Release | 4.0.1 | 440 | 11/5/2010 7:03:30 AM |
| Hunter Got Focus 1.2.1 | Release | 4.0.1 | 301 | 11/4/2010 1:41:58 PM |
| Hunter Got Focus 1.2.0 | Release | 4.0.1 | 381 | 11/4/2010 12:24:37 PM |
| Hunter Got Focus 1.1.0 | Release | 4.0.1 | 354 | 11/3/2010 9:30:29 AM |
| Hunter Got Focus 1.0.0 | Release | 4.0.1 | 955 | 10/23/2010 9:14:51 AM |
Addon Packs Containing This...
Top Downloads
-
- Bagnon
- Bags & Inventory
- 380,324 Monthly Downloads
-
- Deadly Boss Mods
- Combat and Boss Encounters
- 302,560 Monthly Downloads
-
- Recount
- Combat
- 301,016 Monthly Downloads
-
- SpellFlash
- PvP, Buffs & Debuffs, Quests & Leveling, Action Bars, and Combat
- 282,737 Monthly Downloads
-
- GatherMate2_Data
- Achievements
- 210,508 Monthly Downloads

Comments
Congratulations for the excelente work, I hope you can continue the development =)
It only seems to happen at login or reload for me. I added diagnostic messages to see the left/right values it is parsing, and it seems to work when it is rescanned on zone changes etc. It just blows up at login.
["message"] = "Interface\\AddOns\\HunterGotFocus\\huntergotfocus.lua:396: attempt to index a nil value",
["count"] = 119,
...
\n[C]: ?\n[string \"safecall Dispatcher[1]\"]:13: in function `?'\n...Ons\\Ace3\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:92: in function `Fire'\nInterface\\AddOns\\Ace3\\AceEvent-3.0\\AceEvent-3.0.lua:120: in function \n",
baseSpeed = MyTooltipTextRight3:GetText():match("%d.%d%d")
appears to be the problem. GetText() is returning nil and match is failing.
But only at login.
baseSpeed = 2.80
local speedstr = nil
if (MyTooltipTextLeft4:GetText() == "Ranged") then
if (MyTooltipTextLeft5:GetText() == "Reforged") then
speedstr = MyTooltipTextRight6:GetText()
else
speedstr = MyTooltipTextRight5:GetText()
end
elseif (MyTooltipTextLeft3:GetText() == "Ranged") then
if (MyTooltipTextLeft4:GetText() == "Reforged") then
speedstr = MyTooltipTextRight5:GetText()
else
speedstr = MyTooltipTextRight4:GetText()
end
else
if (MyTooltipTextLeft3:GetText() == "Reforged") then
speedstr = MyTooltipTextRight4:GetText()
else
speedstr = MyTooltipTextRight3:GetText()
end
end
if (speedstr) then
DEFAULT_CHAT_FRAME:AddMessage("speedstr " .. speedstr))
baseSpeed = speedstr:match("%d.%d%d")
end
I am aware that the add-on "stalls" the moment you go out of combat, that is something I wanted to fix after I was sure the add-on was working well during combat. I probably will update this tomorrow together with checking all talent tree options that I can catch that refund more focus.
Thank you for your request. I currently use Quartz and it has a very good "swing timer" as it's called. It might be an idea to install that instead as I don't have plans to implement a swing timer.
I also believe that it would be out of the scope of the original add-on: a visual overview to help you choose between arcane shot or steady/cobra shot.
So it might get implemented one day, but probably not before cata hits and/or if I get more requests like this.
2 guildies of me tested the add-on this evening and neither of them (bm and surv, with me using MM) had trouble. I will update the add-on tomorrow and I will check it with Moveanything.
The only strange thing is that you get the bug also when you aren't using any other add-ons. I thank you for giving me this info so that I can work on a solution. I hope that I can find what's going wrong...