**CombatGuard** is an ultra-lightweight, zero-bloat Quality of Life addon designed to prevent common accidental mistakes during intense combat in World of Warcraft.
### Features
* **Action Bar Drag Protection:** Automatically locks action bars and disables `Shift`-dragging abilities off your bars while active, safely restoring your original interface settings when disabled or upon logout.
* **Safe Combat Cursor Clear:** Automatically clears accidentally picked-up bag items from your cursor during combat without ever touching your action bar spells or active targeting reticles.
* **Combat Duel Auto-Decline:** Automatically declines incoming PvP duels and Pet Battle duels strictly while you are in combat (`InCombatLockdown()`), leaving out-of-combat requests untouched.
* **Important Popups Untouched:** Never blocks battle resurrections, summons, ready checks, party invites, or trade windows.
* **Minimap Button & Slash Command:** Includes a clean minimap toggle button (compatible with *MinimapButtonButton* and *EllesmereUI*) and `/cg` (`/combatguard`) slash command.
* **Multi-Version Support:** Works seamlessly across Retail (*Midnight* / *The War Within*), *Mists of Pandaria* / *Cataclysm Classic*, *TBC Classic*, and *Classic Era* / *Hardcore* / *Season of Discovery*.
### Usage
* **Left-Click** the minimap shield icon or type **`/cg`** in chat to toggle protection ON/OFF.
* **Drag** the minimap icon to reposition it around the minimap.