Description
# RaidCheck — TBC Anniversary
**One window to check your whole raid — gear, enchants, gems, consumables — plus fair loot rolls with a preparation bonus, ready check, pull timer, group optimizer and SoftRes import.**
Built for **WoW TBC Classic (Anniversary, Interface 20504)**. Čeština / English.

## Why RaidCheck?
- **See every raider at a glance** — flask, both elixirs, food, enchants, gems and gear-vs-BiS — no manual inspecting.
- **Reward prepared players on the roll** — a transparent *preparation bonus* is added to `/roll`.
- **Works for everyone** — players **without** the addon still roll normally and get their bonus; they’re even whispered their bonus at the ready check. *RaidCheck is not mandatory for your raiders — only the raid leader needs it.*
## ✨ Features
### 🔍 Raid overview
For each player: **Flask · Elixir · Food · Scroll · Enchants · Gems · Gear (vs BiS) · iLvl · GearScore · Bonus · SoftRes**. Green tick / amber `?` / red ✗ per category. Click a row for a **slot-by-slot detail** (equipped vs recommended BiS, missing enchants/gems framed in red). Filter “issues only”, sortable columns, colored iLvl/GS thresholds.

### 🧪 Consumables — no inspect needed
Detected from **buffs** — flasks, both battle/guardian elixirs, food, scrolls. Live-updated via aura events and at every ready check.
### ⚔️ Gear vs BiS + GearScore
Compared to embedded **BiS lists (wowtbc.gg & Wowhead**, switchable). **TacoTip-style GearScore** and iLvl. Phase **T5 (SSC / Tempest Keep)**.
### 🎲 Fair loot rolls — the preparation bonus
- Everyone rolls a normal `/roll 1–100`; the leader’s RaidCheck **adds each player’s preparation bonus**.
- Bonus is **proportional**: food `+X`, flask/elixir `+X`, enchants `× done/required`, gems `× good/sockets`. Weak/cheap enchants don’t count.
- **No addon? No problem** — members just `/roll`, still get their bonus, and are **whispered** their bonus at the ready check.
- **Live roll table** for everyone (winner highlighted, MS/OS tags, your own row marked), **anti-cheat** (anyone rolling a fake range is flagged), and a **Trade-winner** button that opens the trade and inserts the item.

### 📥 SoftRes import — no Gargul required
Import the **softres.it CSV**. Reservers get **priority** in the roll (only they roll a reserved item), an **SR column** in the overview with a hover list, and you can **add reserves manually** (shift-click an item from AtlasLoot/bags). SoftRes **syncs to the whole raid**.

### 🔔 Ready Check & Pull
MRT-style ready check with **real buff icons**, both elixirs separately, **durability sharing**. Pull countdown to raid warning.

### 🧩 Group optimizer
Computes the best raid layout for **buff synergy** (WoWSims-derived weights, Anniversary buff model — totems/auras party-scoped, raid-wide Bloodlust ignored) and rearranges with one click.

