****I am no longer updating this mod. If you wish to get similar functionality I suggest looking at Ratings Buster which now does some similar stat Calculations to what I was trying to do here.
Ever loot a new item and it looks like it's better, but when you equipped it the stat changes weren't what you expected? Compare Stats will tell you the basic stat differences between an equipped item and one that you are moused over. Besides calculating the differences in the basic stats it will also calculate HP and mana gain/lose, attack power from strength and agility and dps based on attack power and ranged attack power.
Features:
* Calculates the difference between an equiped item's stats and one you moused over.
* Calculates HP and Mana gain or lose when either item has Stamina or Intellect. Also takes into account Tauran racial bonus of 5% to health.
* Calculates attack power gain or lose based on formulas for each class.
* Calculates the added DPS gained or lost from the attack power bonus.
* Shows attack power and DPS changes for all forms if you are a druid.
* Ranged Attack Power and DPS gained or lost.
* Compare to offhand slot by holding down the Alt key. This works with rings and trinkets as well.
Things to do/bugs:
I am working on adding more calculated stats to the tooltip; Crit%, dodge, parry, block, etc.
* Make it possible to switch between embedded data and having it's own tooltip.
* If the Gametooltip is above a certain number of lines CompareStats data will display in it's own tooltip regardless of selected mode.
* Create saved variables so user can set where the tooltip is anchored to.
Changes:
9/23/06 1.2 - Fixed the bug where the mod would not display info at first until the alt key was pressed. Should start working immediately now.
8/30/06 1.1 - Returned to embedding the data in the game tooltip for now.
Added Alt key functionality for comparing 1h weapons to the offhand. This works with rings and trinkets as well. The word "Alt" will appear in the tooltip to indicate this.
Offhand items will now compare to the main hand if a 2h weapon is equipped. The word "Main" will appear in the tooltip to indicate this.
2h weapons will now compare to both weapon slots if an offhand item is equipped. The word "Both" will appear in the tooltip to indicate this.
Confirmed that the latest version of Bagnon works without adding any additional code.
Druid stats for bear and cat form should now be correct.
Improved code to address data disappearing from the tooltip.
Using GFWTooltip.lua, GFWUtils.lua and GFWTable.lua from Fizzwidget's addons. They simplified a lot of the work I was doing. So a special thanks to Fizzwidget for some great mods and awesome work.
7/27/06 1.0 - New version number due to complete rewrite of the mod.
No longer dependent on EnhTooltip or Stubby.
Added Ranged Attack Power and Ranged DPS based on attack power.
Due to the new tooltip most should find the text to be a lot more readable at higher resolutions.
Also, the stats are grouped now, with basic stats appearing at the top of the tooltip and calculated stats coming after.
Lines of text are now colored red or a shade of red when they are negative and green or some shade of blue or yellow if they are positive.
Added a localization file.
Updated the screen shot.
Updated the TOC (no really, I did this time)
The only bug I know of deals with the tooltip when there is not an item equipped to compare to. Hopefully the author of BonusScanner gets back to me on this as I think I'm bypassing something in his mod that updates his tables.
7/23/06 0.3 - Changed the file name to reflect the current version of WoW. For some reason I put 1.10.
Changed the tooltip config to embedded to fix an issue with text going outside the tooltip. This may also fix the scaling issues some people are having. Let me know. I tested it at both 1024x768 (what I play at) and 1280x1024 and it looked good to me.
Added the latest version of EnhTooltip to the zip file. If you use Auctioneer then stay with the versions of Stubby and EnhTooltip you already have, CompareStats should work fine with any recent version.
7/21/06 0.2 - Added attack power calculations and dps based on basic stats. This only calculates dps based on attack power, it does not look at weapon stats.
7/21/06 0.1 - Initial release
Dependencies: BonusScanner (included in the zip file)