If you're like me, you like to avoid paying unnecessary fees at vendors.
FactionDiscount AutoRepair is an addon that automatically repairs all your gear when you visit a vendor providing a specified reputation level (and hence, a specified Faction Discount). I always avoided AutoRepair addons because they would blatantly repair at any repair merchant, and I'd lose my 20% exalted discount just by visiting a repair bot in a raid. Hence, I decided to write an addon that can be set to repair only when I receive a specified faction discount.
FactionDiscount AutoRepair is a sister addon to FactionDiscount AutoStock!
How is FactionDiscount AutoRepair different from other AutoRepair addons?
As mentioned above, FactionDiscount AutoRepair lets you choose what discount is required before it automatically repairs for you. Don't lose pocket change by repairing at a repair bot when you didn't want to!
What configuration is possible?
I stumbled upon the API function that allows checking of rep levels of merchants, but it is unfortunately unable to differentiate between a Friendly rep, and any NPC that is "Green named."
Therefore there are 4 threshold settings possible:
- Always Repair (i.e. neutral and above)
- Repair w/ Honored (and above) discounts
- Repair w/ Revered (and above) discounts
- Repair w/ Exalted discounts only
In addition to setting the discount required to AutoRepair, you can set the Enable/Disable state.
Each character will have an independent setting.
Each character defaults to the Enabled state, and the Repair w/ Exalted discount threshold.
Configuring FactionDiscount AutoRepair
Since I've never been very good at GUIs (and in many simple cases, prefer slash-command configuration), configuration is done entirely through slash commands. See below for a list.
What slash commands are available?
Code:
/fdar - Lists available commands
/fdar enable | disable - Enables/Disables AutoRepair for the current character
/fdar status - Disables the enable state and discount threshold
/fdar always | honored | revered | exalted - Sets the faction discount threshold required to AutoRepair
(See slash commands screenshot)
Example: Enables FDAR and sets the threshold to Revered.
/fdar enable
/fdar revered
|
I like this addon. Do you have a similar one that autobuys reagents?
Yep, please take a look at
FactionDiscount AutoStock, capable of autobuying reagents and configurable for other items, too.
Known Quirks/Issues- Latency can cause the repair not to be processed if the player does not wait at the merchant long enough. (Unfixable, sorry!)
- Friendly discount threshold is not a selectable configuration.
(I chose to forego this because the API does not support it conveniently; instead I'd have to use Tooltip Scanning - a higher memory footprint and a workaround that sometimes fails. I figured most people interested in this mod would want an Honored or above discount anyways.)
- Some messages indicate you received a Honored/Exalted discount instead of an Honored/Exalted discount. This is just a linguistic defect that I consider low-priority.
Possible Future Features- Chose whether to repair using Guild Bank funds or your own funds
- Slash command to set the threshold to the highest reputation level you have on that character
- Lower the memory footprint when this and FactionDiscount AutoStock are used together.
Want to help?
I'm always interested in Bug Reports and Feature Requests. I try to keep this addon lightweight and simple, so in some cases I may turn down extensive requests.
I'm also a recent college graduate paying off my loans from undergraduate+graduate school. Any donations you feel like sending my way would be
gratefully appreciated and allow me more time to work on addons