尚未检测到更新。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.