Detox
Detox is designed to assist in removing debuffs from party or raid members. It is inspired by Decursive and offers features such as customizable filtering, priority curing, live debuff display.
Installation
- Download the addon.
- Unpack the .zip
- Move the Detox folder into your Interface/AddOns directory
- Restart the game.
Optional: FuBar & plugins
Git Links
Command | Description |
---|---|
/detox | Displays all commands in chat. |
/detox clean | Initiates an immediate attempt to clean the current group/raid. |
/detox priority | Toggles the current target's inclusion in the priority list. |
/detox priority group | Toggles the current target's group for priority curing. |
/detox priority class | Toggles the current target's class for priority curing. |
/detox blacklist | Blacklists units out of line of sight for a set duration. |
/detox feedback | Toggles combat text feedback (using SCT5 or Blizzard's default). |
/detox filter | Configures filtering options for debuffs and conditions. |
/detox livelistoptions | Sets options for the live list display. |
/detox hide | Hides or shows the minimap icon. |
/detox profile | Sets or switches the addon profile. |
/detox standby | Suspends or resumes the addon. |
/detox debug | Enables or disables debugging messages. |
/detox about | Prints addon info. |
Keybindings (configured in Key Bindings options)
- Clean group: Shortcut to run Detox:Clean().
- Toggle target priority: Shortcut to toggle current target in the priority list.
- Toggle target group priority: Shortcut to toggle current target's group in the priority list.
- Toggle target class priority: Shortcut to toggle current target's class in the priority list.
Preview
Minimap options:
Live List:
Key Features
- Automatic detection and curing of debuffs
- Customizable priority list for curing targets
- Filtering options by debuff type, range, stealth, and class
- Live list of debuffed units with optional sound alerts
- Integration with FuBar and minimap icon
- Localization support for multiple languages
- Support for multiple external libraries
Final Tips
- Enable debugging in the options for detailed logs
- Use keybindings to quickly clean or toggle priorities
- Customize skip list to avoid unnecessary curing
- Adjust update speed for optimal performance
- Use the live list to monitor debuffs in real-time
Main Functions
Spellbook Management
ParseSpellbook()
: Reads available spells for curingRescanSpellbook()
: Checks if spellbook has changedCheckPet()
: Detects pet type for specific spells
Curing Logic
Clean()
: Initiates the curing processUnitCurable()
: Checks if a unit can be curedCureUnit()
: Applies curing spells based on debuffsCastCuringSpell()
: Casts specific spells on units
Combat Feedback
MessageCombatFrame()
: Displays messages in SCT, MikSBT, or Blizzard FCT
Debuff Management
AddSkippedDebuff()
: Adds debuffs to skip listRemoveSkippedDebuff()
: Removes debuffs from skip listPopulateSkipList()
: Updates UI menu for skip list management
Priority Handling
PriorityPrint()
: Notifies when a target is added/removed from priorityPriorityToggle()
: Adds/removes current target to/from priority by class, group, or individualUpdatePriority()
: Recomputes and sorts priority listCreateOptionsTable()
: Builds dynamic options menu for prioritizationGetPriority()
: Calculates priority score for each unit
Live Display & FuBar
OnTooltipUpdate()
: Shows debuffs and prioritiesGetRaidColors()
: Gets color coding for classes