尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A Draft Simulator
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Dota 2 Captain's Mode draft trainer. Next.js (App Router) on Vercel, data from the OpenDota API.
/review after the draft./ranked) — fully manual: enter bans, your team's picks (by position) and enemy picks
as they happen in a real ranked All Pick game. Suggests heroes for your position (or any open slot):
pro position data, Immortal win rate, counters vs enemy picks, synergy. Grades your pick and lanes./play) — captain vs captain in a shared room with a 6-character code. Spectators can watch.
The server runs the turns, timers, reserve time and timeouts; each captain gets their own live or blind grades.| Route | Source | Cache |
|---|---|---|
/api/heroes | OpenDota /heroStats (names, roles, portraits, pro + Immortal stats) | 12 h |
/api/matchups/[id] | OpenDota /heroes/{id}/matchups | 24 h |
/api/quiz | OpenDota /proMatches + /matches/{id} | 1 h / 7 d |
Hero portraits load from Valve's CDN using the image path OpenDota returns.
Optional env var: OPENDOTA_API_KEY for higher rate limits.
Rooms are stored in Redis. In Vercel: Project → Storage → add Upstash for Redis (free tier is fine).
It sets KV_REST_API_URL / KV_REST_API_TOKEN automatically; redeploy afterwards.
Without it the app falls back to in-memory rooms, which reset between server instances (local dev only).
Clients poll /api/rooms/[code] once a second.
Redis keys: dl:teams (all teams, JSON), dl:history (latest 400 drafts/quizzes), dl:room:* (multiplayer, 24 h).
API: /api/teams, /api/teams/[id]/import, /api/teams/[id]/match, /api/history, /api/health.
Data saved in a browser by older versions is moved to the database on first visit.
Score = 30 + 0.6 × meta strength + counter value + composition needs, clamped to 0–100.
lib/draft.js — current order (patch 7.40, unchanged through 7.41f): bans F F S S F S S · picks F S · bans F F S · picks S F F S S F · bans F S F S · picks F S. 15 s per ban in ban phase 1, 30 s otherwise, 130 s reserve. A timed-out ban is lost; a timed-out pick is random.
Re-check against the current patch notes when Valve changes the draft.
Captains set Pos 1–5 or Flex for each picked hero (on the board or in the review). Unset heroes are auto-assigned to the best open position.