Broker_Portals
Why would you have actionbars filled with portals, or open your spellbook everytime you cast a portal? Just right click on icon or minimap button and you can access all portals so comfortably.
It is designed as DataBroker plug-in, that lets you access all portal and teleport spells from one spot. Addon will be attached to minimap by default, but if you want to move/customize it, you will have to install additional addon like TitanPanel, HidingBar, or Bazooka and there are many more.
Features:
- All mage portals, hearthstone and teleporting items available from simple dropdown menu
- Minimap button, so you don't have to install any additional addon
- Hearthstone location and cooldown in tooltip
- Reagent count in tooltip (for Cataclusm Classic)
- If hearthstone is on cooldown, Scroll of Recall will be used instead if possible
- Can announce, that you're casting a portal
Localization:
If you'd like to add/update localizations, do so here. Then leave a comment on WowAce or on Curse as I'm checking those more often than localization app itself, and I'll repack it.
Bugs / Suggestions:
If you have encountered any problem, or if you think theres something missing. Feel free to post a ticket here.
FAQ:
- I managed to hide my minimap icon, how do I turn it on again?
- Just simply type "/portals".
- Does it support teleportation items like engineering teleports or Kirin Tor rings?
- Yes.
TODO:
Enable adding custom items/spells
1x Broker_Portals-1.8.21\portals.lua:248: attempt to get length of upvalue 'portals' (a nil value)
Broker_Portals-1.8.21\portals.lua:255: in function <Interface\AddOns\Broker_Portals\portals.lua:253>
Broker_Portals-1.8.21\portals.lua:513: in function <Interface\AddOns\Broker_Portals\portals.lua:512>
(tail call): ?:
nil
Locals:
portals = nil
SetupSpells = <function> defined @Interface\AddOns\Broker_Portals\portals.lua:187
getReagentCount = <function> defined @Interface\AddOns\Broker_Portals\portals.lua:170
L =
MIN = "mins"
HEARTHSTONE = "Hearthstone"
ATT_MINIMAP = "Attach to minimap"
TP = "Teleports"
SEC = "secs"
ANNOUNCE = "Announce cast of portals"
N/A = "Not available"
P = "Portals"
SHOW_ITEM_COOLDOWNS = "Show items cooldowns"
TP_RUNE = "Rune of Teleportation"
P_RUNE = "Rune of Portals"
RCLICK = "Right-Click"
OPTIONS = "Options"
ANNOUNCEMENT = "Casting"
SEE_SPELLS = "to see list of spells"
READY = "Ready"
INN = "Inn:"
SHOW_ITEMS = "Show items"
}
GetSpellInfo = <function> defined =[C]:-1
methods =
}
[317] cooldown = math_floor(cooldown)..' '..L['SEC']
You use this code for hearthstones, but not for items. As a consequence, item cooldowns under one minute are a little hard to read. :)
Thanks for your work.
The Innkeepers daughter looks like a Hearthstone, acts like a hearthstone and smells like a hearthstone.
Once you have it you throw away the normal one, because... why have two of something that is the same thing?
The problem lies in:
local function GetHearthCooldown()
local cooldown, startTime, duration
if GetItemCount(6948) > 0 then
startTime, duration = GetItemCooldown(6948)
It only has the item code for the normal hearthstone, the one you no longer have in your bags so the addon can't find the information.
A solution would be to make the addon get information from item#6948 (hearthstone) or 64488 (The Innkeeper's Daughter).
I simply replaced 6948 with 64488 in my file and I'm happy with it and everything works as it should =)
Even with the latest fix you still get the line:
Hearthstone:[your location] Not Available
in the mouseover tooltip.
should be under "-- IDs of items usable instead of hearthstone" since it is a hearthstone replacement (under "-- Miscellaneous atm") I know it doesn't matter but I think it's nice when there is an empty space (in-game) between the Miscellaneous items and the hearthstone =)
64457, -- The Last Relic of Argus
Even though the result location is random it's still a teleportation =P
Could you please add the The Innkeeper's Daughter ? id : 64488
Thank you ^^