Cast a configurable spell on the current tank with one keybind or macro click. Set up to 5 spell slots in-game by Spell ID.
Works with any spell, no class restrictions.
Inspired by the architecture of TankMD by Oppzippy, but generalized so you choose the spells.
-------------------------------------------------------------------------------------------------------
Features
- 5 configurable spell slots — assign any Spell ID per slot from the in-game options panel
- Each slot has its own click button:
CastOnTankButton1throughCastOnTankButton5 - Automatic tank targeting — follows the current tank(s) in your party or raid
- Optional Focus prioritization — your focus target (when in your group) takes the first slot
- Tank selection methods: Tank Role Only, Tanks + Main Tanks, Prioritize Main Tanks, Main Tanks Only
- Combat-safe — changes are queued and applied as soon as combat ends, never during lockdown
- Profiles via AceDB (per-character or shared across characters)
How to use
- Install the addon and reload your UI
- Open the config panel:
/castontank(or/cot), or via Game Menu → Options → AddOns → CastOnTank - In the Spells tab, paste a Spell ID into any slot
- Bind the action via Key Bindings → CastOnTank, or create a macro: /click CastOnTankButton1
- Press the key (or click the macro): the spell fires on the first tank.
Slash commands
/castontankor/cot— open the config panel/cot list— print active slots and their current targets/cot debug— verbose diagnostic output for all 5 buttons