WeaponRebuff (Redux2) WoW 2.x+ compatible

WeaponRebuff is a small mod that makes buffing weapons (and keeping them buffed) simple and easy. Rebuffing a weapon is a mouse-click away and with warnings for timed buffs, charge-based buffs, and low-item-count for buff items (e.g. poisons, sharpening stones, etc) you'll never be caught unintentionally unbuffed again.

how to use:
- left mouse-click rebuffs your weapon with the last known charge/spell
- right click opens a buff selector of available buffs and charges for your weapons

supports:
- rogue poisons
- sharpening stones
- spell-based weapon buffs for shamans/druids
- wizard & mana oils
- fishing lures
- and user defined spells and items

features:
- text or icon selector buttons (w/ resizable fonts)
- different combat / non-combat selector configurations
- option to auto-show buff selector menu when combat starts (for those cases when you may want to change the buff you're using mid-combat (as in a raid) or in PvP (when waiting for the combat timeout))
- a range of buff selector layouts to help fit into any UI layout
- optional warning sounds your buffs are fading or have faded
- optional text warnings your buffs are fading or have faded
- optional text warning when running out of buffing-items (poisons, etc) 
- hide/show off-hand
- show/hide buff text (for the minimalists)
- warning sounds from in-game, registered SharedMedia sounds, or replace the two included .wav files to provide your own
- option to set the warning threshold from 1 to 60seconds
- automatic adaptation to WindFury
- vertical or side-by-side icon display
- strata control (move it above or behind those pesky windows)
- dual-buffing for spell-based buffs: since most (all?) of these type spells (such as shaman rockbiter and flametongue) cast only on the main hand, buffs can be "applied" to the off-hand shield allowing both buffs to be available
- a default list of many buffing items and spells is included but you can add your own spells and items to those lists (introduced to let users better keep up with changes in the game when the author isn't quite so fast; however, the side effect is that any spell or item can be configured to display on the Buff Selector bar)
- configurable FuBar/MiniMap Button click-modes (click/shift-click/ctrl-click) for convenience
- 2-Buff Mode option (hides after two buff selections instead of one)  
- One-time "2-Buff Mode" when Shift-RightClicking (when you don't want it as a constant feature)
- "Fishing Mode" toggle (available from the FuBar/MiniMap button click events). When "on" an "F" will dislay in the FuBar caption (instead of "m/o") and only fishing lures will display as buffing options.

commands:
- /wr - options & help
- /wr lock - toggles the lock state of the frame
- /wr config - opens the configuration menu

Two .wav files (warning.wav and lost.wav) are included. You can replace them with your own .wav files, just name them "warning.wav" and "lost.wav" respectively

( WeaponRebuff is a continuation of this wonderful little mod originally written by Opt )

** TRANSLATION HELP REQUESTED **
The German and French translations could use additional assistance.

--------------------------------------------------
Changes for 3.0 RELEASE (Revision: $Rev: 43040 $ on $LastChangedDate: 2007-07-07 02:07:50 -0400 (Sat, 07 Jul 2007) $)

- Configuration window shoved into the dustbin
- Commandline configuration (/wr, /weaponrebuff) conformed to ACE standard

- Inelegant "workaround":  the annoying "lost buff" warning when swapping to an unbuffed weapon (notable for rogues who swap out weapons for ambush/backstab) is caused because the alarm is processed before the inventory change event is processed, so the suppressor is set and if the alarm wasn't already given, it would have been suppressed.  Workaround treats any "> 1min to lost" as an automagically suppressed event.  Also dry coded the warning to auto-suppress if > 5 seconds remaining during the last 60 seconds.
- Translations are badly out of date.  Don't complain, contribute.
- Fixed Frame Strata bug
- Fixed a saved variables bug

- Added Waterfall support (b/c GUI > multi-layered commandline options)
- Added SharedMediaLib support
- Added to innate sounds
- Added independent sound/text alerts to "about to lose buff" and "lost buff" areas 
- Added Innate FuBar Support (no need for additional plugins)
- Added in Auto-Ignore for WindFury (I think...)
- Added configurable FuBar/MiniMap button click responses
- Added 2-Buff Mode (hides after 2 buff selections instead of one)  
- Added one-time "2-Buff Mode" when Shift-RightClicking to bring up the Buff Selector
- Added 'Fishing Mode' (avail from click events): when active only fishing lures are displayed in the buff selector
- Added independant categories for items (Poisons, Oils, Lures, Stones, and Misc).  (Rogue Enchanters rejoice)  NOTE: If you add a buff into two categories, it's "number of items" count will be suitably increaed

- Added User Configurable Buffs -- WeaponRebuff supplies a default list of Item-Based and Spell-Based buffs; however, Blizzard being Blizzard and the author being less than omniscient there are apt to be lapses as the game expands, secretarial errors, or just plain poor translations.  This system allows the user to update on-the-fly as new buffing items are encountered or new spells added to the game.  

NOTE 1: These lists are per character so if you want a particular goodie to be added to more than one character you'll have to add it to each char -- one of these days I'll rework how that's all handled but "working at all" trumps "spit polished and shiney enough to bring home to mother"

NOTE 2: IN NO WAY should this replace PMing the author about new finds to keep the default list updated.  Instead, it is added as a way to keep the user happy and let the author get a good night's sleep.

As an unintended (but interesting) side effect, using this system you can add any spell or item to the Buff Selector.  I found myself putting potions and things used "only in combat" on it just for kicks and with WeaponRebuff set to always open the Buff Selector on combat, it proved a pretty cool pop-up.  (You do stuff like this at 3:30am while doing final testing, I'm sure there's medication for it.)


--------------------------------------------------
** REPLACE THIS BUFF? **
Apparently they also removed the "bypass the stupid replace dialog" ability in 2.0 so I removed the option till such time as we can find a way to bypass the damn thing.

--------------------------------------------------
Location

PLEASE NOTE:  I'm moving my primary hosting to http://www.wowinterface.com/downloads/info5604-WeaponRebuffRedux2.html b/c I never did like ui.worldofwarcraft.com and curse-gaming's new site makes me want to hurl (harder to get a download going and when you do get it it's prepended with a ton of crap that makes finding your mods horrific).  I'll still check them but not as frequently as I'll be checking wowinterface.com.
