Category: oUF: Plugins
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
r5
Date:
06-20-2009 08:16 AM
Size:
2.69 Kb
Downloads:
2,623
Favorites:
62
MD5:
Pictures
Click to enlarge
oUF_WeaponEnchant on Caellian's layout.
oUF WeaponEnchant
For those of you updating to r4, take note that I've renamed PostUpdateIcons to PostUpdateEnchantIcons. The former name was too generic and should have been changed before release. Sorry for the inconvenience.

oUF_WeaponEnchant provides you with icons for your temporary weapon enchants. The code works pretty similar to the normal Auras element, mostly because half of it is the same code. All you need to in your layout is create a self.Enchant frame, set its dimensions and any options you want and you're good to go. You will also need to add oUF_WeaponEnchant to your layout's OptionalDependancies.

More information on how to use this can be found at the top of the Lua file.

A large part of the code was written during a sleepless night, so there is a slight chance of some things not working properly. If you happen to find one, please post a comment here and I'll try to fix it as soon as possible. The same goes for any suggestions you might have.

Credits:
haste for oUF and the Auras code, on which this is based.
Caellian for the idea and feedback.
  Change Log - oUF WeaponEnchant
r4:
* Renamed PostUpdateIcons to PostUpdateEnchantIcons to be more specific.
* Blizzard's TemporaryEnchantFrame is now hidden by default.

r3:
Initial commit.
  Optional Files - oUF WeaponEnchant
Sorry, there are currently no optional files available.
  Archived Versions - oUF WeaponEnchant
File Name
Version
Size
Author
Date
r4
3kB
Gotai
04-05-2009 12:13 PM
  Comments - oUF WeaponEnchant
Post A Reply Comment Options
Old 06-23-2009, 05:59 PM  
Gotai
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 22
Uploads: 7
Re: correct time!!

Quote:
Originally posted by shinchih2001
i download the new version
also have to use double times just can show correct weapon buff time
The problem with weapon enchants is that there doesn't seem to be any indication that the values returned by GetWeaponEnchantInfo have actually been updated after the new enchant is applied. Judging by your comments on Caellian's layout I assume you use that, which is working fine for me. No idea what could be causing the glitch for you, perhaps high(er) latency, I can't say for sure.

What you can try is opening up the Lua file, browse to line 180 (use ctrl-g in Notepad) and change self.elapsed > 1 to self.elapsed > 2 . Unfortunately I can't think of any better way to do this without storing durations for every possible enchant, which I don't want to do.
Gotai is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-23-2009, 11:49 AM  
shinchih2001
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
correct time!!

i download the new version
also have to use double times just can show correct weapon buff time
shinchih2001 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-05-2009, 05:06 PM  
Nightspirit
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 104
Uploads: 4
Quote:
Originally posted by Wimpface
Good work, not that i'll ever use it myself as i don't see why you couldn't just use the default auras for this?
Because even Blizzard makes the weapon enchant differ from the rest of the auras.
Nightspirit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-05-2009, 01:47 PM  
Wimpface
A Cobalt Mageweaver
Interface Author - Click to view interfaces

Forum posts: 225
File comments: 244
Uploads: 21
Good work, not that i'll ever use it myself as i don't see why you couldn't just use the default auras for this?
__________________
Do you like waffles?
Wimpface is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-05-2009, 03:24 AM  
Darthgnomer
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 7
File comments: 13
Uploads: 1
Frost, Shadow, Wizard, and Mana Oils and warlock Spellstones and Firestones as well.
Darthgnomer is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-04-2009, 09:57 PM  
Caellian
A Chromatic Dragonspawn
 
Caellian's Avatar
Interface Author - Click to view interfaces

Forum posts: 163
File comments: 663
Uploads: 4
Quote:
Originally posted by DJJoeJoe
Interesting, isn't the only weapon enchants left in the game poisons and fishing?
Shamans: flametongue, windfury and so on.
__________________


Quote:
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-04-2009, 09:42 PM  
DJJoeJoe
A Murloc Raider
 
DJJoeJoe's Avatar

Forum posts: 5
File comments: 179
Uploads: 1
Interesting, isn't the only weapon enchants left in the game poisons and fishing?
__________________

Joetest - Ner'Zhul - Disciples of Death
DJJoeJoe is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.