### 📣 Announce / Whisper / Hall of Shame
Tell the raid — or whisper individuals — exactly what to fix before the pull. Shared, instance-gated **Hall of Shame**.
### 👑 One addon for leader & members
RaidCheck **detects your role**. The **leader** configures the bonus and broadcasts it; **members** are passive and just see their **Bonus** column — no clutter.
## 📦 Install
Extract the **`RaidCheck`** folder into `World of Warcraft\_anniversary_\Interface\AddOns\` and type `/rc`.
## ⌨️ Commands
`/rc` (or `/raidcheck`) — `scan`, `ready`, `pull`, `groups`, `roll`, `reports`, `settings`, `lang`, `autoscan`, `threshold ilvl|gs <n>`
## 🌍 Languages
**Čeština / English** — switch in-game (`/rc lang`).
----- ČESKY -----
# RaidCheck — TBC Anniversary
**Jedno okno na kontrolu celého raidu — gear, enchanty, gemy, konzumy — k tomu férové loot rolly s bonusem za připravenost, ready check, pull odpočet, optimalizér skupin a import SoftRes.**
Pro **WoW TBC Classic (Anniversary, Interface 20504)**. Čeština / English.
## Proč RaidCheck?
- **Vidíš celý raid na jeden pohled** — flask, oba elixíry, jídlo, enchanty, gemy a gear vs BiS — bez ručního inspectu.
- **Odměníš připravené hráče u rollu** — k `/roll` se přičte přehledný *bonus za připravenost*.
- **Funguje všem** — hráči **bez addonu** rollují normálně a bonus stejně dostanou; navíc jim ho při ready checku pošeptám. *RaidCheck není pro hráče povinný — stačí, když ho má raid leader.*
## ✨ Co umí
### 🔍 Přehled raidu
U každého hráče: **Flask · Elixír · Jídlo · Svitek · Enchanty · Gemy · Gear (vs BiS) · iLvl · GearScore · Bonus · SoftRes**. Zelená fajfka / žlutý `?` / červený ✗ u každé kategorie. Klik na řádek = **detail slot po slotu** (nasazený vs doporučený BiS, chybějící enchanty/gemy v červeném rámečku). Filtr „jen problémy", řazení, barevné prahy iLvl/GS.
### 🧪 Konzumy — bez inspectu
Detekce z **buffů** — flasky, oba battle/guardian elixíry, jídlo, svitky. Aktualizuje se živě i při každém ready checku.
### ⚔️ Gear vs BiS + GearScore
Porovnání proti **BiS listům (wowtbc.gg & Wowhead**, přepínatelné). **GearScore jako TacoTip** + iLvl. Fáze **T5 (SSC / Tempest Keep)**.
### 🎲 Férové loot rolly — bonus za připravenost
- Každý hodí normální `/roll 1–100`; leaderův RaidCheck **přičte bonus** za připravenost.
- Bonus je **poměrový**: jídlo `+X`, flask/elixír `+X`, enchanty `× hotové/vyžadované`, gemy `× dobré/sockety`. Slabé/levné enchanty se nepočítají.
- **Nemáš addon? Nevadí** — hodíš `/roll`, bonus dostaneš a při ready checku ti ho **pošeptám**.
- **Živá tabulka rollů** pro všechny (vítěz zvýrazněný, MS/OS štítky, tvůj řádek označený), **anti-cheat** (kdo si napíše falešný rozsah, označí se), a tlačítko **Trade vítěz**, které otevře obchod a vloží item.
### 📥 Import SoftRes — bez Gargulu
Naimportuj **CSV ze softres.it**. Rezervující mají v rollu **prioritu** (na rezervovaný item rollují jen oni), v přehledu je **sloupec SR** s tooltipem, a jde **přidat rezervaci ručně** (shift-klik item z AtlasLootu/batohu). SoftRes se **synchronizuje celému raidu**.
### 🔔 Ready Check & Pull
Ready check ve stylu MRT se **skutečnými ikonami buffů**, oba elixíry zvlášť, **sdílení durability**. Pull odpočet do raid warningu.
### 🧩 Optimalizér skupin
Spočítá nejlepší rozesazení pro **buff synergie** (váhy z WoWSims, model Anniversary — totemy/aury party-only, raid-wide Bloodlust se neřeší) a na klik přeskládá.
### 📣 Vypsat / Pošeptat / Síň hanby
Řekneš raidu — nebo pošeptáš jednotlivcům — co si mají dodělat. Sdílená **Síň hanby**.
### 👑 Jeden addon pro leadera i členy
RaidCheck **sám pozná roli**. **Leader** nastaví bonus a rozešle ho; **člen** je pasivní a vidí jen svůj **Bonus** sloupec.
## 📦 Instalace
Rozbal složku **`RaidCheck`** do `World of Warcraft\_anniversary_\Interface\AddOns\` a napiš `/rc`.
## ⌨️ Příkazy
`/rc` (nebo `/raidcheck`) — `scan`, `ready`, `pull`, `groups`, `roll`, `reports`, `settings`, `lang`, `autoscan`, `threshold ilvl|gs <n>`
## 🌍 Jazyky
**Čeština / English** — přepínání ve hře (`/rc lang`).


