FuBar_AmmoFu
Keeps track of you ammunition, be it with thrown weapons, with
bullets/arrows, or with soul shards.
German Translation: Chinkuwaila
TO INSTALL: Put the FuBar_AmmoFu folder into
\World of Warcraft\Interface\AddOns\
Features
Keeps track of bullets/arrows
Keeps track of thrown weapons
Keeps track of soul shards
Can show in percentage. (based on bag space of your ammo/soul bags)
TO INSTALL: Put the FuBar_AmmoFu folder into
\World of Warcraft\Interface\AddOns\
With 3.1 Thrown weapons seem to have no durability anymore?
This is what breaks AmmoFu, as it is searching for the durability line in the tooltip and cannot find it.
As a quickfix (not sure if that was intended at all), you can do the following:
File:
AmmoFu.lua
Function:
AmmoFu:OnTextUpdate()
Section:
if GetInventoryItemQuality("player", self.rangedSlotId) ~= nil and subtype == L["Thrown"] then
Comment out line 104:
Gratuity:SetInventoryItem("player", self.rangedSlotId)
Comment out line 105:
current, total = Gratuity:FindDeformat(DURABILITY_TEMPLATE, nil, nil, nil, true)
Add below:
current = 100
total = 100
Now AmmuFu always displays 100% durability for thrown weapons. If/when it gets changed again, be sure to undo the changes (comment out the added lines, uncomment 104&105)
Edit
~ wasn't displayed properly in the posting, have to write it twice in a row to show up.
patch 3.1 - if i have a thrown weapon equiped i get this error:
["message"] = "Interface
AddOns
FuBar_AmmoFu
AmmoFu.lua:148: attempt to perform arithmetic on local 'current' (a nil value)",
Is working with 3.0.2
update?