# AutoCombatPot

**AutoCombatPot** is a lightweight, event-driven World of Warcraft addon that eliminates the hassle of manually swapping combat potions on your action bars.

It automatically manages a dedicated character-specific macro that dynamically updates to use the highest quality potion, and/or the fleeting potion, currently sitting in your bags.

## Features

* **Smart Prioritization:** Always prioritizes the highest rank of your selected potion in your inventory.
* **Character-Specific Configuration:** Configure your preferred potion per-character
* **Auto-Macro Creation:** The addon automatically generates a character-specific macro named `AutoCombatPot`. You only need to drag it to your action bar once.

## Supported Potions

* Potion of Recklessness
* Draught of Rampant Abandon
* Potion of Zealotry
* Light's Potential

and the fleeting versions

## 🚀 Installation

**Recommended:**
Download and install **AutoCombatPot** via the [CurseForge App](https://www.curseforge.com/) or your preferred addon manager (like WowUp).

**Manual Installation (GitLab):**

1. Download the latest release `.zip` from the Releases tab.
2. Extract the folder.
3. Move the `AutoCombatPot` folder into your World of Warcraft `_retail_\Interface\AddOns` directory.

## Usage & Configuration

1. Log into the game.
2. Type `/acp` in chat to open the AutoCombatPot configuration menu.
3. Select the potion you want your current character to use.
4. Type `/m` in chat to open your Macros window.
5. Navigate to the **Character Macros** tab, locate the `AutoCombatPot` macro, and drag it onto your action bar.

## Contributing

Contributions, issues, and feature requests are welcome! If you want to add a new potion to the dictionary, simply update the `addonTable.potionChoices` array in `AutoCombatPot.lua` and submit a PR.

## 📜 License

Distributed under the BSD License.
