Skip to content

SokratisV/WhatItDrops

Repository files navigation

WhatItDrops

Target any enemy in World of Warcraft (TBC Classic / Anniversary) and instantly see its loot table.

License: GPL v3 Version WoW Interface

WhatItDrops shows Wowhead‑accurate drop rates for whatever you're looking at — no website, no alt‑tab. Target a mob, open the window, and see exactly what it drops and how often. Search items or NPCs by name, drill into "who drops this", list the bosses of the instance you're standing in, and see which items a quest needs and where they come from.

Drop rates are crowd‑sourced Wowhead measurements (via the LootCodex database), so they reflect live TBC Classic — not emulator approximations.

Features

  • 🎯 Loot table for your target — via /loot, a keybind, or auto‑show on target.
  • 🔎 Item & NPC browser — search by name; click an item to see every NPC that drops it, or click an NPC to open its loot table.
  • 🐉 Instance boss list — the keybind, used with no target inside a dungeon/raid, lists that instance's bosses, each clickable to its loot.
  • 📜 Quest loot — a "Loot Needed" button in the quest log shows the items the selected quest needs and where they drop. Quest‑class drops are flagged with a yellow ! in the loot window.
  • 🗺️ Minimap button — left‑click reloads the UI, right‑click does a loot lookup, drag to reposition. Toggle it in /loot config.
  • 🎨 Theming — Blizzard default or a flat / ElvUI skin.
  • 🪶 Lightweight & offline — item/NPC names and quality are baked in (no GetItemInfo flicker), and per‑region data is loaded on demand so memory tracks where you actually play.

Usage

Command What it does
/loot Loot table for your current target.
/loot config Open settings & keybinds.

Keybind (default CTRL‑L): looks up your current target.

In the loot window: Hide common loot drops greys/whites, Show world drops includes the generic world‑drop pool, Ctrl‑click an item previews it in the dressing room, and Shift‑click links it in chat.

What's in this repo

This is a small family of addons — one always‑loaded UI addon plus per‑region data packs that load on demand:

Addon Loads Purpose
WhatItDrops always (~930 KB) UI, slash commands, keybinds, item browser, the region loader, and baked item/NPC names + quality.
WhatItDrops_EasternKingdoms / _Kalimdor / _Outland / _Instances / _Misc LoadOnDemand (~0.3–1.5 MB each) Per‑continent / per‑instance loot data, loaded only for the region you're in.

⚠️ All six folders must sit directly under Interface/AddOns/ — the data packs are separate LoadOnDemand addons that the main addon loads via LoadAddOn, so they can't be nested inside one folder.

Data & accuracy

Loot rates, items, world‑drop flags, names, and quality come from the LootCodex addon's Wowhead‑cache‑derived database (by Coldnova, GPL v3 — itself derived from cmangos/tbc-db). NPCs are bucketed into per‑continent / per‑instance partitions using the cmangos/tbc-db creature spawn table, so the client only parses the region you're in.

Boss list note: the Classic/Anniversary client has no Encounter Journal API, so bosses are derived from the world DB (a single‑spawn rare+ dropper, or a Rank‑3 elite). This nails 5‑man rosters; the gap is script‑summoned raid bosses (Ragnaros, Majordomo, Nefarian), which have no spawn point to map to an instance.

Regenerating the bundled data is documented in WhatItDrops/README.md.

Contributing

Bug reports and feature ideas are welcome — see CONTRIBUTING.md and open an issue. Changes are tracked in CHANGELOG.md.

License & credits

Distributed under the GNU General Public License v3.0 — see LICENSE.

This project incorporates data generated from LootCodex (GPL v3) and cmangos/tbc-db (GPL v3); as a derivative work it is necessarily GPL v3. Credit to Coldnova (LootCodex) and the CMaNGOS project.

About

World of Warcraft (TBC Classic / Anniversary) addon — instant loot tables for any target via Wowhead/LootCodex data, with an item & NPC browser, quest-item markers, instance boss lists, and a copyable Wowhead link.

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors