Detox

From Turtle WoW Wiki

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

  1. Download the addon.
  2. Unpack the .zip
  3. Move the Detox folder into your Interface/AddOns directory
  4. 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 curing
  • RescanSpellbook(): Checks if spellbook has changed
  • CheckPet(): Detects pet type for specific spells

Curing Logic

  • Clean(): Initiates the curing process
  • UnitCurable(): Checks if a unit can be cured
  • CureUnit(): Applies curing spells based on debuffs
  • CastCuringSpell(): Casts specific spells on units

Combat Feedback

  • MessageCombatFrame(): Displays messages in SCT, MikSBT, or Blizzard FCT

Debuff Management

  • AddSkippedDebuff(): Adds debuffs to skip list
  • RemoveSkippedDebuff(): Removes debuffs from skip list
  • PopulateSkipList(): Updates UI menu for skip list management

Priority Handling

  • PriorityPrint(): Notifies when a target is added/removed from priority
  • PriorityToggle(): Adds/removes current target to/from priority by class, group, or individual
  • UpdatePriority(): Recomputes and sorts priority list
  • CreateOptionsTable(): Builds dynamic options menu for prioritization
  • GetPriority(): Calculates priority score for each unit

Live Display & FuBar

  • OnTooltipUpdate(): Shows debuffs and priorities
  • GetRaidColors(): Gets color coding for classes