Download
(14Kb)
Download
Updated: 01-07-09 11:05 AM
Pictures
File Info
Updated:01-07-09 11:05 AM
Created:unknown
Downloads:7,528
Favorites:94
MD5:

Enchant Woot-O-Matic  Popular! (More than 5000 hits)

Version: 0.4.6
by: leethal [More]

Displays the actual effect of named enchants on tooltips, such as "Crusader", "Tuskarr's Vitality", "Shadow Armor" and "Icebreaker Weapon". Also includes Death Knight runes. Works in english and french, and partially german (no wotlk stuff).

The interface options (reachable via /ewom) lets you configure the color of the description text the addon injects into the tooltips.

I haven't played much in WotLK. Please post a comment if some spells are wrong or missing.

0.4.6: Added Death Knight runes (en only, do post translations!)
0.4.5: Added greater vitality.
0.4.3: Fixed compatibility with other tooltip mods
0.4.2: Le sigh, mistyped the TOC. Fixed now. I promise to test stuff properly prior to release next time! =P
0.4.1: Forgot to add the lib files to the TOC.
0.4: Fixed french. Added configuration panel that lets you set the color of the text added by this addon.
Optional Files (0)


Post A Reply Comment Options
Unread 08-07-08, 12:01 AM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Well, fiddled a bit and fixed it myself. The problem was that in your tooltip iteration, you put
Code:
    for i=1, frame:NumLines() do
while line 1 is the title, so if "sunfire" was in the title, it would replace it with the information. I fixed it with a simple change to
Code:
    for i=2, frame:NumLines() do
I also added deathfrost/exec. in the localization for enEN

file EnchantWootOMatic.lua
Code:
function EnchantWootOMatic:IterateTooltip(frame)
    local width = frame:GetWidth()
    for i=2, frame:NumLines() do
        local tooltip_row = getglobal(frame:GetName().."TextLeft"..i)
        local text = tooltip_row:GetText()
        for k,v in pairs(enchant_list) do
            if string.find(text, k) then
                tooltip_row:SetWidth(width)
                tooltip_row:SetText(string.format("%s\n%s", k, v), nil, nil, nil,0.5, 1)
            end
        end
    end
    frame:Show()
end
Localization.enEN.lua
Code:
	["Executioner"] = "Ignores 840 of your enemy's armor during 15 seconds.",
	["Deathfrost"] = "Inflicts 150 frost damage and reduces the target's melee,ranged, and casting speed by 15% for 8 seconds.",
	["Demonslaying"] = "Inflicts on a demon 75 to 125 holy damage and stuns for 5 seconds.",
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 11:42 PM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Replicate

Well, you can replicate this for yourself if your server has sunfire robes/handwraps unlocked. Area 52 US horde side has it unlocked for linking. For the robes, here is the replication code:

It's a link for sunfire robes enchanting with mongoose. While it doesn't exist, it does proper behavior for the item (i.e.: it shows the mongoose explanation) it borks the title (at least on my computer).

Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Sunfire robe +mongoose: \124cffa335ee\124Hitem:34364:2673:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
The following is for a sunfire robe with +6 stats. This one exists, and it still borks the title.
Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Sunfire robe +6 stats: \124cffa335ee\124Hitem:34364:2661:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
If you're up to fixing this (My apologies, I didn't noticed you haven't done anything to it in a year or so) how much job would it be to add the newest enchants? executioner+death frost.

p.s.: If the links above still don't work for demonstration what's going wrong, The problem must be on my side.

edit: Oh, and here's a link to sunfire robes alone. It doesn't break the title in that one.
Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Shift-click this to place a link into a chat message: \124cffa335ee\124Hitem:34364:0:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
Last edited by rinkx : 08-06-08 at 11:44 PM.
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 02:47 PM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Haven't poked this mod for ages, not even using myself. If you're using the mod, though, I'd be happy to fix any bugs you might have. Not sure what you mean, though, I'm not able to picture how it looks on your machine from your explanation alone. Perhaps you could provide a screenshot? Or at least try to include some additional details in your explanation.

- leethal
__________________
github.com/augustl
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 10:01 AM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Sunfire Robes, Sunfire handwraps...

The add-on shouldn't work on the item titles in tooltips.
E.g.: When I look at Sunfire Robes or Sunfire handwraps, I see: Sunfire on-equip: +(whatever) Arcane/Fire damage.
Report comment to moderator  
Reply With Quote
Unread 04-15-07, 04:04 AM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Bah, sorry for the Mongoose error. It used to be listed as a proc, simply misplaced it when I added localization in the latest version. Submitted an update now, it'll be available as soon as an admin has approved it.
Report comment to moderator  
Reply With Quote
Unread 04-15-07, 01:16 AM  
Wesslen
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 29
Uploads: 1
I've been looking for one of these... great.

Mongoose is a proc though, not equip.
Report comment to moderator  
Reply With Quote
Unread 04-14-07, 06:34 PM  
BlackZam
A Murloc Raider

Forum posts: 7
File comments: 51
Uploads: 0
nice addon.
Report comment to moderator  
Reply With Quote
Unread 04-14-07, 05:39 PM  
ploof
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 23
Uploads: 1
excellent. thanks.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: