BonusScanner2.0

Main (deDE)

An updated version of BonusScanner, a utility addon that scans your equipment for various bonuses such as Attack Power.

This addon was originally written by Crowly.

From the original page:

Scans your equipment for cumulative bonuses like additional spell damage and sums them up.

Basic Usage: BonusScanner.active = 1, when BonusScanner is active BonusScanner.bonuses always contains a table of the bonuses of the current equipment. Example: BonusScanner.bonuses['HEAL'] contains the current healing bonus.

BonusScanner:GetBonus(bonus) - returns total of a certain bonus type or 0 if not that bonus type is not present. - example: BonusScanner:GetBonus('CRIT') returns crit chance bonus of your current equipment.

BonusScanner:GetSlotBonuses(slotname) - returns table of bonuses on a certain item slot or an empty table if nothing present. - example: BonusScanner:GetSlotBonuses('Trinket0') returns bonuses on your first trinket slot

BonusScanner:GetBonusDetails(bonus) - returns slot distribution of a certain bonus type


BonusScanner:GetSlotBonus(bonus, slotname) - returns the bonus amount of a certain bonus type on a certain item slot.. - example: BonusScanner:GetSlotBonus('DMG', 'Head') returns the spell damage bonus on your helmet.

BonusScanner_Update() - gets called, after bonuses get updated. Empty function to hook into.


BonusScanner also provides a slash command, mostly for debugging purposes. The Command is /bonusscanner or /bscan. The options are: - /bscan show - shows all bonuses of your current equipment - /bscan details - shows bonuses with slot distribution - /bscan <itemlink> - shows bonuses of linked item (insert link with Shift-Click) - /bscan <slotname> - shows bonuses of given equipment slot

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
17 Dec 2006
Last updated
20 Feb 2007

Author