@qianhaoq/dsh-dota2ai 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +55 -5
  2. package/lib/client.js +445 -106
  3. package/lib/index.js +1237 -163
  4. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -7166,6 +7166,7 @@ var goals_exports = {};
7166
7166
  __export(goals_exports, {
7167
7167
  HABITS: () => HABITS,
7168
7168
  HABIT_KEYS: () => HABIT_KEYS,
7169
+ RETIRED_HABITS: () => RETIRED_HABITS,
7169
7170
  evaluateGoal: () => evaluateGoal,
7170
7171
  evaluateHabit: () => evaluateHabit,
7171
7172
  goalFor: () => goalFor,
@@ -7293,6 +7294,7 @@ function habitGoal(habit, summary, of = null) {
7293
7294
  }
7294
7295
  function evaluateHabit(goal, summary, minutes) {
7295
7296
  const out = (result2, evidence, count) => ({ result: result2, evidence, ...Number.isInteger(count) ? { count } : {} });
7297
+ if (RETIRED_HABITS.includes(goal?.habit)) return out("unknown", t("This goal is no longer counted: deaths with no ally nearby said little about a decision. Pick another goal.", "\u8FD9\u4E2A\u76EE\u6807\u5DF2\u4E0D\u518D\u7EDF\u8BA1\uFF1A\u8EAB\u8FB9\u6709\u6CA1\u6709\u961F\u53CB\u8BF4\u660E\u4E0D\u4E86\u51B3\u7B56\u5BF9\u9519\u3002\u8BF7\u6362\u4E00\u4E2A\u76EE\u6807\u3002", "\u042D\u0442\u0430 \u0446\u0435\u043B\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044F: \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0440\u044F\u0434\u043E\u043C \u043C\u0430\u043B\u043E \u0433\u043E\u0432\u043E\u0440\u0438\u0442 \u043E \u0440\u0435\u0448\u0435\u043D\u0438\u0438. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044E \u0446\u0435\u043B\u044C."));
7296
7298
  const h = HABITS[goal?.habit];
7297
7299
  if (!h || !Number.isFinite(goal.max) || h.from === "audit" && !(goal.name?.en && goal.name?.zh)) return out("unknown", t("Unknown goal.", "\u65E0\u6CD5\u8BC6\u522B\u7684\u76EE\u6807\u3002", "\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u0446\u0435\u043B\u044C."));
7298
7300
  if (!summary) return out("unknown", t("Needs this game's replay: check the goal or open its replay review.", "\u9700\u8981\u8FD9\u5C40\u7684\u5F55\u50CF\uFF1A\u68C0\u67E5\u76EE\u6807\uFF0C\u6216\u6253\u5F00\u8FD9\u5C40\u7684\u5F55\u50CF\u590D\u76D8\u3002", "\u041D\u0443\u0436\u0435\u043D \u0440\u0435\u043F\u043B\u0435\u0439 \u044D\u0442\u043E\u0439 \u0438\u0433\u0440\u044B: \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0446\u0435\u043B\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u043E\u0440 \u0440\u0435\u043F\u043B\u0435\u044F."));
@@ -7400,7 +7402,7 @@ function evaluateGoal(goal, report, slot, replay = null) {
7400
7402
  return result("unknown", t("Unknown goal.", "\u65E0\u6CD5\u8BC6\u522B\u7684\u76EE\u6807\u3002", "\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u0446\u0435\u043B\u044C."));
7401
7403
  }
7402
7404
  }
7403
- var t, r12, GAP, clock4, HABITS, HABIT_KEYS, MIN_MINUTES, result;
7405
+ var t, r12, GAP, clock4, HABITS, HABIT_KEYS, RETIRED_HABITS, MIN_MINUTES, result;
7404
7406
  var init_goals = __esm({
7405
7407
  "lib/coach/goals.js"() {
7406
7408
  "use strict";
@@ -7411,11 +7413,7 @@ var init_goals = __esm({
7411
7413
  clock4 = (sec) => `${Math.floor(Math.max(0, sec) / 60)}:${String(Math.round(Math.max(0, sec)) % 60).padStart(2, "0")}`;
7412
7414
  HABITS = {
7413
7415
  low_health: { from: "deaths", at: ["deaths_where", "health_below_half_at_window_start"], unsure: "health_at_window_start", label: () => t("deaths that began below half health (12 s before)", "\u6B7B\u524D 12 \u79D2\u5DF2\u4E0D\u5230\u534A\u8840\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0441 \u043C\u0435\u043D\u0435\u0435 \u0447\u0435\u043C \u043F\u043E\u043B\u043E\u0432\u0438\u043D\u043E\u0439 HP (\u0437\u0430 12 \u0441 \u0434\u043E \u0441\u043C\u0435\u0440\u0442\u0438)") },
7414
- alone: { from: "deaths", at: ["deaths_where", "no_ally_within_2200_at_death"], unsure: "allies_at_death", label: () => t("deaths with no ally within 2200", "\u8EAB\u8FB9 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0431\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 2200") },
7415
- // The lone deaths that bought nothing: no ally within 2200, and no enemy hero died within 15 s of it. A lone death
7416
- // that was traded is not this habit (see the calibration in docs/GAME_UNDERSTANDING.md).
7417
- alone_not_traded: { from: "deaths", at: ["deaths_where", "no_ally_within_2200_at_death_and_not_traded"], unsure: "allies_at_death", label: () => t("deaths with no ally within 2200 and no enemy hero back within 15 s", "\u8EAB\u8FB9 2200 \u7801\u5185\u6CA1\u6709\u961F\u53CB\u300115 \u79D2\u5185\u4E5F\u6CA1\u6362\u5230\u4EBA\u5934\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432 \u043E\u0434\u0438\u043D\u043E\u0447\u043A\u0443 (\u0431\u0435\u0437 \u0441\u043E\u044E\u0437\u043D\u0438\u043A\u043E\u0432 \u0432 2200) \u0438 \u0431\u0435\u0437 \u0440\u0430\u0437\u043C\u0435\u043D\u0430 \u0437\u0430 15 \u0441") },
7418
- // The same two, outside the game's fights only: for a hero whose job is to be in them, that is where the habit shows.
7416
+ // Low health, and outnumbered, outside the game's fights only: for a hero whose job is to be in them, that is where the habit shows.
7419
7417
  low_health_outside_fights: { from: "deaths", at: ["deaths_where", "health_below_half_at_window_start_outside_fights"], unsure: "health_below_half_at_window_start_outside_fights", label: () => t("deaths outside fights that began below half health (12 s before)", "\u56E2\u6218\u4E4B\u5916\u3001\u6B7B\u524D 12 \u79D2\u5DF2\u4E0D\u5230\u534A\u8840\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432\u043D\u0435 \u0434\u0440\u0430\u043A \u0441 \u043C\u0435\u043D\u0435\u0435 \u0447\u0435\u043C \u043F\u043E\u043B\u043E\u0432\u0438\u043D\u043E\u0439 HP (\u0437\u0430 12 \u0441)") },
7420
7418
  outnumbered_outside_fights: { from: "deaths", at: ["deaths_where", "three_or_more_enemy_heroes_dealing_damage_outside_fights"], unsure: "three_or_more_enemy_heroes_dealing_damage_outside_fights", label: () => t("deaths outside fights to three or more enemy heroes", "\u56E2\u6218\u4E4B\u5916\u88AB\u4E09\u4E2A\u4EE5\u4E0A\u654C\u65B9\u82F1\u96C4\u56F4\u6740\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0432\u043D\u0435 \u0434\u0440\u0430\u043A \u043E\u0442 \u0442\u0440\u0451\u0445 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0432\u0440\u0430\u0433\u043E\u0432") },
7421
7419
  outnumbered: { from: "deaths", at: ["deaths_where", "three_or_more_enemy_heroes_dealing_damage"], unsure: null, label: () => t("deaths to three or more enemy heroes", "\u88AB\u4E09\u4E2A\u4EE5\u4E0A\u654C\u65B9\u82F1\u96C4\u56F4\u6740\u7684\u9635\u4EA1", "\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u043E\u0442 \u0442\u0440\u0451\u0445 \u0438 \u0431\u043E\u043B\u0435\u0435 \u0432\u0440\u0430\u0433\u043E\u0432") },
@@ -7427,6 +7425,7 @@ var init_goals = __esm({
7427
7425
  died_holding: { from: "audit", at: ["deaths_with_it_ready_and_not_cast_total"], unsure: null, label: (n) => t(`deaths with ${n.en} ready and not cast`, `${n.zh}\u5C31\u7EEA\u5374\u6CA1\u653E\u7684\u9635\u4EA1`, `\u0441\u043C\u0435\u0440\u0442\u0435\u0439 \u0441 \u0433\u043E\u0442\u043E\u0432\u044B\u043C, \u043D\u043E \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u043C ${n.en}`) }
7428
7426
  };
7429
7427
  HABIT_KEYS = Object.keys(HABITS);
7428
+ RETIRED_HABITS = Object.freeze(["alone", "alone_not_traded"]);
7430
7429
  MIN_MINUTES = 10;
7431
7430
  result = (r, evidence) => ({ result: r, evidence });
7432
7431
  }
@@ -10341,7 +10340,15 @@ function nearby(trace, h, t6, radius) {
10341
10340
  if (!s || !s.alive) return;
10342
10341
  const d = dist(me, s);
10343
10342
  if (d > radius) return;
10344
- (o.team === trace.heroes[h].team ? allies : enemies).push({ hero: o.key, dist: d, hp: s.hp, max_hp: s.max_hp });
10343
+ (o.team === trace.heroes[h].team ? allies : enemies).push({
10344
+ hero: o.key,
10345
+ dist: d,
10346
+ hp: s.hp,
10347
+ max_hp: s.max_hp,
10348
+ hp_pct: s.hp != null && s.max_hp > 0 ? Math.round(s.hp / s.max_hp * 100) : null,
10349
+ mana: s.mana != null ? Math.round(s.mana) : null,
10350
+ level: s.level ?? null
10351
+ });
10345
10352
  });
10346
10353
  allies.sort((a, b) => a.dist - b.dist);
10347
10354
  enemies.sort((a, b) => a.dist - b.dist);
@@ -10615,7 +10622,7 @@ function fightParticipation(trace, fight) {
10615
10622
  }
10616
10623
  }
10617
10624
  const at = spots.length ? { x: Math.round(spots.reduce((n, p) => n + p.x, 0) / spots.length), y: Math.round(spots.reduce((n, p) => n + p.y, 0) / spots.length) } : null;
10618
- return { took_part: took, engaged_at: engagedAt ?? Math.floor(fight.from), at, victims };
10625
+ return { took_part: took, engaged_at: engagedAt ?? Math.floor(fight.from), at, victims, spots };
10619
10626
  }
10620
10627
  var WARD_NEAR = 1600;
10621
10628
  function observersNear(trace, at, t6) {
@@ -10695,7 +10702,7 @@ function sieges(trace) {
10695
10702
  var STILL_IN_IT = -2e3;
10696
10703
  var TURN_DROP = 1500;
10697
10704
  var ENDED_WITHIN = 120;
10698
- var TURN_RULE = `of the fights my_team lost more heroes in, entered at a gold lead of ${STILL_IN_IT} or better: the one the game ended within two minutes of; else the one after which the lead fell the most by two minutes after it, if by more than ${TURN_DROP}`;
10705
+ var TURN_RULE = `gold-curve indicator (not a cause verdict): of the fights my_team lost more heroes in, entered at a gold lead of ${STILL_IN_IT} or better: the one the game ended within two minutes of; else the one after which the lead fell the most by two minutes after it, if by more than ${TURN_DROP}`;
10699
10706
  function turnOf(fights2, { end = null } = {}) {
10700
10707
  const undecided = [];
10701
10708
  let best = null;
@@ -10728,7 +10735,7 @@ function turnOf(fights2, { end = null } = {}) {
10728
10735
  // packages/review-engine/src/trace/lanesLost.js
10729
10736
  var LANES_END = 600;
10730
10737
  var BEHIND_AFTER_LANES = STILL_IN_IT;
10731
- var LANES_RULE = `my_team more than ${-BEHIND_AFTER_LANES} gold behind at 10:00 and in every minute after, to the end of the game`;
10738
+ var LANES_RULE = `gold-curve indicator (not a draft or cause verdict \u2014 scaling lineups can trail by >${-BEHIND_AFTER_LANES} at 10:00 without losing the game in lane): my_team more than ${-BEHIND_AFTER_LANES} gold behind at 10:00 and in every minute after, to the end of the game`;
10732
10739
  var EARNED = /* @__PURE__ */ new Set(["match_record", "replay_gold_log"]);
10733
10740
  function lostFromTheLanes(lead, { source = null, end = null } = {}) {
10734
10741
  if (!Array.isArray(lead) || !lead.length) return { unknown: "no_gold_lead" };
@@ -10783,6 +10790,62 @@ function needHero(trace, hero) {
10783
10790
  return h < 0 ? { err: fail("unknown_hero", { heroes: heroKeys(trace) }) } : { h, npc: nameId(trace, trace.heroes[h].npc) };
10784
10791
  }
10785
10792
  var DEATH_TRIGGERED_ABILITIES = /* @__PURE__ */ new Set(["skeleton_king_reincarnation", "undying_ceaseless_dirge"]);
10793
+ var AUTO_TRIGGERED_ACTIVE_ABILITIES = /* @__PURE__ */ new Set(["abaddon_borrowed_time"]);
10794
+ var GENERIC_MAP_ABILITIES = /* @__PURE__ */ new Set([
10795
+ "ability_capture",
10796
+ "ability_lamp_use",
10797
+ "twin_gate_portal_warp",
10798
+ "ability_pluck_famango",
10799
+ "ability_lotus_pool"
10800
+ ]);
10801
+ var KEY_COMBAT_ITEMS = /* @__PURE__ */ new Set([
10802
+ "blink",
10803
+ "overwhelming_blink",
10804
+ "swift_blink",
10805
+ "arcane_blink",
10806
+ "orchid",
10807
+ "bloodthorn",
10808
+ "rod_of_atos",
10809
+ "gungir",
10810
+ "gungnir",
10811
+ "sheepstick",
10812
+ "cyclone",
10813
+ "wind_waker",
10814
+ "black_king_bar",
10815
+ "blade_mail",
10816
+ "dagon",
10817
+ "dagon_2",
10818
+ "dagon_3",
10819
+ "dagon_4",
10820
+ "dagon_5",
10821
+ "ethereal_blade",
10822
+ "nullifier",
10823
+ "abyssal_blade",
10824
+ "diffusal_blade",
10825
+ "disperser",
10826
+ "silver_edge",
10827
+ "invis_sword",
10828
+ "force_staff",
10829
+ "hurricane_pike",
10830
+ "glimmer_cape",
10831
+ "lotus_orb",
10832
+ "spirit_vessel",
10833
+ "urn_of_shadows",
10834
+ "meteor_hammer",
10835
+ "witch_blade",
10836
+ "devastator",
10837
+ "parasma",
10838
+ "harpoon",
10839
+ "manta",
10840
+ "shivas_guard",
10841
+ "satanic",
10842
+ "crimson_guard",
10843
+ "pipe",
10844
+ "veil_of_discord",
10845
+ "solar_crest",
10846
+ "ghost",
10847
+ "refresher"
10848
+ ]);
10786
10849
  var NON_CAST_LOGGED_ABILITIES = /* @__PURE__ */ new Set([
10787
10850
  "ancient_apparition_chilling_touch",
10788
10851
  "bounty_hunter_jinada",
@@ -10823,12 +10886,54 @@ function isNonCastLogged(trace, npc, abilityKey) {
10823
10886
  }
10824
10887
  function castable(trace, h, npc) {
10825
10888
  const set = /* @__PURE__ */ new Set();
10826
- for (const c of trace.casts) if (c[1] === npc) set.add(trace.names[c[2]]);
10827
- for (const [k3, e] of Object.entries(trace.abilities[h])) {
10828
- if (e.mana > 0 && !DEATH_TRIGGERED_ABILITIES.has(k3) && !isNonCastLogged(trace, npc, k3)) set.add(k3);
10889
+ for (const c of trace.casts ?? []) if (c[1] === npc) set.add(trace.names[c[2]]);
10890
+ for (const [k3, e] of Object.entries(trace.abilities?.[h] ?? {})) {
10891
+ if ((e.mana > 0 || AUTO_TRIGGERED_ACTIVE_ABILITIES.has(k3)) && !DEATH_TRIGGERED_ABILITIES.has(k3) && !isNonCastLogged(trace, npc, k3)) set.add(k3);
10829
10892
  }
10830
10893
  return set;
10831
10894
  }
10895
+ var REFRESHER_ITEMS = /* @__PURE__ */ new Set(["item_refresher", "item_refresher_shard"]);
10896
+ function refresherTimes(trace, npc) {
10897
+ const out = [];
10898
+ for (const u of trace?.item_uses ?? []) {
10899
+ if (u[1] === npc && REFRESHER_ITEMS.has(trace.names?.[u[2]])) out.push(u[0]);
10900
+ }
10901
+ return out;
10902
+ }
10903
+ function cooldownActivations(entry, manualRows, refreshers = []) {
10904
+ if (!Array.isArray(entry?.cd)) return null;
10905
+ const sorted = [...entry.cd].sort((a, b) => a[0] - b[0]);
10906
+ const starts = [];
10907
+ let prev = null;
10908
+ for (let i = 0; i < sorted.length; i += 1) {
10909
+ const curr = sorted[i];
10910
+ const [from, to, init] = curr;
10911
+ if (abilityLevel(entry, from + 0.5) <= 0) continue;
10912
+ const prevRem = prev != null && typeof prev[2] === "number" ? Math.max(0, prev[2] - (from - prev[0])) : 0;
10913
+ const refreshed = refreshers.some((rt) => rt >= from - 2 && rt <= from + 0.5);
10914
+ const isCut = prev != null && from === prev[1] && !refreshed && typeof prev[2] === "number" && typeof init === "number" && prevRem > 2 && init < prevRem - 0.5;
10915
+ prev = curr;
10916
+ if (isCut) continue;
10917
+ starts.push({ t: from, clock: clock3(from), cooldown: typeof init === "number" ? init : Math.round((to - from) * 10) / 10 });
10918
+ }
10919
+ const usedManual = /* @__PURE__ */ new Set();
10920
+ const auto = [];
10921
+ for (const st of starts) {
10922
+ let bestIdx = -1;
10923
+ let bestDt = Infinity;
10924
+ for (let j = 0; j < manualRows.length; j += 1) {
10925
+ if (usedManual.has(j)) continue;
10926
+ const d = Math.abs(manualRows[j][0] - st.t);
10927
+ if (d <= 2 && d < bestDt) {
10928
+ bestDt = d;
10929
+ bestIdx = j;
10930
+ }
10931
+ }
10932
+ if (bestIdx >= 0) usedManual.add(bestIdx);
10933
+ else auto.push(st);
10934
+ }
10935
+ return { auto, allStarts: starts };
10936
+ }
10832
10937
  function matchFights(trace) {
10833
10938
  return fights(trace);
10834
10939
  }
@@ -11264,10 +11369,176 @@ function nearbyObjectiveFor(trace, h, t6, atPos, allSieges, traceEnd) {
11264
11369
  }
11265
11370
  return unknown || traceEnd == null || t6 + 20 > traceEnd ? null : false;
11266
11371
  }
11372
+ function heroNearKnown(trace, j, t6) {
11373
+ const st = stateAt(trace, j, t6);
11374
+ if (st) {
11375
+ const rawAlive = trace.states?.[j]?.alive?.[st.t - trace.t0];
11376
+ if (rawAlive === 0) return true;
11377
+ return rawAlive === 1 && st.x != null && st.y != null;
11378
+ }
11379
+ const k0 = Math.round(t6) - trace.t0;
11380
+ return k0 >= 0 && k0 < trace.n && trace.states?.[j]?.alive?.[k0] === 0;
11381
+ }
11382
+ function enemyContextAtWindowStart(trace, h, from, snap0) {
11383
+ if (snap0?.me == null || !heroNearKnown(trace, h, from)) return null;
11384
+ const myTeam = trace.heroes[h].team;
11385
+ const allEnemiesKnown = trace.heroes.every((o, j) => o.team === myTeam || heroNearKnown(trace, j, from));
11386
+ if (!allEnemiesKnown) return null;
11387
+ return (snap0.enemies ?? []).map((en) => {
11388
+ const ei = heroIndex(trace, en.hero);
11389
+ const enpc = ei >= 0 ? nameId(trace, trace.heroes[ei].npc) : -1;
11390
+ const abMap = ei >= 0 ? trace.abilities?.[ei] : null;
11391
+ let readyAbilities = null;
11392
+ let noManaAbilities = null;
11393
+ let onCooldownAbilities = null;
11394
+ const unknownManaAbilities = [];
11395
+ if (abMap && typeof abMap === "object" && Object.keys(abMap).length > 0) {
11396
+ const canEnemy = castable(trace, ei, enpc);
11397
+ readyAbilities = [];
11398
+ noManaAbilities = [];
11399
+ onCooldownAbilities = [];
11400
+ let abilityDataIncomplete = false;
11401
+ for (const [k3, e] of Object.entries(abMap)) {
11402
+ if (!canEnemy.has(k3) || GENERIC_MAP_ABILITIES.has(k3) || k3.startsWith("plus_") || k3.startsWith("seasonal_")) continue;
11403
+ if (!Array.isArray(e?.levels)) {
11404
+ abilityDataIncomplete = true;
11405
+ break;
11406
+ }
11407
+ if (abilityLevel(e, from) <= 0) continue;
11408
+ if (!Array.isArray(e?.cd)) {
11409
+ abilityDataIncomplete = true;
11410
+ break;
11411
+ }
11412
+ const cdLeft = cooldownLeft(e, from);
11413
+ if (cdLeft > 0) {
11414
+ onCooldownAbilities.push({ ability: k3, cooldown_left: cdLeft });
11415
+ } else {
11416
+ const rawCost = manaCost(e, from);
11417
+ const cost = rawCost ?? (en.mana != null && typeof e.mana === "number" && en.mana >= e.mana ? e.mana : null);
11418
+ if (cost === 0) {
11419
+ readyAbilities.push(k3);
11420
+ } else if (cost != null && en.mana != null) {
11421
+ if (en.mana >= cost) readyAbilities.push(k3);
11422
+ else noManaAbilities.push(k3);
11423
+ } else {
11424
+ unknownManaAbilities.push(k3);
11425
+ }
11426
+ }
11427
+ }
11428
+ if (abilityDataIncomplete) {
11429
+ readyAbilities = null;
11430
+ noManaAbilities = null;
11431
+ onCooldownAbilities = null;
11432
+ unknownManaAbilities.length = 0;
11433
+ }
11434
+ }
11435
+ const inv = ei >= 0 ? trace.items?.[ei] : null;
11436
+ let keyItems = null;
11437
+ if (inv && typeof inv === "object") {
11438
+ keyItems = [];
11439
+ let itemHeldIncomplete = false;
11440
+ for (const [k3, e] of Object.entries(inv)) {
11441
+ const short = k3.replace(/^item_/, "");
11442
+ if (!KEY_COMBAT_ITEMS.has(short)) continue;
11443
+ if (!Array.isArray(e?.held)) {
11444
+ itemHeldIncomplete = true;
11445
+ break;
11446
+ }
11447
+ if (!heldAt(e, from)) continue;
11448
+ if (!Array.isArray(e?.cd)) {
11449
+ keyItems.push({ item: short, ready: null });
11450
+ continue;
11451
+ }
11452
+ const cdLeft = cooldownLeft(e, from);
11453
+ keyItems.push({ item: short, ready: cdLeft === 0, ...cdLeft > 0 ? { cooldown_left: cdLeft } : {} });
11454
+ }
11455
+ if (itemHeldIncomplete) keyItems = null;
11456
+ }
11457
+ return {
11458
+ hero: en.hero,
11459
+ dist: en.dist,
11460
+ hp_pct: en.hp_pct,
11461
+ mana: en.mana,
11462
+ level: en.level,
11463
+ ready_abilities: readyAbilities,
11464
+ no_mana_abilities: noManaAbilities,
11465
+ on_cooldown_abilities: onCooldownAbilities,
11466
+ ...unknownManaAbilities.length ? { unknown_mana_abilities: unknownManaAbilities } : {},
11467
+ key_items: keyItems
11468
+ };
11469
+ });
11470
+ }
11471
+ function attackerArrivedInWindow(trace, h, ai, from, t6) {
11472
+ const startSec = Math.floor(from) + 1;
11473
+ const endSec = Math.floor(t6);
11474
+ let sawUnknown = false;
11475
+ for (let sec = startSec; sec <= endSec; sec += 1) {
11476
+ const k3 = sec - trace.t0;
11477
+ if (k3 < 0 || k3 >= trace.n) {
11478
+ sawUnknown = true;
11479
+ continue;
11480
+ }
11481
+ const myAlive = trace.states?.[h]?.alive?.[k3];
11482
+ const attAlive = trace.states?.[ai]?.alive?.[k3];
11483
+ if (myAlive == null || attAlive == null) {
11484
+ sawUnknown = true;
11485
+ continue;
11486
+ }
11487
+ if (myAlive === 0 || attAlive === 0) continue;
11488
+ const mx = trace.states[h].x?.[k3];
11489
+ const my = trace.states[h].y?.[k3];
11490
+ const ax = trace.states[ai].x?.[k3];
11491
+ const ay = trace.states[ai].y?.[k3];
11492
+ if (mx == null || my == null || ax == null || ay == null) {
11493
+ sawUnknown = true;
11494
+ continue;
11495
+ }
11496
+ if (dist({ x: mx, y: my }, { x: ax, y: ay }) <= 2200) return "arrived";
11497
+ }
11498
+ return sawUnknown ? null : "never_arrived";
11499
+ }
11500
+ function attackersArrivedAfterWindowStart(trace, h, from, t6, snap0, attackers, hasDamageLog) {
11501
+ if (!hasDamageLog || snap0?.me == null || !heroNearKnown(trace, h, from)) return null;
11502
+ const meStart = stateAt(trace, h, from);
11503
+ if (!meStart) return null;
11504
+ const nearKeys = new Set((snap0.enemies ?? []).map((e) => e.hero));
11505
+ const arrived = [];
11506
+ for (const ai of [...attackers].sort((a, b) => a - b)) {
11507
+ if (!heroNearKnown(trace, ai, from)) return null;
11508
+ const heroKey = trace.heroes[ai].key;
11509
+ if (nearKeys.has(heroKey)) continue;
11510
+ const st = stateAt(trace, ai, from);
11511
+ const rawAlive = st ? trace.states?.[ai]?.alive?.[st.t - trace.t0] : trace.states?.[ai]?.alive?.[Math.round(from) - trace.t0];
11512
+ let entry = null;
11513
+ if (rawAlive === 0) {
11514
+ entry = { hero: heroKey, alive_at_window_start: false };
11515
+ } else if (rawAlive === 1 && st && st.x != null && st.y != null) {
11516
+ const d = dist(meStart, st);
11517
+ if (d > 2200) entry = { hero: heroKey, dist_at_window_start: d, place_at_window_start: region(st.x, st.y) };
11518
+ } else {
11519
+ return null;
11520
+ }
11521
+ if (!entry) continue;
11522
+ const status = attackerArrivedInWindow(trace, h, ai, from, t6);
11523
+ if (status === null) return null;
11524
+ if (status === "arrived") arrived.push(entry);
11525
+ }
11526
+ return arrived;
11527
+ }
11528
+ function enemyActiveBuffsInWindow(trace, from, t6, attackers, hasDamageLog) {
11529
+ if (!hasDamageLog) return null;
11530
+ const hasSmokes = Array.isArray(trace.smokes);
11531
+ const hasRunes = Array.isArray(trace.runes);
11532
+ if (!hasSmokes && !hasRunes) return null;
11533
+ const smokes = hasSmokes ? trace.smokes.filter((s) => attackers.has(heroOfName(trace, s[1])) && s[0] <= t6 && (s[3] == null || s[3] >= from)).map((s) => ({ hero: nameOf(trace, s[1]), by: nameOf(trace, s[2]), from: clock3(s[0]), until: s[3] == null ? null : clock3(s[3]) })) : null;
11534
+ const runes = hasRunes ? trace.runes.filter((r) => attackers.has(heroOfName(trace, r[1])) && r[0] <= t6 && (r[3] == null || r[3] >= from)).map((r) => ({ hero: nameOf(trace, r[1]), rune: r[2], from: clock3(r[0]), until: r[3] == null ? null : clock3(r[3]) })) : null;
11535
+ return { smokes, runes };
11536
+ }
11267
11537
  function deathContext(trace, args = {}, ctx = {}) {
11268
11538
  const view = viewer(trace, ctx);
11269
11539
  const { h, npc, err } = needHero(trace, args.hero);
11270
11540
  if (err) return err;
11541
+ const includeLegacyHabitCounts = args.include_legacy_habit_counts === true;
11271
11542
  const window = Math.round(Math.min(30, Math.max(4, Number(args.window) || 12)));
11272
11543
  const real = realDeaths(trace);
11273
11544
  const all = real.filter((d) => d[1] === npc).sort((a, b) => a[0] - b[0]);
@@ -11276,38 +11547,45 @@ function deathContext(trace, args = {}, ctx = {}) {
11276
11547
  if (args.index != null && !all[args.index - 1]) return fail("no_such_death", { deaths: all.length });
11277
11548
  const pick2 = all.map((d, i) => [d, i + 1]);
11278
11549
  const can = castable(trace, h, npc);
11550
+ const autoByAbility = /* @__PURE__ */ new Map();
11551
+ let autoCooldownMissing = false;
11552
+ const myRefreshers = refresherTimes(trace, npc);
11553
+ for (const [k3, e] of Object.entries(trace.abilities?.[h] ?? {})) {
11554
+ if (!AUTO_TRIGGERED_ACTIVE_ABILITIES.has(k3)) continue;
11555
+ const aid = nameId(trace, k3);
11556
+ const manual = aid >= 0 ? trace.casts.filter((c) => c[1] === npc && c[2] === aid).sort((a, b) => a[0] - b[0]) : [];
11557
+ const info = cooldownActivations(e, manual, myRefreshers);
11558
+ if (!info && (e?.levels ?? []).some(([, lv]) => lv > 0)) autoCooldownMissing = true;
11559
+ autoByAbility.set(k3, info);
11560
+ }
11279
11561
  const allFights = fights(trace);
11280
11562
  const fought = new Set(allFights.flatMap((f) => f.deaths));
11281
11563
  const fightInfos = allFights.map((f, fi) => ({ ref: `fight:${fi + 1}`, f, part: fightParticipation(trace, f) }));
11282
11564
  const allSieges = Array.isArray(trace.damage) ? sieges(trace) : [];
11283
- const heroNearKnown = (j, t6) => {
11284
- const st = stateAt(trace, j, t6);
11285
- if (st) {
11286
- const rawAlive = trace.states?.[j]?.alive?.[st.t - trace.t0];
11287
- if (rawAlive === 0) return true;
11288
- return rawAlive === 1 && st.x != null && st.y != null;
11289
- }
11290
- const k0 = Math.round(t6) - trace.t0;
11291
- return k0 >= 0 && k0 < trace.n && trace.states?.[j]?.alive?.[k0] === 0;
11292
- };
11293
11565
  const fountain = ownFountain(trace, h, npc);
11294
11566
  const hasDamageLog = Array.isArray(trace.damage);
11295
11567
  const out = pick2.map(([d, n]) => {
11296
11568
  const t6 = d[0];
11297
11569
  const from = t6 - window;
11298
- const snapshots2 = [...new Set([window, 8, 4, 1].filter((x) => x <= window))].map((back) => {
11570
+ const snaps = [...new Set([window, 8, 4, 1].filter((x) => x <= window))].map((back) => {
11299
11571
  const { me, allies, enemies } = nearby(trace, h, t6 - back, 2200);
11300
11572
  const doing = me ? heroStateAt(trace, h, t6 - back).doing ?? null : null;
11301
11573
  return { dt: -back, me: me ? { hp: me.hp, max_hp: me.max_hp, mana: me.mana, ...where(me), doing, to_own_fountain: fountain && me.alive ? dist(me, fountain) : null } : null, allies, enemies };
11302
11574
  });
11575
+ const snapshots2 = snaps.map(({ allies: _allies, ...rest }) => rest);
11303
11576
  const atDeath = nearby(trace, h, t6, 2200);
11304
11577
  const atPos = stateAt(trace, h, t6 - 1);
11305
- let mostAllies = atDeath.me && snapshots2.every((x) => x.me) ? Math.max(atDeath.allies.length, ...snapshots2.map((x) => x.allies.length)) : null;
11578
+ let mostAllies = atDeath.me && snaps.every((x) => x.me) ? Math.max(atDeath.allies.length, ...snaps.map((x) => x.allies.length)) : null;
11306
11579
  for (let sec = Math.floor(from); mostAllies != null && sec < t6; sec += 1) {
11307
11580
  const at = nearby(trace, h, sec, 2200);
11308
11581
  mostAllies = at.me ? Math.max(mostAllies, at.allies.length) : null;
11309
11582
  }
11310
- const abilities = Object.entries(trace.abilities[h]).filter(([k3, e]) => can.has(k3) && abilityLevel(e, from) > 0).map(([k3, e]) => ({ ability: k3, level: abilityLevel(e, from), cooldown_left: cooldownLeft(e, from), mana_cost: manaCost(e, from, t6) }));
11583
+ const abilities = Object.entries(trace.abilities[h]).filter(([k3, e]) => can.has(k3) && abilityLevel(e, from) > 0).map(([k3, e]) => ({
11584
+ ability: k3,
11585
+ level: abilityLevel(e, from),
11586
+ cooldown_left: AUTO_TRIGGERED_ACTIVE_ABILITIES.has(k3) && !Array.isArray(e?.cd) ? null : cooldownLeft(e, from),
11587
+ mana_cost: manaCost(e, from, t6)
11588
+ }));
11311
11589
  const mana = mostMana(trace, h, from, t6);
11312
11590
  const noMana = (a) => a.mana_cost != null && mana != null && mana < a.mana_cost;
11313
11591
  const items = Object.entries(trace.items[h]).filter(([, e]) => heldAt(e, from)).map(([k3, e]) => ({ item: k3.replace(/^item_/, ""), ...e.cd.length ? { cooldown_left: cooldownLeft(e, from) } : {} }));
@@ -11350,23 +11628,24 @@ function deathContext(trace, args = {}, ctx = {}) {
11350
11628
  }
11351
11629
  for (const m of trace.modifiers) if (m[1] === npc && m[4] === 1 && m[6] !== "i" && inWindow(m[0]) && (disabledAt == null || m[0] < disabledAt)) disabledAt = m[0];
11352
11630
  const castNames = new Set(myCasts.map((c) => trace.names[c[2]]));
11631
+ const autoTriggered = [];
11632
+ const triggeredNames = /* @__PURE__ */ new Set();
11633
+ for (const [k3, info] of autoByAbility) {
11634
+ if (!info) continue;
11635
+ for (const st of info.allStarts) {
11636
+ if (st.t >= from && st.t <= t6 + 0.5) triggeredNames.add(k3);
11637
+ }
11638
+ for (const tr2 of info.auto) {
11639
+ if (tr2.t >= from && tr2.t <= t6 + 0.5) autoTriggered.push({ dt: dt(tr2.t), clock: tr2.clock, ability: k3 });
11640
+ }
11641
+ }
11642
+ autoTriggered.sort((a, b) => a.dt - b.dt);
11353
11643
  const kKind = killerKind(trace, d[2], h, npc);
11354
11644
  const killerOwnSideCreep = kKind === "lane_creep" && myCreepSide.test(trace.names?.[d[2]] ?? "");
11355
11645
  const involvesDominatableCreep = kKind === "neutral" || kKind === "lane_creep" || neutralOrCreepDamage;
11356
11646
  const possiblePlayerControlledCreep = ownSideCreepDamage || killerOwnSideCreep || involvesDominatableCreep && enemyCouldControlCreep(trace, trace.heroes[h].team, t6);
11357
11647
  const nonHeroNoEnemy = !hasDamageLog || kKind == null ? null : !NON_HERO_SUICIDE_KINDS.has(kKind) || attackers.size > 0 || otherUnitDamage ? false : unknownDamageSource || possiblePlayerControlledCreep ? null : true;
11358
11648
  const traceEnd = typeof trace.t0 === "number" && typeof trace.n === "number" ? trace.t0 + trace.n - 1 : null;
11359
- const alliesKnownAtDeath = Boolean(atDeath.me && atDeath.me.x != null && atDeath.me.y != null) && trace.heroes.every((o, j) => j === h || o.team !== trace.heroes[h].team || heroNearKnown(j, t6));
11360
- const alliesSurvived10s = !alliesKnownAtDeath ? null : (() => {
11361
- const winStart = Math.min(t6, Math.floor(t6));
11362
- const survivors = atDeath.allies.map((a) => a.hero).filter((ak) => {
11363
- const ai = trace.heroes.findIndex((x) => x.key === ak);
11364
- const anpc = ai >= 0 ? nameId(trace, trace.heroes[ai].npc) : -1;
11365
- return !real.some((o) => o[1] === anpc && o[0] >= winStart && o[0] <= t6 + 10);
11366
- });
11367
- if (survivors.length > 0 && (traceEnd == null || t6 + 10 > traceEnd)) return null;
11368
- return survivors;
11369
- })();
11370
11649
  const stH = trace.states?.[h];
11371
11650
  let windowSampled = Boolean(Array.isArray(trace.controls) && trace.controls[h] && stH?.alive);
11372
11651
  for (let sec = Math.floor(from); windowSampled && sec <= Math.floor(t6); sec += 1) {
@@ -11378,6 +11657,9 @@ function deathContext(trace, args = {}, ctx = {}) {
11378
11657
  const inAFight = !fought.has(d) ? false : mostAllies == null ? null : mostAllies >= 1;
11379
11658
  const nearFight = nearbyFightFor(trace, h, d, t6, atPos, fightInfos, inAFight, traceEnd);
11380
11659
  const nearObj = nearbyObjectiveFor(trace, h, t6, atPos, allSieges, traceEnd);
11660
+ const enemyCtx = enemyContextAtWindowStart(trace, h, from, snapshots2[0]);
11661
+ const attackersArrived = attackersArrivedAfterWindowStart(trace, h, from, t6, snapshots2[0], attackers, hasDamageLog);
11662
+ const enemyBuffs = enemyActiveBuffsInWindow(trace, from, t6, attackers, hasDamageLog);
11381
11663
  return {
11382
11664
  // The window is part of what the record says (its damage, its snapshots): a non-default one is in the ref.
11383
11665
  ref: `death:${trace.heroes[h].key}:${n}${window === 12 ? "" : `:w${window}`}`,
@@ -11391,9 +11673,13 @@ function deathContext(trace, args = {}, ctx = {}) {
11391
11673
  level: atPos?.level ?? null,
11392
11674
  snapshots: snapshots2,
11393
11675
  at_window_start: { abilities, items },
11676
+ enemy_context_at_window_start: enemyCtx,
11677
+ attackers_arrived_after_window_start: attackersArrived,
11678
+ enemy_active_buffs_in_window: enemyBuffs,
11394
11679
  most_mana_in_window: mana,
11395
- ready_not_cast: abilities.filter((a) => a.cooldown_left === 0 && !castNames.has(a.ability) && !noMana(a)).map((a) => a.ability),
11396
- off_cooldown_without_the_mana: abilities.filter((a) => a.cooldown_left === 0 && !castNames.has(a.ability) && noMana(a)).map((a) => a.ability),
11680
+ ready_not_cast: abilities.filter((a) => a.cooldown_left === 0 && !castNames.has(a.ability) && !triggeredNames.has(a.ability) && !noMana(a)).map((a) => a.ability),
11681
+ off_cooldown_without_the_mana: abilities.filter((a) => a.cooldown_left === 0 && !castNames.has(a.ability) && !triggeredNames.has(a.ability) && noMana(a)).map((a) => a.ability),
11682
+ ...autoTriggered.length ? { auto_triggered: autoTriggered } : {},
11397
11683
  health_share_at_window_start: share(snapshots2[0]?.me),
11398
11684
  // How much closer to their own fountain the hero was at the last snapshot than at the window's start: positive
11399
11685
  // heading home, negative heading away from it. Null when either distance is unknown. Over 1089 deaths outside
@@ -11412,10 +11698,6 @@ function deathContext(trace, args = {}, ctx = {}) {
11412
11698
  nearby_objective: nearObj,
11413
11699
  // Killed by neutral/tower/Roshan/Tormentor/lane creep with zero enemy hero or summon damage in the window.
11414
11700
  non_hero_death_without_enemy_hero_damage: nonHeroNoEnemy,
11415
- // Null where the hero's own position was not sampled: no ally listed is then unknown, not alone.
11416
- // "At death" is the moment itself, not the last snapshot a second before: an ally can arrive in that second.
11417
- allies_within_2200: { at_window_start: snapshots2[0].me ? snapshots2[0].allies.length : null, at_death: atDeath.me ? atDeath.allies.length : null, most_in_any_second: mostAllies },
11418
- allies_near_who_survived_10s: alliesSurvived10s,
11419
11701
  first_hero_damage_dt: firstHero == null ? null : Math.round(firstHero - t6),
11420
11702
  // Counted over every damage row of the window, not over the ten largest listed below.
11421
11703
  enemy_heroes_dealing_damage: attackers.size,
@@ -11436,8 +11718,6 @@ function deathContext(trace, args = {}, ctx = {}) {
11436
11718
  const v = heroOfName(trace, o[1]);
11437
11719
  return v >= 0 && trace.heroes[v].team !== trace.heroes[h].team && Math.abs(o[0] - t6) <= TRADE_SECONDS;
11438
11720
  }),
11439
- // The allies who were not within 2200 at the death: what the replay shows them doing, where, how far.
11440
- allies_elsewhere: alliesElsewhere(trace, h, t6, atDeath),
11441
11721
  // Observer wards standing within 1600 of where the hero died, each side's. Null: the trace has no ward list.
11442
11722
  observers_within_1600: wardsAt(trace, h, atDeath, t6),
11443
11723
  // The clock of a buyback after this death, false when none, null when the trace does not record buybacks.
@@ -11453,8 +11733,7 @@ function deathContext(trace, args = {}, ctx = {}) {
11453
11733
  const myRes = resurrections(trace).filter((r) => r.heroIndex === h).map((r, i) => {
11454
11734
  const atRes = nearby(trace, h, r.t, 2200);
11455
11735
  const meKnown = Boolean(atRes.me && atRes.me.x != null && atRes.me.y != null);
11456
- const alliesKnown = meKnown && trace.heroes.every((o, j) => j === h || o.team !== trace.heroes[h].team || heroNearKnown(j, r.t));
11457
- const enemiesKnown = meKnown && trace.heroes.every((o, j) => o.team === trace.heroes[h].team || heroNearKnown(j, r.t));
11736
+ const enemiesKnown = meKnown && trace.heroes.every((o, j) => o.team === trace.heroes[h].team || heroNearKnown(trace, j, r.t));
11458
11737
  const nextIdx = all.findIndex((d) => d[0] > r.t);
11459
11738
  const nextReal = nextIdx >= 0 ? all[nextIdx] : null;
11460
11739
  const diedSoon = !nextReal ? false : r.revived_at != null ? nextReal[0] - r.revived_at <= 20 ? { ref: `death:${heroKey}:${nextIdx + 1}`, clock: clock3(nextReal[0]), killer: nameOf(trace, nextReal[2]), seconds_after_revive: Math.round((nextReal[0] - r.revived_at) * 10) / 10 } : false : nextReal[0] - r.t <= 20 ? { ref: `death:${heroKey}:${nextIdx + 1}`, clock: clock3(nextReal[0]), killer: nameOf(trace, nextReal[2]), seconds_after_revive: null } : nextReal[0] - r.t <= 27 ? null : false;
@@ -11469,7 +11748,6 @@ function deathContext(trace, args = {}, ctx = {}) {
11469
11748
  row: r.row,
11470
11749
  revived_at: r.revived_at == null ? null : clock3(r.revived_at),
11471
11750
  at: meKnown ? where(atRes.me) : null,
11472
- allies_within_2200: alliesKnown ? atRes.allies.map((a) => a.hero) : null,
11473
11751
  enemies_within_2200: enemiesKnown ? atRes.enemies.map((e) => e.hero) : null,
11474
11752
  died_for_real_within_20s: diedSoon
11475
11753
  };
@@ -11488,11 +11766,14 @@ function deathContext(trace, args = {}, ctx = {}) {
11488
11766
  deaths_total: all.length,
11489
11767
  killed_by: killers,
11490
11768
  ...myRes.length ? { resurrections_total: myRes.length, resurrections_at: myRes.map((r) => r.clock) } : {},
11491
- ...deathPatterns(trace, out, { allSources: args.all_damage_sources === true }),
11769
+ ...deathPatterns(trace, out, { allSources: args.all_damage_sources === true, includeLegacyHabitCounts }),
11492
11770
  ...leftUnused(out, heroKey),
11493
11771
  deaths: args.index == null ? out : [out[args.index - 1]],
11494
11772
  ...myRes.length ? { resurrections: myRes } : {},
11495
- gaps: gapsFor(trace, ["vision", "creeps", "unused_free_abilities"])
11773
+ gaps: [
11774
+ ...gapsFor(trace, ["vision", "creeps", "unused_free_abilities"]),
11775
+ ...autoCooldownMissing ? [{ topic: "ability_casts", reason: "auto_triggered_cooldowns_missing_in_trace" }] : []
11776
+ ]
11496
11777
  };
11497
11778
  }
11498
11779
  var share = (me) => me?.max_hp ? Math.round(me.hp / me.max_hp * 100) / 100 : null;
@@ -11525,18 +11806,7 @@ function wardsAt(trace, h, atDeath, t6) {
11525
11806
  return { my_team: near[team], enemy: near[team === 2 ? 3 : 2] };
11526
11807
  }
11527
11808
  var TRADE_SECONDS = 15;
11528
- function alliesElsewhere(trace, h, t6, atDeath) {
11529
- if (!atDeath?.me) return [];
11530
- const near = new Set(atDeath.allies.map((a) => a.hero));
11531
- const from = { x: atDeath.me.x, y: atDeath.me.y };
11532
- return trace.heroes.map((o, i) => i).filter((i) => i !== h && trace.heroes[i].team === trace.heroes[h].team && !near.has(trace.heroes[i].key)).map((i) => {
11533
- const s = heroStateAt(trace, i, t6, { from });
11534
- if (!s.known) return { hero: s.hero, known: false };
11535
- if (!s.alive) return { hero: s.hero, doing: "dead", respawn_in: s.respawn_in };
11536
- return { hero: s.hero, ...s.doing !== "none_of_these" ? { doing: s.doing } : {}, place: s.place, distance: s.distance, ...s.tp_ready != null ? { tp_ready: s.tp_ready } : {} };
11537
- });
11538
- }
11539
- function deathPatterns(trace, deaths, { allSources = false } = {}) {
11809
+ function deathPatterns(trace, deaths, { allSources = false, includeLegacyHabitCounts = false } = {}) {
11540
11810
  const of = (test) => deaths.filter(test).map((d) => d.clock);
11541
11811
  const by = /* @__PURE__ */ new Map();
11542
11812
  let total = 0;
@@ -11551,17 +11821,16 @@ function deathPatterns(trace, deaths, { allSources = false } = {}) {
11551
11821
  const top = allSources ? sorted : sorted.slice(0, 6);
11552
11822
  return {
11553
11823
  deaths_where: {
11554
- health_below_half_at_window_start: of((d) => d.below_half_health_at_window_start === true),
11555
- // In every second of the window and at the death itself.
11556
- no_ally_within_2200_throughout: of((d) => d.allies_within_2200.most_in_any_second === 0),
11557
- no_ally_within_2200_at_death: of((d) => d.allies_within_2200.at_death === 0),
11824
+ ...includeLegacyHabitCounts ? { health_below_half_at_window_start: of((d) => d.below_half_health_at_window_start === true) } : {},
11825
+ // No count of deaths with no ally within 2200 (owner, 2026-11-27: meaningless): an offlaner alone in a lane, a
11826
+ // core farming a free lane, a support rotating are all "alone"; each death still says who was near.
11558
11827
  three_or_more_enemy_heroes_dealing_damage: of((d) => d.enemy_heroes_dealing_damage >= 3),
11559
11828
  // In a fight (one of three or more hero deaths close together in time, with an ally within 2200 before it)
11560
11829
  // or not. Dying low or to several enemies in a fight is what fights are; outside one it is where the hero
11561
11830
  // chose to be. Hence the two lists after. A death whose position was not sampled is in neither list.
11562
11831
  in_a_fight: of((d) => d.in_a_fight === true),
11563
11832
  outside_fights: of((d) => d.in_a_fight === false),
11564
- health_below_half_at_window_start_outside_fights: of((d) => d.below_half_health_at_window_start === true && d.in_a_fight === false),
11833
+ ...includeLegacyHabitCounts ? { health_below_half_at_window_start_outside_fights: of((d) => d.below_half_health_at_window_start === true && d.in_a_fight === false) } : {},
11565
11834
  three_or_more_enemy_heroes_dealing_damage_outside_fights: of((d) => d.enemy_heroes_dealing_damage >= 3 && d.in_a_fight === false),
11566
11835
  nothing_cast_and_no_item_used: of((d) => d.my_casts.length === 0 && d.my_item_uses.length === 0),
11567
11836
  // What the hero was doing when the window began, and where they were heading over it (each death's
@@ -11573,7 +11842,6 @@ function deathPatterns(trace, deaths, { allSources = false } = {}) {
11573
11842
  // Whether the team got an enemy hero back within 15 s. A death not traded bought nothing.
11574
11843
  traded_within_15s: of((d) => d.traded_within_15s),
11575
11844
  not_traded_within_15s: of((d) => !d.traded_within_15s),
11576
- no_ally_within_2200_at_death_and_not_traded: of((d) => d.allies_within_2200.at_death === 0 && !d.traded_within_15s),
11577
11845
  // Only where the trace has wards (a death with no ward list is in neither).
11578
11846
  no_own_observer_within_1600: of((d) => d.observers_within_1600?.my_team === 0),
11579
11847
  enemy_observer_within_1600: of((d) => d.observers_within_1600?.enemy > 0),
@@ -11585,12 +11853,11 @@ function deathPatterns(trace, deaths, { allSources = false } = {}) {
11585
11853
  // Deaths a list above could not be decided for (health or position not sampled): a count over the game is only as sure as these are few.
11586
11854
  deaths_not_known: {
11587
11855
  health_at_window_start: deaths.filter((d) => d.below_half_health_at_window_start == null).length,
11588
- allies_at_death: deaths.filter((d) => d.allies_within_2200.at_death == null).length,
11589
11856
  // Whether a death was in a fight is unknown where the hero's position was not sampled.
11590
11857
  in_a_fight: deaths.filter((d) => d.in_a_fight == null).length,
11591
11858
  // For each outside-fights list, the deaths it can neither include nor rule out: neither in a fight for sure
11592
11859
  // nor outside one with the condition for sure. A count over the next game is only as sure as these are few.
11593
- health_below_half_at_window_start_outside_fights: deaths.filter((d) => d.in_a_fight !== true && d.below_half_health_at_window_start !== false && !(d.in_a_fight === false && d.below_half_health_at_window_start === true)).length,
11860
+ ...includeLegacyHabitCounts ? { health_below_half_at_window_start_outside_fights: deaths.filter((d) => d.in_a_fight !== true && d.below_half_health_at_window_start !== false && !(d.in_a_fight === false && d.below_half_health_at_window_start === true)).length } : {},
11594
11861
  three_or_more_enemy_heroes_dealing_damage_outside_fights: deaths.filter((d) => d.in_a_fight == null && d.enemy_heroes_dealing_damage >= 3).length,
11595
11862
  before_a_nearby_fight_within_30s: deaths.filter((d) => d.nearby_fight === null).length,
11596
11863
  non_hero_without_enemy_hero_damage: deaths.filter((d) => d.non_hero_death_without_enemy_hero_damage == null).length,
@@ -11646,10 +11913,10 @@ function abilityAudit(trace, args = {}, ctx = {}) {
11646
11913
  const abilityId = nameId(trace, key);
11647
11914
  const immune = immunityIntervals(trace);
11648
11915
  const learned = entry.levels.find(([, lv]) => lv > 0)?.[0] ?? null;
11649
- const rows = trace.casts.filter((c) => c[1] === npc && c[2] === abilityId).sort((a, b) => a[0] - b[0]);
11916
+ const rows = abilityId >= 0 ? trace.casts.filter((c) => c[1] === npc && c[2] === abilityId).sort((a, b) => a[0] - b[0]) : [];
11650
11917
  const byTarget = {};
11651
11918
  const short = key.startsWith(`${trace.heroes[h].key}_`) ? key.slice(trace.heroes[h].key.length + 1) : key;
11652
- const damaging = trace.damage.some((r) => r[1] === npc && r[3] === abilityId);
11919
+ const damaging = abilityId >= 0 && trace.damage.some((r) => r[1] === npc && r[3] === abilityId);
11653
11920
  const real = realDeaths(trace);
11654
11921
  const intoImmunity = [];
11655
11922
  const targetLived = [];
@@ -11753,6 +12020,94 @@ function abilityAudit(trace, args = {}, ctx = {}) {
11753
12020
  gaps: [...gapsFor(trace, ["ability_immunity", "vision"]), { topic: "ability_casts", reason: "attack_modifier_or_passive_casts_not_logged_in_combat_log" }]
11754
12021
  };
11755
12022
  }
12023
+ const autoActive = AUTO_TRIGGERED_ACTIVE_ABILITIES.has(key);
12024
+ if (autoActive) {
12025
+ const autoInfo = cooldownActivations(entry, rows, refresherTimes(trace, npc));
12026
+ if (!autoInfo) {
12027
+ return {
12028
+ ref: `audit:${trace.heroes[h].key}:${short}`,
12029
+ ref_scope: "summary",
12030
+ hero: trace.heroes[h].key,
12031
+ ability: key,
12032
+ learned_at: learned == null ? null : { t: learned, clock: clock3(learned) },
12033
+ casts_total: null,
12034
+ manual_casts_total: casts.length,
12035
+ auto_triggered_total: null,
12036
+ by_target: byTarget,
12037
+ casts_on_spell_immune_target: casts.filter((c) => c.target_spell_immune).length,
12038
+ of_those_target_was_stunned: casts.filter((c) => c.target_spell_immune && c.target_stunned_seconds > 0).length,
12039
+ casts_where: {
12040
+ target_spell_immune_and_not_stunned: intoImmunity,
12041
+ enemy_hero_target_alive_12s_later: targetLived,
12042
+ ...damaging ? { no_hero_target_near_enemies_at_most_one_damaged_and_none_died: cameToLittle } : {}
12043
+ },
12044
+ ...damaging ? { casts_not_known: { enemy_heroes_near: nearNotKnown } } : {},
12045
+ seconds_alive_since_learned: alive,
12046
+ seconds_alive_and_ready: null,
12047
+ deaths_with_it_ready_and_not_cast_total: null,
12048
+ deaths_with_it_ready_and_not_cast: null,
12049
+ casts: casts.map((c) => ({ ...c, trigger: "manual" })),
12050
+ note: "This ability can trigger automatically without emitting a combat-log cast event, and cooldown samples are missing in this trace; auto-triggered activations, total activations, ready time, and unused deaths are unknown (null).",
12051
+ gaps: [...gapsFor(trace, ["ability_immunity", "vision"]), { topic: "ability_casts", reason: "auto_triggered_cooldowns_missing_in_trace" }]
12052
+ };
12053
+ }
12054
+ const autoRows = autoInfo.auto.map((tr2) => {
12055
+ const { me, allies, enemies } = nearby(trace, h, tr2.t, 1300);
12056
+ const meKnown = Boolean(me && me.x != null && me.y != null);
12057
+ const alliesKnown = meKnown && trace.heroes.every((o, j) => j === h || o.team !== trace.heroes[h].team || heroNearKnown(trace, j, tr2.t));
12058
+ const enemiesKnown = meKnown && trace.heroes.every((o, j) => o.team === trace.heroes[h].team || heroNearKnown(trace, j, tr2.t));
12059
+ return {
12060
+ ref: "",
12061
+ t: tr2.t,
12062
+ clock: tr2.clock,
12063
+ row: null,
12064
+ trigger: "auto",
12065
+ target: null,
12066
+ target_hp: null,
12067
+ target_spell_immune: null,
12068
+ target_stunned_seconds: null,
12069
+ me: meKnown ? { hp: me.hp, max_hp: me.max_hp, ...where(me) } : null,
12070
+ allies_within_1300: alliesKnown ? allies.map((a) => a.hero) : null,
12071
+ enemies_within_1300: enemiesKnown ? enemies.map((e) => e.hero) : null,
12072
+ deaths_within_12s: real.filter((d) => d[0] >= tr2.t && d[0] - tr2.t <= 12).map((d) => deathRow(trace, d, tr2.t, view))
12073
+ };
12074
+ });
12075
+ const autoProximityMissing = autoRows.some((r) => r.allies_within_1300 == null || r.enemies_within_1300 == null);
12076
+ const combined = [
12077
+ ...casts.map((c) => ({ ...c, trigger: "manual" })),
12078
+ ...autoRows
12079
+ ].sort((a, b) => a.t - b.t || (a.row ?? Infinity) - (b.row ?? Infinity)).map((c, idx) => ({ ...c, ref: `cast:${trace.heroes[h].key}:${short}:${idx + 1}` }));
12080
+ const unusedAuto = myDeaths.filter((d) => abilityLevel(entry, d[0]) > 0 && cooldownLeft(entry, d[0] - 0.5) === 0 && !combined.some((c) => c.t >= d[0] - 12 && c.t <= d[0] + 0.5) && !autoInfo.allStarts.some((st) => st.t >= d[0] - 12 && st.t <= d[0] + 0.5)).filter(afford);
12081
+ return {
12082
+ ref: `audit:${trace.heroes[h].key}:${short}`,
12083
+ ref_scope: "summary",
12084
+ hero: trace.heroes[h].key,
12085
+ ability: key,
12086
+ learned_at: learned == null ? null : { t: learned, clock: clock3(learned) },
12087
+ casts_total: combined.length,
12088
+ manual_casts_total: casts.length,
12089
+ auto_triggered_total: autoRows.length,
12090
+ by_target: byTarget,
12091
+ casts_on_spell_immune_target: casts.filter((c) => c.target_spell_immune).length,
12092
+ of_those_target_was_stunned: casts.filter((c) => c.target_spell_immune && c.target_stunned_seconds > 0).length,
12093
+ casts_where: {
12094
+ target_spell_immune_and_not_stunned: intoImmunity,
12095
+ enemy_hero_target_alive_12s_later: targetLived,
12096
+ ...damaging ? { no_hero_target_near_enemies_at_most_one_damaged_and_none_died: cameToLittle } : {}
12097
+ },
12098
+ ...damaging ? { casts_not_known: { enemy_heroes_near: nearNotKnown } } : {},
12099
+ seconds_alive_since_learned: alive,
12100
+ seconds_alive_and_ready: idle,
12101
+ deaths_with_it_ready_and_not_cast_total: unusedAuto.length,
12102
+ deaths_with_it_ready_and_not_cast: unusedAuto.map((d) => ({ ref: `death:${trace.heroes[h].key}:${myDeaths.indexOf(d) + 1}`, t: d[0], clock: clock3(d[0]), killer: nameOf(trace, d[2]), row: d[3] })),
12103
+ casts: combined,
12104
+ note: 'Includes both manual casts (trigger: "manual", from combat log) and automatic activations (trigger: "auto", detected from ability cooldown starts, which emit no combat-log cast event).',
12105
+ gaps: [
12106
+ ...gapsFor(trace, ["ability_immunity", "vision"]),
12107
+ ...autoProximityMissing ? [{ topic: "hero_positions", reason: "position_samples_missing_around_auto_trigger" }] : []
12108
+ ]
12109
+ };
12110
+ }
11756
12111
  const unused = passiveOnDeath ? [] : myDeaths.filter((d) => abilityLevel(entry, d[0]) > 0 && cooldownLeft(entry, d[0] - 0.5) === 0 && !rows.some((c) => d[0] - c[0] >= 0 && d[0] - c[0] <= 12)).filter(afford);
11757
12112
  return {
11758
12113
  ref: `audit:${trace.heroes[h].key}:${short}`,
@@ -11779,6 +12134,7 @@ function abilityAudit(trace, args = {}, ctx = {}) {
11779
12134
  deaths_with_it_ready_and_not_cast_total: unused.length,
11780
12135
  deaths_with_it_ready_and_not_cast: unused.map((d) => ({ ref: `death:${trace.heroes[h].key}:${myDeaths.indexOf(d) + 1}`, t: d[0], clock: clock3(d[0]), killer: nameOf(trace, d[2]), row: d[3] })),
11781
12136
  casts,
12137
+ note: "casts_where lists neutral outcome filters, not mistake counts: peeling, zoning, forcing BKB, or stopping TP do not require killing the target within 12 s.",
11782
12138
  gaps: gapsFor(trace, ["ability_immunity", "vision"])
11783
12139
  };
11784
12140
  }
@@ -11856,6 +12212,25 @@ function fightTimeline(trace, args = {}, ctx = {}) {
11856
12212
  for (const m of trace.modifiers) if (m[6] === "i" && m[4] === 1 && inWindow(m[0])) rows.push({ p: 0, t: m[0], kind: "spell_immune", hero: nameOf(trace, m[1]), ...sideOf(view, trace, heroOfName(trace, m[1])), modifier: trace.names[m[2]].replace(/^modifier_/, ""), ...m[7] == null ? {} : { row: m[7] } });
11857
12213
  for (const u of trace.item_uses) if (inWindow(u[0]) && !NOISE_ITEMS.test(trace.names[u[2]])) rows.push({ p: 1, t: u[0], kind: "item", hero: nameOf(trace, u[1]), item: trace.names[u[2]].replace(/^item_/, ""), row: u[3] });
11858
12214
  for (const c of trace.casts) if (inWindow(c[0])) rows.push({ p: heroOfName(trace, c[3]) >= 0 ? 1 : 2, t: c[0], kind: "cast", hero: nameOf(trace, c[1]), ability: trace.names[c[2]], ...c[3] >= 0 ? { target: nameOf(trace, c[3]) } : {}, row: c[4] });
12215
+ let timelineAutoCooldownMissing = false;
12216
+ for (let i = 0; i < trace.heroes.length; i += 1) {
12217
+ const heroAbs = trace.abilities?.[i] ?? {};
12218
+ const hNpc = nameId(trace, trace.heroes[i].npc);
12219
+ const hRefreshers = refresherTimes(trace, hNpc);
12220
+ for (const [k3, e] of Object.entries(heroAbs)) {
12221
+ if (!AUTO_TRIGGERED_ACTIVE_ABILITIES.has(k3)) continue;
12222
+ const aid = nameId(trace, k3);
12223
+ const manual = aid >= 0 ? trace.casts.filter((c) => c[1] === hNpc && c[2] === aid).sort((a, b) => a[0] - b[0]) : [];
12224
+ const info = cooldownActivations(e, manual, hRefreshers);
12225
+ if (!info) {
12226
+ if (abilityLevel(e, to) > 0) timelineAutoCooldownMissing = true;
12227
+ continue;
12228
+ }
12229
+ for (const tr2 of info.auto) {
12230
+ if (inWindow(tr2.t)) rows.push({ p: 0, t: tr2.t, kind: "auto_trigger", hero: trace.heroes[i].key, ...sideOf(view, trace, i), ability: k3 });
12231
+ }
12232
+ }
12233
+ }
11859
12234
  let kept = rows;
11860
12235
  let truncated = false;
11861
12236
  for (const drop of [2, 1]) {
@@ -11895,7 +12270,10 @@ function fightTimeline(trace, args = {}, ctx = {}) {
11895
12270
  ...truncated ? { truncated: "casts_without_a_hero_target_dropped_first" } : {},
11896
12271
  damage_to_heroes_by_unit: top(dealt),
11897
12272
  damage_taken_by_hero: top(taken),
11898
- gaps: gapsFor(trace, ["vision", "ability_immunity"])
12273
+ gaps: [
12274
+ ...gapsFor(trace, ["vision", "ability_immunity"]),
12275
+ ...timelineAutoCooldownMissing ? [{ topic: "ability_casts", reason: "auto_triggered_cooldowns_missing_in_trace" }] : []
12276
+ ]
11899
12277
  };
11900
12278
  }
11901
12279
  var CONSUMABLE = /^item_(tango|clarity|flask|faerie_fire|branches|ward_|enchanted_mango|famango|great_famango|tpscroll|smoke_of_deceit|dust|blood_grenade|tome_of_knowledge|infused_raindrop|bottle|madstone|recipe_)/;
@@ -12003,8 +12381,6 @@ function tempoReport(trace, args = {}, ctx = {}) {
12003
12381
  let dead = 0;
12004
12382
  const sides = { own: 0, river: 0, enemy: 0 };
12005
12383
  const places = /* @__PURE__ */ new Map();
12006
- const company = [0, 0, 0];
12007
- let companyKnown = 0;
12008
12384
  let crowded = 0;
12009
12385
  let crowdKnown = 0;
12010
12386
  let unsampled = 0;
@@ -12034,10 +12410,6 @@ function tempoReport(trace, args = {}, ctx = {}) {
12034
12410
  }
12035
12411
  if (at.alive && dist(me, at) <= NEAR) near[o.team] += 1;
12036
12412
  });
12037
- if (!unseen[team]) {
12038
- companyKnown += 1;
12039
- company[Math.min(2, near[team])] += 1;
12040
- }
12041
12413
  if (!unseen[other2]) {
12042
12414
  crowdKnown += 1;
12043
12415
  if (near[other2] >= 3) crowded += 1;
@@ -12080,9 +12452,6 @@ function tempoReport(trace, args = {}, ctx = {}) {
12080
12452
  on_own_side_of_the_map: whole(sides.own),
12081
12453
  around_the_river: whole(sides.river),
12082
12454
  on_the_opponents_side: whole(sides.enemy),
12083
- with_no_ally_within_2200: whole(company[0], companyKnown),
12084
- with_one_ally_within_2200: whole(company[1], companyKnown),
12085
- with_two_or_more_allies_within_2200: whole(company[2], companyKnown),
12086
12455
  with_three_or_more_opponents_within_2200: whole(crowded, crowdKnown)
12087
12456
  },
12088
12457
  // Null (not an empty list) when the stretch was not sampled throughout: the place they spent most time in may be one never seen.
@@ -12148,19 +12517,19 @@ var TIME = { type: ["number", "string"], description: 'Game time: seconds, or "m
12148
12517
  var TRACE_TOOLS = [
12149
12518
  {
12150
12519
  name: "match_overview",
12151
- description: "The whole game at a glance, from the replay: both line-ups with deaths and final level, every fight (three or more hero deaths close together) with who lost fewer heroes, and when each building fell. For a lost game, told from one hero: the fight it turned on, and whether it was lost from the lanes. Start here to find the fights and moments worth a closer look.",
12520
+ description: "The whole game at a glance, from the replay: both line-ups with deaths and final level, every fight (three or more hero deaths close together) with who lost fewer heroes, and when each building fell. For a lost game, told from one hero: `turning_fight` and `lanes` (`lost_from_the_lanes`) are pure gold-curve indicators, not draft or cause verdicts (scaling lineups can trail by >2000 gold at 10:00 without losing the game in lane). Start here to find the fights and moments worth a closer look.",
12152
12521
  input_schema: { type: "object", properties: {}, additionalProperties: false },
12153
12522
  run: matchOverview
12154
12523
  },
12155
12524
  {
12156
12525
  name: "death_context",
12157
- description: "What led to a hero's real deaths: for the seconds before each one, where they were, which allies and enemies were within 2200 units, health and mana, which of their abilities and items were ready, who dealt the damage, the disables that landed (`disable_seconds_in_window`), enemy ultimates absorbed (`enemy_ultimates_absorbed`), allies near who survived the next 10 s (`allies_near_who_survived_10s`), what they cast, nearby fights within [-30 s before engagement, +15 s after] (`nearby_fight`), nearby building/Roshan activity (`nearby_objective`), killer kind and whether it was a neutral/tower/Roshan/Tormentor/creep death with zero enemy hero damage (`non_hero_death_without_enemy_hero_damage`), and who else died around it. Without `index`, every real death. In-place revivals (Wraith King's Reincarnation, Aegis of the Immortal) are not counted as deaths; when the hero had any, they are listed apart under `resurrections` (`resurrection:<hero>:<n>`, with `died_for_real_within_20s` when the hero died again right after reviving), and for Wraith King each real death gives `reincarnation_at_death` (`not_learned`, `on_cooldown`, `insufficient_mana`). An ability off cooldown that the hero never had the mana for in the window is listed apart (`off_cooldown_without_the_mana`), not as ready; attack modifiers whose uses are not logged as ability casts are excluded from `ready_not_cast`. `deaths_where` lists, by game time, the deaths that have something in common (began below half health, no ally near, three or more enemies, before a nearby fight within 30 s, non-hero without enemy hero damage, absorbed enemy ultimate) and `damage_share_in_death_windows` says where the damage came from \u2014 use them for what to change, and for which item answers the damage. `most_left_unused` lists all the hero's deaths in a fixed order of how much they still had (rule in `most_left_unused_rule`): the first is the answer to \"which death was the most avoidable\".",
12526
+ description: "What led to a hero's real deaths, from both sides: for the seconds before each one, where the player was, which enemies were within 2200 units (with distance, `hp_pct`, `mana`, and `level`), player health/mana and ready abilities/items, bilateral enemy kill threat at window start (`enemy_context_at_window_start`: nearby enemies' ready, no-mana, and on-cooldown abilities plus held key combat items), attackers who arrived from outside 2200 or respawned after window start (`attackers_arrived_after_window_start`), active enemy smokes or runes overlapping the window (`enemy_active_buffs_in_window`), who dealt the damage, the disables that landed (`disable_seconds_in_window`), enemy ultimates absorbed (`enemy_ultimates_absorbed`), what the player cast, nearby fights within [-30 s before engagement, +15 s after] (`nearby_fight`), nearby building/Roshan activity (`nearby_objective`), killer kind and whether it was a neutral/tower/Roshan/Tormentor/creep death with zero enemy hero damage (`non_hero_death_without_enemy_hero_damage`), and who else died around it. Without `index`, every real death. In-place revivals (Wraith King's Reincarnation, Aegis of the Immortal) are not counted as deaths; when the hero had any, they are listed apart under `resurrections` (`resurrection:<hero>:<n>`, with `died_for_real_within_20s` when the hero died again right after reviving), and for Wraith King each real death gives `reincarnation_at_death` (`not_learned`, `on_cooldown`, `insufficient_mana`). Auto-triggerable active abilities that fired automatically without a combat-log cast (e.g. Abaddon's Borrowed Time below 400 HP, detected from cooldown starts) are listed under `auto_triggered` and excluded from `ready_not_cast`. An ability off cooldown that the hero never had the mana for in the window is listed apart (`off_cooldown_without_the_mana`), not as ready; attack modifiers whose uses are not logged as ability casts are excluded from `ready_not_cast`. `deaths_where` lists, by game time, the deaths that share factual traits (three or more enemies, in/outside fights, traded/not traded, before a nearby fight within 30 s, non-hero without enemy hero damage, absorbed enemy ultimate) and `damage_share_in_death_windows` says where the damage came from. `most_left_unused` sorts the hero's deaths by unused ready own abilities at window start (rule in `most_left_unused_rule`) \u2014 a factual sort, not a verdict on avoidability.",
12158
12527
  input_schema: { type: "object", properties: { hero: HERO, index: { type: "integer", minimum: 1, description: "Which death, counting from 1. Omit for all." }, window: { type: "number", minimum: 4, maximum: 30, description: "Seconds before the death to look at (default 12)." } }, required: ["hero"], additionalProperties: false },
12159
12528
  run: deathContext
12160
12529
  },
12161
12530
  {
12162
12531
  name: "ability_audit",
12163
- description: "Every cast of one ability by one hero: the target and its health, whether the target was spell immune at that moment, who was near, which enemy heroes it damaged in the 15 seconds after, or until its next cast (`enemy_heroes_damaged_within_15s`, for an ability that deals damage), and which heroes died in the next 12 seconds. Also how long the ability sat ready while the hero was alive, and the hero's real deaths with it ready and not cast (for passive death-triggered abilities such as `skeleton_king_reincarnation` or `undying_ceaseless_dirge`, `triggered_on_death` lists when it triggered instead; for attack modifiers or passives whose uses are not logged as ability casts, `casts_logged: false` with `casts_total: null` and `damage_to_enemy_heroes_total` instead of 0 casts).",
12532
+ description: 'Every cast of one ability by one hero: the target and its health, whether the target was spell immune at that moment, who was near, which enemy heroes it damaged in the 15 seconds after, or until its next cast (`enemy_heroes_damaged_within_15s`, for an ability that deals damage), and which heroes died in the next 12 seconds. `casts_where` are neutral outcome filters, not mistake counts (peeling, zoning, forcing BKB, or stopping TP do not require killing the target within 12 s). Also how long the ability sat ready while the hero was alive, and the hero\'s real deaths with it ready and not cast (for passive death-triggered abilities such as `skeleton_king_reincarnation` or `undying_ceaseless_dirge`, `triggered_on_death` lists when it triggered instead; for auto-triggerable active abilities such as `abaddon_borrowed_time`, `casts` includes both `trigger: "manual"` casts and `trigger: "auto"` cooldown-detected activations with `manual_casts_total` and `auto_triggered_total`; for attack modifiers or passives whose uses are not logged as ability casts, `casts_logged: false` with `casts_total: null` and `damage_to_enemy_heroes_total` instead of 0 casts).',
12164
12533
  input_schema: { type: "object", properties: { hero: HERO, ability: { type: "string", description: 'Ability key, with or without the hero prefix, e.g. "primal_roar".' } }, required: ["hero", "ability"], additionalProperties: false },
12165
12534
  run: abilityAudit
12166
12535
  },
@@ -12172,7 +12541,7 @@ var TRACE_TOOLS = [
12172
12541
  },
12173
12542
  {
12174
12543
  name: "fight_timeline",
12175
- description: "A stretch of the game second by second (at most 180 s): where all ten heroes stood at the start and at the first death, then every cast, key item use, spell-immunity activation, death, in-place revival (`reincarnation`, `aegis`) and building kill in order, how many heroes each side lost in it (`hero_deaths_in_window`, real deaths only), and who dealt and took the damage.",
12544
+ description: "A stretch of the game second by second (at most 180 s): where all ten heroes stood at the start and at the first death, then every cast, auto-triggered ultimate (`auto_trigger`, e.g. Abaddon Borrowed Time), key item use, spell-immunity activation, death, in-place revival (`reincarnation`, `aegis`) and building kill in order, how many heroes each side lost in it (`hero_deaths_in_window`, real deaths only), and who dealt and took the damage.",
12176
12545
  input_schema: { type: "object", properties: { from: TIME, to: TIME }, required: ["from", "to"], additionalProperties: false },
12177
12546
  run: fightTimeline
12178
12547
  },
@@ -12556,7 +12925,7 @@ var items_default = { blink: { abilities: [{ type: "active", title: "Blink", des
12556
12925
  var abilities_default = { source: "Valve datafeed herodata + OpenDota constants", patch: "7.42", ultimates: { "1": { key: "antimage_mana_void", en: "Mana Void", zh: "\u6CD5\u529B\u865A\u7A7A", cd: [100, 85, 70] }, "2": { key: "axe_culling_blade", en: "Culling Blade", zh: "\u6DD8\u6C70\u4E4B\u5203", cd: [80, 75, 70] }, "3": { key: "bane_fiends_grip", en: "Fiend's Grip", zh: "\u9B54\u722A", cd: [125, 110, 95] }, "4": { key: "bloodseeker_rupture", en: "Rupture", zh: "\u5272\u88C2", cd: [75, 70, 65] }, "5": { key: "crystal_maiden_freezing_field", en: "Freezing Field", zh: "\u6781\u5BD2\u9886\u57DF", cd: [110, 100, 90] }, "6": { key: "drow_ranger_marksmanship", en: "Marksmanship", zh: "\u5C04\u624B\u5929\u8D4B", cd: [0], passive: true }, "7": { key: "earthshaker_echo_slam", en: "Echo Slam", zh: "\u56DE\u97F3\u51FB", cd: [125, 115, 105] }, "8": { key: "juggernaut_omni_slash", en: "Omnislash", zh: "\u65E0\u654C\u65A9", cd: [120] }, "9": { key: "mirana_invis", en: "Moonlight Shadow", zh: "\u6708\u4E4B\u6697\u9762", cd: [120, 110, 100] }, "10": { key: "morphling_replicate", en: "Morph", zh: "\u53D8\u5F62", cd: [125, 90, 55] }, "11": { key: "nevermore_requiem", en: "Requiem of Souls", zh: "\u9B42\u4E4B\u633D\u6B4C", cd: [120, 110, 100] }, "12": { key: "phantom_lancer_juxtapose", en: "Juxtapose", zh: "\u5E76\u5217", cd: [0], passive: true }, "13": { key: "puck_dream_coil", en: "Dream Coil", zh: "\u68A6\u5883\u7F20\u7ED5", cd: [80, 75, 70] }, "14": { key: "pudge_dismember", en: "Dismember", zh: "\u80A2\u89E3", cd: [30, 25, 20] }, "15": { key: "razor_eye_of_the_storm", en: "Eye of the Storm", zh: "\u98CE\u66B4\u4E4B\u773C", cd: [80, 70, 60] }, "16": { key: "sandking_epicenter", en: "Epicenter", zh: "\u5730\u9707", cd: [120, 110, 100] }, "17": { key: "storm_spirit_ball_lightning", en: "Ball Lightning", zh: "\u7403\u72B6\u95EA\u7535", cd: [0] }, "18": { key: "sven_gods_strength", en: "God's Strength", zh: "\u795E\u4E4B\u529B\u91CF", cd: [110, 105, 100] }, "19": { key: "tiny_grow", en: "Grow", zh: "\u957F\u5927", cd: [0], passive: true }, "20": { key: "vengefulspirit_nether_swap", en: "Nether Swap", zh: "\u79FB\u5F62\u6362\u4F4D", cd: [46, 38, 30] }, "21": { key: "windrunner_focusfire", en: "Focus Fire", zh: "\u96C6\u4E2D\u706B\u529B", cd: [50, 40, 30] }, "22": { key: "zuus_thundergods_wrath", en: "Thundergod's Wrath", zh: "\u96F7\u795E\u4E4B\u6012", cd: [130] }, "23": { key: "kunkka_ghostship", en: "Ghostship", zh: "\u5E7D\u7075\u8239", cd: [90, 80, 70] }, "25": { key: "lina_laguna_blade", en: "Laguna Blade", zh: "\u795E\u706D\u65A9", cd: [70, 60, 50] }, "26": { key: "lion_finger_of_death", en: "Finger of Death", zh: "\u6B7B\u4EA1\u4E4B\u6307", cd: [110, 70, 30] }, "27": { key: "shadow_shaman_mass_serpent_ward", en: "Mass Serpent Ward", zh: "\u7FA4\u86C7\u5B88\u536B", cd: [110] }, "28": { key: "slardar_amplify_damage", en: "Corrosive Haze", zh: "\u4FB5\u8680\u96FE\u972D", cd: [5] }, "29": { key: "tidehunter_ravage", en: "Ravage", zh: "\u6BC1\u706D", cd: [150, 145, 140] }, "30": { key: "witch_doctor_death_ward", en: "Death Ward", zh: "\u6B7B\u4EA1\u5B88\u536B", cd: [100, 90, 80] }, "31": { key: "lich_chain_frost", en: "Chain Frost", zh: "\u8FDE\u73AF\u971C\u51BB", cd: [100, 80, 60] }, "32": { key: "riki_backstab", en: "Cloak and Dagger", zh: "\u5200\u5149\u8C0D\u5F71", cd: [0], passive: true }, "33": { key: "enigma_black_hole", en: "Black Hole", zh: "\u9ED1\u6D1E", cd: [180, 170, 160] }, "34": { key: "tinker_rearm", en: "Rearm", zh: "\u518D\u88C5\u586B", cd: [5.5, 5, 4.5] }, "35": { key: "sniper_assassinate", en: "Assassinate", zh: "\u6697\u6740", cd: [20, 15, 10] }, "36": { key: "necrolyte_reapers_scythe", en: "Reaper's Scythe", zh: "\u6B7B\u795E\u9570\u5200", cd: [95] }, "37": { key: "warlock_rain_of_chaos", en: "Chaotic Offering", zh: "\u6DF7\u4E71\u4E4B\u796D", cd: [165] }, "38": { key: "beastmaster_primal_roar", en: "Primal Roar", zh: "\u539F\u59CB\u5486\u54EE", cd: [90, 75, 60] }, "39": { key: "queenofpain_sonic_wave", en: "Sonic Wave", zh: "\u8D85\u58F0\u51B2\u51FB\u6CE2", cd: [105, 90, 75] }, "40": { key: "venomancer_noxious_plague", en: "Noxious Plague", zh: "\u6076\u6027\u761F\u75AB", cd: [100, 90, 80] }, "41": { key: "faceless_void_chronosphere", en: "Chronosphere", zh: "\u65F6\u95F4\u7ED3\u754C", cd: [155, 145, 135] }, "42": { key: "skeleton_king_reincarnation", en: "Reincarnation", zh: "\u7EDD\u51A5\u518D\u751F", cd: [180, 150, 120] }, "43": { key: "death_prophet_exorcism", en: "Exorcism", zh: "\u9A71\u4F7F\u6076\u7075", cd: [145, 135, 125] }, "44": { key: "phantom_assassin_coup_de_grace", en: "Coup de Grace", zh: "\u6069\u8D50\u89E3\u8131", cd: [0], passive: true }, "45": { key: "pugna_life_drain", en: "Life Drain", zh: "\u751F\u547D\u6C72\u53D6", cd: [7] }, "46": { key: "templar_assassin_psionic_trap", en: "Psionic Trap", zh: "\u7075\u80FD\u9677\u9631", cd: [11, 8, 5] }, "47": { key: "viper_viper_strike", en: "Viper Strike", zh: "\u876E\u86C7\u7A81\u88AD", cd: [50, 40, 30] }, "48": { key: "luna_eclipse", en: "Eclipse", zh: "\u6708\u8680", cd: [105] }, "49": { key: "dragon_knight_elder_dragon_form", en: "Elder Dragon Form", zh: "\u53E4\u9F99\u5F62\u6001", cd: [100] }, "50": { key: "dazzle_nothl_projection", en: "Nothl Projection", zh: "\u865A\u65E0\u6295\u5F71", cd: [70, 60, 50] }, "51": { key: "rattletrap_hookshot", en: "Hookshot", zh: "\u53D1\u5C04\u94A9\u722A", cd: [60, 45, 30] }, "52": { key: "leshrac_pulse_nova", en: "Pulse Nova", zh: "\u8109\u51B2\u65B0\u661F", cd: [1, 1, 1, 1] }, "53": { key: "furion_wrath_of_nature", en: "Wrath of Nature", zh: "\u81EA\u7136\u4E4B\u6012", cd: [85] }, "54": { key: "life_stealer_infest", en: "Infest", zh: "\u611F\u67D3", cd: [80, 65, 50] }, "55": { key: "dark_seer_wall_of_replica", en: "Wall of Replica", zh: "\u590D\u5236\u4E4B\u5899", cd: [100, 100, 100] }, "56": { key: "clinkz_wind_walk", en: "Skeleton Walk", zh: "\u9AA8\u9690\u6B65", cd: [24, 21, 18] }, "57": { key: "omniknight_guardian_angel", en: "Guardian Angel", zh: "\u5B88\u62A4\u5929\u4F7F", cd: [100, 90, 80] }, "58": { key: "enchantress_untouchable", en: "Untouchable", zh: "\u4E0D\u53EF\u4FB5\u72AF", cd: [0], passive: true }, "59": { key: "huskar_life_break", en: "Life Break", zh: "\u727A\u7272", cd: [15, 13, 11] }, "60": { key: "night_stalker_darkness", en: "Dark Ascension", zh: "\u9ED1\u6697\u98DE\u5347", cd: [140, 135, 130] }, "61": { key: "broodmother_spawn_spiderlings", en: "Spawn Spiderlings", zh: "\u5B75\u5316\u8718\u86DB", cd: [9, 8, 7] }, "62": { key: "bounty_hunter_track", en: "Track", zh: "\u8FFD\u8E2A\u672F", cd: [6, 5, 4] }, "63": { key: "weaver_time_lapse", en: "Time Lapse", zh: "\u65F6\u5149\u5012\u6D41", cd: [70, 55, 40] }, "64": { key: "jakiro_macropyre", en: "Macropyre", zh: "\u70C8\u7130\u711A\u8EAB", cd: [90, 80, 70] }, "65": { key: "batrider_flaming_lasso", en: "Flaming Lasso", zh: "\u71C3\u70E7\u67B7\u9501", cd: [90, 75, 60] }, "66": { key: "chen_hand_of_god", en: "Hand of God", zh: "\u4E0A\u5E1D\u4E4B\u624B", cd: [150, 130, 110] }, "67": { key: "spectre_haunt", en: "Haunt", zh: "\u9B3C\u5F71\u91CD\u91CD", cd: [160, 150, 140] }, "68": { key: "ancient_apparition_ice_blast", en: "Ice Blast", zh: "\u51B0\u6676\u7206\u8F70", cd: [50, 45, 40] }, "69": { key: "doom_bringer_doom", en: "Doom", zh: "\u672B\u65E5", cd: [140, 130, 120] }, "70": { key: "ursa_enrage", en: "Enrage", zh: "\u6FC0\u6012", cd: [60, 45, 30] }, "71": { key: "spirit_breaker_nether_strike", en: "Nether Strike", zh: "\u5E7D\u51A5\u4E00\u51FB", cd: [75, 55, 35] }, "72": { key: "gyrocopter_call_down", en: "Call Down", zh: "\u53EC\u5524\u98DE\u5F39", cd: [75, 65, 55] }, "73": { key: "alchemist_chemical_rage", en: "Chemical Rage", zh: "\u5316\u5B66\u72C2\u66B4", cd: [60] }, "74": { key: "invoker_invoke", en: "Invoke", zh: "\u5143\u7D20\u7948\u5524", cd: [7] }, "75": { key: "silencer_global_silence", en: "Global Silence", zh: "\u5168\u9886\u57DF\u9759\u9ED8", cd: [120] }, "76": { key: "obsidian_destroyer_sanity_eclipse", en: "Sanity's Eclipse", zh: "\u795E\u667A\u4E4B\u8680", cd: [140, 130, 120] }, "77": { key: "lycan_shapeshift", en: "Shapeshift", zh: "\u53D8\u8EAB", cd: [105, 95, 85] }, "78": { key: "brewmaster_primal_split", en: "Primal Split", zh: "\u5143\u7D20\u5206\u79BB", cd: [140, 130, 120] }, "79": { key: "shadow_demon_demonic_purge", en: "Demonic Purge", zh: "\u90AA\u6076\u51C0\u5316", cd: [70, 65, 60] }, "80": { key: "lone_druid_true_form", en: "True Form", zh: "\u771F\u718A\u5F62\u6001", cd: [60, 55, 50] }, "81": { key: "chaos_knight_phantasm", en: "Phantasm", zh: "\u6DF7\u6C8C\u4E4B\u519B", cd: [85, 80, 75] }, "82": { key: "meepo_divided_we_stand", en: "Divided We Stand", zh: "\u5206\u5219\u80FD\u6210", cd: [0], passive: true }, "83": { key: "treant_overgrowth", en: "Overgrowth", zh: "\u75AF\u72C2\u751F\u957F", cd: [110, 100, 90] }, "84": { key: "ogre_magi_multicast", en: "Multicast", zh: "\u591A\u91CD\u65BD\u6CD5", cd: [0], passive: true }, "85": { key: "undying_flesh_golem", en: "Flesh Golem", zh: "\u8840\u8089\u5080\u5121", cd: [140] }, "86": { key: "rubick_spell_steal", en: "Spell Steal", zh: "\u6280\u80FD\u7A83\u53D6", cd: [16, 10, 4] }, "87": { key: "disruptor_static_storm", en: "Static Storm", zh: "\u9759\u6001\u98CE\u66B4", cd: [100, 85, 70] }, "88": { key: "nyx_assassin_vendetta", en: "Vendetta", zh: "\u590D\u4EC7", cd: [80, 70, 60] }, "89": { key: "naga_siren_song_of_the_siren", en: "Song of the Siren", zh: "\u6D77\u5996\u4E4B\u6B4C", cd: [160, 130, 100] }, "90": { key: "keeper_of_the_light_spirit_form", en: "Spirit Form", zh: "\u7075\u9B42\u5F62\u6001", cd: [85, 80, 75] }, "91": { key: "wisp_relocate", en: "Relocate", zh: "\u964D\u4E34", cd: [90, 80, 70] }, "92": { key: "visage_summon_familiars", en: "Summon Familiars", zh: "\u53EC\u5524\u4F63\u517D", cd: [120, 110, 100] }, "93": { key: "slark_shadow_dance", en: "Shadow Dance", zh: "\u6697\u5F71\u4E4B\u821E", cd: [50, 40, 30] }, "94": { key: "medusa_stone_gaze", en: "Stone Gaze", zh: "\u77F3\u5316\u51DD\u89C6", cd: [90] }, "95": { key: "troll_warlord_battle_trance", en: "Battle Trance", zh: "\u6218\u6597\u4E13\u6CE8", cd: [90, 80, 70] }, "96": { key: "centaur_stampede", en: "Stampede", zh: "\u5954\u88AD\u51B2\u649E", cd: [100, 95, 90] }, "97": { key: "magnataur_reverse_polarity", en: "Reverse Polarity", zh: "\u4E24\u6781\u53CD\u8F6C", cd: [115] }, "98": { key: "shredder_chakram", en: "Chakram", zh: "\u952F\u9F7F\u98DE\u8F6E", cd: [8, 8, 8] }, "99": { key: "bristleback_warpath", en: "Warpath", zh: "\u6218\u610F", cd: [0], passive: true }, "100": { key: "tusk_walrus_punch", en: "Walrus PUNCH!", zh: "\u6D77\u8C61\u795E\u62F3\uFF01", cd: [16, 13, 10] }, "101": { key: "skywrath_mage_mystic_flare", en: "Mystic Flare", zh: "\u795E\u79D8\u4E4B\u8000", cd: [55, 35, 15] }, "102": { key: "abaddon_borrowed_time", en: "Borrowed Time", zh: "\u56DE\u5149\u8FD4\u7167", cd: [85, 75, 65] }, "103": { key: "elder_titan_earth_splitter", en: "Earth Splitter", zh: "\u88C2\u5730\u6C9F\u58D1", cd: [100, 95, 90] }, "104": { key: "legion_commander_duel", en: "Duel", zh: "\u51B3\u6597", cd: [60, 55, 50] }, "105": { key: "techies_land_mines", en: "Proximity Mines", zh: "\u611F\u5E94\u5730\u96F7", cd: [0.25] }, "106": { key: "ember_spirit_fire_remnant", en: "Fire Remnant", zh: "\u6B8B\u7130", cd: [0.5] }, "107": { key: "earth_spirit_magnetize", en: "Magnetize", zh: "\u78C1\u5316", cd: [100, 90, 80] }, "108": { key: "abyssal_underlord_dark_portal", en: "Fiend's Gate", zh: "\u6076\u9B54\u4E4B\u6249", cd: [115, 105, 95] }, "109": { key: "terrorblade_sunder", en: "Sunder", zh: "\u9B42\u65AD", cd: [110, 75, 40] }, "110": { key: "phoenix_supernova", en: "Supernova", zh: "\u8D85\u65B0\u661F", cd: [120] }, "111": { key: "oracle_false_promise", en: "False Promise", zh: "\u865A\u5984\u4E4B\u8BFA", cd: [110, 85, 60] }, "112": { key: "winter_wyvern_winters_curse", en: "Winter's Curse", zh: "\u5BD2\u51AC\u8BC5\u5492", cd: [100, 90, 80] }, "113": { key: "arc_warden_tempest_double", en: "Tempest Double", zh: "\u98CE\u66B4\u53CC\u96C4", cd: [60, 55, 50] }, "114": { key: "monkey_king_wukongs_command", en: "Wukong's Command", zh: "\u7334\u5B50\u7334\u5B59", cd: [100, 90, 80] }, "119": { key: "dark_willow_bedlam", en: "Bedlam", zh: "\u4F5C\u795F", cd: [30] }, "120": { key: "pangolier_gyroshell", en: "Rolling Thunder", zh: "\u5730\u96F7\u6EDA\u6EDA", cd: [100, 90, 80] }, "121": { key: "grimstroke_soul_chain", en: "Soulbind", zh: "\u7F1A\u9B42", cd: [70, 65, 60] }, "123": { key: "hoodwink_sharpshooter", en: "Sharpshooter", zh: "\u4E00\u7BAD\u7A7F\u5FC3", cd: [45] }, "126": { key: "void_spirit_astral_step", en: "Astral Step", zh: "\u592A\u865A\u4E4B\u5F84", cd: [0] }, "128": { key: "snapfire_mortimer_kisses", en: "Mortimer Kisses", zh: "\u8725\u8734\u7EDD\u543B", cd: [120, 110, 100] }, "129": { key: "mars_arena_of_blood", en: "Arena Of Blood", zh: "\u70ED\u8840\u7ADE\u6280\u573A", cd: [105, 95, 85] }, "131": { key: "ringmaster_wheel", en: "Wheel of Wonder", zh: "\u5947\u89C2\u8F6E", cd: [90, 80, 70] }, "135": { key: "dawnbreaker_solar_guardian", en: "Solar Guardian", zh: "\u5929\u5149\u73B0\u4E16", cd: [110, 100, 90] }, "136": { key: "marci_unleash", en: "Unleash", zh: "\u6012\u62F3\u7834", cd: [80, 70, 60] }, "137": { key: "primal_beast_pulverize", en: "Pulverize", zh: "\u6376", cd: [45, 40, 35] }, "138": { key: "muerta_pierce_the_veil", en: "Pierce the Veil", zh: "\u8D8A\u754C", cd: [75, 60, 45] }, "145": { key: "kez_raptor_dance", en: "Raptor Dance", zh: "\u731B\u79BD\u4E4B\u821E", cd: [40, 35, 30] }, "155": { key: "largo_amphibian_rhapsody", en: "Amphibian Rhapsody", zh: "\u4E24\u6816\u72C2\u60F3\u66F2", cd: [1.5] } }, dmg_types: { antimage_mana_break: "P", antimage_mana_void: "M", axe_battle_hunger: "U", axe_counter_helix: "U", axe_culling_blade: "U", bane_enfeeble: "U", bane_brain_sap: "U", bane_fiends_grip: "U", bane_ichor_of_nyctasha: "U", bloodseeker_bloodrage: "U", bloodseeker_blood_bath: "U", bloodseeker_rupture: "U", crystal_maiden_crystal_nova: "M", crystal_maiden_frostbite: "M", crystal_maiden_freezing_field: "M", drow_ranger_frost_arrows: "P", drow_ranger_multishot: "P", drow_ranger_glacier: "M", drow_ranger_marksmanship: "P", earthshaker_fissure: "M", earthshaker_aftershock: "M", earthshaker_echo_slam: "M", juggernaut_blade_fury: "M", juggernaut_swift_slash: "P", juggernaut_omni_slash: "P", mirana_starfall: "M", mirana_arrow: "M", mirana_celestial_quiver: "M", nevermore_shadowraze1: "M", nevermore_shadowraze2: "M", nevermore_shadowraze3: "M", nevermore_requiem: "M", morphling_waveform: "M", morphling_adaptive_strike_agi: "M", phantom_lancer_spirit_lance: "M", phantom_lancer_phantom_edge: "P", puck_illusory_orb: "M", puck_waning_rift: "M", puck_dream_coil: "M", pudge_meat_hook: "U", pudge_rot: "M", pudge_dismember: "M", razor_plasma_field: "M", razor_storm_surge: "M", razor_eye_of_the_storm: "P", sandking_burrowstrike: "M", sandking_sand_storm: "M", sandking_scorpion_strike: "P", sandking_caustic_finale: "M", sandking_epicenter: "M", storm_spirit_static_remnant: "M", storm_spirit_overload: "M", storm_spirit_ball_lightning: "M", sven_storm_bolt: "M", tiny_avalanche: "M", tiny_toss: "M", tiny_tree_grab: "P", tiny_tree_channel: "P", tiny_grow: "P", tiny_toss_tree: "P", vengefulspirit_magic_missile: "M", vengefulspirit_wave_of_terror: "M", vengefulspirit_nether_swap: "M", windrunner_powershot: "M", zuus_arc_lightning: "M", zuus_lightning_bolt: "M", zuus_heavenly_jump: "M", zuus_cloud: "M", zuus_lightning_hands: "M", zuus_thundergods_wrath: "M", zuus_static_field: "M", kunkka_torrent: "M", kunkka_tidebringer: "P", kunkka_tidal_wave: "M", kunkka_ghostship: "M", lina_dragon_slave: "M", lina_light_strike_array: "M", lina_slow_burn: "M", lina_laguna_blade: "M", lich_frost_nova: "M", lich_frost_shield: "M", lich_chain_frost: "M", lion_impale: "M", lion_finger_of_death: "M", shadow_shaman_ether_shock: "M", shadow_shaman_shackles: "M", shadow_shaman_mass_serpent_ward: "P", slardar_slithereen_crush: "P", slardar_bash: "P", tidehunter_gush: "M", tidehunter_anchor_smash: "P", tidehunter_dead_in_the_water: "M", tidehunter_ravage: "M", witch_doctor_paralyzing_cask: "M", witch_doctor_voodoo_restoration: "M", witch_doctor_maledict: "M", witch_doctor_death_ward: "U", riki_blink_strike: "P", riki_tricks_of_the_trade: "P", riki_innate_backstab: "P", enigma_malefice: "M", enigma_demonic_conversion: "P", enigma_midnight_pulse: "M", enigma_black_hole: "U", tinker_laser: "U", tinker_march_of_the_machines: "M", tinker_deploy_turrets: "M", tinker_warp_grenade: "M", sniper_shrapnel: "M", sniper_headshot: "P", sniper_concussive_grenade: "M", sniper_assassinate: "M", necrolyte_death_pulse: "M", necrolyte_heartstopper_aura: "M", necrolyte_death_seeker: "M", necrolyte_reapers_scythe: "M", warlock_shadow_word: "M", warlock_upheaval: "M", warlock_eldritch_summoning: "M", beastmaster_wild_axes: "M", beastmaster_summon_razorback: "P", beastmaster_summon_raptor: "M", beastmaster_drums_of_slom: "M", beastmaster_primal_roar: "M", queenofpain_shadow_strike: "M", queenofpain_scream_of_pain: "M", queenofpain_sonic_wave: "U", venomancer_venomous_gale: "M", venomancer_snakebite: "M", venomancer_plague_ward: "P", venomancer_poison_sting: "M", venomancer_noxious_plague: "M", faceless_void_time_dilation: "M", faceless_void_time_lock: "M", skeleton_king_hellfire_blast: "M", skeleton_king_bone_guard: "P", death_prophet_carrion_swarm: "M", death_prophet_spirit_siphon: "M", death_prophet_exorcism: "P", phantom_assassin_stifling_dagger: "P", phantom_assassin_fan_of_knives: "P", pugna_nether_blast: "M", pugna_nether_ward: "M", pugna_life_drain: "M", templar_assassin_refraction: "P", templar_assassin_meld: "P", templar_assassin_psi_blades: "U", templar_assassin_psionic_trap: "M", viper_poison_attack: "M", viper_nethertoxin: "M", viper_corrosive_skin: "M", viper_nose_dive: "M", viper_predator: "P", viper_viper_strike: "M", luna_lucent_beam: "M", luna_lunar_orbit: "P", luna_eclipse: "M", dragon_knight_breathe_fire: "M", dragon_knight_dragon_tail: "M", dragon_knight_wyrms_wrath: "M", dragon_knight_fireball: "M", dragon_knight_elder_dragon_form: "M", dazzle_poison_touch: "P", dazzle_shadow_wave: "P", rattletrap_battery_assault: "M", rattletrap_power_cogs: "M", rattletrap_rocket_flare: "M", rattletrap_hookshot: "M", leshrac_split_earth: "M", leshrac_diabolic_edict: "U", leshrac_lightning_storm: "M", leshrac_pulse_nova: "M", furion_sprout: "M", furion_teleportation: "P", furion_curse_of_the_forest: "M", furion_wrath_of_nature: "M", life_stealer_feast: "P", life_stealer_infest: "M", dark_seer_vacuum: "M", dark_seer_ion_shell: "M", clinkz_searing_arrows: "P", clinkz_burning_barrage: "P", clinkz_burning_army: "P", omniknight_purification: "U", omniknight_hammer_of_purity: "U", enchantress_impetus: "U", huskar_inner_fire: "M", huskar_burning_spear: "M", huskar_life_break: "M", night_stalker_void: "M", night_stalker_crippling_fear: "M", night_stalker_darkness: "P", broodmother_insatiable_hunger: "P", broodmother_sticky_snare: "M", broodmother_spawn_spiderlings: "M", bounty_hunter_shuriken_toss: "M", bounty_hunter_jinada: "P", weaver_the_swarm: "P", weaver_shukuchi: "M", weaver_geminate_attack: "P", jakiro_dual_breath: "M", jakiro_ice_path: "M", jakiro_liquid_fire: "M", jakiro_liquid_ice: "M", jakiro_macropyre: "M", batrider_sticky_napalm: "M", batrider_flamebreak: "M", batrider_firefly: "M", batrider_flaming_lasso: "M", chen_penitence: "U", spectre_spectral_dagger: "M", spectre_desolate: "U", doom_bringer_scorched_earth: "M", doom_bringer_infernal_blade: "M", doom_bringer_doom: "U", ancient_apparition_cold_feet: "M", ancient_apparition_ice_vortex: "M", ancient_apparition_chilling_touch: "M", ancient_apparition_bone_chill: "M", ancient_apparition_ice_blast: "M", ursa_earthshock: "M", ursa_fury_swipes: "P", spirit_breaker_greater_bash: "M", spirit_breaker_nether_strike: "M", gyrocopter_rocket_barrage: "M", gyrocopter_homing_missile: "M", gyrocopter_flak_cannon: "P", gyrocopter_side_gunner_spawn_ability: "P", gyrocopter_call_down: "M", alchemist_acid_spray: "P", alchemist_unstable_concoction: "P", invoker_cold_snap: "M", invoker_tornado: "M", invoker_emp: "M", invoker_alacrity: "P", invoker_chaos_meteor: "M", invoker_sun_strike: "U", invoker_ice_wall: "M", invoker_deafening_blast: "M", silencer_curse_of_the_silent: "M", silencer_glaives_of_wisdom: "M", silencer_last_word: "M", obsidian_destroyer_arcane_orb: "U", obsidian_destroyer_astral_imprisonment: "M", obsidian_destroyer_sanity_eclipse: "M", brewmaster_thunder_clap: "M", brewmaster_cinder_brew: "M", shadow_demon_shadow_poison: "M", shadow_demon_demonic_purge: "M", lone_druid_entangle: "M", chaos_knight_chaos_bolt: "M", meepo_poof: "M", meepo_ransack: "U", meepo_megameepo_fling: "M", treant_natures_grasp: "M", treant_leech_seed: "M", treant_overgrowth: "M", ogre_magi_fireblast: "M", ogre_magi_ignite: "M", ogre_magi_unrefined_fireblast: "M", ogre_magi_smash: "M", undying_decay: "M", undying_soul_rip: "M", undying_tombstone: "P", undying_flesh_golem: "M", rubick_fade_bolt: "M", disruptor_thunder_strike: "M", disruptor_glimpse: "M", disruptor_static_storm: "M", nyx_assassin_impale: "M", nyx_assassin_jolt: "M", nyx_assassin_vendetta: "U", naga_siren_rip_tide: "M", keeper_of_the_light_illuminate: "M", keeper_of_the_light_blinding_light: "M", keeper_of_the_light_will_o_wisp: "M", wisp_spirits: "M", visage_soul_assumption: "M", visage_summon_familiars: "P", visage_summon_familiars_stone_form: "M", slark_dark_pact: "M", slark_pounce: "M", slark_saltwater_shiv: "P", medusa_mystic_snake: "M", medusa_gorgon_grasp: "M", medusa_cold_blooded: "M", troll_warlord_whirling_axes_ranged: "M", troll_warlord_whirling_axes_melee: "M", troll_warlord_berserkers_rage: "P", centaur_hoof_stomp: "M", centaur_double_edge: "M", centaur_return: "P", centaur_stampede: "M", magnataur_shockwave: "M", magnataur_skewer: "M", magnataur_horn_toss: "M", magnataur_reverse_polarity: "M", shredder_whirling_death: "U", shredder_timber_chain: "U", shredder_reactive_armor: "M", shredder_flamethrower: "M", shredder_chakram: "U", bristleback_quill_spray: "P", bristleback_prickly: "P", tusk_ice_shards: "M", tusk_snowball: "M", tusk_tag_team: "P", tusk_walrus_kick: "M", skywrath_mage_arcane_bolt: "M", skywrath_mage_concussive_shot: "M", skywrath_mage_mystic_flare: "M", abaddon_death_coil: "M", abaddon_aphotic_shield: "M", abaddon_frostmourne: "M", elder_titan_echo_stomp: "P", elder_titan_ancestral_spirit: "M", elder_titan_earth_splitter: "M", legion_commander_overwhelming_odds: "M", ember_spirit_searing_chains: "M", ember_spirit_sleight_of_fist: "P", ember_spirit_flame_guard: "M", ember_spirit_activate_fire_remnant: "M", ember_spirit_immolation: "M", ember_spirit_fire_remnant: "M", earth_spirit_boulder_smash: "M", earth_spirit_rolling_boulder: "M", earth_spirit_geomagnetic_grip: "M", earth_spirit_petrify: "M", earth_spirit_magnetize: "M", terrorblade_metamorphosis: "P", terrorblade_terror_wave: "M", phoenix_icarus_dive: "M", phoenix_fire_spirits: "M", phoenix_sun_ray: "M", phoenix_supernova: "M", phoenix_launch_fire_spirit: "M", oracle_fortunes_end: "M", oracle_purifying_flames: "M", oracle_rain_of_destiny: "M", techies_sticky_bomb: "M", techies_reactive_tazer: "M", techies_suicide: "M", techies_mutually_assured_destruction: "M", techies_land_mines: "M", techies_focused_detonate: "M", winter_wyvern_arctic_burn: "M", winter_wyvern_splinter_blast: "M", arc_warden_flux: "M", arc_warden_spark_wraith: "M", abyssal_underlord_firestorm: "M", abyssal_underlord_pit_of_malice: "M", abyssal_underlord_atrophy_aura: "P", monkey_king_boundless_strike: "P", monkey_king_primal_spring: "M", monkey_king_jingu_mastery: "P", monkey_king_wukongs_command: "P", pangolier_swashbuckle: "P", pangolier_shield_crash: "P", pangolier_rollup: "M", pangolier_gyroshell: "P", dark_willow_bramble_maze: "M", dark_willow_shadow_realm: "M", dark_willow_bedlam: "M", dark_willow_terrorize: "M", grimstroke_dark_artistry: "M", grimstroke_ink_creature: "M", grimstroke_spirit_walk: "M", mars_spear: "M", mars_gods_rebuke: "P", mars_arena_of_blood: "M", void_spirit_aether_remnant: "M", void_spirit_dissimilate: "M", void_spirit_resonant_pulse: "M", void_spirit_astral_step: "M", snapfire_scatterblast: "M", snapfire_firesnap_cookie: "M", snapfire_lil_shredder: "P", snapfire_spit_creep: "M", snapfire_mortimer_kisses: "M", hoodwink_acorn_shot: "P", hoodwink_bushwhack: "M", hoodwink_hunters_boomerang: "M", hoodwink_sharpshooter: "M", dawnbreaker_fire_wreath: "P", dawnbreaker_celestial_hammer: "M", dawnbreaker_solar_guardian: "M", marci_grapple: "M", marci_companion_run: "M", marci_bodyguard: "P", marci_unleash: "M", primal_beast_onslaught: "P", primal_beast_trample: "M", primal_beast_rock_throw: "P", primal_beast_pulverize: "M", muerta_dead_shot: "M", muerta_the_calling: "M", muerta_spectral_slug: "M", muerta_pierce_the_veil: "M", ringmaster_tame_the_beasts: "M", ringmaster_impalement: "M", ringmaster_spotlight: "M", ringmaster_wheel: "M", ringmaster_tame_the_beasts_crack: "M", kez_echo_slash: "P", kez_kazurai_katana: "P", kez_raptor_dance: "P", kez_talon_toss: "P", largo_catchy_lick: "M", largo_frogstomp: "M", largo_croak_of_genius: "M", largo_amphibian_rhapsody: "M", largo_song_fight_song: "M", lycan_pack_hunter: "P", chaos_knight_armageddon: "P", meepo_fling_release: "M", undying_bite: "P" }, heroes: { "1": [{ id: "antimage_mana_break", en: "Mana Break", zh: "\u6CD5\u529B\u635F\u6BC1", dmg: "P", pierces: false }, { id: "antimage_blink", en: "Blink", zh: "\u95EA\u70C1" }, { id: "antimage_counterspell", en: "Counterspell", zh: "\u6CD5\u672F\u53CD\u5236", dispel: "basic" }, { id: "antimage_mana_void", en: "Mana Void", zh: "\u6CD5\u529B\u865A\u7A7A", ult: true, dmg: "M", pierces: false }], "2": [{ id: "axe_berserkers_call", en: "Berserker's Call", zh: "\u72C2\u6218\u58EB\u4E4B\u543C", pierces: true, dispel: "no" }, { id: "axe_battle_hunger", en: "Battle Hunger", zh: "\u6218\u6597\u9965\u6E34", dmg: "U", pierces: false, dispel: "basic" }, { id: "axe_counter_helix", en: "Counter Helix", zh: "\u53CD\u51FB\u87BA\u65CB", dmg: "U", pierces: true }, { id: "axe_culling_blade", en: "Culling Blade", zh: "\u6DD8\u6C70\u4E4B\u5203", ult: true, dmg: "U", pierces: true, dispel: "basic" }], "3": [{ id: "bane_enfeeble", en: "Enfeeble", zh: "\u865A\u5F31", dmg: "U", pierces: false, dispel: "basic" }, { id: "bane_brain_sap", en: "Brain Sap", zh: "\u8680\u8111", dmg: "U", pierces: true, trade_cd: [17, 15, 13, 11] }, { id: "bane_nightmare", en: "Nightmare", zh: "\u5669\u68A6", dispel: "basic" }, { id: "bane_fiends_grip", en: "Fiend's Grip", zh: "\u9B54\u722A", ult: true, dmg: "U", pierces: true, dispel: "strong" }], "4": [{ id: "bloodseeker_bloodrage", en: "Bloodrage", zh: "\u8840\u6012", dmg: "U", pierces: true, dispel: "basic" }, { id: "bloodseeker_blood_bath", en: "Blood Rite", zh: "\u8840\u796D", dmg: "U", pierces: false, dispel: "basic", trade_cd: [15, 14, 13, 12] }, { id: "bloodseeker_thirst", en: "Thirst", zh: "\u7126\u6E34", pierces: true }, { id: "bloodseeker_rupture", en: "Rupture", zh: "\u5272\u88C2", ult: true, dmg: "U", pierces: true, dispel: "no" }], "5": [{ id: "crystal_maiden_crystal_nova", en: "Crystal Nova", zh: "\u51B0\u971C\u65B0\u661F", dmg: "M", pierces: false, dispel: "basic" }, { id: "crystal_maiden_frostbite", en: "Frostbite", zh: "\u51B0\u5C01\u7981\u5236", dmg: "M", pierces: false, dispel: "basic" }, { id: "crystal_maiden_brilliance_aura", en: "Arcane Aura", zh: "\u5965\u672F\u5149\u73AF" }, { id: "crystal_maiden_freezing_field", en: "Freezing Field", zh: "\u6781\u5BD2\u9886\u57DF", ult: true, dmg: "M", pierces: false }], "6": [{ id: "drow_ranger_frost_arrows", en: "Frost Arrows", zh: "\u971C\u51BB\u4E4B\u7BAD", dmg: "P", pierces: false, dispel: "basic" }, { id: "drow_ranger_wave_of_silence", en: "Gust", zh: "\u72C2\u98CE", pierces: false, dispel: "basic" }, { id: "drow_ranger_multishot", en: "Multishot", zh: "\u6570\u7BAD\u9F50\u53D1", dmg: "P", pierces: true, trade_cd: [24, 21, 18, 15] }, { id: "drow_ranger_marksmanship", en: "Marksmanship", zh: "\u5C04\u624B\u5929\u8D4B", ult: true, dmg: "P", pierces: true }], "7": [{ id: "earthshaker_fissure", en: "Fissure", zh: "\u6C9F\u58D1", dmg: "M", pierces: false, dispel: "strong", trade_cd: [18, 17, 16, 15] }, { id: "earthshaker_enchant_totem", en: "Enchant Totem", zh: "\u5F3A\u5316\u56FE\u817E", dispel: "basic" }, { id: "earthshaker_aftershock", en: "Aftershock", zh: "\u4F59\u9707", dmg: "M", pierces: false, dispel: "strong" }, { id: "earthshaker_echo_slam", en: "Echo Slam", zh: "\u56DE\u97F3\u51FB", ult: true, dmg: "M", pierces: false }], "8": [{ id: "juggernaut_blade_fury", en: "Blade Fury", zh: "\u5251\u5203\u98CE\u66B4", dmg: "M", pierces: false, dispel: "no" }, { id: "juggernaut_healing_ward", en: "Healing Ward", zh: "\u6CBB\u7597\u5B88\u536B" }, { id: "juggernaut_blade_dance", en: "Blade Dance", zh: "\u5251\u821E" }, { id: "juggernaut_omni_slash", en: "Omnislash", zh: "\u65E0\u654C\u65A9", ult: true, dmg: "P", pierces: true, dispel: "no" }], "9": [{ id: "mirana_starfall", en: "Starstorm", zh: "\u7FA4\u661F\u98CE\u66B4", dmg: "M", pierces: false }, { id: "mirana_arrow", en: "Sacred Arrow", zh: "\u6708\u795E\u4E4B\u7BAD", dmg: "M", pierces: false, dispel: "strong" }, { id: "mirana_leap", en: "Leap", zh: "\u8DF3\u8DC3", dispel: "basic" }, { id: "mirana_invis", en: "Moonlight Shadow", zh: "\u6708\u4E4B\u6697\u9762", ult: true, dispel: "no" }], "10": [{ id: "morphling_waveform", en: "Waveform", zh: "\u6CE2\u6D6A\u5F62\u6001", dmg: "M", pierces: false, trade_cd: [21, 18, 15, 12] }, { id: "morphling_adaptive_strike_agi", en: "Adaptive Strike", zh: "\u53D8\u4F53\u6253\u51FB", dmg: "M", pierces: false, trade_cd: [17, 14, 11, 8] }, { id: "morphling_morph_agi", en: "Attribute Shift (Agility Gain)", zh: "\u5C5E\u6027\u53D8\u6362\uFF08\u654F\u6377\u83B7\u53D6\uFF09" }, { id: "morphling_morph_str", en: "Attribute Shift (Strength Gain)", zh: "\u5C5E\u6027\u53D8\u6362\uFF08\u529B\u91CF\u83B7\u53D6\uFF09" }, { id: "morphling_replicate", en: "Morph", zh: "\u53D8\u5F62", ult: true, pierces: true, dispel: "no" }], "11": [{ id: "nevermore_shadowraze1", en: "Shadowraze", zh: "\u6BC1\u706D\u9634\u5F71", dmg: "M", pierces: false, dispel: "basic" }, { id: "nevermore_frenzy", en: "Feast of Souls", zh: "\u7075\u9B42\u76DB\u5BB4", dispel: "basic" }, { id: "nevermore_dark_lord", en: "Presence of the Dark Lord", zh: "\u9B54\u738B\u964D\u4E34", pierces: true }, { id: "nevermore_requiem", en: "Requiem of Souls", zh: "\u9B42\u4E4B\u633D\u6B4C", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "12": [{ id: "phantom_lancer_spirit_lance", en: "Spirit Lance", zh: "\u7075\u9B42\u4E4B\u77DB", dmg: "M", pierces: false, dispel: "basic" }, { id: "phantom_lancer_doppelwalk", en: "Doppelganger", zh: "\u795E\u884C\u767E\u53D8" }, { id: "phantom_lancer_phantom_edge", en: "Phantom Rush", zh: "\u5E7B\u5F71\u51B2\u950B", dmg: "P", dispel: "basic", trade_cd: [15, 11, 7, 3] }, { id: "phantom_lancer_juxtapose", en: "Juxtapose", zh: "\u5E76\u5217", ult: true }], "13": [{ id: "puck_illusory_orb", en: "Illusory Orb", zh: "\u5E7B\u8C61\u6CD5\u7403", dmg: "M", pierces: false, trade_cd: [12, 11, 10, 9] }, { id: "puck_waning_rift", en: "Waning Rift", zh: "\u65B0\u6708\u4E4B\u75D5", dmg: "M", pierces: false, dispel: "basic", trade_cd: [15, 14, 13, 12] }, { id: "puck_phase_shift", en: "Phase Shift", zh: "\u76F8\u4F4D\u8F6C\u79FB" }, { id: "puck_dream_coil", en: "Dream Coil", zh: "\u68A6\u5883\u7F20\u7ED5", ult: true, dmg: "M", pierces: false, dispel: "no" }], "14": [{ id: "pudge_meat_hook", en: "Meat Hook", zh: "\u8089\u94A9", dmg: "U", pierces: true, trade_cd: [18, 16, 14, 12] }, { id: "pudge_rot", en: "Rot", zh: "\u8150\u70C2", dmg: "M", pierces: false }, { id: "pudge_flesh_heap", en: "Meat Shield", zh: "\u8089\u76FE", dispel: "no" }, { id: "pudge_dismember", en: "Dismember", zh: "\u80A2\u89E3", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "15": [{ id: "razor_plasma_field", en: "Plasma Field", zh: "\u7B49\u79BB\u5B50\u573A", dmg: "M", pierces: false, dispel: "basic", trade_cd: [13, 12, 11, 10] }, { id: "razor_static_link", en: "Static Link", zh: "\u9759\u7535\u8FDE\u63A5", pierces: true, dispel: "no" }, { id: "razor_storm_surge", en: "Storm Surge", zh: "\u98CE\u66B4\u6D8C\u52A8", dmg: "M" }, { id: "razor_eye_of_the_storm", en: "Eye of the Storm", zh: "\u98CE\u66B4\u4E4B\u773C", ult: true, dmg: "P", pierces: true, dispel: "no" }], "16": [{ id: "sandking_burrowstrike", en: "Burrowstrike", zh: "\u6398\u5730\u7A7F\u523A", dmg: "M", pierces: false, dispel: "strong", trade_cd: [14, 13, 12, 11] }, { id: "sandking_sand_storm", en: "Sand Storm", zh: "\u6C99\u5C18\u66B4", dmg: "M", pierces: false, dispel: "no" }, { id: "sandking_scorpion_strike", en: "Stinger", zh: "\u5C3E\u87AB", dmg: "P", trade_cd: [15, 12, 9, 6] }, { id: "sandking_epicenter", en: "Epicenter", zh: "\u5730\u9707", ult: true, dmg: "M", pierces: false, dispel: "no" }], "17": [{ id: "storm_spirit_static_remnant", en: "Static Remnant", zh: "\u6B8B\u5F71", dmg: "M", pierces: false }, { id: "storm_spirit_electric_vortex", en: "Electric Vortex", zh: "\u7535\u5B50\u6DA1\u6D41", pierces: false, dispel: "strong" }, { id: "storm_spirit_overload", en: "Overload", zh: "\u8D85\u8D1F\u8377", dmg: "M", pierces: false, dispel: "basic" }, { id: "storm_spirit_ball_lightning", en: "Ball Lightning", zh: "\u7403\u72B6\u95EA\u7535", ult: true, dmg: "M", pierces: false }], "18": [{ id: "sven_storm_bolt", en: "Storm Hammer", zh: "\u98CE\u66B4\u4E4B\u62F3", dmg: "M", pierces: false, dispel: "strong", trade_cd: [21, 18, 15, 12] }, { id: "sven_great_cleave", en: "Great Cleave", zh: "\u5DE8\u529B\u6325\u821E", pierces: true }, { id: "sven_warcry", en: "Warcry", zh: "\u6218\u543C", dispel: "basic" }, { id: "sven_gods_strength", en: "God's Strength", zh: "\u795E\u4E4B\u529B\u91CF", ult: true, dispel: "no" }], "19": [{ id: "tiny_avalanche", en: "Avalanche", zh: "\u5C71\u5D29", dmg: "M", pierces: false, dispel: "strong", trade_cd: [23, 20, 17, 14] }, { id: "tiny_toss", en: "Toss", zh: "\u6295\u63B7", dmg: "M", trade_cd: [20, 17, 14, 11] }, { id: "tiny_tree_grab", en: "Tree Grab", zh: "\u6293\u6811", dmg: "P", pierces: true, dispel: "no", trade_cd: [16, 13, 10, 7] }, { id: "tiny_grow", en: "Grow", zh: "\u957F\u5927", ult: true, dmg: "P" }, { id: "tiny_toss_tree", en: "Tree Throw", zh: "\u6254\u6811", dmg: "P", pierces: false }], "20": [{ id: "vengefulspirit_magic_missile", en: "Magic Missile", zh: "\u9B54\u6CD5\u7BAD", dmg: "M", pierces: false, dispel: "strong", trade_cd: [14, 13, 12, 11] }, { id: "vengefulspirit_wave_of_terror", en: "Wave of Terror", zh: "\u6050\u6016\u6CE2\u52A8", dmg: "M", pierces: false, dispel: "basic" }, { id: "vengefulspirit_command_aura", en: "Vengeance Aura", zh: "\u590D\u4EC7\u5149\u73AF" }, { id: "vengefulspirit_nether_swap", en: "Nether Swap", zh: "\u79FB\u5F62\u6362\u4F4D", ult: true, dmg: "M", pierces: true, dispel: "basic" }], "21": [{ id: "windrunner_shackleshot", en: "Shackleshot", zh: "\u675F\u7F1A\u51FB", pierces: false, dispel: "strong" }, { id: "windrunner_powershot", en: "Powershot", zh: "\u5F3A\u529B\u51FB", dmg: "M", pierces: false, trade_cd: [12, 11, 10, 9] }, { id: "windrunner_windrun", en: "Windrun", zh: "\u98CE\u884C", pierces: false, dispel: "basic" }, { id: "windrunner_focusfire", en: "Focus Fire", zh: "\u96C6\u4E2D\u706B\u529B", ult: true, pierces: true, dispel: "no" }], "22": [{ id: "zuus_arc_lightning", en: "Arc Lightning", zh: "\u5F27\u5F62\u95EA\u7535", dmg: "M", pierces: false }, { id: "zuus_lightning_bolt", en: "Lightning Bolt", zh: "\u96F7\u51FB", dmg: "M", pierces: false }, { id: "zuus_heavenly_jump", en: "Heavenly Jump", zh: "\u795E\u5723\u4E00\u8DF3", dmg: "M", pierces: false, dispel: "basic", trade_cd: [26, 22, 18, 14] }, { id: "zuus_thundergods_wrath", en: "Thundergod's Wrath", zh: "\u96F7\u795E\u4E4B\u6012", ult: true, dmg: "M", pierces: false }], "23": [{ id: "kunkka_torrent", en: "Torrent", zh: "\u6D2A\u6D41", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 14, 12, 10] }, { id: "kunkka_tidebringer", en: "Tidebringer", zh: "\u6F6E\u6C50\u4F7F\u8005", dmg: "P" }, { id: "kunkka_x_marks_the_spot", en: "X Marks the Spot", zh: "X\u6807\u8BB0", pierces: false, dispel: "no" }, { id: "kunkka_ghostship", en: "Ghostship", zh: "\u5E7D\u7075\u8239", ult: true, dmg: "M", pierces: false, dispel: "no" }], "25": [{ id: "lina_dragon_slave", en: "Dragon Slave", zh: "\u9F99\u7834\u65A9", dmg: "M", pierces: false, trade_cd: [11, 10, 9, 8] }, { id: "lina_light_strike_array", en: "Light Strike Array", zh: "\u5149\u51FB\u9635", dmg: "M", pierces: false, dispel: "strong", trade_cd: [13, 11, 9, 7] }, { id: "lina_fiery_soul", en: "Fiery Soul", zh: "\u70BD\u9B42", dispel: "no" }, { id: "lina_laguna_blade", en: "Laguna Blade", zh: "\u795E\u706D\u65A9", ult: true, dmg: "M", pierces: false }], "26": [{ id: "lion_impale", en: "Earth Spike", zh: "\u88C2\u5730\u5C16\u523A", dmg: "M", pierces: false, dispel: "strong" }, { id: "lion_voodoo", en: "Hex", zh: "\u5996\u672F", pierces: false, dispel: "strong" }, { id: "lion_mana_drain", en: "Mana Drain", zh: "\u6CD5\u529B\u5438\u53D6", pierces: false, dispel: "no" }, { id: "lion_finger_of_death", en: "Finger of Death", zh: "\u6B7B\u4EA1\u4E4B\u6307", ult: true, dmg: "M", pierces: false }], "27": [{ id: "shadow_shaman_ether_shock", en: "Ether Shock", zh: "\u82CD\u7A79\u9707\u51FB", dmg: "M", pierces: false, trade_cd: [14, 12, 10, 8] }, { id: "shadow_shaman_voodoo", en: "Hex", zh: "\u5996\u672F", pierces: false, dispel: "strong" }, { id: "shadow_shaman_shackles", en: "Shackles", zh: "\u67B7\u9501", dmg: "M", pierces: false, dispel: "strong", trade_cd: [15, 14, 13, 12] }, { id: "shadow_shaman_mass_serpent_ward", en: "Mass Serpent Ward", zh: "\u7FA4\u86C7\u5B88\u536B", ult: true, dmg: "P", pierces: true }], "28": [{ id: "slardar_sprint", en: "Guardian Sprint", zh: "\u5B88\u536B\u51B2\u523A", dispel: "basic" }, { id: "slardar_slithereen_crush", en: "Slithereen Crush", zh: "\u9C7C\u4EBA\u788E\u51FB", dmg: "P", pierces: false, dispel: "strong", trade_cd: [8.5, 8, 7.5, 7] }, { id: "slardar_bash", en: "Bash of the Deep", zh: "\u6DF1\u6D77\u91CD\u51FB", dmg: "P", pierces: true, dispel: "strong" }, { id: "slardar_amplify_damage", en: "Corrosive Haze", zh: "\u4FB5\u8680\u96FE\u972D", ult: true, pierces: true, dispel: "basic" }], "29": [{ id: "tidehunter_gush", en: "Gush", zh: "\u5DE8\u6D6A", dmg: "M", pierces: false, dispel: "basic" }, { id: "tidehunter_kraken_shell", en: "Kraken Shell", zh: "\u6D77\u5996\u5916\u58F3", dispel: "no" }, { id: "tidehunter_anchor_smash", en: "Anchor Smash", zh: "\u951A\u51FB", dmg: "P", pierces: false, dispel: "basic" }, { id: "tidehunter_ravage", en: "Ravage", zh: "\u6BC1\u706D", ult: true, dmg: "M", pierces: false, dispel: "strong" }], "30": [{ id: "witch_doctor_paralyzing_cask", en: "Paralyzing Cask", zh: "\u9EBB\u75F9\u836F\u5242", dmg: "M", pierces: false, dispel: "strong", trade_cd: [20, 18, 16, 14] }, { id: "witch_doctor_voodoo_restoration", en: "Voodoo Restoration", zh: "\u5DEB\u6BD2\u7597\u6CD5", dmg: "M", dispel: "no" }, { id: "witch_doctor_maledict", en: "Maledict", zh: "\u5DEB\u86CA\u5492\u672F", dmg: "M", pierces: false, dispel: "no" }, { id: "witch_doctor_death_ward", en: "Death Ward", zh: "\u6B7B\u4EA1\u5B88\u536B", ult: true, dmg: "U", pierces: true }], "31": [{ id: "lich_frost_nova", en: "Frost Blast", zh: "\u5BD2\u971C\u7206\u53D1", dmg: "M", pierces: false, dispel: "basic" }, { id: "lich_frost_shield", en: "Frost Shield", zh: "\u51B0\u971C\u9B54\u76FE", dmg: "M", dispel: "basic" }, { id: "lich_sinister_gaze", en: "Sinister Gaze", zh: "\u9634\u90AA\u51DD\u89C6", pierces: false, dispel: "basic" }, { id: "lich_chain_frost", en: "Chain Frost", zh: "\u8FDE\u73AF\u971C\u51BB", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "32": [{ id: "riki_smoke_screen", en: "Smoke Screen", zh: "\u70DF\u5E55", pierces: false, dispel: "no" }, { id: "riki_blink_strike", en: "Blink Strike", zh: "\u95EA\u70C1\u7A81\u88AD", dmg: "P", pierces: true, trade_cd: [13, 10, 7, 4] }, { id: "riki_tricks_of_the_trade", en: "Tricks of the Trade", zh: "\u7EDD\u6740\u79D8\u6280", dmg: "P", pierces: true, trade_cd: [21, 18, 15, 12] }, { id: "riki_backstab", en: "Cloak and Dagger", zh: "\u5200\u5149\u8C0D\u5F71", ult: true, pierces: true, dispel: "no" }], "33": [{ id: "enigma_malefice", en: "Malefice", zh: "\u618E\u6076", dmg: "M", pierces: false, dispel: "basic", trade_cd: [20, 18, 16, 14] }, { id: "enigma_demonic_conversion", en: "Demonic Summoning", zh: "\u6076\u9B54\u53EC\u5524", dmg: "P" }, { id: "enigma_midnight_pulse", en: "Midnight Pulse", zh: "\u5348\u591C\u51CB\u96F6", dmg: "M", pierces: true }, { id: "enigma_black_hole", en: "Black Hole", zh: "\u9ED1\u6D1E", ult: true, dmg: "U", pierces: true }], "34": [{ id: "tinker_laser", en: "Laser", zh: "\u6FC0\u5149", dmg: "U", pierces: false, dispel: "basic" }, { id: "tinker_march_of_the_machines", en: "March of the Machines", zh: "\u673A\u68B0\u884C\u519B", dmg: "M", pierces: false }, { id: "tinker_deploy_turrets", en: "Deploy Turrets", zh: "\u90E8\u7F72\u70AE\u5854", dmg: "M", pierces: false, trade_cd: [24, 22, 20, 18] }, { id: "tinker_rearm", en: "Rearm", zh: "\u518D\u88C5\u586B", ult: true }], "35": [{ id: "sniper_shrapnel", en: "Shrapnel", zh: "\u69B4\u9730\u5F39", dmg: "M", pierces: false, dispel: "no" }, { id: "sniper_headshot", en: "Headshot", zh: "\u7206\u5934", dmg: "P", pierces: false }, { id: "sniper_take_aim", en: "Take Aim", zh: "\u7784\u51C6", dispel: "basic" }, { id: "sniper_assassinate", en: "Assassinate", zh: "\u6697\u6740", ult: true, dmg: "M", pierces: false, dispel: "no" }], "36": [{ id: "necrolyte_death_pulse", en: "Death Pulse", zh: "\u6B7B\u4EA1\u8109\u51B2", dmg: "M", trade_cd: [8, 7, 6, 5] }, { id: "necrolyte_ghost_shroud", en: "Ghost Shroud", zh: "\u5E7D\u9B42\u62A4\u7F69", pierces: false, dispel: "basic" }, { id: "necrolyte_heartstopper_aura", en: "Heartstopper Aura", zh: "\u7AED\u5FC3\u5149\u73AF", dmg: "M", pierces: true, dispel: "no" }, { id: "necrolyte_reapers_scythe", en: "Reaper's Scythe", zh: "\u6B7B\u795E\u9570\u5200", ult: true, dmg: "M", pierces: false, dispel: "no" }], "37": [{ id: "warlock_fatal_bonds", en: "Fatal Bonds", zh: "\u81F4\u547D\u8FDE\u63A5", pierces: false, dispel: "basic" }, { id: "warlock_shadow_word", en: "Shadow Word", zh: "\u6697\u8A00\u672F", dmg: "M", pierces: false, dispel: "basic" }, { id: "warlock_upheaval", en: "Upheaval", zh: "\u5267\u53D8", dmg: "M", pierces: false, dispel: "basic", trade_cd: [45, 40, 35, 30] }, { id: "warlock_rain_of_chaos", en: "Chaotic Offering", zh: "\u6DF7\u4E71\u4E4B\u796D", ult: true, pierces: true, dispel: "strong" }], "38": [{ id: "beastmaster_wild_axes", en: "Wild Axes", zh: "\u91CE\u6027\u4E4B\u65A7", dmg: "M", pierces: false, dispel: "basic" }, { id: "beastmaster_summon_razorback", en: "Summon Razorback", zh: "\u53EC\u5524\u5200\u80CC\u517D", dmg: "P" }, { id: "beastmaster_summon_raptor", en: "Summon Raptors", zh: "\u53EC\u5524\u731B\u79BD", dmg: "M" }, { id: "beastmaster_primal_roar", en: "Primal Roar", zh: "\u539F\u59CB\u5486\u54EE", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "39": [{ id: "queenofpain_shadow_strike", en: "Shadow Strike", zh: "\u6697\u5F71\u7A81\u88AD", dmg: "M", pierces: false, dispel: "basic" }, { id: "queenofpain_blink", en: "Blink", zh: "\u95EA\u70C1" }, { id: "queenofpain_scream_of_pain", en: "Scream Of Pain", zh: "\u75DB\u82E6\u5C16\u53EB", dmg: "M", pierces: false }, { id: "queenofpain_sonic_wave", en: "Sonic Wave", zh: "\u8D85\u58F0\u51B2\u51FB\u6CE2", ult: true, dmg: "U", pierces: true }], "40": [{ id: "venomancer_venomous_gale", en: "Venomous Gale", zh: "\u7634\u6C14", dmg: "M", pierces: false, dispel: "basic" }, { id: "venomancer_snakebite", en: "Snakebite", zh: "\u6BD2\u86C7\u6495\u54AC", dmg: "M", dispel: "basic" }, { id: "venomancer_plague_ward", en: "Plague Ward", zh: "\u761F\u75AB\u5B88\u536B", dmg: "P", pierces: true }, { id: "venomancer_noxious_plague", en: "Noxious Plague", zh: "\u6076\u6027\u761F\u75AB", ult: true, dmg: "M", pierces: false }], "41": [{ id: "faceless_void_time_walk", en: "Time Walk", zh: "\u65F6\u95F4\u6F2B\u6E38" }, { id: "faceless_void_time_dilation", en: "Time Dilation", zh: "\u65F6\u95F4\u81A8\u80C0", dmg: "M", pierces: false, dispel: "basic" }, { id: "faceless_void_time_lock", en: "Time Lock", zh: "\u65F6\u95F4\u9501\u5B9A", dmg: "M", pierces: true, dispel: "strong" }, { id: "faceless_void_chronosphere", en: "Chronosphere", zh: "\u65F6\u95F4\u7ED3\u754C", ult: true, pierces: true, dispel: "no" }], "42": [{ id: "skeleton_king_hellfire_blast", en: "Wraithfire Blast", zh: "\u51A5\u706B\u7206\u51FB", dmg: "M", pierces: false, dispel: "strong", trade_cd: [14, 12, 10, 8] }, { id: "skeleton_king_bone_guard", en: "Bone Guard", zh: "\u767D\u9AA8\u62A4\u536B", dmg: "P", pierces: true, trade_cd: [45] }, { id: "skeleton_king_mortal_strike", en: "Mortal Strike", zh: "\u672C\u547D\u4E00\u51FB", pierces: true }, { id: "skeleton_king_reincarnation", en: "Reincarnation", zh: "\u7EDD\u51A5\u518D\u751F", ult: true, pierces: false, dispel: "basic" }], "43": [{ id: "death_prophet_carrion_swarm", en: "Crypt Swarm", zh: "\u5730\u7A74\u866B\u7FA4", dmg: "M", pierces: false, trade_cd: [10, 9, 8, 7] }, { id: "death_prophet_silence", en: "Silence", zh: "\u6C89\u9ED8\u9B54\u6CD5", pierces: false, dispel: "basic" }, { id: "death_prophet_spirit_siphon", en: "Spirit Siphon", zh: "\u5438\u9B42\u5DEB\u672F", dmg: "M", pierces: true, dispel: "no" }, { id: "death_prophet_exorcism", en: "Exorcism", zh: "\u9A71\u4F7F\u6076\u7075", ult: true, dmg: "P", pierces: true, dispel: "no" }], "44": [{ id: "phantom_assassin_stifling_dagger", en: "Stifling Dagger", zh: "\u7A92\u788D\u77ED\u5315", dmg: "P", dispel: "basic" }, { id: "phantom_assassin_phantom_strike", en: "Phantom Strike", zh: "\u5E7B\u5F71\u7A81\u88AD", pierces: true, dispel: "basic" }, { id: "phantom_assassin_immaterial", en: "Immaterial", zh: "\u98D8\u5FFD\u4E0D\u5B9A" }, { id: "phantom_assassin_coup_de_grace", en: "Coup de Grace", zh: "\u6069\u8D50\u89E3\u8131", ult: true, pierces: true }], "45": [{ id: "pugna_nether_blast", en: "Nether Blast", zh: "\u5E7D\u51A5\u7206\u8F70", dmg: "M", pierces: false }, { id: "pugna_decrepify", en: "Decrepify", zh: "\u8870\u8001", pierces: false, dispel: "basic" }, { id: "pugna_nether_ward", en: "Nether Ward", zh: "\u5E7D\u51A5\u5B88\u536B", dmg: "M", pierces: false }, { id: "pugna_life_drain", en: "Life Drain", zh: "\u751F\u547D\u6C72\u53D6", ult: true, dmg: "M", pierces: false, dispel: "no" }], "46": [{ id: "templar_assassin_refraction", en: "Refraction", zh: "\u6298\u5149", dmg: "P", pierces: true, dispel: "no" }, { id: "templar_assassin_meld", en: "Meld", zh: "\u9690\u533F", dmg: "P", pierces: true, dispel: "no", trade_cd: [11, 9, 7, 5] }, { id: "templar_assassin_psi_blades", en: "Psi Blades", zh: "\u7075\u80FD\u4E4B\u5203", dmg: "U", pierces: true }, { id: "templar_assassin_psionic_trap", en: "Psionic Trap", zh: "\u7075\u80FD\u9677\u9631", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "47": [{ id: "viper_poison_attack", en: "Poison Attack", zh: "\u6BD2\u6027\u653B\u51FB", dmg: "M", pierces: false, dispel: "basic" }, { id: "viper_nethertoxin", en: "Nethertoxin", zh: "\u5E7D\u51A5\u5267\u6BD2", dmg: "M", pierces: false }, { id: "viper_corrosive_skin", en: "Corrosive Skin", zh: "\u8150\u8680\u76AE\u80A4", dmg: "M", pierces: false, dispel: "basic" }, { id: "viper_viper_strike", en: "Viper Strike", zh: "\u876E\u86C7\u7A81\u88AD", ult: true, dmg: "M", pierces: true, dispel: "no" }], "48": [{ id: "luna_lucent_beam", en: "Lucent Beam", zh: "\u6708\u5149", dmg: "M", pierces: false, dispel: "strong", trade_cd: [9, 8, 7, 6] }, { id: "luna_lunar_orbit", en: "Lunar Orbit", zh: "\u73AF\u6708", dmg: "P", pierces: true, dispel: "no", trade_cd: [40, 35, 30, 25] }, { id: "luna_moon_glaive", en: "Moon Glaives", zh: "\u6708\u5203", pierces: true }, { id: "luna_eclipse", en: "Eclipse", zh: "\u6708\u8680", ult: true, dmg: "M", pierces: false, dispel: "no" }], "49": [{ id: "dragon_knight_breathe_fire", en: "Breathe Fire", zh: "\u706B\u7130\u6C14\u606F", dmg: "M", pierces: false, dispel: "basic" }, { id: "dragon_knight_dragon_tail", en: "Dragon Tail", zh: "\u795E\u9F99\u6446\u5C3E", dmg: "M", pierces: false, dispel: "strong", trade_cd: [16, 14, 12, 10] }, { id: "dragon_knight_wyrms_wrath", en: "Wyrm's Wrath", zh: "\u98DE\u9F99\u4E4B\u6012", dmg: "M" }, { id: "dragon_knight_elder_dragon_form", en: "Elder Dragon Form", zh: "\u53E4\u9F99\u5F62\u6001", ult: true, dmg: "M", pierces: true, dispel: "no" }], "50": [{ id: "dazzle_poison_touch", en: "Poison Touch", zh: "\u5267\u6BD2\u4E4B\u89E6", dmg: "P", pierces: false, dispel: "basic" }, { id: "dazzle_shallow_grave", en: "Shallow Grave", zh: "\u8584\u846C", dispel: "no" }, { id: "dazzle_shadow_wave", en: "Shadow Wave", zh: "\u6697\u5F71\u6CE2", dmg: "P", pierces: true, trade_cd: [10, 9, 8, 7] }, { id: "dazzle_nothl_projection", en: "Nothl Projection", zh: "\u865A\u65E0\u6295\u5F71", ult: true, dispel: "no" }], "51": [{ id: "rattletrap_battery_assault", en: "Battery Assault", zh: "\u5F39\u5E55\u51B2\u51FB", dmg: "M", pierces: false, dispel: "no" }, { id: "rattletrap_power_cogs", en: "Power Cogs", zh: "\u80FD\u91CF\u9F7F\u8F6E", dmg: "M", pierces: true }, { id: "rattletrap_rocket_flare", en: "Rocket Flare", zh: "\u7167\u660E\u706B\u7BAD", dmg: "M", pierces: false }, { id: "rattletrap_hookshot", en: "Hookshot", zh: "\u53D1\u5C04\u94A9\u722A", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "52": [{ id: "leshrac_split_earth", en: "Split Earth", zh: "\u6495\u88C2\u5927\u5730", dmg: "M", pierces: false, dispel: "strong" }, { id: "leshrac_diabolic_edict", en: "Diabolic Edict", zh: "\u6076\u9B54\u6555\u4EE4", dmg: "U", pierces: true, dispel: "no" }, { id: "leshrac_lightning_storm", en: "Lightning Storm", zh: "\u95EA\u7535\u98CE\u66B4", dmg: "M", pierces: false, dispel: "basic" }, { id: "leshrac_pulse_nova", en: "Pulse Nova", zh: "\u8109\u51B2\u65B0\u661F", ult: true, dmg: "M", pierces: false, dispel: "no" }], "53": [{ id: "furion_sprout", en: "Sprout", zh: "\u53D1\u82BD", dmg: "M" }, { id: "furion_teleportation", en: "Teleportation", zh: "\u4F20\u9001", dmg: "P", pierces: false, dispel: "basic", trade_cd: [80, 60, 40, 20] }, { id: "furion_force_of_nature", en: "Nature's Call", zh: "\u81EA\u7136\u611F\u53EC" }, { id: "furion_wrath_of_nature", en: "Wrath of Nature", zh: "\u81EA\u7136\u4E4B\u6012", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "54": [{ id: "life_stealer_rage", en: "Rage", zh: "\u72C2\u66B4", dispel: "no" }, { id: "life_stealer_open_wounds", en: "Open Wounds", zh: "\u6495\u88C2\u4F24\u53E3", pierces: false, dispel: "basic" }, { id: "life_stealer_feast", en: "Feast", zh: "\u76DB\u5BB4", dmg: "P", pierces: true, dispel: "no" }, { id: "life_stealer_infest", en: "Infest", zh: "\u611F\u67D3", ult: true, dmg: "M", dispel: "no" }], "55": [{ id: "dark_seer_vacuum", en: "Vacuum", zh: "\u771F\u7A7A", dmg: "M", pierces: false, dispel: "strong", trade_cd: [50, 42, 34, 26] }, { id: "dark_seer_ion_shell", en: "Ion Shell", zh: "\u79BB\u5B50\u5916\u58F3", dmg: "M", pierces: false, dispel: "basic" }, { id: "dark_seer_surge", en: "Surge", zh: "\u5954\u817E", dispel: "basic" }, { id: "dark_seer_wall_of_replica", en: "Wall of Replica", zh: "\u590D\u5236\u4E4B\u5899", ult: true, pierces: true }], "56": [{ id: "clinkz_strafe", en: "Strafe", zh: "\u626B\u5C04", pierces: true, dispel: "basic" }, { id: "clinkz_searing_arrows", en: "Searing Arrows", zh: "\u707C\u70ED\u4E4B\u7BAD", dmg: "P", pierces: true }, { id: "clinkz_death_pact", en: "Death Pact", zh: "\u6B7B\u4EA1\u5951\u7EA6", dispel: "no" }, { id: "clinkz_wind_walk", en: "Skeleton Walk", zh: "\u9AA8\u9690\u6B65", ult: true, dispel: "no" }], "57": [{ id: "omniknight_purification", en: "Purification", zh: "\u6D17\u793C", dmg: "U", pierces: true, trade_cd: [15, 14, 13, 12] }, { id: "omniknight_martyr", en: "Repel", zh: "\u9A71\u9010", dispel: "basic" }, { id: "omniknight_hammer_of_purity", en: "Hammer of Purity", zh: "\u7EAF\u6D01\u4E4B\u9524", dmg: "U", pierces: true, dispel: "basic" }, { id: "omniknight_guardian_angel", en: "Guardian Angel", zh: "\u5B88\u62A4\u5929\u4F7F", ult: true, dispel: "no" }], "58": [{ id: "enchantress_impetus", en: "Impetus", zh: "\u63A8\u8FDB", dmg: "U", pierces: false }, { id: "enchantress_enchant", en: "Enchant", zh: "\u9B45\u60D1", pierces: false, dispel: "basic" }, { id: "enchantress_natures_attendants", en: "Nature's Attendants", zh: "\u81EA\u7136\u4E4B\u52A9", dispel: "no" }, { id: "enchantress_untouchable", en: "Untouchable", zh: "\u4E0D\u53EF\u4FB5\u72AF", ult: true, pierces: true, dispel: "basic" }], "59": [{ id: "huskar_inner_fire", en: "Inner Fire", zh: "\u5FC3\u708E", dmg: "M", pierces: false, dispel: "basic", trade_cd: [17, 15, 13, 11] }, { id: "huskar_burning_spear", en: "Burning Spear", zh: "\u6CB8\u8840\u4E4B\u77DB", dmg: "M", pierces: false, dispel: "no" }, { id: "huskar_berserkers_blood", en: "Berserker's Blood", zh: "\u72C2\u6218\u58EB\u4E4B\u8840" }, { id: "huskar_life_break", en: "Life Break", zh: "\u727A\u7272", ult: true, dmg: "M", pierces: true, dispel: "basic" }], "60": [{ id: "night_stalker_void", en: "Void", zh: "\u865A\u7A7A", dmg: "M", pierces: false, dispel: "basic", trade_cd: [11, 10, 9, 8] }, { id: "night_stalker_crippling_fear", en: "Crippling Fear", zh: "\u4F24\u6B8B\u6050\u60E7", dmg: "M", pierces: false, dispel: "no", trade_cd: [30, 25, 20, 15] }, { id: "night_stalker_midnight_feast", en: "Midnight Feast", zh: "\u5348\u591C\u76DB\u5BB4", pierces: false }, { id: "night_stalker_darkness", en: "Dark Ascension", zh: "\u9ED1\u6697\u98DE\u5347", ult: true, dmg: "P", dispel: "no" }], "61": [{ id: "broodmother_insatiable_hunger", en: "Insatiable Hunger", zh: "\u6781\u5EA6\u9965\u6E34", dmg: "P", dispel: "no" }, { id: "broodmother_spin_web", en: "Spin Web", zh: "\u7EC7\u7F51", dispel: "no" }, { id: "broodmother_incapacitating_bite", en: "Incapacitating Bite", zh: "\u9EBB\u75F9\u4E4B\u54AC", pierces: false, dispel: "basic" }, { id: "broodmother_spawn_spiderlings", en: "Spawn Spiderlings", zh: "\u5B75\u5316\u8718\u86DB", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "62": [{ id: "bounty_hunter_shuriken_toss", en: "Shuriken Toss", zh: "\u6295\u63B7\u98DE\u9556", dmg: "M", pierces: false }, { id: "bounty_hunter_jinada", en: "Jinada", zh: "\u5FCD\u672F", dmg: "P", pierces: true }, { id: "bounty_hunter_wind_walk", en: "Shadow Walk", zh: "\u6697\u5F71\u6B65", dispel: "no" }, { id: "bounty_hunter_track", en: "Track", zh: "\u8FFD\u8E2A\u672F", ult: true, pierces: true, dispel: "basic" }], "63": [{ id: "weaver_the_swarm", en: "The Swarm", zh: "\u866B\u7FA4", dmg: "P", pierces: false, dispel: "no" }, { id: "weaver_shukuchi", en: "Shukuchi", zh: "\u7F29\u5730", dmg: "M", pierces: false, dispel: "no" }, { id: "weaver_geminate_attack", en: "Geminate Attack", zh: "\u8FDE\u51FB", dmg: "P", pierces: true }, { id: "weaver_time_lapse", en: "Time Lapse", zh: "\u65F6\u5149\u5012\u6D41", ult: true }], "64": [{ id: "jakiro_dual_breath", en: "Dual Breath", zh: "\u51B0\u706B\u4EA4\u52A0", dmg: "M", pierces: false, dispel: "basic" }, { id: "jakiro_ice_path", en: "Ice Path", zh: "\u51B0\u5C01\u8DEF\u5F84", dmg: "M", pierces: false, dispel: "strong", trade_cd: [20, 17, 14, 11] }, { id: "jakiro_liquid_fire", en: "Liquid Fire", zh: "\u6DB2\u6001\u706B", dmg: "M", pierces: false, dispel: "basic" }, { id: "jakiro_liquid_ice", en: "Liquid Frost", zh: "\u6DB2\u6001\u51B0", dmg: "M", pierces: false, dispel: "basic" }, { id: "jakiro_macropyre", en: "Macropyre", zh: "\u70C8\u7130\u711A\u8EAB", ult: true, dmg: "M", pierces: false, dispel: "no" }], "65": [{ id: "batrider_sticky_napalm", en: "Sticky Napalm", zh: "\u7C98\u6027\u71C3\u6CB9", dmg: "M", pierces: false, dispel: "basic" }, { id: "batrider_flamebreak", en: "Flamebreak", zh: "\u70C8\u7130\u7834\u51FB", dmg: "M", pierces: false, dispel: "basic", trade_cd: [22, 19, 16, 13] }, { id: "batrider_firefly", en: "Firefly", zh: "\u706B\u7130\u98DE\u884C", dmg: "M", pierces: false, dispel: "no" }, { id: "batrider_flaming_lasso", en: "Flaming Lasso", zh: "\u71C3\u70E7\u67B7\u9501", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "66": [{ id: "chen_penitence", en: "Penitence", zh: "\u8D4E\u7F6A", dmg: "U", pierces: false, dispel: "basic" }, { id: "chen_holy_persuasion", en: "Holy Persuasion", zh: "\u795E\u5723\u529D\u5316", pierces: true, dispel: "no" }, { id: "chen_divine_favor", en: "Divine Favor", zh: "\u795E\u529B\u6069\u6CFD", dispel: "no" }, { id: "chen_hand_of_god", en: "Hand of God", zh: "\u4E0A\u5E1D\u4E4B\u624B", ult: true, dispel: "basic" }], "67": [{ id: "spectre_spectral_dagger", en: "Spectral Dagger", zh: "\u5E7D\u9B3C\u4E4B\u5203", dmg: "M", dispel: "basic", trade_cd: [22, 20, 18, 16] }, { id: "spectre_shadow_step", en: "Shadow Step", zh: "\u5982\u5F71\u968F\u5F62", pierces: true }, { id: "spectre_dispersion", en: "Dispersion", zh: "\u6298\u5C04", pierces: true }, { id: "spectre_haunt", en: "Haunt", zh: "\u9B3C\u5F71\u91CD\u91CD", ult: true, pierces: true }], "68": [{ id: "ancient_apparition_cold_feet", en: "Cold Feet", zh: "\u5BD2\u971C\u4E4B\u8DB3", dmg: "M", pierces: false, dispel: "basic" }, { id: "ancient_apparition_ice_vortex", en: "Ice Vortex", zh: "\u51B0\u971C\u6F29\u6DA1", dmg: "M", pierces: false, dispel: "no" }, { id: "ancient_apparition_chilling_touch", en: "Chilling Touch", zh: "\u6781\u5BD2\u4E4B\u89E6", dmg: "M", pierces: false, dispel: "basic" }, { id: "ancient_apparition_ice_blast", en: "Ice Blast", zh: "\u51B0\u6676\u7206\u8F70", ult: true, dmg: "M", pierces: true, dispel: "no" }], "69": [{ id: "doom_bringer_devour", en: "Devour", zh: "\u541E\u566C", dispel: "no" }, { id: "doom_bringer_scorched_earth", en: "Scorched Earth", zh: "\u7126\u571F", dmg: "M", pierces: false, dispel: "no" }, { id: "doom_bringer_infernal_blade", en: "Infernal Blade", zh: "\u960E\u5203", dmg: "M", pierces: false, dispel: "basic" }, { id: "doom_bringer_doom", en: "Doom", zh: "\u672B\u65E5", ult: true, dmg: "U", pierces: true, dispel: "no" }], "70": [{ id: "ursa_earthshock", en: "Earthshock", zh: "\u9707\u64BC\u5927\u5730", dmg: "M", pierces: false, dispel: "basic" }, { id: "ursa_overpower", en: "Overpower", zh: "\u8D85\u5F3A\u529B\u91CF", dispel: "basic" }, { id: "ursa_fury_swipes", en: "Fury Swipes", zh: "\u6012\u610F\u72C2\u51FB", dmg: "P", pierces: true, dispel: "no" }, { id: "ursa_enrage", en: "Enrage", zh: "\u6FC0\u6012", ult: true, pierces: true, dispel: "no" }], "71": [{ id: "spirit_breaker_charge_of_darkness", en: "Charge of Darkness", zh: "\u6697\u5F71\u51B2\u523A", pierces: false, dispel: "no" }, { id: "spirit_breaker_bulldoze", en: "Bulldoze", zh: "\u5A01\u5413", dispel: "basic" }, { id: "spirit_breaker_greater_bash", en: "Greater Bash", zh: "\u5DE8\u529B\u91CD\u51FB", dmg: "M", pierces: true, dispel: "strong" }, { id: "spirit_breaker_nether_strike", en: "Nether Strike", zh: "\u5E7D\u51A5\u4E00\u51FB", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "72": [{ id: "gyrocopter_rocket_barrage", en: "Rocket Barrage", zh: "\u706B\u7BAD\u5F39\u5E55", dmg: "M", pierces: false, dispel: "basic" }, { id: "gyrocopter_homing_missile", en: "Homing Missile", zh: "\u8FFD\u8E2A\u5BFC\u5F39", dmg: "M", pierces: false, dispel: "strong", trade_cd: [26, 21, 16, 11] }, { id: "gyrocopter_flak_cannon", en: "Flak Cannon", zh: "\u9AD8\u5C04\u706B\u70AE", dmg: "P", pierces: true, dispel: "no" }, { id: "gyrocopter_call_down", en: "Call Down", zh: "\u53EC\u5524\u98DE\u5F39", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "73": [{ id: "alchemist_acid_spray", en: "Acid Spray", zh: "\u9178\u6027\u55B7\u96FE", dmg: "P", pierces: false }, { id: "alchemist_unstable_concoction", en: "Unstable Concoction", zh: "\u4E0D\u7A33\u5B9A\u5316\u5408\u7269", dmg: "P", pierces: false, dispel: "strong", trade_cd: [17] }, { id: "alchemist_corrosive_weaponry", en: "Corrosive Weaponry", zh: "\u8150\u8680\u5175\u68B0", pierces: false }, { id: "alchemist_chemical_rage", en: "Chemical Rage", zh: "\u5316\u5B66\u72C2\u66B4", ult: true, dispel: "no" }], "74": [{ id: "invoker_quas", en: "Quas", zh: "\u51B0", dispel: "basic" }, { id: "invoker_wex", en: "Wex", zh: "\u96F7", dispel: "no" }, { id: "invoker_exort", en: "Exort", zh: "\u706B", dispel: "no" }, { id: "invoker_cold_snap", en: "Cold Snap", zh: "\u6025\u901F\u51B7\u5374", dmg: "M", pierces: false, dispel: "basic" }, { id: "invoker_ghost_walk", en: "Ghost Walk", zh: "\u5E7D\u7075\u6F2B\u6B65", pierces: false, dispel: "no" }, { id: "invoker_tornado", en: "Tornado", zh: "\u5F3A\u88AD\u98D3\u98CE", dmg: "M", pierces: false, dispel: "basic", trade_cd: [27] }, { id: "invoker_emp", en: "E.M.P.", zh: "\u7535\u78C1\u8109\u51B2", dmg: "M", pierces: false, trade_cd: [27] }, { id: "invoker_alacrity", en: "Alacrity", zh: "\u7075\u52A8\u8FC5\u6377", dmg: "P", dispel: "basic" }, { id: "invoker_chaos_meteor", en: "Chaos Meteor", zh: "\u6DF7\u6C8C\u9668\u77F3", dmg: "M", pierces: false, dispel: "basic", trade_cd: [50] }, { id: "invoker_sun_strike", en: "Sun Strike", zh: "\u9633\u708E\u51B2\u51FB", dmg: "U", pierces: true, trade_cd: [23] }, { id: "invoker_forge_spirit", en: "Forge Spirit", zh: "\u7194\u7089\u7CBE\u7075", pierces: false }, { id: "invoker_ice_wall", en: "Ice Wall", zh: "\u5BD2\u51B0\u4E4B\u5899", dmg: "M", pierces: false, dispel: "no" }, { id: "invoker_deafening_blast", en: "Deafening Blast", zh: "\u8D85\u9707\u58F0\u6CE2", dmg: "M", pierces: false, dispel: "basic", trade_cd: [36] }], "75": [{ id: "silencer_curse_of_the_silent", en: "Arcane Curse", zh: "\u5965\u672F\u8BC5\u5492", dmg: "M", pierces: false, dispel: "basic" }, { id: "silencer_glaives_of_wisdom", en: "Glaives of Wisdom", zh: "\u667A\u6167\u4E4B\u5203", dmg: "M", pierces: false, dispel: "no" }, { id: "silencer_last_word", en: "Last Word", zh: "\u9057\u8A00", dmg: "M", pierces: false, dispel: "basic" }, { id: "silencer_global_silence", en: "Global Silence", zh: "\u5168\u9886\u57DF\u9759\u9ED8", ult: true, pierces: true, dispel: "basic" }], "76": [{ id: "obsidian_destroyer_arcane_orb", en: "Arcane Orb", zh: "\u5965\u672F\u5929\u7403", dmg: "U", pierces: false }, { id: "obsidian_destroyer_astral_imprisonment", en: "Astral Imprisonment", zh: "\u661F\u4F53\u7981\u9522", dmg: "M", pierces: false, dispel: "no", trade_cd: [18, 16, 14, 12] }, { id: "obsidian_destroyer_objurgation", en: "Objurgation", zh: "\u8D23\u96BE", dispel: "basic" }, { id: "obsidian_destroyer_sanity_eclipse", en: "Sanity's Eclipse", zh: "\u795E\u667A\u4E4B\u8680", ult: true, dmg: "M", pierces: false }], "77": [{ id: "lycan_summon_wolves", en: "Summon Wolves", zh: "\u53EC\u72FC" }, { id: "lycan_howl", en: "Howl", zh: "\u55E5\u53EB", pierces: false, dispel: "basic" }, { id: "lycan_feral_impulse", en: "Feral Impulse", zh: "\u91CE\u6027\u9A71\u4F7F" }, { id: "lycan_shapeshift", en: "Shapeshift", zh: "\u53D8\u8EAB", ult: true, dispel: "no" }], "78": [{ id: "brewmaster_thunder_clap", en: "Thunder Clap", zh: "\u96F7\u9706\u4E00\u51FB", dmg: "M", pierces: false, dispel: "basic" }, { id: "brewmaster_cinder_brew", en: "Cinder Brew", zh: "\u4F59\u70EC\u4F73\u917F", dmg: "M", pierces: false, dispel: "basic" }, { id: "brewmaster_drunken_brawler", en: "Drunken Brawler", zh: "\u9189\u62F3", dispel: "no" }, { id: "brewmaster_primal_split", en: "Primal Split", zh: "\u5143\u7D20\u5206\u79BB", ult: true, dispel: "no" }], "79": [{ id: "shadow_demon_disruption", en: "Disruption", zh: "\u5D29\u88C2\u7981\u9522", pierces: false, dispel: "no" }, { id: "shadow_demon_disseminate", en: "Disseminate", zh: "\u6563\u64AD", pierces: false }, { id: "shadow_demon_shadow_poison", en: "Shadow Poison", zh: "\u6697\u5F71\u5267\u6BD2", dmg: "M", pierces: false, dispel: "no" }, { id: "shadow_demon_demonic_purge", en: "Demonic Purge", zh: "\u90AA\u6076\u51C0\u5316", ult: true, dmg: "M", pierces: true, dispel: "no" }], "80": [{ id: "lone_druid_entangle", en: "Entangle", zh: "\u7F20\u7ED5\u4E4B\u6839", dmg: "M", pierces: true, dispel: "no", trade_cd: [20, 19, 18, 17] }, { id: "lone_druid_spirit_link", en: "Spirit Link", zh: "\u7075\u9B42\u94FE\u63A5" }, { id: "lone_druid_savage_roar", en: "Savage Roar", zh: "\u91CE\u86EE\u5486\u54EE", pierces: false, dispel: "basic" }, { id: "lone_druid_true_form", en: "True Form", zh: "\u771F\u718A\u5F62\u6001", ult: true, dispel: "no" }], "81": [{ id: "chaos_knight_chaos_bolt", en: "Chaos Bolt", zh: "\u6DF7\u4E71\u4E4B\u7BAD", dmg: "M", pierces: false, dispel: "strong", trade_cd: [13, 12, 11, 10] }, { id: "chaos_knight_reality_rift", en: "Reality Rift", zh: "\u5B9E\u76F8\u88C2\u9699", pierces: false, dispel: "basic" }, { id: "chaos_knight_chaos_strike", en: "Chaos Strike", zh: "\u6DF7\u6C8C\u4E00\u51FB", pierces: true }, { id: "chaos_knight_phantasm", en: "Phantasm", zh: "\u6DF7\u6C8C\u4E4B\u519B", ult: true }], "82": [{ id: "meepo_earthbind", en: "Earthbind", zh: "\u5730\u4E4B\u675F\u7F1A", pierces: false, dispel: "basic" }, { id: "meepo_poof", en: "Poof", zh: "\u5FFD\u60A0", dmg: "M", pierces: false, trade_cd: [12, 10, 8, 6] }, { id: "meepo_ransack", en: "Ransack", zh: "\u6D17\u52AB", dmg: "U", pierces: true }, { id: "meepo_divided_we_stand", en: "Divided We Stand", zh: "\u5206\u5219\u80FD\u6210", ult: true }], "83": [{ id: "treant_natures_grasp", en: "Nature's Grasp", zh: "\u81EA\u7136\u5377\u63E1", dmg: "M", pierces: false, trade_cd: [23, 21, 19, 17] }, { id: "treant_leech_seed", en: "Leech Seed", zh: "\u5BC4\u751F\u79CD\u5B50", dmg: "M", pierces: false, dispel: "basic" }, { id: "treant_living_armor", en: "Living Armor", zh: "\u6D3B\u4F53\u62A4\u7532", dispel: "basic" }, { id: "treant_overgrowth", en: "Overgrowth", zh: "\u75AF\u72C2\u751F\u957F", ult: true, dmg: "M", pierces: true, dispel: "basic" }], "84": [{ id: "ogre_magi_fireblast", en: "Fireblast", zh: "\u706B\u7130\u7206\u8F70", dmg: "M", pierces: false, dispel: "strong", trade_cd: [14, 12, 10, 8] }, { id: "ogre_magi_ignite", en: "Ignite", zh: "\u5F15\u71C3", dmg: "M", pierces: false, dispel: "basic" }, { id: "ogre_magi_bloodlust", en: "Bloodlust", zh: "\u55DC\u8840\u672F", dispel: "basic" }, { id: "ogre_magi_multicast", en: "Multicast", zh: "\u591A\u91CD\u65BD\u6CD5", ult: true }], "85": [{ id: "undying_decay", en: "Decay", zh: "\u8150\u673D", dmg: "M", pierces: false, dispel: "no" }, { id: "undying_soul_rip", en: "Soul Rip", zh: "\u566C\u9B42", dmg: "M", pierces: false, trade_cd: [15, 12, 9, 6] }, { id: "undying_tombstone", en: "Tombstone", zh: "\u5893\u7891", dmg: "P", pierces: false }, { id: "undying_flesh_golem", en: "Flesh Golem", zh: "\u8840\u8089\u5080\u5121", ult: true, dmg: "M", pierces: false, dispel: "no" }], "86": [{ id: "rubick_telekinesis", en: "Telekinesis", zh: "\u9694\u7A7A\u53D6\u7269", pierces: false, dispel: "strong" }, { id: "rubick_fade_bolt", en: "Fade Bolt", zh: "\u5F31\u5316\u80FD\u6D41", dmg: "M", pierces: false, dispel: "basic" }, { id: "rubick_arcane_supremacy", en: "Arcane Supremacy", zh: "\u5965\u672F\u81F3\u5C0A" }, { id: "rubick_spell_steal", en: "Spell Steal", zh: "\u6280\u80FD\u7A83\u53D6", ult: true, pierces: true, dispel: "no" }], "87": [{ id: "disruptor_thunder_strike", en: "Thunder Strike", zh: "\u98CE\u96F7\u4E4B\u51FB", dmg: "M", pierces: false, dispel: "basic", trade_cd: [18, 15, 12, 9] }, { id: "disruptor_glimpse", en: "Glimpse", zh: "\u6076\u5FF5\u77A5\u89C6", dmg: "M", pierces: false, dispel: "no", trade_cd: [24, 22, 20, 18] }, { id: "disruptor_kinetic_field", en: "Kinetic Field", zh: "\u52A8\u80FD\u529B\u573A", pierces: false }, { id: "disruptor_static_storm", en: "Static Storm", zh: "\u9759\u6001\u98CE\u66B4", ult: true, dmg: "M", pierces: false, dispel: "no" }], "88": [{ id: "nyx_assassin_impale", en: "Impale", zh: "\u7A7F\u523A", dmg: "M", pierces: false, dispel: "strong" }, { id: "nyx_assassin_jolt", en: "Mind Flare", zh: "\u795E\u667A\u7206\u88C2", dmg: "M", pierces: false, trade_cd: [11, 9.5, 8, 6.5] }, { id: "nyx_assassin_spiked_carapace", en: "Spiked Carapace", zh: "\u5C16\u523A\u5916\u58F3", pierces: false, dispel: "no" }, { id: "nyx_assassin_vendetta", en: "Vendetta", zh: "\u590D\u4EC7", ult: true, dmg: "U", pierces: true, dispel: "no" }], "89": [{ id: "naga_siren_mirror_image", en: "Mirror Image", zh: "\u955C\u50CF" }, { id: "naga_siren_ensnare", en: "Ensnare", zh: "\u8BF1\u6355", pierces: false, dispel: "basic" }, { id: "naga_siren_rip_tide", en: "Rip Tide", zh: "\u6FC0\u6D41", dmg: "M", pierces: false, dispel: "basic" }, { id: "naga_siren_song_of_the_siren", en: "Song of the Siren", zh: "\u6D77\u5996\u4E4B\u6B4C", ult: true, pierces: false, dispel: "no" }], "90": [{ id: "keeper_of_the_light_illuminate", en: "Illuminate", zh: "\u51B2\u51FB\u6CE2", dmg: "M", pierces: false, trade_cd: [13] }, { id: "keeper_of_the_light_blinding_light", en: "Blinding Light", zh: "\u81F4\u76F2\u4E4B\u5149", dmg: "M", pierces: false, dispel: "basic" }, { id: "keeper_of_the_light_chakra_magic", en: "Chakra Magic", zh: "\u67E5\u514B\u62C9\u9B54\u6CD5" }, { id: "keeper_of_the_light_radiant_bind", en: "Solar Bind", zh: "\u708E\u9633\u4E4B\u7F1A", pierces: false, dispel: "basic" }, { id: "keeper_of_the_light_spirit_form", en: "Spirit Form", zh: "\u7075\u9B42\u5F62\u6001", ult: true, dispel: "no" }], "91": [{ id: "wisp_tether", en: "Tether", zh: "\u7F81\u7ECA", dispel: "no" }, { id: "wisp_spirits", en: "Spirits", zh: "\u5E7D\u9B42", dmg: "M", pierces: false, dispel: "no" }, { id: "wisp_overcharge", en: "Overcharge", zh: "\u8FC7\u8F7D", dispel: "no" }, { id: "wisp_spirits_in", en: "Spirits In", zh: "\u62C9\u8FD1\u5E7D\u9B42" }, { id: "wisp_spirits_out", en: "Spirits Out", zh: "\u62C9\u8FDC\u5E7D\u9B42" }, { id: "wisp_relocate", en: "Relocate", zh: "\u964D\u4E34", ult: true, dispel: "no" }], "92": [{ id: "visage_grave_chill", en: "Grave Chill", zh: "\u9EC4\u6CC9\u98A4\u6296", pierces: false, dispel: "basic" }, { id: "visage_soul_assumption", en: "Soul Assumption", zh: "\u7075\u9B42\u8D85\u5EA6", dmg: "M", pierces: false }, { id: "visage_gravekeepers_cloak", en: "Gravekeeper's Cloak", zh: "\u9675\u536B\u6597\u7BF7" }, { id: "visage_summon_familiars", en: "Summon Familiars", zh: "\u53EC\u5524\u4F63\u517D", ult: true, dmg: "P" }], "93": [{ id: "slark_dark_pact", en: "Dark Pact", zh: "\u9ED1\u6697\u5951\u7EA6", dmg: "M", pierces: false, trade_cd: [9, 8, 7, 6] }, { id: "slark_pounce", en: "Pounce", zh: "\u7A81\u88AD", dmg: "M", pierces: false, dispel: "no", trade_cd: [24, 20, 16, 12] }, { id: "slark_saltwater_shiv", en: "Saltwater Shiv", zh: "\u6D77\u6D6A\u77ED\u5200", dmg: "P", pierces: false, dispel: "basic" }, { id: "slark_shadow_dance", en: "Shadow Dance", zh: "\u6697\u5F71\u4E4B\u821E", ult: true, dispel: "no" }], "94": [{ id: "medusa_split_shot", en: "Split Shot", zh: "\u5206\u88C2\u7BAD", pierces: true, dispel: "no" }, { id: "medusa_mystic_snake", en: "Mystic Snake", zh: "\u79D8\u672F\u5F02\u86C7", dmg: "M", pierces: false, trade_cd: [15, 14, 13, 12] }, { id: "medusa_gorgon_grasp", en: "Gorgon's Grasp", zh: "\u7F57\u7F51\u7BAD\u9635", dmg: "M", pierces: false, dispel: "basic" }, { id: "medusa_stone_gaze", en: "Stone Gaze", zh: "\u77F3\u5316\u51DD\u89C6", ult: true, pierces: true, dispel: "no" }], "95": [{ id: "troll_warlord_whirling_axes_ranged", en: "Whirling Axes (Ranged)", zh: "\u65CB\u98CE\u98DE\u65A7\uFF08\u8FDC\u7A0B\uFF09", dmg: "M", pierces: false, dispel: "basic", trade_cd: [9] }, { id: "troll_warlord_whirling_axes_melee", en: "Whirling Axes (Melee)", zh: "\u65CB\u98CE\u98DE\u65A7\uFF08\u8FD1\u6218\uFF09", dmg: "M", pierces: false, dispel: "basic", trade_cd: [9] }, { id: "troll_warlord_fervor", en: "Fervor", zh: "\u70ED\u8840\u6218\u9B42", dispel: "no" }, { id: "troll_warlord_berserkers_rage", en: "Berserker's Rage", zh: "\u72C2\u6218\u58EB\u4E4B\u6012", dmg: "P", pierces: true }, { id: "troll_warlord_battle_trance", en: "Battle Trance", zh: "\u6218\u6597\u4E13\u6CE8", ult: true, dispel: "no" }], "96": [{ id: "centaur_hoof_stomp", en: "Hoof Stomp", zh: "\u9A6C\u8E44\u8DF5\u8E0F", dmg: "M", pierces: false, dispel: "strong", trade_cd: [18, 16, 14, 12] }, { id: "centaur_double_edge", en: "Double Edge", zh: "\u53CC\u5203\u5251", dmg: "M", pierces: false }, { id: "centaur_return", en: "Retaliate", zh: "\u53CD\u4F24", dmg: "P", pierces: true, dispel: "basic" }, { id: "centaur_stampede", en: "Stampede", zh: "\u5954\u88AD\u51B2\u649E", ult: true, dmg: "M", dispel: "no" }], "97": [{ id: "magnataur_shockwave", en: "Shockwave", zh: "\u9707\u8361\u6CE2", dmg: "M", pierces: false, trade_cd: [13, 12, 11, 10] }, { id: "magnataur_empower", en: "Empower", zh: "\u6388\u4E88\u529B\u91CF", dispel: "basic" }, { id: "magnataur_skewer", en: "Skewer", zh: "\u5DE8\u89D2\u51B2\u649E", dmg: "M", pierces: false, dispel: "basic", trade_cd: [22, 20, 18, 16] }, { id: "magnataur_reverse_polarity", en: "Reverse Polarity", zh: "\u4E24\u6781\u53CD\u8F6C", ult: true, dmg: "M", pierces: true, dispel: "strong" }], "98": [{ id: "shredder_whirling_death", en: "Whirling Death", zh: "\u6B7B\u4EA1\u65CB\u98CE", dmg: "U", pierces: false, dispel: "basic" }, { id: "shredder_timber_chain", en: "Timber Chain", zh: "\u4F10\u6728\u952F\u94FE", dmg: "U", pierces: false }, { id: "shredder_reactive_armor", en: "Reactive Armor", zh: "\u6D3B\u6027\u62A4\u7532", dmg: "M", dispel: "no" }, { id: "shredder_chakram", en: "Chakram", zh: "\u952F\u9F7F\u98DE\u8F6E", ult: true, dmg: "U", pierces: false, dispel: "no" }], "99": [{ id: "bristleback_viscous_nasal_goo", en: "Viscous Nasal Goo", zh: "\u7C98\u7A20\u9F3B\u6DB2", pierces: false, dispel: "basic" }, { id: "bristleback_quill_spray", en: "Quill Spray", zh: "\u523A\u9488\u626B\u5C04", dmg: "P", pierces: true, dispel: "no" }, { id: "bristleback_bristleback", en: "Bristleback", zh: "\u94A2\u6BDB\u540E\u80CC" }, { id: "bristleback_warpath", en: "Warpath", zh: "\u6218\u610F", ult: true, dispel: "no" }], "100": [{ id: "tusk_ice_shards", en: "Ice Shards", zh: "\u5BD2\u51B0\u788E\u7247", dmg: "M", pierces: false, trade_cd: [23, 20, 17, 14] }, { id: "tusk_snowball", en: "Snowball", zh: "\u96EA\u7403", dmg: "M", pierces: false, dispel: "no", trade_cd: [21, 19, 17, 15] }, { id: "tusk_tag_team", en: "Tag Team", zh: "\u6454\u89D2\u884C\u5BB6", dmg: "P", pierces: false, dispel: "no", trade_cd: [24, 21, 18, 15] }, { id: "tusk_walrus_punch", en: "Walrus PUNCH!", zh: "\u6D77\u8C61\u795E\u62F3\uFF01", ult: true, pierces: true, dispel: "basic" }], "101": [{ id: "skywrath_mage_arcane_bolt", en: "Arcane Bolt", zh: "\u5965\u6CD5\u9E70\u96BC", dmg: "M", pierces: false }, { id: "skywrath_mage_concussive_shot", en: "Concussive Shot", zh: "\u9707\u8361\u5149\u5F39", dmg: "M", pierces: false, dispel: "basic", trade_cd: [15, 14, 13, 12] }, { id: "skywrath_mage_ancient_seal", en: "Ancient Seal", zh: "\u4E0A\u53E4\u5C01\u5370", pierces: false, dispel: "basic" }, { id: "skywrath_mage_mystic_flare", en: "Mystic Flare", zh: "\u795E\u79D8\u4E4B\u8000", ult: true, dmg: "M", pierces: false }], "102": [{ id: "abaddon_death_coil", en: "Mist Coil", zh: "\u8FF7\u96FE\u7F20\u7ED5", dmg: "M", trade_cd: [8, 7, 6, 5] }, { id: "abaddon_aphotic_shield", en: "Aphotic Shield", zh: "\u65E0\u5149\u4E4B\u76FE", dmg: "M", dispel: "basic" }, { id: "abaddon_frostmourne", en: "Curse of Avernus", zh: "\u9B54\u972D\u8BC5\u5492", dmg: "M", pierces: false, dispel: "basic" }, { id: "abaddon_borrowed_time", en: "Borrowed Time", zh: "\u56DE\u5149\u8FD4\u7167", ult: true, dispel: "no" }], "103": [{ id: "elder_titan_echo_stomp", en: "Echo Stomp", zh: "\u56DE\u97F3\u91CD\u8E0F", dmg: "P", pierces: false, dispel: "strong", trade_cd: [14, 13, 12, 11] }, { id: "elder_titan_ancestral_spirit", en: "Astral Spirit", zh: "\u7075\u4F53\u6E38\u9B42", dmg: "M", pierces: true, dispel: "basic", trade_cd: [23, 21, 19, 17] }, { id: "elder_titan_natural_order", en: "Natural Order", zh: "\u81EA\u7136\u79E9\u5E8F", pierces: false }, { id: "elder_titan_earth_splitter", en: "Earth Splitter", zh: "\u88C2\u5730\u6C9F\u58D1", ult: true, dmg: "M", pierces: true, dispel: "basic" }], "104": [{ id: "legion_commander_overwhelming_odds", en: "Overwhelming Odds", zh: "\u538B\u5012\u6027\u4F18\u52BF", dmg: "M", pierces: false, dispel: "basic" }, { id: "legion_commander_press_the_attack", en: "Press The Attack", zh: "\u5F3A\u653B", dispel: "basic" }, { id: "legion_commander_moment_of_courage", en: "Moment of Courage", zh: "\u52C7\u6C14\u4E4B\u970E" }, { id: "legion_commander_duel", en: "Duel", zh: "\u51B3\u6597", ult: true, pierces: true, dispel: "no" }], "105": [{ id: "techies_sticky_bomb", en: "Sticky Bomb", zh: "\u7C98\u6027\u70B8\u5F39", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 13, 10, 7] }, { id: "techies_reactive_tazer", en: "Reactive Tazer", zh: "\u6D3B\u6027\u7535\u51FB", dmg: "M", pierces: false, dispel: "basic" }, { id: "techies_suicide", en: "Blast Off!", zh: "\u7206\u7834\u8D77\u98DE\uFF01", dmg: "M", pierces: false, dispel: "basic", trade_cd: [40, 35, 30, 25] }, { id: "techies_land_mines", en: "Proximity Mines", zh: "\u611F\u5E94\u5730\u96F7", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "106": [{ id: "ember_spirit_searing_chains", en: "Searing Chains", zh: "\u708E\u9633\u7D22", dmg: "M", pierces: false, dispel: "basic" }, { id: "ember_spirit_sleight_of_fist", en: "Sleight of Fist", zh: "\u65E0\u5F71\u62F3", dmg: "P", pierces: true, trade_cd: [13, 11, 9, 7] }, { id: "ember_spirit_flame_guard", en: "Flame Guard", zh: "\u70C8\u706B\u7F69", dmg: "M", pierces: false, dispel: "basic" }, { id: "ember_spirit_activate_fire_remnant", en: "Activate Fire Remnant", zh: "\u6FC0\u6D3B\u6B8B\u7130", dmg: "M", pierces: false }, { id: "ember_spirit_fire_remnant", en: "Fire Remnant", zh: "\u6B8B\u7130", ult: true, dmg: "M", pierces: false }], "107": [{ id: "earth_spirit_boulder_smash", en: "Boulder Smash", zh: "\u5DE8\u77F3\u51B2\u51FB", dmg: "M", pierces: false, dispel: "basic" }, { id: "earth_spirit_rolling_boulder", en: "Rolling Boulder", zh: "\u5DE8\u77F3\u7FFB\u6EDA", dmg: "M", pierces: false, dispel: "strong", trade_cd: [16, 12, 8, 4] }, { id: "earth_spirit_geomagnetic_grip", en: "Geomagnetic Grip", zh: "\u5730\u78C1\u4E4B\u63E1", dmg: "M", pierces: false, dispel: "basic" }, { id: "earth_spirit_magnetize", en: "Magnetize", zh: "\u78C1\u5316", ult: true, dmg: "M", pierces: true, dispel: "basic" }], "108": [{ id: "abyssal_underlord_firestorm", en: "Firestorm", zh: "\u706B\u7130\u98CE\u66B4", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 15, 14, 13] }, { id: "abyssal_underlord_pit_of_malice", en: "Pit of Malice", zh: "\u6028\u5FF5\u6DF1\u6E0A", dmg: "M", pierces: false, dispel: "basic", trade_cd: [30, 25, 20, 15] }, { id: "abyssal_underlord_atrophy_aura", en: "Atrophy Aura", zh: "\u8870\u9000\u5149\u73AF", dmg: "P", dispel: "no" }, { id: "abyssal_underlord_dark_portal", en: "Fiend's Gate", zh: "\u6076\u9B54\u4E4B\u6249", ult: true, dispel: "basic" }], "109": [{ id: "terrorblade_reflection", en: "Reflection", zh: "\u5012\u5F71", pierces: false, dispel: "basic" }, { id: "terrorblade_conjure_image", en: "Conjure Image", zh: "\u60D1\u5E7B" }, { id: "terrorblade_metamorphosis", en: "Metamorphosis", zh: "\u9B54\u5316", dmg: "P", dispel: "no" }, { id: "terrorblade_sunder", en: "Sunder", zh: "\u9B42\u65AD", ult: true, pierces: false }], "110": [{ id: "phoenix_icarus_dive", en: "Icarus Dive", zh: "\u51E4\u51F0\u51B2\u51FB", dmg: "M", pierces: false, dispel: "basic", trade_cd: [40, 35, 30, 25] }, { id: "phoenix_fire_spirits", en: "Fire Spirits", zh: "\u70C8\u706B\u7CBE\u7075", dmg: "M", pierces: false, dispel: "basic" }, { id: "phoenix_sun_ray", en: "Sun Ray", zh: "\u70C8\u65E5\u7099\u70E4", dmg: "M", pierces: false, dispel: "no" }, { id: "phoenix_supernova", en: "Supernova", zh: "\u8D85\u65B0\u661F", ult: true, dmg: "M", pierces: true, dispel: "no" }], "111": [{ id: "oracle_fortunes_end", en: "Fortune's End", zh: "\u6C14\u8FD0\u4E4B\u672B", dmg: "M", pierces: false, dispel: "basic", trade_cd: [18, 14, 10, 6] }, { id: "oracle_fates_edict", en: "Fate's Edict", zh: "\u547D\u8FD0\u6555\u4EE4", dispel: "basic" }, { id: "oracle_purifying_flames", en: "Purifying Flames", zh: "\u6DA4\u7F6A\u4E4B\u7130", dmg: "M", pierces: false, dispel: "basic" }, { id: "oracle_false_promise", en: "False Promise", zh: "\u865A\u5984\u4E4B\u8BFA", ult: true, dispel: "no" }], "112": [{ id: "winter_wyvern_arctic_burn", en: "Arctic Burn", zh: "\u4E25\u5BD2\u70E7\u707C", dmg: "M", pierces: false, dispel: "no" }, { id: "winter_wyvern_splinter_blast", en: "Splinter Blast", zh: "\u788E\u88C2\u51B2\u51FB", dmg: "M", pierces: false, dispel: "basic" }, { id: "winter_wyvern_cold_embrace", en: "Cold Embrace", zh: "\u6781\u5BD2\u4E4B\u62E5", dispel: "no" }, { id: "winter_wyvern_winters_curse", en: "Winter's Curse", zh: "\u5BD2\u51AC\u8BC5\u5492", ult: true, pierces: true }], "113": [{ id: "arc_warden_flux", en: "Flux", zh: "\u4E71\u6D41", dmg: "M", pierces: false, dispel: "basic" }, { id: "arc_warden_magnetic_field", en: "Magnetic Field", zh: "\u78C1\u573A" }, { id: "arc_warden_spark_wraith", en: "Spark Wraith", zh: "\u95EA\u5149\u5E7D\u9B42", dmg: "M", pierces: false }, { id: "arc_warden_tempest_double", en: "Tempest Double", zh: "\u98CE\u66B4\u53CC\u96C4", ult: true }], "114": [{ id: "monkey_king_boundless_strike", en: "Boundless Strike", zh: "\u64CE\u5929\u4E00\u51FB", dmg: "P", pierces: false, dispel: "strong", trade_cd: [24, 20, 16, 12] }, { id: "monkey_king_tree_dance", en: "Tree Dance", zh: "\u4E1B\u6797\u4E4B\u821E" }, { id: "monkey_king_jingu_mastery", en: "Jingu Mastery", zh: "\u5982\u610F\u68D2\u6CD5", dmg: "P", pierces: true, dispel: "no" }, { id: "monkey_king_wukongs_command", en: "Wukong's Command", zh: "\u7334\u5B50\u7334\u5B59", ult: true, dmg: "P" }, { id: "monkey_king_transfiguration", en: "Changing of the Guard", zh: "\u51FA\u795E\u5165\u5316" }], "119": [{ id: "dark_willow_bramble_maze", en: "Bramble Maze", zh: "\u8346\u68D8\u8FF7\u5BAB", dmg: "M", pierces: false, dispel: "basic", trade_cd: [22] }, { id: "dark_willow_shadow_realm", en: "Shadow Realm", zh: "\u6697\u5F71\u4E4B\u5883", dmg: "M", pierces: false, dispel: "no" }, { id: "dark_willow_cursed_crown", en: "Cursed Crown", zh: "\u8BC5\u5492\u738B\u51A0", pierces: false, dispel: "basic" }, { id: "dark_willow_bedlam", en: "Bedlam", zh: "\u4F5C\u795F", ult: true, dmg: "M", pierces: false, dispel: "no" }, { id: "dark_willow_terrorize", en: "Terrorize", zh: "\u6050\u5413", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "120": [{ id: "pangolier_swashbuckle", en: "Swashbuckle", zh: "\u865A\u5F20\u58F0\u52BF", dmg: "P", pierces: true, trade_cd: [19, 16, 13, 10] }, { id: "pangolier_shield_crash", en: "Shield Crash", zh: "\u7532\u76FE\u51B2\u51FB", dmg: "P", pierces: false, dispel: "basic" }, { id: "pangolier_lucky_shot", en: "Lucky Shot", zh: "\u5E78\u8FD0\u4E00\u51FB", pierces: false, dispel: "basic" }, { id: "pangolier_gyroshell", en: "Rolling Thunder", zh: "\u5730\u96F7\u6EDA\u6EDA", ult: true, dmg: "P", pierces: false, dispel: "no" }], "121": [{ id: "grimstroke_dark_artistry", en: "Stroke of Fate", zh: "\u7EDD\u7B14", dmg: "M", pierces: false, dispel: "basic", trade_cd: [11, 9, 7, 5] }, { id: "grimstroke_ink_creature", en: "Phantom's Embrace", zh: "\u623E\u5F71", dmg: "M", pierces: false, dispel: "no", trade_cd: [30, 26, 22, 18] }, { id: "grimstroke_spirit_walk", en: "Ink Swell", zh: "\u58A8\u6D8C", dmg: "M", dispel: "basic", trade_cd: [27, 24, 21, 18] }, { id: "grimstroke_soul_chain", en: "Soulbind", zh: "\u7F1A\u9B42", ult: true, pierces: true, dispel: "no" }], "123": [{ id: "hoodwink_acorn_shot", en: "Acorn Shot", zh: "\u7206\u6817\u51FA\u51FB", dmg: "P", pierces: false, trade_cd: [19, 16, 13, 10] }, { id: "hoodwink_bushwhack", en: "Bushwhack", zh: "\u91CE\u5730\u5947\u88AD", dmg: "M", dispel: "strong", trade_cd: [15, 14, 13, 12] }, { id: "hoodwink_scurry", en: "Scurry", zh: "\u5BC6\u6797\u5954\u8D70" }, { id: "hoodwink_sharpshooter", en: "Sharpshooter", zh: "\u4E00\u7BAD\u7A7F\u5FC3", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "126": [{ id: "void_spirit_aether_remnant", en: "Aether Remnant", zh: "\u6B8B\u9634", dmg: "M", pierces: false, dispel: "basic" }, { id: "void_spirit_dissimilate", en: "Dissimilate", zh: "\u5F02\u5316", dmg: "M", pierces: false, trade_cd: [20, 17, 14, 11] }, { id: "void_spirit_resonant_pulse", en: "Resonant Pulse", zh: "\u5171\u9E23\u8109\u51B2", dmg: "M", pierces: false, dispel: "basic", trade_cd: [18] }, { id: "void_spirit_astral_step", en: "Astral Step", zh: "\u592A\u865A\u4E4B\u5F84", ult: true, dmg: "M", pierces: true }], "128": [{ id: "snapfire_scatterblast", en: "Scatterblast", zh: "\u7535\u5149\u77F3\u706B", dmg: "M", pierces: false, dispel: "basic", trade_cd: [17, 14, 11, 8] }, { id: "snapfire_firesnap_cookie", en: "Firesnap Cookie", zh: "\u9F99\u708E\u997C\u5E72", dmg: "M", dispel: "strong", trade_cd: [17, 16, 15, 14] }, { id: "snapfire_lil_shredder", en: "Lil' Shredder", zh: "\u9739\u96F3\u94C1\u624B", dmg: "P" }, { id: "snapfire_mortimer_kisses", en: "Mortimer Kisses", zh: "\u8725\u8734\u7EDD\u543B", ult: true, dmg: "M", pierces: false, dispel: "basic" }], "129": [{ id: "mars_spear", en: "Spear of Mars", zh: "\u6218\u795E\u8FC5\u77DB", dmg: "M", pierces: false, dispel: "strong", trade_cd: [14, 13, 12, 11] }, { id: "mars_gods_rebuke", en: "God's Rebuke", zh: "\u795E\u4E4B\u8C34\u6212", dmg: "P", trade_cd: [14, 12, 10, 8] }, { id: "mars_bulwark", en: "Bulwark", zh: "\u62A4\u8EAB\u7532\u76FE" }, { id: "mars_arena_of_blood", en: "Arena Of Blood", zh: "\u70ED\u8840\u7ADE\u6280\u573A", ult: true, dmg: "M", pierces: false }], "131": [{ id: "ringmaster_tame_the_beasts", en: "Tame the Beasts", zh: "\u9A6F\u517D\u672F", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 14, 12, 10] }, { id: "ringmaster_the_box", en: "Escape Act", zh: "\u9003\u751F\u6280", pierces: false, dispel: "basic" }, { id: "ringmaster_impalement", en: "Impalement Arts", zh: "\u5C16\u5200\u620F", dmg: "M", pierces: false, dispel: "basic" }, { id: "ringmaster_wheel", en: "Wheel of Wonder", zh: "\u5947\u89C2\u8F6E", ult: true, dmg: "M", pierces: false, dispel: "no" }, { id: "ringmaster_funhouse_mirror", en: "Funhouse Mirror", zh: "\u54C8\u54C8\u955C" }, { id: "ringmaster_strongman_tonic", en: "Strongman Tonic", zh: "\u5F3A\u529B\u6C34", dispel: "basic" }, { id: "ringmaster_whoopee_cushion", en: "Whoopee Cushion", zh: "\u6574\u86CA\u57AB" }, { id: "ringmaster_summon_unicycle", en: "Unicycle", zh: "\u72EC\u8F6E\u8F66" }], "135": [{ id: "dawnbreaker_fire_wreath", en: "Starbreaker", zh: "\u661F\u7834\u5929\u60CA", dmg: "P", pierces: true, trade_cd: [17, 15, 13, 11] }, { id: "dawnbreaker_celestial_hammer", en: "Celestial Hammer", zh: "\u4E0A\u754C\u91CD\u9524", dmg: "M", pierces: false, dispel: "basic", trade_cd: [18, 16, 14, 12] }, { id: "dawnbreaker_luminosity", en: "Luminosity", zh: "\u71A0\u71A0\u751F\u8F89" }, { id: "dawnbreaker_solar_guardian", en: "Solar Guardian", zh: "\u5929\u5149\u73B0\u4E16", ult: true, dmg: "M", pierces: true }], "136": [{ id: "marci_grapple", en: "Dispose", zh: "\u8FC7\u80A9\u6454", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 14, 12, 10] }, { id: "marci_companion_run", en: "Rebound", zh: "\u56DE\u8EAB\u8E22", dmg: "M", pierces: false, dispel: "strong", trade_cd: [24, 20, 16, 12] }, { id: "marci_bodyguard", en: "Bodyguard", zh: "\u62A4\u536B\u672F", dmg: "P", dispel: "basic", trade_cd: [21, 20, 19, 18] }, { id: "marci_unleash", en: "Unleash", zh: "\u6012\u62F3\u7834", ult: true, dmg: "M", dispel: "no" }], "137": [{ id: "primal_beast_onslaught", en: "Onslaught", zh: "\u7A81", dmg: "P", pierces: false, dispel: "basic", trade_cd: [25, 22, 19, 16] }, { id: "primal_beast_trample", en: "Trample", zh: "\u8E0F", dmg: "M", pierces: false, dispel: "no" }, { id: "primal_beast_uproar", en: "Uproar", zh: "\u54A4", dispel: "no" }, { id: "primal_beast_pulverize", en: "Pulverize", zh: "\u6376", ult: true, dmg: "M", pierces: true }], "138": [{ id: "muerta_dead_shot", en: "Dead Shot", zh: "\u5F39\u65E0\u865A\u53D1", dmg: "M", pierces: false, dispel: "basic", trade_cd: [16, 14, 12, 10] }, { id: "muerta_the_calling", en: "The Calling", zh: "\u5524\u9B42", dmg: "M", pierces: false, dispel: "basic" }, { id: "muerta_gunslinger", en: "Gunslinger", zh: "\u795E\u67AA\u5728\u624B" }, { id: "muerta_pierce_the_veil", en: "Pierce the Veil", zh: "\u8D8A\u754C", ult: true, dmg: "M", dispel: "no" }], "145": [{ id: "kez_echo_slash", en: "Echo Slash", zh: "\u56DE\u97F3\u91CD\u65A9", dmg: "P", trade_cd: [21, 18, 15, 12] }, { id: "kez_grappling_claw", en: "Grappling Claw", zh: "\u5236\u654C\u722A\u94A9", pierces: false }, { id: "kez_kazurai_katana", en: "Kazurai Katana", zh: "\u5F71\u6B66\u957F\u5200", dmg: "P", pierces: true, dispel: "basic", trade_cd: [24, 18, 12, 6] }, { id: "kez_raptor_dance", en: "Raptor Dance", zh: "\u731B\u79BD\u4E4B\u821E", ult: true, dmg: "P", pierces: true }, { id: "kez_falcon_rush", en: "Falcon Rush", zh: "\u5929\u96BC\u51B2\u51FB", dispel: "basic" }, { id: "kez_talon_toss", en: "Talon Toss", zh: "\u5229\u722A\u98DE\u63B7", dmg: "P", pierces: false, trade_cd: [13, 11, 9, 7] }, { id: "kez_shodo_sai", en: "Shodo Sai", zh: "\u7FD4\u5F71\u4E4B\u9497", pierces: true, dispel: "strong" }, { id: "kez_ravens_veil", en: "Raven's Veil", zh: "\u6E21\u9E26\u4E4B\u7EB1", ult: true, pierces: true, dispel: "strong" }], "155": [{ id: "largo_catchy_lick", en: "Catchy Lick", zh: "\u52A8\u4EBA\u4E4B\u8210", dmg: "M", pierces: false, trade_cd: [15, 12, 9, 6] }, { id: "largo_frogstomp", en: "Frogstomp", zh: "\u86D9\u529B\u5343\u94A7", dmg: "M", pierces: false, trade_cd: [20, 18, 16, 14] }, { id: "largo_croak_of_genius", en: "Croak of Genius", zh: "\u7075\u5471\u4E00\u95EA", dmg: "M", dispel: "basic" }, { id: "largo_amphibian_rhapsody", en: "Amphibian Rhapsody", zh: "\u4E24\u6816\u72C2\u60F3\u66F2", ult: true, dmg: "M" }, { id: "largo_song_fight_song", en: "Bullbelly Blitz", zh: "\u5DE8\u8179\u95EA\u7535\u6218", dmg: "M" }, { id: "largo_song_double_time", en: "Hotfeet Hustle", zh: "\u75BE\u6B65\u751F\u98CE" }, { id: "largo_song_good_vibrations", en: "Island Elixir", zh: "\u5927\u5C7F\u7075\u836F" }] } };
12557
12926
 
12558
12927
  // lib/agent/knowledgeTools.js
12559
- import { createRequire as createRequire5 } from "node:module";
12928
+ import { createRequire as createRequire7 } from "node:module";
12560
12929
 
12561
12930
  // lib/coach/data/hero-items.json
12562
12931
  var hero_items_default = { source: "OpenDota explorer, professional matches since 7.41 (2026-03-24); mid game = bought 10:00-24:59; finished items seen in 7.42 pro matches", fetched: "2026-11-27", patch: "7.42", finished: ["abyssal_blade", "aeon_disk", "aether_lens", "angels_demise", "arcane_blink", "armlet", "assault", "basher", "berserkers_sabatons", "bfury", "black_king_bar", "blade_mail", "blink", "bloodstone", "bloodthorn", "boots_of_bearing", "butterfly", "caduceus", "consecrated_wraps", "crellas_crozier", "crimson_guard", "cyclone", "dagon", "desolator", "devastator", "diffusal_blade", "diffusal_blade_2", "disperser", "dragon_lance", "echo_sabre", "eternal_shroud", "ethereal_blade", "force_staff", "glimmer_cape", "greater_crit", "guardian_greaves", "gungir", "hand_of_midas", "harpoon", "heart", "heavens_halberd", "helm_of_the_dominator", "helm_of_the_overlord", "holy_locket", "hurricane_pike", "hydras_breath", "invis_sword", "kaya", "kaya_and_sange", "lesser_crit", "lotus_orb", "maelstrom", "mage_slayer", "manta", "meteor_hammer", "mjollnir", "monkey_king_bar", "moon_shard", "necronomicon", "necronomicon_2", "necronomicon_3", "nullifier", "octarine_core", "orchid", "overwhelming_blink", "phylactery", "pipe", "radiance", "rapier", "refresher", "ristuls_devotion", "rod_of_atos", "sange", "sange_and_yasha", "satanic", "sheepstick", "shivas_guard", "silver_edge", "skadi", "skypiercer", "solar_crest", "soul_booster", "specialists_array", "sphere", "spirit_vessel", "starforge", "swift_blink", "travel_boots", "travel_boots_2", "trident", "ultimate_scepter", "ultimate_scepter_2", "vladmir", "wind_waker", "witch_blade", "wraith_pact", "yasha", "yasha_and_kaya"], parts: { yasha: ["blade_of_alacrity", "boots_of_elves"], bfury: ["broadsword", "pers", "quelling_blade", "ring_of_health", "void_stone"], manta: ["blade_of_alacrity", "boots_of_elves", "diadem", "yasha"], basher: ["belt_of_strength", "mithril_hammer"], skadi: ["orb_of_frost", "ultimate_orb"], blink: [], blade_mail: ["broadsword", "splintmail"], black_king_bar: ["mithril_hammer", "ogre_axe"], consecrated_wraps: ["crown", "shawl", "vitality_booster"], kaya: ["robe", "staff_of_wizardry"], aether_lens: ["energy_booster", "void_stone"], glimmer_cape: ["shadow_amulet", "shawl"], force_staff: ["fluffy_hat", "staff_of_wizardry"], solar_crest: ["chainmail", "fluffy_hat", "pavise", "ring_of_protection", "wind_lace", "wizard_hat"], maelstrom: ["gloves", "mithril_hammer"], mjollnir: ["gloves", "hyperstone", "maelstrom", "mithril_hammer"], dragon_lance: ["belt_of_strength", "blade_of_alacrity"], hurricane_pike: ["belt_of_strength", "blade_of_alacrity", "dragon_lance", "fluffy_hat", "force_staff", "staff_of_wizardry"], travel_boots: ["boots"], yasha_and_kaya: ["blade_of_alacrity", "boots_of_elves", "kaya", "robe", "staff_of_wizardry", "yasha"], butterfly: ["eagle", "quarterstaff", "talisman_of_evasion"], sange: ["belt_of_strength", "ogre_axe"], cyclone: ["staff_of_wizardry", "void_stone", "wind_lace"], guardian_greaves: ["arcane_boots", "boots", "chainmail", "headdress", "mekansm", "ring_of_basilius", "ring_of_regen", "sobi_mask", "wizard_hat"], spirit_vessel: ["", "circlet", "diadem", "ring_of_protection", "sobi_mask", "urn_of_shadows"], vladmir: ["blades_of_attack", "buckler", "lifesteal", "ring_of_basilius", "ring_of_protection", "sobi_mask"], ultimate_scepter: ["blade_of_alacrity", "ogre_axe", "point_booster", "staff_of_wizardry"], orchid: ["blitz_knuckles", "claymore", "oblivion_staff", "robe", "sobi_mask"], witch_blade: ["blitz_knuckles", "chainmail", "oblivion_staff", "robe", "sobi_mask"], devastator: ["blitz_knuckles", "chainmail", "mystic_staff", "oblivion_staff", "robe", "sobi_mask", "witch_blade"], soul_booster: ["energy_booster", "point_booster", "vitality_booster"], lesser_crit: ["blades_of_attack", "claymore"], kaya_and_sange: ["belt_of_strength", "kaya", "ogre_axe", "robe", "sange", "staff_of_wizardry"], echo_sabre: ["broadsword", "ogre_axe", "void_stone"], harpoon: ["belt_of_strength", "blade_of_alacrity", "broadsword", "dragon_lance", "echo_sabre", "ogre_axe", "void_stone"], invis_sword: ["blitz_knuckles", "claymore", "shadow_amulet"], silver_edge: ["blitz_knuckles", "claymore", "demon_edge", "invis_sword", "shadow_amulet"], specialists_array: ["blade_of_alacrity", "broadsword"], phylactery: ["diadem", "pers", "ring_of_health", "void_stone"], radiance: ["relic", "talisman_of_evasion"], mage_slayer: ["blades_of_attack", "cloak", "orb_of_venom", "pers", "ring_of_health", "void_stone"], diffusal_blade: ["blade_of_alacrity", "robe"], boots_of_bearing: ["ancient_janggo", "belt_of_strength", "boots", "headdress", "ring_of_regen", "ring_of_tarrasque", "tranquil_boots", "wind_lace"], hand_of_midas: ["gloves"], helm_of_the_dominator: ["crown", "helm_of_iron_will"], armlet: ["blades_of_attack", "gloves", "helm_of_iron_will"], desolator: ["blight_stone", "mithril_hammer"], holy_locket: ["branches", "crown", "magic_stick", "magic_wand"], sange_and_yasha: ["belt_of_strength", "blade_of_alacrity", "boots_of_elves", "ogre_axe", "sange", "yasha"], shivas_guard: ["chasm_stone", "platemail", "splintmail"], pipe: ["", "cloak", "ring_of_tarrasque", "shawl"], greater_crit: ["blades_of_attack", "claymore", "demon_edge", "lesser_crit"], bloodthorn: ["blitz_knuckles", "claymore", "oblivion_staff", "orchid", "robe", "sobi_mask"], rod_of_atos: ["staff_of_wizardry", "vitality_booster"], meteor_hammer: ["crown", "kaya", "robe", "staff_of_wizardry"], assault: ["buckler", "hyperstone", "platemail", "ring_of_protection"], nullifier: ["relic", "splintmail"], lotus_orb: ["energy_booster", "pers", "platemail", "ring_of_health", "void_stone"], dagon: ["crown", "point_booster", "wizard_hat"], heart: ["reaver", "ring_of_tarrasque"], crimson_guard: ["buckler", "helm_of_iron_will", "ring_of_health", "ring_of_protection", "vanguard", "vitality_booster"] }, heroes: { "1": { games: 345, items: [{ key: "yasha", n: 334 }, { key: "bfury", n: 324 }, { key: "manta", n: 314 }, { key: "basher", n: 27 }, { key: "skadi", n: 25 }] }, "2": { games: 1202, items: [{ key: "blink", n: 1134 }, { key: "blade_mail", n: 902 }, { key: "black_king_bar", n: 338 }, { key: "consecrated_wraps", n: 70 }, { key: "kaya", n: 66 }] }, "3": { games: 764, items: [{ key: "aether_lens", n: 279 }, { key: "blink", n: 67 }, { key: "glimmer_cape", n: 54 }, { key: "force_staff", n: 26 }, { key: "solar_crest", n: 17 }] }, "4": { games: 76, items: [{ key: "maelstrom", n: 65 }, { key: "mjollnir", n: 48 }, { key: "black_king_bar", n: 44 }, { key: "yasha", n: 24 }, { key: "manta", n: 8 }] }, "5": { games: 547, items: [{ key: "glimmer_cape", n: 191 }, { key: "blink", n: 149 }, { key: "force_staff", n: 53 }, { key: "solar_crest", n: 26 }, { key: "aether_lens", n: 23 }] }, "6": { games: 701, items: [{ key: "dragon_lance", n: 604 }, { key: "yasha", n: 568 }, { key: "force_staff", n: 385 }, { key: "hurricane_pike", n: 368 }, { key: "manta", n: 364 }] }, "7": { games: 405, items: [{ key: "blink", n: 337 }, { key: "kaya", n: 217 }, { key: "travel_boots", n: 124 }, { key: "yasha", n: 95 }, { key: "yasha_and_kaya", n: 84 }] }, "8": { games: 354, items: [{ key: "yasha", n: 331 }, { key: "bfury", n: 320 }, { key: "manta", n: 253 }, { key: "butterfly", n: 54 }, { key: "sange", n: 39 }] }, "9": { games: 793, items: [{ key: "cyclone", n: 208 }, { key: "force_staff", n: 68 }, { key: "guardian_greaves", n: 57 }, { key: "solar_crest", n: 51 }, { key: "spirit_vessel", n: 46 }] }, "10": { games: 246, items: [{ key: "yasha", n: 236 }, { key: "manta", n: 222 }, { key: "vladmir", n: 158 }, { key: "dragon_lance", n: 78 }, { key: "butterfly", n: 33 }] }, "11": { games: 1812, items: [{ key: "dragon_lance", n: 1207 }, { key: "yasha", n: 1037 }, { key: "manta", n: 552 }, { key: "force_staff", n: 464 }, { key: "yasha_and_kaya", n: 454 }] }, "12": { games: 358, items: [{ key: "manta", n: 323 }, { key: "yasha", n: 277 }, { key: "ultimate_scepter", n: 248 }, { key: "butterfly", n: 29 }, { key: "orchid", n: 25 }] }, "13": { games: 1032, items: [{ key: "witch_blade", n: 1008 }, { key: "blink", n: 967 }, { key: "devastator", n: 225 }, { key: "cyclone", n: 107 }, { key: "soul_booster", n: 73 }] }, "14": { games: 851, items: [{ key: "blink", n: 418 }, { key: "ultimate_scepter", n: 315 }, { key: "aether_lens", n: 245 }, { key: "consecrated_wraps", n: 140 }, { key: "blade_mail", n: 45 }] }, "15": { games: 464, items: [{ key: "yasha", n: 320 }, { key: "manta", n: 184 }, { key: "black_king_bar", n: 150 }, { key: "maelstrom", n: 130 }, { key: "mjollnir", n: 92 }] }, "16": { games: 583, items: [{ key: "blink", n: 481 }, { key: "ultimate_scepter", n: 459 }, { key: "black_king_bar", n: 81 }, { key: "cyclone", n: 24 }, { key: "lesser_crit", n: 20 }] }, "17": { games: 1218, items: [{ key: "kaya", n: 1077 }, { key: "sange", n: 768 }, { key: "kaya_and_sange", n: 757 }, { key: "witch_blade", n: 565 }, { key: "black_king_bar", n: 311 }] }, "18": { games: 549, items: [{ key: "echo_sabre", n: 529 }, { key: "blink", n: 500 }, { key: "black_king_bar", n: 314 }, { key: "lesser_crit", n: 288 }, { key: "harpoon", n: 118 }] }, "19": { games: 1550, items: [{ key: "echo_sabre", n: 1178 }, { key: "invis_sword", n: 962 }, { key: "blink", n: 771 }, { key: "silver_edge", n: 452 }, { key: "black_king_bar", n: 344 }] }, "20": { games: 396, items: [{ key: "specialists_array", n: 89 }, { key: "ultimate_scepter", n: 88 }, { key: "solar_crest", n: 61 }, { key: "yasha", n: 59 }, { key: "vladmir", n: 55 }] }, "21": { games: 1601, items: [{ key: "maelstrom", n: 719 }, { key: "mjollnir", n: 479 }, { key: "dragon_lance", n: 352 }, { key: "black_king_bar", n: 334 }, { key: "blink", n: 238 }] }, "22": { games: 672, items: [{ key: "kaya", n: 372 }, { key: "ultimate_scepter", n: 235 }, { key: "phylactery", n: 49 }, { key: "yasha", n: 32 }, { key: "yasha_and_kaya", n: 29 }] }, "23": { games: 472, items: [{ key: "black_king_bar", n: 139 }, { key: "radiance", n: 130 }, { key: "blade_mail", n: 123 }, { key: "invis_sword", n: 113 }, { key: "ultimate_scepter", n: 110 }] }, "25": { games: 922, items: [{ key: "travel_boots", n: 542 }, { key: "ultimate_scepter", n: 476 }, { key: "yasha", n: 380 }, { key: "yasha_and_kaya", n: 373 }, { key: "kaya", n: 365 }] }, "26": { games: 1710, items: [{ key: "blink", n: 1447 }, { key: "glimmer_cape", n: 142 }, { key: "aether_lens", n: 86 }, { key: "force_staff", n: 65 }, { key: "invis_sword", n: 39 }] }, "27": { games: 781, items: [{ key: "blink", n: 601 }, { key: "aether_lens", n: 146 }, { key: "glimmer_cape", n: 40 }, { key: "force_staff", n: 12 }, { key: "cyclone", n: 2 }] }, "28": { games: 1209, items: [{ key: "blink", n: 1144 }, { key: "black_king_bar", n: 416 }, { key: "echo_sabre", n: 157 }, { key: "harpoon", n: 39 }, { key: "ultimate_scepter", n: 39 }] }, "29": { games: 1392, items: [{ key: "blink", n: 850 }, { key: "ultimate_scepter", n: 518 }, { key: "vladmir", n: 486 }, { key: "consecrated_wraps", n: 386 }, { key: "mage_slayer", n: 290 }] }, "30": { games: 816, items: [{ key: "glimmer_cape", n: 246 }, { key: "blink", n: 102 }, { key: "solar_crest", n: 59 }, { key: "force_staff", n: 50 }, { key: "consecrated_wraps", n: 30 }] }, "31": { games: 1144, items: [{ key: "glimmer_cape", n: 509 }, { key: "blink", n: 276 }, { key: "force_staff", n: 117 }, { key: "solar_crest", n: 110 }, { key: "aether_lens", n: 19 }] }, "32": { games: 106, items: [{ key: "diffusal_blade", n: 95 }, { key: "yasha", n: 56 }, { key: "manta", n: 28 }, { key: "bfury", n: 9 }, { key: "ultimate_scepter", n: 9 }] }, "33": { games: 363, items: [{ key: "blink", n: 337 }, { key: "black_king_bar", n: 152 }, { key: "boots_of_bearing", n: 50 }, { key: "spirit_vessel", n: 40 }, { key: "hand_of_midas", n: 24 }] }, "34": { games: 137, items: [{ key: "blink", n: 113 }, { key: "ultimate_scepter", n: 98 }, { key: "kaya_and_sange", n: 67 }, { key: "sange", n: 67 }, { key: "aether_lens", n: 53 }] }, "35": { games: 640, items: [{ key: "dragon_lance", n: 501 }, { key: "maelstrom", n: 384 }, { key: "mjollnir", n: 294 }, { key: "force_staff", n: 166 }, { key: "hurricane_pike", n: 152 }] }, "36": { games: 876, items: [{ key: "radiance", n: 777 }, { key: "travel_boots", n: 552 }, { key: "consecrated_wraps", n: 274 }, { key: "yasha", n: 158 }, { key: "black_king_bar", n: 116 }] }, "37": { games: 608, items: [{ key: "glimmer_cape", n: 354 }, { key: "solar_crest", n: 93 }, { key: "force_staff", n: 36 }, { key: "hand_of_midas", n: 27 }, { key: "aether_lens", n: 9 }] }, "38": { games: 1122, items: [{ key: "blink", n: 790 }, { key: "ultimate_scepter", n: 633 }, { key: "black_king_bar", n: 422 }, { key: "helm_of_the_dominator", n: 163 }, { key: "yasha", n: 142 }] }, "39": { games: 1147, items: [{ key: "kaya", n: 793 }, { key: "ultimate_scepter", n: 612 }, { key: "sange", n: 526 }, { key: "kaya_and_sange", n: 517 }, { key: "soul_booster", n: 138 }] }, "40": { games: 613, items: [{ key: "spirit_vessel", n: 230 }, { key: "force_staff", n: 94 }, { key: "solar_crest", n: 93 }, { key: "glimmer_cape", n: 82 }, { key: "guardian_greaves", n: 77 }] }, "41": { games: 517, items: [{ key: "yasha", n: 283 }, { key: "maelstrom", n: 247 }, { key: "bfury", n: 241 }, { key: "manta", n: 190 }, { key: "mjollnir", n: 127 }] }, "42": { games: 310, items: [{ key: "radiance", n: 203 }, { key: "blink", n: 186 }, { key: "armlet", n: 134 }, { key: "desolator", n: 75 }, { key: "invis_sword", n: 32 }] }, "43": { games: 390, items: [{ key: "kaya", n: 121 }, { key: "cyclone", n: 120 }, { key: "consecrated_wraps", n: 113 }, { key: "black_king_bar", n: 86 }, { key: "ultimate_scepter", n: 79 }] }, "44": { games: 199, items: [{ key: "bfury", n: 182 }, { key: "desolator", n: 113 }, { key: "black_king_bar", n: 68 }, { key: "yasha", n: 34 }, { key: "basher", n: 29 }] }, "45": { games: 126, items: [{ key: "glimmer_cape", n: 62 }, { key: "aether_lens", n: 48 }, { key: "kaya", n: 12 }, { key: "force_staff", n: 9 }, { key: "blink", n: 8 }] }, "46": { games: 608, items: [{ key: "desolator", n: 570 }, { key: "blink", n: 537 }, { key: "dragon_lance", n: 461 }, { key: "lesser_crit", n: 296 }, { key: "force_staff", n: 171 }] }, "47": { games: 660, items: [{ key: "dragon_lance", n: 414 }, { key: "force_staff", n: 340 }, { key: "hurricane_pike", n: 314 }, { key: "yasha", n: 245 }, { key: "mage_slayer", n: 140 }] }, "48": { games: 1199, items: [{ key: "yasha", n: 1164 }, { key: "manta", n: 1143 }, { key: "dragon_lance", n: 548 }, { key: "black_king_bar", n: 272 }, { key: "butterfly", n: 226 }] }, "49": { games: 793, items: [{ key: "blink", n: 656 }, { key: "black_king_bar", n: 355 }, { key: "lesser_crit", n: 129 }, { key: "armlet", n: 124 }, { key: "maelstrom", n: 80 }] }, "50": { games: 504, items: [{ key: "holy_locket", n: 352 }, { key: "glimmer_cape", n: 40 }, { key: "blink", n: 31 }, { key: "solar_crest", n: 20 }, { key: "force_staff", n: 15 }] }, "51": { games: 1118, items: [{ key: "blink", n: 201 }, { key: "force_staff", n: 167 }, { key: "cyclone", n: 128 }, { key: "solar_crest", n: 94 }, { key: "glimmer_cape", n: 57 }] }, "52": { games: 247, items: [{ key: "kaya", n: 196 }, { key: "blink", n: 157 }, { key: "sange", n: 80 }, { key: "kaya_and_sange", n: 79 }, { key: "soul_booster", n: 72 }] }, "53": { games: 807, items: [{ key: "mjollnir", n: 521 }, { key: "maelstrom", n: 515 }, { key: "dragon_lance", n: 512 }, { key: "black_king_bar", n: 284 }, { key: "force_staff", n: 277 }] }, "54": { games: 994, items: [{ key: "radiance", n: 884 }, { key: "yasha", n: 612 }, { key: "armlet", n: 582 }, { key: "sange", n: 400 }, { key: "sange_and_yasha", n: 284 }] }, "55": { games: 550, items: [{ key: "shivas_guard", n: 292 }, { key: "blink", n: 256 }, { key: "guardian_greaves", n: 124 }, { key: "pipe", n: 115 }, { key: "helm_of_the_dominator", n: 79 }] }, "56": { games: 439, items: [{ key: "desolator", n: 407 }, { key: "dragon_lance", n: 323 }, { key: "lesser_crit", n: 155 }, { key: "greater_crit", n: 47 }, { key: "force_staff", n: 45 }] }, "57": { games: 114, items: [{ key: "echo_sabre", n: 51 }, { key: "harpoon", n: 46 }, { key: "blink", n: 32 }, { key: "radiance", n: 22 }, { key: "hand_of_midas", n: 7 }] }, "58": { games: 678, items: [{ key: "force_staff", n: 138 }, { key: "dragon_lance", n: 90 }, { key: "ultimate_scepter", n: 90 }, { key: "solar_crest", n: 76 }, { key: "glimmer_cape", n: 43 }] }, "59": { games: 338, items: [{ key: "blink", n: 147 }, { key: "sange", n: 146 }, { key: "black_king_bar", n: 129 }, { key: "armlet", n: 109 }, { key: "dragon_lance", n: 90 }] }, "60": { games: 547, items: [{ key: "blink", n: 412 }, { key: "echo_sabre", n: 244 }, { key: "black_king_bar", n: 141 }, { key: "harpoon", n: 72 }, { key: "hand_of_midas", n: 61 }] }, "61": { games: 99, items: [{ key: "manta", n: 75 }, { key: "yasha", n: 73 }, { key: "orchid", n: 62 }, { key: "black_king_bar", n: 31 }, { key: "bloodthorn", n: 14 }] }, "62": { games: 302, items: [{ key: "cyclone", n: 65 }, { key: "spirit_vessel", n: 41 }, { key: "force_staff", n: 38 }, { key: "boots_of_bearing", n: 33 }, { key: "solar_crest", n: 11 }] }, "63": { games: 399, items: [{ key: "dragon_lance", n: 219 }, { key: "desolator", n: 212 }, { key: "maelstrom", n: 91 }, { key: "spirit_vessel", n: 56 }, { key: "mjollnir", n: 55 }] }, "64": { games: 925, items: [{ key: "glimmer_cape", n: 222 }, { key: "cyclone", n: 156 }, { key: "force_staff", n: 119 }, { key: "solar_crest", n: 66 }, { key: "guardian_greaves", n: 42 }] }, "65": { games: 673, items: [{ key: "blink", n: 540 }, { key: "boots_of_bearing", n: 288 }, { key: "black_king_bar", n: 149 }, { key: "force_staff", n: 145 }, { key: "consecrated_wraps", n: 69 }] }, "66": { games: 144, items: [{ key: "guardian_greaves", n: 56 }, { key: "solar_crest", n: 21 }, { key: "vladmir", n: 14 }, { key: "pipe", n: 6 }, { key: "glimmer_cape", n: 3 }] }, "67": { games: 199, items: [{ key: "radiance", n: 157 }, { key: "yasha", n: 146 }, { key: "manta", n: 77 }, { key: "hand_of_midas", n: 18 }, { key: "blade_mail", n: 16 }] }, "68": { games: 224, items: [{ key: "glimmer_cape", n: 60 }, { key: "rod_of_atos", n: 52 }, { key: "force_staff", n: 19 }, { key: "solar_crest", n: 12 }, { key: "blink", n: 11 }] }, "69": { games: 1407, items: [{ key: "blink", n: 949 }, { key: "black_king_bar", n: 653 }, { key: "radiance", n: 464 }, { key: "hand_of_midas", n: 278 }, { key: "echo_sabre", n: 120 }] }, "70": { games: 728, items: [{ key: "bfury", n: 708 }, { key: "blink", n: 691 }, { key: "basher", n: 384 }, { key: "black_king_bar", n: 212 }, { key: "sange", n: 30 }] }, "71": { games: 1067, items: [{ key: "invis_sword", n: 384 }, { key: "hand_of_midas", n: 163 }, { key: "ultimate_scepter", n: 109 }, { key: "yasha", n: 96 }, { key: "kaya", n: 71 }] }, "72": { games: 392, items: [{ key: "lesser_crit", n: 226 }, { key: "ultimate_scepter", n: 199 }, { key: "yasha", n: 108 }, { key: "dragon_lance", n: 104 }, { key: "manta", n: 89 }] }, "73": { games: 673, items: [{ key: "radiance", n: 579 }, { key: "ultimate_scepter", n: 500 }, { key: "blink", n: 349 }, { key: "black_king_bar", n: 190 }, { key: "yasha", n: 73 }] }, "74": { games: 1112, items: [{ key: "travel_boots", n: 807 }, { key: "meteor_hammer", n: 550 }, { key: "kaya", n: 431 }, { key: "ultimate_scepter", n: 281 }, { key: "rod_of_atos", n: 267 }] }, "75": { games: 758, items: [{ key: "force_staff", n: 244 }, { key: "glimmer_cape", n: 113 }, { key: "solar_crest", n: 59 }, { key: "rod_of_atos", n: 31 }, { key: "hand_of_midas", n: 30 }] }, "76": { games: 326, items: [{ key: "blink", n: 215 }, { key: "force_staff", n: 181 }, { key: "witch_blade", n: 175 }, { key: "dragon_lance", n: 153 }, { key: "hurricane_pike", n: 100 }] }, "77": { games: 379, items: [{ key: "assault", n: 170 }, { key: "helm_of_the_dominator", n: 36 }, { key: "nullifier", n: 23 }, { key: "orchid", n: 22 }, { key: "black_king_bar", n: 20 }] }, "78": { games: 578, items: [{ key: "ultimate_scepter", n: 464 }, { key: "blink", n: 333 }, { key: "hand_of_midas", n: 256 }, { key: "spirit_vessel", n: 73 }, { key: "orchid", n: 66 }] }, "79": { games: 740, items: [{ key: "blink", n: 294 }, { key: "aether_lens", n: 105 }, { key: "glimmer_cape", n: 86 }, { key: "solar_crest", n: 72 }, { key: "force_staff", n: 31 }] }, "80": { games: 614, items: [{ key: "mjollnir", n: 543 }, { key: "maelstrom", n: 528 }, { key: "ultimate_scepter", n: 453 }, { key: "invis_sword", n: 159 }, { key: "diffusal_blade", n: 56 }] }, "81": { games: 280, items: [{ key: "armlet", n: 229 }, { key: "orchid", n: 157 }, { key: "blink", n: 132 }, { key: "echo_sabre", n: 132 }, { key: "yasha", n: 73 }] }, "82": { games: 151, items: [{ key: "sange", n: 110 }, { key: "sange_and_yasha", n: 110 }, { key: "yasha", n: 76 }, { key: "ultimate_scepter", n: 67 }, { key: "blink", n: 42 }] }, "83": { games: 640, items: [{ key: "blink", n: 214 }, { key: "solar_crest", n: 106 }, { key: "force_staff", n: 37 }, { key: "holy_locket", n: 16 }, { key: "cyclone", n: 14 }] }, "84": { games: 736, items: [{ key: "hand_of_midas", n: 207 }, { key: "aether_lens", n: 148 }, { key: "glimmer_cape", n: 123 }, { key: "solar_crest", n: 81 }, { key: "blink", n: 65 }] }, "85": { games: 721, items: [{ key: "blink", n: 134 }, { key: "glimmer_cape", n: 63 }, { key: "lotus_orb", n: 58 }, { key: "guardian_greaves", n: 56 }, { key: "solar_crest", n: 54 }] }, "86": { games: 3110, items: [{ key: "blink", n: 1329 }, { key: "aether_lens", n: 448 }, { key: "glimmer_cape", n: 382 }, { key: "force_staff", n: 378 }, { key: "ultimate_scepter", n: 233 }] }, "87": { games: 1133, items: [{ key: "blink", n: 377 }, { key: "glimmer_cape", n: 188 }, { key: "force_staff", n: 83 }, { key: "solar_crest", n: 48 }, { key: "aether_lens", n: 16 }] }, "88": { games: 588, items: [{ key: "cyclone", n: 218 }, { key: "blink", n: 129 }, { key: "dagon", n: 73 }, { key: "consecrated_wraps", n: 28 }, { key: "force_staff", n: 21 }] }, "89": { games: 152, items: [{ key: "manta", n: 146 }, { key: "orchid", n: 122 }, { key: "yasha", n: 121 }, { key: "heart", n: 51 }, { key: "butterfly", n: 22 }] }, "90": { games: 825, items: [{ key: "holy_locket", n: 373 }, { key: "travel_boots", n: 245 }, { key: "force_staff", n: 237 }, { key: "soul_booster", n: 160 }, { key: "spirit_vessel", n: 143 }] }, "91": { games: 406, items: [{ key: "holy_locket", n: 158 }, { key: "ultimate_scepter", n: 142 }, { key: "black_king_bar", n: 88 }, { key: "glimmer_cape", n: 28 }, { key: "consecrated_wraps", n: 16 }] }, "92": { games: 100, items: [{ key: "vladmir", n: 45 }, { key: "boots_of_bearing", n: 32 }, { key: "orchid", n: 18 }, { key: "ultimate_scepter", n: 15 }, { key: "assault", n: 9 }] }, "93": { games: 603, items: [{ key: "diffusal_blade", n: 477 }, { key: "ultimate_scepter", n: 290 }, { key: "mage_slayer", n: 169 }, { key: "echo_sabre", n: 79 }, { key: "invis_sword", n: 75 }] }, "94": { games: 197, items: [{ key: "manta", n: 189 }, { key: "yasha", n: 161 }, { key: "butterfly", n: 126 }, { key: "lesser_crit", n: 13 }, { key: "dragon_lance", n: 11 }] }, "95": { games: 206, items: [{ key: "bfury", n: 152 }, { key: "yasha", n: 143 }, { key: "sange", n: 89 }, { key: "sange_and_yasha", n: 88 }, { key: "black_king_bar", n: 58 }] }, "96": { games: 933, items: [{ key: "blink", n: 780 }, { key: "heart", n: 331 }, { key: "blade_mail", n: 206 }, { key: "lotus_orb", n: 190 }, { key: "pipe", n: 189 }] }, "97": { games: 333, items: [{ key: "blink", n: 296 }, { key: "echo_sabre", n: 137 }, { key: "harpoon", n: 88 }, { key: "black_king_bar", n: 73 }, { key: "ultimate_scepter", n: 47 }] }, "98": { games: 832, items: [{ key: "kaya", n: 765 }, { key: "sange", n: 638 }, { key: "kaya_and_sange", n: 633 }, { key: "blink", n: 311 }, { key: "black_king_bar", n: 242 }] }, "99": { games: 799, items: [{ key: "sange", n: 414 }, { key: "lotus_orb", n: 348 }, { key: "consecrated_wraps", n: 333 }, { key: "yasha", n: 302 }, { key: "sange_and_yasha", n: 286 }] }, "100": { games: 1554, items: [{ key: "blink", n: 1327 }, { key: "force_staff", n: 47 }, { key: "cyclone", n: 39 }, { key: "solar_crest", n: 25 }, { key: "glimmer_cape", n: 17 }] }, "101": { games: 705, items: [{ key: "rod_of_atos", n: 228 }, { key: "kaya", n: 215 }, { key: "blink", n: 64 }, { key: "glimmer_cape", n: 43 }, { key: "meteor_hammer", n: 35 }] }, "102": { games: 197, items: [{ key: "radiance", n: 123 }, { key: "yasha", n: 81 }, { key: "blink", n: 55 }, { key: "manta", n: 53 }, { key: "echo_sabre", n: 45 }] }, "103": { games: 57, items: [{ key: "echo_sabre", n: 10 }, { key: "solar_crest", n: 9 }, { key: "ultimate_scepter", n: 8 }, { key: "cyclone", n: 4 }, { key: "force_staff", n: 4 }] }, "104": { games: 334, items: [{ key: "blink", n: 316 }, { key: "blade_mail", n: 284 }, { key: "black_king_bar", n: 72 }, { key: "lesser_crit", n: 29 }, { key: "invis_sword", n: 24 }] }, "105": { games: 1223, items: [{ key: "aether_lens", n: 169 }, { key: "glimmer_cape", n: 168 }, { key: "solar_crest", n: 168 }, { key: "force_staff", n: 163 }, { key: "consecrated_wraps", n: 105 }] }, "106": { games: 1725, items: [{ key: "spirit_vessel", n: 954 }, { key: "mage_slayer", n: 932 }, { key: "kaya", n: 677 }, { key: "black_king_bar", n: 410 }, { key: "sange", n: 218 }] }, "107": { games: 844, items: [{ key: "spirit_vessel", n: 630 }, { key: "black_king_bar", n: 443 }, { key: "kaya", n: 363 }, { key: "sange", n: 79 }, { key: "kaya_and_sange", n: 68 }] }, "108": { games: 876, items: [{ key: "ultimate_scepter", n: 421 }, { key: "rod_of_atos", n: 403 }, { key: "pipe", n: 225 }, { key: "crimson_guard", n: 107 }, { key: "guardian_greaves", n: 64 }] }, "109": { games: 711, items: [{ key: "manta", n: 685 }, { key: "yasha", n: 680 }, { key: "dragon_lance", n: 568 }, { key: "force_staff", n: 115 }, { key: "hurricane_pike", n: 98 }] }, "110": { games: 1473, items: [{ key: "spirit_vessel", n: 473 }, { key: "shivas_guard", n: 284 }, { key: "solar_crest", n: 223 }, { key: "cyclone", n: 210 }, { key: "travel_boots", n: 98 }] }, "111": { games: 209, items: [{ key: "blink", n: 70 }, { key: "glimmer_cape", n: 28 }, { key: "aether_lens", n: 24 }, { key: "holy_locket", n: 15 }, { key: "guardian_greaves", n: 8 }] }, "112": { games: 1118, items: [{ key: "blink", n: 613 }, { key: "glimmer_cape", n: 192 }, { key: "force_staff", n: 57 }, { key: "holy_locket", n: 31 }, { key: "aether_lens", n: 19 }] }, "113": { games: 73, items: [{ key: "maelstrom", n: 61 }, { key: "mjollnir", n: 47 }, { key: "orchid", n: 32 }, { key: "travel_boots", n: 29 }, { key: "dragon_lance", n: 23 }] }, "114": { games: 840, items: [{ key: "desolator", n: 450 }, { key: "echo_sabre", n: 347 }, { key: "black_king_bar", n: 259 }, { key: "yasha", n: 156 }, { key: "diffusal_blade", n: 151 }] }, "119": { games: 1366, items: [{ key: "cyclone", n: 501 }, { key: "blink", n: 294 }, { key: "force_staff", n: 42 }, { key: "spirit_vessel", n: 42 }, { key: "consecrated_wraps", n: 34 }] }, "120": { games: 1986, items: [{ key: "blink", n: 1457 }, { key: "diffusal_blade", n: 1332 }, { key: "ultimate_scepter", n: 763 }, { key: "mage_slayer", n: 655 }, { key: "lotus_orb", n: 38 }] }, "121": { games: 699, items: [{ key: "blink", n: 283 }, { key: "glimmer_cape", n: 110 }, { key: "aether_lens", n: 61 }, { key: "force_staff", n: 36 }, { key: "ultimate_scepter", n: 29 }] }, "123": { games: 2613, items: [{ key: "rod_of_atos", n: 426 }, { key: "force_staff", n: 381 }, { key: "blink", n: 293 }, { key: "glimmer_cape", n: 260 }, { key: "cyclone", n: 162 }] }, "126": { games: 947, items: [{ key: "spirit_vessel", n: 482 }, { key: "kaya", n: 356 }, { key: "yasha", n: 308 }, { key: "ultimate_scepter", n: 233 }, { key: "mage_slayer", n: 196 }] }, "128": { games: 1379, items: [{ key: "blink", n: 623 }, { key: "kaya", n: 445 }, { key: "travel_boots", n: 307 }, { key: "glimmer_cape", n: 249 }, { key: "yasha", n: 208 }] }, "129": { games: 797, items: [{ key: "blink", n: 688 }, { key: "cyclone", n: 248 }, { key: "desolator", n: 159 }, { key: "black_king_bar", n: 142 }, { key: "armlet", n: 89 }] }, "131": { games: 979, items: [{ key: "rod_of_atos", n: 193 }, { key: "blink", n: 190 }, { key: "glimmer_cape", n: 112 }, { key: "aether_lens", n: 93 }, { key: "force_staff", n: 88 }] }, "135": { games: 1100, items: [{ key: "echo_sabre", n: 867 }, { key: "harpoon", n: 561 }, { key: "black_king_bar", n: 330 }, { key: "desolator", n: 151 }, { key: "blade_mail", n: 98 }] }, "136": { games: 332, items: [{ key: "black_king_bar", n: 90 }, { key: "solar_crest", n: 63 }, { key: "basher", n: 29 }, { key: "ultimate_scepter", n: 25 }, { key: "blink", n: 21 }] }, "137": { games: 420, items: [{ key: "blink", n: 320 }, { key: "black_king_bar", n: 247 }, { key: "consecrated_wraps", n: 81 }, { key: "ultimate_scepter", n: 44 }, { key: "kaya", n: 22 }] }, "138": { games: 701, items: [{ key: "maelstrom", n: 564 }, { key: "dragon_lance", n: 458 }, { key: "mjollnir", n: 269 }, { key: "force_staff", n: 179 }, { key: "hurricane_pike", n: 153 }] }, "145": { games: 977, items: [{ key: "desolator", n: 764 }, { key: "mage_slayer", n: 762 }, { key: "black_king_bar", n: 292 }, { key: "yasha", n: 273 }, { key: "ultimate_scepter", n: 259 }] }, "155": { games: 816, items: [{ key: "kaya", n: 548 }, { key: "sange", n: 304 }, { key: "kaya_and_sange", n: 299 }, { key: "ultimate_scepter", n: 185 }, { key: "meteor_hammer", n: 109 }] } } };
@@ -12750,10 +13119,11 @@ function proItemsLine(hero, vs, lifts) {
12750
13119
  zh: `\u804C\u4E1A\u6BD4\u8D5B\u91CC${hero.zh}\u5BF9\u4E0A${vs.zh}\uFF08${IV.since} \u4EE5\u6765 ${n} \u573A\uFF09\uFF1A${lifts.map((x) => `${pctS(x.rate)} \u51FA\u4E86${name2(x.key, "zh")}\uFF08\u5E73\u65F6 ${pctS(x.base)}\uFF09`).join("\uFF0C")}`
12751
13120
  };
12752
13121
  }
12753
- function answersByPro(h, vsHeroes, answers) {
13122
+ function answersByPro(h, vsHeroes, answers, pool = answers) {
13123
+ const allowed = /* @__PURE__ */ new Set([...pool, ...answers]);
12754
13124
  const lifted = /* @__PURE__ */ new Map();
12755
13125
  for (const v of vsHeroes) {
12756
- for (const x of itemLifts(h, v.id)) if (answers.includes(x.key) && !lifted.has(x.key)) lifted.set(x.key, { ...x, vs: v });
13126
+ for (const x of itemLifts(h, v.id)) if (allowed.has(x.key) && !lifted.has(x.key)) lifted.set(x.key, { ...x, vs: v });
12757
13127
  }
12758
13128
  return { ordered: [...lifted.keys(), ...answers.filter((a) => !lifted.has(a))], lifted };
12759
13129
  }
@@ -13354,9 +13724,11 @@ function fightCauses(ctx, fights2) {
13354
13724
  const kind = ctx.role.kind;
13355
13725
  const pierced = tag === "disable" && carrier.tags?.has?.("piercing");
13356
13726
  const valid = (k3) => !(pierced && k3 === "black_king_bar");
13357
- const answers = tag ? answersFor(tag, kind, match.patch, archetypeOf(ctx.me.hero, ctx.role)).filter(valid) : [];
13358
- const covering = tag ? answersFor(tag, kind, match.patch).filter(valid) : [];
13359
- const pool = tag ? new Set([...answersFor(tag, "core", match.patch), ...answersFor(tag, "support", match.patch)].filter(valid)) : /* @__PURE__ */ new Set();
13727
+ const both = (arch2) => [.../* @__PURE__ */ new Set([...answersFor(tag, "core", match.patch, arch2), ...answersFor(tag, "support", match.patch, arch2)])].filter(valid);
13728
+ const pool = tag ? new Set(both(null)) : /* @__PURE__ */ new Set();
13729
+ const arch = archetypeOf(ctx.me.hero, ctx.role);
13730
+ const answers = tag ? answersByPro(ctx.me.hero.id, [carrier.hero], answersFor(tag, kind, match.patch, arch).filter(valid), both(arch)).ordered : [];
13731
+ const covering = tag ? [.../* @__PURE__ */ new Set([...answersFor(tag, kind, match.patch).filter(valid), ...answersByPro(ctx.me.hero.id, [carrier.hero], [], both(null)).lifted.keys()])] : [];
13360
13732
  const teamHas = players.filter((p) => ours.has(p.slot)).flatMap((p) => p.items.filter((i) => pool.has(i)).map((i) => ({ p, i })));
13361
13733
  const iName = (k3, lang) => ctx.itemInfo(k3)[lang];
13362
13734
  const facts = abilityFacts(carrier.hero.id);
@@ -13537,7 +13909,7 @@ var phaseOf = (sec) => (PHASES.find((p) => sec >= p.from && sec < p.to) ?? PHASE
13537
13909
  var FIGHT_EDGE = 600;
13538
13910
  var LANE_DRAW = 0.08;
13539
13911
  var LANE_STOMP = 0.25;
13540
- var AUTO_TRIGGERED = /* @__PURE__ */ new Set(["skeleton_king_reincarnation"]);
13912
+ var AUTO_TRIGGERED = /* @__PURE__ */ new Set(["skeleton_king_reincarnation", "abaddon_borrowed_time"]);
13541
13913
  function ultimateOf(heroId) {
13542
13914
  const u = ABILITIES2.ultimates?.[String(heroId)];
13543
13915
  if (!u || u.passive || AUTO_TRIGGERED.has(u.key)) return null;
@@ -14393,9 +14765,12 @@ function itemFinding(ctx) {
14393
14765
  if (x.tag === "evasion" && !me.hero.roles.includes("Carry")) continue;
14394
14766
  const pierced = x.tag === "disable" && x.heroes.some((h) => enemyProfile.piercing.has(h.slug));
14395
14767
  const valid = (a) => !(pierced && a === "black_king_bar");
14396
- const answers = answersFor(x.tag, kind, ctx.match.patch, ctx.archetype).filter(valid);
14397
- const have = answersFor(x.tag, kind, ctx.match.patch).filter(valid).filter((a) => inv.has(a));
14398
- (have.length ? covered : missing).push({ ...x, have, answers, pierced });
14768
+ const patch = ctx.match.patch;
14769
+ const both = (arch) => [.../* @__PURE__ */ new Set([...answersFor(x.tag, "core", patch, arch), ...answersFor(x.tag, "support", patch, arch)])].filter(valid);
14770
+ const { ordered: answers, lifted } = answersByPro(me.hero.id, x.heroes, answersFor(x.tag, kind, patch, ctx.archetype).filter(valid), both(ctx.archetype));
14771
+ const proOwned = answersByPro(me.hero.id, x.heroes, [], both(null)).lifted;
14772
+ const have = [.../* @__PURE__ */ new Set([...answersFor(x.tag, kind, patch).filter(valid), ...proOwned.keys()])].filter((a) => inv.has(a));
14773
+ (have.length ? covered : missing).push({ ...x, have, answers, lifted, pierced });
14399
14774
  }
14400
14775
  const evidence = [
14401
14776
  { k: t4("Your final items", "\u4F60\u7684\u7EC8\u5C40\u88C5\u5907"), items: me.items },
@@ -14403,9 +14778,8 @@ function itemFinding(ctx) {
14403
14778
  ];
14404
14779
  if (missing.length && diedOften) {
14405
14780
  const m = missing[0];
14406
- const { ordered, lifted } = answersByPro(me.hero.id, m.heroes, m.answers);
14407
- const sample = ordered.slice(0, 4).map((a) => itemInfo(a));
14408
- for (const x of lifted.values()) {
14781
+ const sample = m.answers.slice(0, 4).map((a) => itemInfo(a));
14782
+ for (const x of m.lifted.values()) {
14409
14783
  const it = itemInfo(x.key);
14410
14784
  evidence.push({
14411
14785
  k: t4(`Pro ${me.hero.en} vs ${x.vs.en}: ${it.en}`, `\u804C\u4E1A${me.hero.zh}\u5BF9\u4E0A${x.vs.zh}\uFF1A${it.zh}`),
@@ -16751,6 +17125,9 @@ import { createRequire as createRequire4 } from "node:module";
16751
17125
  init_knowledge();
16752
17126
  var require5 = createRequire4(import.meta.url);
16753
17127
  var ITEM_NAMES4 = names_default.items;
17128
+ var ABILITY_TEXT = abilities_default2;
17129
+ var DMG_WORD2 = { P: "physical", M: "magical", U: "pure" };
17130
+ var TOP_KILLERS = 2;
16754
17131
  var BY_SLUG2 = HEROES_BY_KEY;
16755
17132
  var slugOf2 = (hero) => String(hero ?? "").trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_");
16756
17133
  var r22 = (n) => Math.round(n * 100) / 100;
@@ -16982,18 +17359,40 @@ function buildCheck(trace, args = {}, ctx = {}) {
16982
17359
  goldBy[p].gold += i.gold_on_top_of_items_already_held ?? i.cost ?? 0;
16983
17360
  goldBy[p].items.push(i.name);
16984
17361
  }
16985
- const top = byEnemy[0]?.enemy ? BY_SLUG2.get(byEnemy[0].enemy) : null;
16986
- const lifts = new Map((top ? itemLifts(hero.id, top.id) : []).map((x) => [x.key, x]));
16987
- const answerList = (tag) => {
16988
- const kinds = role.kind ? [role.kind] : ["core", "support"];
16989
- const keys = [...new Set(kinds.flatMap((k3) => answersFor(tag, k3, pd.id, role.archetype)))].filter((k3) => ITEM_NAMES4[k3] && pd.has(k3));
16990
- return keys.map((k3) => {
16991
- const lift = lifts.get(k3);
16992
- const facts = itemFacts(k3, pd.items);
16993
- const farmMin = economy?.gold_per_min > 0 && Number.isFinite(facts.cost) ? Math.round(facts.cost / economy.gold_per_min * 10) / 10 : null;
16994
- return { item: k3, name: itemName2(k3, lang), ...facts, ...farmMin != null ? { estimated_minutes_of_my_farm: farmMin } : {}, player_first_held: firstHeld.get(k3)?.clock ?? null, ...lift ? { pros_on_this_hero_against_the_top_killer: { share: lift.rate, share_usually: lift.base, pro_games: lift.n } } : {} };
16995
- });
17362
+ const killers = [...byEnemy].sort((a, b) => b.kills_of_me - a.kills_of_me || b.share_from_their_attacks + b.share_from_their_abilities_and_items - (a.share_from_their_attacks + a.share_from_their_abilities_and_items)).filter((e) => e.kills_of_me > 0).slice(0, TOP_KILLERS);
17363
+ const itemEntry = (k3) => {
17364
+ const facts = itemFacts(k3, pd.items);
17365
+ const farmMin = economy?.gold_per_min > 0 && Number.isFinite(facts.cost) ? Math.round(facts.cost / economy.gold_per_min * 10) / 10 : null;
17366
+ return { item: k3, name: itemName2(k3, lang), ...facts, ...farmMin != null ? { estimated_minutes_of_my_farm: farmMin } : {}, player_first_held: firstHeld.get(k3)?.clock ?? null };
16996
17367
  };
17368
+ const answersToTopKillers = killers.map((e) => {
17369
+ const other2 = BY_SLUG2.get(e.enemy);
17370
+ const abilities = other2 ? pd.heroAbilities(other2.id) : null;
17371
+ const pro = other2 ? itemLifts(hero.id, other2.id).filter((x) => pd.has(x.key)) : [];
17372
+ const tags = curatedTraits(e.enemy);
17373
+ return {
17374
+ killer: e.enemy,
17375
+ kills_of_me: e.kills_of_me,
17376
+ share_from_their_attacks: e.share_from_their_attacks,
17377
+ share_from_their_abilities_and_items: e.share_from_their_abilities_and_items,
17378
+ their_abilities: Array.isArray(abilities) ? abilities.map((a) => {
17379
+ const text = ABILITY_TEXT[a.id]?.desc;
17380
+ return {
17381
+ ability: a.id,
17382
+ name: a[lang] ?? a.en,
17383
+ ...a.ult ? { ultimate: true } : {},
17384
+ ...a.dmg ? { damage_type: DMG_WORD2[a.dmg] } : {},
17385
+ // Absent means Valve's data does not say; it is not "no".
17386
+ ...typeof a.pierces === "boolean" ? { goes_through_spell_immunity: a.pierces } : {},
17387
+ ...a.dispel ? { dispelled_by: a.dispel } : {},
17388
+ ...text ? { valve_text: String(text).replace(/\s+/g, " ").slice(0, 320) } : {}
17389
+ };
17390
+ }) : null,
17391
+ // Null, not [], when no item stood out: too few pro games of the pair, or none built clearly more often.
17392
+ pro_items_against_this_killer: pro.length ? pro.map((x) => ({ ...itemEntry(x.key), share_of_pro_games_against_this_hero: x.rate, share_usually: x.base, pro_games: x.n })) : null,
17393
+ ...tags.length ? { known_for: tags } : {}
17394
+ };
17395
+ });
16997
17396
  const sample = proItemsFor(hero.id, pd);
16998
17397
  const fromBefore = Boolean(sample?.few_games && sample.games < MIN_FEW_GAMES);
16999
17398
  const row = fromBefore ? sample.before_this_patch ?? null : sample;
@@ -17047,12 +17446,12 @@ function buildCheck(trace, args = {}, ctx = {}) {
17047
17446
  disables_or_silences: heldFor("answer_to_disables", "answer_to_silences"),
17048
17447
  initiation_or_gap_closer: heldFor("initiation_or_gap_closer")
17049
17448
  },
17050
- items_that_answer_attack_damage: answerList("physical"),
17051
- items_that_answer_spell_damage: answerList("magic"),
17449
+ // Null when the deaths could not be read: no deaths known is not "nobody killed me".
17450
+ answers_to_top_killers: deaths.error ? null : answersToTopKillers,
17052
17451
  most_built_in_this_bracket: bracketCore,
17053
17452
  most_built_by_pros_on_this_hero: core.length ? { pro_games: row.games, played_on_releases: row.releases, ...fromBefore ? { from_the_patch_before_this_game: true } : sample.few_games ? { few_games: true } : {}, window: "finished between 10:00 and 24:59", items: core } : null,
17054
17453
  gap_closers: { mine: myGap ? { item: myGap.item, name: itemName2(myGap.item, lang), first_held: myGap.first_held.clock } : null, enemies: theirGaps },
17055
- note: `built_for is what the site's curated lists and Valve's item stats say an item is for; an empty list means "not classified", not "offensive". The answer lists are curated and are for this role (with estimated_minutes_of_my_farm = item cost / my_economy.gold_per_min when economy is known); "gives" and "does" are Valve's data. player_already_held_for_this_purpose groups big items the player already finished by the threats they cover. Shares of damage are over the 12 seconds before each death, of all damage taken in them (the two sums count enemy heroes only). An item built from a big item already held counts only the gold on top of it (gold_on_top_of_items_already_held). Pro shares are professional games, not this bracket; most_built_in_this_bracket (when present) is public games of this bracket and role (STRATZ).`,
17454
+ note: `answers_to_top_killers is per enemy who killed the player most: Valve's text of that hero's abilities (valve_text is the current release's wording; the flags are this game's release), the items pros on this hero build clearly more often against it (association, not proof); known_for is the site's curated threat tags of that hero. built_for is what the site's curated lists and Valve's item stats say an item is for; an empty list means "not classified", not "offensive". estimated_minutes_of_my_farm = item cost / my_economy.gold_per_min when that is known; "gives" and "does" are Valve's data. player_already_held_for_this_purpose groups big items the player already finished by the threats they cover. Shares of damage are over the 12 seconds before each death, of all damage taken in them (the two sums count enemy heroes only). An item built from a big item already held counts only the gold on top of it (gold_on_top_of_items_already_held). Pro shares are professional games, not this bracket; most_built_in_this_bracket (when present) is public games of this bracket and role (STRATZ).`,
17056
17455
  gaps: [
17057
17456
  ...role.kind ? [] : [{ topic: "role", reason: ctx.match ? role.gaps[0] ?? "role_not_established" : "no_match_data_for_this_game" }],
17058
17457
  ...economy ? [
@@ -17063,6 +17462,9 @@ function buildCheck(trace, args = {}, ctx = {}) {
17063
17462
  ...row && sample.few_games ? [{ topic: "pro_mid_game_items", reason: `only_${sample.games}_pro_games_of_this_hero_in_${pd.major}_up_to_${pd.name}: shares are from ${row.releases.join(", ")}` }] : [],
17064
17463
  ...pub.gaps,
17065
17464
  ...patchGap(pd),
17465
+ ...answersToTopKillers.filter((k3) => !k3.pro_items_against_this_killer).map((k3) => ({ topic: `pro_items_against_${k3.killer}`, reason: `no_item_built_clearly_more_often_or_too_few_pro_games_since_${ITEM_VS_SOURCE.since}` })),
17466
+ ...answersToTopKillers.some((k3) => k3.pro_items_against_this_killer) ? [{ topic: "pro_items_against_killers", reason: `professional_matches_since_${ITEM_VS_SOURCE.since}_all_releases_together` }] : [],
17467
+ ...answersToTopKillers.length && !pd.exact ? [{ topic: "killer_ability_data_of_this_game_patch", reason: `${pd.reason}; ${pd.name} data used` }] : [],
17066
17468
  { topic: "damage_type_of_abilities", reason: "spell_damage_is_not_split_into_magical_and_physical_here" },
17067
17469
  { topic: "gold_spent_on_small_items", reason: "only_big_items_are_counted" }
17068
17470
  ]
@@ -17100,11 +17502,11 @@ function powerSpikes2(trace, args = {}, ctx = {}) {
17100
17502
  const myDeaths = realDeaths(trace).filter((d) => d[1] === npc).map((d) => ({ t: d[0], killer: trace.heroes.find((h) => h.npc === trace.names[d[2]])?.key ?? null }));
17101
17503
  const mine = levelsOf(trace, seatIndex);
17102
17504
  const ult = pd.ultimate(hero.id);
17103
- const levelAt = Object.entries(mine.at).map(([clock10, level]) => ({ at: clock10, me: level }));
17505
+ const levelAt2 = Object.entries(mine.at).map(([clock10, level]) => ({ at: clock10, me: level }));
17104
17506
  const enemies = trace.heroes.map((h, i) => ({ h, i })).filter(({ h }) => h.team !== seat.team).map(({ h, i }) => {
17105
17507
  const lv = levelsOf(trace, i);
17106
17508
  for (const [clock10, level] of Object.entries(lv.at)) {
17107
- const row = levelAt.find((x) => x.at === clock10);
17509
+ const row = levelAt2.find((x) => x.at === clock10);
17108
17510
  if (row) row[h.key] = level;
17109
17511
  }
17110
17512
  const kills = myDeaths.filter((d) => d.killer === h.key);
@@ -17148,7 +17550,7 @@ function powerSpikes2(trace, args = {}, ctx = {}) {
17148
17550
  big_items: bigItems(slug2).map((it) => ({ item: it.item, name: itemName2(it.item, lang), first_held: it.first_held.clock, ...GAP2.has(it.item) ? { gap_closer: true } : {} }))
17149
17551
  },
17150
17552
  enemies,
17151
- level_at: levelAt,
17553
+ level_at: levelAt2,
17152
17554
  ...role.bracket ? { public_source: { bracket: role.bracket, bracket_name: BRACKET_LABEL[role.bracket]?.[lang] ?? role.bracket, source: "STRATZ", patch: RANK_SOURCE.patch } } : {},
17153
17555
  pro_source: { since: MATCHUP_SOURCE.since, games: MATCHUP_SOURCE.games },
17154
17556
  note: `A level or an item is when a hero could do more, not proof that it did. kills_of_me_before / from_then_on count this hero's kills of the player around the moment the item was first held. A matchup is how the two heroes fare on opposite teams over many games (the win rate of the player's hero with that enemy against it, next to its usual one), not what should have happened here; "even" means no measurable difference.`,
@@ -17164,7 +17566,7 @@ var HERO2 = { type: "string", description: `Hero key as in match_overview, e.g.
17164
17566
  var SITUATION_TOOLS = [
17165
17567
  {
17166
17568
  name: "build_check",
17167
- description: "The player's build against what killed them. Gives their role and 1\u20135 position (from parsed match lanes or inferred from the replay), their economy (`my_economy`: GPM, net worth / 20:00 gold when known), where the damage in their deaths came from (which enemy, attacks or abilities), each big item they bought in order with its cost, what Valve lists for it and what it is for (built_for: an answer to attack damage, to spell damage, to disables, a gap closer, magic resistance, armor \u2014 empty means not classified), the gold put into each purpose, which big items the player already held for each purpose (player_already_held_for_this_purpose), the items that answer attack damage and spell damage for this role with what each does, `estimated_minutes_of_my_farm` (item cost divided by the player's GPM) and whether the player held it, what players of this bracket and role build on the hero in public games (most_built_in_this_bracket, when known), the hero's most-built professional items with when the player had them, and when each side got its first gap closer (Blink Dagger and the like). Use it before saying anything about what an item is, what the player's build answered, or what to buy.",
17569
+ description: "The player's build against what killed them. Gives their role and 1\u20135 position (from parsed match lanes or inferred from the replay), their economy (`my_economy`: GPM, net worth / 20:00 gold when known), where the damage in their deaths came from (which enemy, attacks or abilities), each big item they bought in order with its cost, what Valve lists for it and what it is for (built_for: an answer to attack damage, to spell damage, to disables, a gap closer, magic resistance, armor \u2014 empty means not classified), the gold put into each purpose, which big items the player already held for each purpose (player_already_held_for_this_purpose), for each of the (up to two) enemies who killed them most what that hero's abilities do in Valve's words and the items pros on this hero build clearly more often against that hero (answers_to_top_killers), each with what it does, `estimated_minutes_of_my_farm` (item cost divided by the player's GPM) and whether the player held it, what players of this bracket and role build on the hero in public games (most_built_in_this_bracket, when known), the hero's most-built professional items with when the player had them, and when each side got its first gap closer (Blink Dagger and the like). Use it before saying anything about what an item is, what the player's build answered, or what to buy.",
17168
17570
  input_schema: { type: "object", properties: { hero: HERO2 }, required: ["hero"], additionalProperties: false },
17169
17571
  run: buildCheck
17170
17572
  },
@@ -17601,6 +18003,159 @@ function sideRecord(trace, team, fight, part) {
17601
18003
  })
17602
18004
  };
17603
18005
  }
18006
+ function meInFightRecord(trace, h, team, key, f, part) {
18007
+ if (!part.took_part.has(h)) return null;
18008
+ const died = part.victims.includes(h);
18009
+ const myNpc = nameId(trace, trace.heroes[h].npc);
18010
+ const dmgFrom = Math.floor(part.engaged_at);
18011
+ const dmgTo = Math.ceil(f.to);
18012
+ const spots = Array.isArray(part.spots) ? part.spots : [];
18013
+ const hasDamage = Array.isArray(trace.damage);
18014
+ const canFilterEncounter = hasDamage && spots.length > 0;
18015
+ const nearFight = (heroIdx, sec) => {
18016
+ if (!spots.length) return null;
18017
+ const s = stateAt(trace, heroIdx, sec);
18018
+ if (!s || s.x == null || s.y == null) return null;
18019
+ return spots.some((p) => dist(s, p) <= ENGAGE_RADIUS);
18020
+ };
18021
+ const enemyVictimNpcs = new Set(
18022
+ f.deaths.filter((d) => {
18023
+ const v = heroOfName(trace, d[1]);
18024
+ return v >= 0 && trace.heroes[v].team !== team;
18025
+ }).map((d) => d[1])
18026
+ );
18027
+ let heroDamageDealt = canFilterEncounter ? 0 : null;
18028
+ let heroDamageTaken = canFilterEncounter ? 0 : null;
18029
+ let dealtUnknown = !canFilterEncounter;
18030
+ let takenUnknown = !canFilterEncounter;
18031
+ let enemyDeathsUnknown = !canFilterEncounter;
18032
+ const damagedTargets = /* @__PURE__ */ new Set();
18033
+ if (canFilterEncounter && myNpc >= 0) {
18034
+ for (const [sec, a, target, , value] of trace.damage) {
18035
+ if (sec < dmgFrom || sec > dmgTo || !(value > 0)) continue;
18036
+ if (a === myNpc) {
18037
+ const th = heroOfName(trace, target);
18038
+ if (th < 0 || trace.heroes[th].team === team) continue;
18039
+ const meNear = nearFight(h, sec);
18040
+ const otherNear = nearFight(th, sec);
18041
+ if (meNear === false || otherNear === false) continue;
18042
+ if (meNear == null || otherNear == null) {
18043
+ dealtUnknown = true;
18044
+ if (enemyVictimNpcs.has(target)) enemyDeathsUnknown = true;
18045
+ continue;
18046
+ }
18047
+ if (part.took_part.has(th)) {
18048
+ heroDamageDealt += value;
18049
+ damagedTargets.add(target);
18050
+ }
18051
+ } else if (target === myNpc) {
18052
+ const ah = heroOfName(trace, a);
18053
+ if (ah < 0 || trace.heroes[ah].team === team) continue;
18054
+ const meNear = nearFight(h, sec);
18055
+ const otherNear = nearFight(ah, sec);
18056
+ if (meNear === false || otherNear === false) continue;
18057
+ if (meNear == null || otherNear == null) {
18058
+ takenUnknown = true;
18059
+ continue;
18060
+ }
18061
+ if (part.took_part.has(ah)) {
18062
+ heroDamageTaken += value;
18063
+ }
18064
+ }
18065
+ }
18066
+ }
18067
+ if (dealtUnknown) heroDamageDealt = null;
18068
+ if (takenUnknown) heroDamageTaken = null;
18069
+ const enemyDeathsIDamaged = enemyDeathsUnknown ? null : f.deaths.filter((d) => {
18070
+ const v = heroOfName(trace, d[1]);
18071
+ return v >= 0 && trace.heroes[v].team !== team && damagedTargets.has(d[1]);
18072
+ }).length;
18073
+ const INITIATE_LEAD = 3;
18074
+ const inActionWindow = (at) => {
18075
+ if (at > f.to + 0.5) return false;
18076
+ if (at >= part.engaged_at) return true;
18077
+ if (at >= part.engaged_at - INITIATE_LEAD) {
18078
+ if (!spots.length) return null;
18079
+ const n0 = nearFight(h, at);
18080
+ const n1 = nearFight(h, Math.min(f.to, at + 1));
18081
+ if (n0 === true || n1 === true) return true;
18082
+ if (n0 === false && n1 === false) return false;
18083
+ return null;
18084
+ }
18085
+ return false;
18086
+ };
18087
+ const ultKeys = ultimatesOf(key);
18088
+ const ultCast = (() => {
18089
+ if (!ultKeys.length || hasNoCooldown(key) || ultKeys.every((u) => DEATH_TRIGGERED_ABILITIES.has(u)) || !Array.isArray(trace.casts)) return null;
18090
+ const ultIds = new Set(ultKeys.map((u) => nameId(trace, u)).filter((id) => id >= 0));
18091
+ let ultWindowUnknown = false;
18092
+ if (myNpc >= 0) {
18093
+ for (const c of trace.casts) {
18094
+ if (c[1] !== myNpc || !ultIds.has(c[2])) continue;
18095
+ const w = inActionWindow(c[0]);
18096
+ if (w === true) return true;
18097
+ if (w === null) ultWindowUnknown = true;
18098
+ }
18099
+ }
18100
+ const autoUlts = ultKeys.filter((u) => AUTO_TRIGGERED_ACTIVE_ABILITIES.has(u));
18101
+ if (autoUlts.length) {
18102
+ const abMap = trace.abilities?.[h];
18103
+ if (!abMap || Object.keys(abMap).length === 0) return null;
18104
+ const myRefreshers = refresherTimes(trace, myNpc);
18105
+ let autoMissing = false;
18106
+ for (const u of autoUlts) {
18107
+ const entry = abMap[u];
18108
+ if (!entry) continue;
18109
+ const validLevels = Array.isArray(entry.levels) && entry.levels.every((row) => Array.isArray(row) && typeof row[0] === "number" && typeof row[1] === "number");
18110
+ if (!validLevels || !Array.isArray(entry.cd)) {
18111
+ autoMissing = true;
18112
+ continue;
18113
+ }
18114
+ if (abilityLevel(entry, f.to) <= 0) continue;
18115
+ const aid = nameId(trace, u);
18116
+ const manualRows = aid >= 0 ? trace.casts.filter((c) => c[1] === myNpc && c[2] === aid).sort((a, b) => a[0] - b[0]) : [];
18117
+ const info = cooldownActivations(entry, manualRows, myRefreshers);
18118
+ if (!info) {
18119
+ autoMissing = true;
18120
+ continue;
18121
+ }
18122
+ for (const st of info.allStarts) {
18123
+ const w = inActionWindow(st.t);
18124
+ if (w === true) return true;
18125
+ if (w === null) ultWindowUnknown = true;
18126
+ }
18127
+ }
18128
+ if (autoMissing) return null;
18129
+ }
18130
+ return ultWindowUnknown ? null : false;
18131
+ })();
18132
+ const keyItemsUsed = (() => {
18133
+ if (!Array.isArray(trace.item_uses)) return null;
18134
+ if (myNpc < 0) return [];
18135
+ const candidates = trace.item_uses.filter((u) => u[1] === myNpc).sort((a, b) => a[0] - b[0]);
18136
+ const seen = /* @__PURE__ */ new Set();
18137
+ const used = [];
18138
+ for (const u of candidates) {
18139
+ const short = trace.names?.[u[2]]?.replace(/^item_/, "");
18140
+ if (!short || !KEY_COMBAT_ITEMS.has(short)) continue;
18141
+ const w = inActionWindow(u[0]);
18142
+ if (w === null) return null;
18143
+ if (w === true && !seen.has(short)) {
18144
+ seen.add(short);
18145
+ used.push(short);
18146
+ }
18147
+ }
18148
+ return used;
18149
+ })();
18150
+ return {
18151
+ died,
18152
+ hero_damage_dealt: heroDamageDealt,
18153
+ hero_damage_taken: heroDamageTaken,
18154
+ enemy_deaths_i_damaged: enemyDeathsIDamaged,
18155
+ ult_cast: ultCast,
18156
+ key_items_used: keyItemsUsed
18157
+ };
18158
+ }
17604
18159
  function fightReport(trace, args = {}, ctx = {}) {
17605
18160
  const { h, team, err } = sideOf3(trace, args.hero);
17606
18161
  if (err) return err;
@@ -17620,6 +18175,7 @@ function fightReport(trace, args = {}, ctx = {}) {
17620
18175
  lost_fewer_heroes: mine.deaths === theirs.deaths ? "even" : mine.deaths < theirs.deaths ? "my_team" : "enemy",
17621
18176
  more_heroes_took_part: mine.took_part_count === theirs.took_part_count ? "even" : mine.took_part_count > theirs.took_part_count ? "my_team" : "enemy",
17622
18177
  me: part.took_part.has(h) ? "took_part" : "not_in_it",
18178
+ me_in_fight: meInFightRecord(trace, h, team, key, f, part),
17623
18179
  ...Number.isFinite(lead) ? { my_team_gold_lead: team === 2 ? lead : -lead } : {},
17624
18180
  my_team: mine,
17625
18181
  enemy: theirs
@@ -17680,7 +18236,7 @@ var HERO3 = { type: "string", description: `Hero key as in match_overview, e.g.
17680
18236
  var FIGHT_TOOLS = [
17681
18237
  {
17682
18238
  name: "fight_report",
17683
- description: "Every fight of the game (match_overview's, same numbers) from the player's side, read from the state before it: how many heroes each side brought (dealt or took damage from an enemy hero), which ultimates and Black King Bars were ready when it began, the levels of those in it, and for every hero not in it what the replay shows them doing (dead and for how long yet, in base, fighting elsewhere, at a building, or only where they were) with how far away and whether their TP was ready. Totals: fights each side brought more heroes to, and how often that side lost fewer; the fights the player was not in. Use it before judging any fight: a fight lost with fewer heroes in it is about where the team was before it is about how it was fought.",
18239
+ description: "Every fight of the game (match_overview's, same numbers) from the player's side, read from the state before it: how many heroes each side brought (dealt or took damage from an enemy hero), which ultimates and Black King Bars were ready when it began, the levels of those in it, for every hero not in it what the replay shows them doing (dead and for how long yet, in base, fighting elsewhere, at a building, or only where they were) with how far away and whether their TP was ready, and when the player took part (`me_in_fight`), the player's factual contribution in the fight (whether they died, hero damage dealt/taken, enemy deaths they damaged, whether they cast their ultimate, and key combat items used). Totals: fights each side brought more heroes to, and how often that side lost fewer; the fights the player was not in. Use it before judging any fight: a fight lost with fewer heroes in it is about where the team was before it is about how it was fought.",
17684
18240
  input_schema: { type: "object", properties: { hero: HERO3 }, required: ["hero"], additionalProperties: false },
17685
18241
  run: fightReport
17686
18242
  },
@@ -18514,6 +19070,10 @@ var KEY_MOMENTS_TOOL = {
18514
19070
  run: keyMoments
18515
19071
  };
18516
19072
 
19073
+ // lib/agent/draftReport.js
19074
+ import { createRequire as createRequire5 } from "node:module";
19075
+ init_knowledge();
19076
+
18517
19077
  // lib/agent/laneProcess.js
18518
19078
  var VISIT_GAP = 30;
18519
19079
  var VISIT_AFTER = 10;
@@ -18838,6 +19398,11 @@ var LANE_PROCESS_RULE = `gold_gap_by_source: gold the log says each side of the
18838
19398
  var LANE_PROCESS_REFERENCE = "On 209 parsed games: in the 444 lane sides that lost their lane in the 194 games whose gold log has dying rows, the gold behind from hero kills, assists and dying (netted together) added up to about as much as the gold behind from lane creeps (255k against 286k), and was the larger part in 44% of them (197). How many times enemies visited a lane did not go with losing it (lost 39% with no visit, 37% with three or more); visits that cost the lane side more deaths in the lane than the enemy did (one or more net) did: lost 48% (141 of 295), against 36% (333 of 930) otherwise. 168 of the 1225 lane sides had a hero sharing the lane part-time (their sums leave that hero out); without them the same holds (45% of 392; 46% against 35%). On 59 games (562 single-lane heroes, 302 early rotation trips of 20 s+ before 10:00): 56% (170/302) included an enemy death the player damaged, 20% (59/302) placed a ward, 8% (24/302) activated a power rune, and in 7% (22/302) a fixed lane partner died while the player was away. A reference for how much each part usually weighs, not what happened here.";
18839
19399
 
18840
19400
  // lib/agent/draftReport.js
19401
+ var require6 = createRequire5(import.meta.url);
19402
+ var HEROES_CONST = heroes_default;
19403
+ var HERO_CONST_BY_ID = new Map(Object.values(HEROES_CONST).map((h) => [h.id, h]));
19404
+ var ATTR_NAME = { str: "strength", agi: "agility", int: "intelligence", all: "universal" };
19405
+ var GOLD_SOLD3 = 6;
18841
19406
  var LANE_NAME4 = { 1: "bot", 2: "mid", 3: "top" };
18842
19407
  var pct4 = (x) => Math.round(x * 1e3) / 10;
18843
19408
  var slugOf5 = (hero) => String(hero ?? "").trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_");
@@ -18846,6 +19411,31 @@ var third3 = (x, y) => {
18846
19411
  return Math.abs(d) < 2200 ? 2 : d > 0 ? 3 : 1;
18847
19412
  };
18848
19413
  var inBase3 = (x, y) => x > 4200 && y > 3800 || x < -4600 && y < -4200;
19414
+ function curatedTraits2(internalSlug) {
19415
+ if (!internalSlug) return [];
19416
+ return Object.entries(THREAT_TAGS).filter(([, list]) => list.includes(internalSlug)).map(([tag]) => tag);
19417
+ }
19418
+ function replayLastHitsBefore(trace, nameIx, at) {
19419
+ let v = 0;
19420
+ let rows = 0;
19421
+ let counted = false;
19422
+ for (const r of trace.creep_kills) {
19423
+ if (r[1] !== nameIx || r[0] >= at) continue;
19424
+ rows += 1;
19425
+ if (Number.isInteger(r[3])) {
19426
+ v = r[3];
19427
+ counted = true;
19428
+ }
19429
+ }
19430
+ return rows && !counted ? null : v;
19431
+ }
19432
+ function replayGoldBefore10(trace, nameIx) {
19433
+ let sum2 = 0;
19434
+ for (const g of trace.gold) {
19435
+ if (g[1] === nameIx && g[0] < LANE_END / 60 && g[2] !== GOLD_SOLD3 && g[3] > 0) sum2 += g[3];
19436
+ }
19437
+ return sum2;
19438
+ }
18849
19439
  function laneShares(trace, i) {
18850
19440
  const st = trace.states?.[i];
18851
19441
  if (!st) return null;
@@ -18873,6 +19463,140 @@ function draftReport(trace, args = {}, ctx = {}) {
18873
19463
  const known = ctx.match ? reviewBracket(ctx.match.players ?? [], me) : null;
18874
19464
  const brackets = known ? [known.key] : BRACKETS;
18875
19465
  const lang = ctx.lang === "zh" ? "zh" : "en";
19466
+ let coachReport = null;
19467
+ if (ctx.match) {
19468
+ try {
19469
+ coachReport = buildCoachReport(ctx.match);
19470
+ } catch {
19471
+ coachReport = null;
19472
+ }
19473
+ }
19474
+ const replayRolesByTeam = /* @__PURE__ */ new Map();
19475
+ const teamRoles = (tm) => {
19476
+ if (!replayRolesByTeam.has(tm)) replayRolesByTeam.set(tm, inferTeamRolesFromReplay(trace, tm, ctx.match).roles);
19477
+ return replayRolesByTeam.get(tm);
19478
+ };
19479
+ const positionOf = (i) => {
19480
+ const hInfo = heroByKey(key(i));
19481
+ if (coachReport && hInfo?.id != null) {
19482
+ const p = coachReport.players.find((x) => x.hero?.id === hInfo.id);
19483
+ const role = p ? coachReport.reviews?.[p.slot]?.role ?? null : null;
19484
+ if (role?.source === "lanes" && Number.isInteger(role.pos)) return role.pos;
19485
+ }
19486
+ const rep = teamRoles(trace.heroes[i].team)?.get(i) ?? null;
19487
+ return Number.isInteger(rep?.pos) ? rep.pos : null;
19488
+ };
19489
+ const lineupEntry = (i) => {
19490
+ const k3 = key(i);
19491
+ const hInfo = heroByKey(k3);
19492
+ const c = hInfo?.id != null ? HERO_CONST_BY_ID.get(hInfo.id) ?? null : null;
19493
+ return {
19494
+ hero: k3,
19495
+ inferred_position: positionOf(i),
19496
+ primary_attribute: c?.primary_attr ? ATTR_NAME[c.primary_attr] ?? c.primary_attr : null,
19497
+ attack_type: typeof c?.attack_type === "string" ? c.attack_type.toLowerCase() : null,
19498
+ roles: Array.isArray(c?.roles) ? c.roles : null,
19499
+ traits: curatedTraits2(hInfo?.internalSlug ?? k3)
19500
+ };
19501
+ };
19502
+ const lineups = {
19503
+ my_team: all.filter((i) => side2(i) === "my_team").map(lineupEntry),
19504
+ enemy: all.filter((i) => side2(i) === "enemy").map(lineupEntry)
19505
+ };
19506
+ const unknownPositions = [...lineups.my_team, ...lineups.enemy].filter((x) => x.inferred_position == null).map((x) => x.hero);
19507
+ const hasDeaths = Array.isArray(trace.deaths);
19508
+ const earlyDeaths = hasDeaths ? realDeaths(trace).filter((d) => d[0] < LANE_END) : [];
19509
+ const nameIx = (i) => trace.names.indexOf(trace.heroes[i].npc);
19510
+ const matchPlayersByHeroId = new Map((ctx.match?.players ?? []).filter((p) => p && Number.isInteger(p.hero_id)).map((p) => [p.hero_id, p]));
19511
+ const hasReplayGold = Array.isArray(trace.gold);
19512
+ const hasReplayCreeps = Array.isArray(trace.creep_kills);
19513
+ const myTeamNotKnown = all.some((i) => lanes[i] === void 0 && side2(i) === "my_team");
19514
+ const enemyNotKnown = all.some((i) => lanes[i] === void 0 && side2(i) === "enemy");
19515
+ let anyLaneEconomyUnknown = false;
19516
+ let anyReplayLaneGold = false;
19517
+ let anyUnequalReplayLaneGold = false;
19518
+ let anyReplayLaneLastHits = false;
19519
+ const laneAt10 = (mine, theirs) => {
19520
+ const countDeaths = (indices) => {
19521
+ const npcSet = new Set(indices.map(nameIx).filter((nx) => nx >= 0));
19522
+ return earlyDeaths.filter((d) => npcSet.has(d[1])).length;
19523
+ };
19524
+ const myDeaths = !hasDeaths || myTeamNotKnown ? null : countDeaths(mine);
19525
+ const enemyDeaths = !hasDeaths || enemyNotKnown ? null : countDeaths(theirs);
19526
+ const laneHeroes = [...mine, ...theirs];
19527
+ if (myTeamNotKnown || enemyNotKnown || !laneHeroes.length) {
19528
+ anyLaneEconomyUnknown = true;
19529
+ return {
19530
+ my_team_deaths_before_10_00: myDeaths,
19531
+ enemy_deaths_before_10_00: enemyDeaths,
19532
+ my_team_gold: null,
19533
+ enemy_gold: null,
19534
+ gold_diff: null,
19535
+ my_team_last_hits: null,
19536
+ enemy_last_hits: null,
19537
+ source: null
19538
+ };
19539
+ }
19540
+ const matchRows = laneHeroes.map((i) => {
19541
+ const id = heroByKey(key(i))?.id;
19542
+ const p = id != null ? matchPlayersByHeroId.get(id) ?? null : null;
19543
+ return [i, p];
19544
+ });
19545
+ const allMatchRecord = matchRows.every(([, p]) => p && Array.isArray(p.gold_t) && Number.isFinite(p.gold_t[10]) && Array.isArray(p.lh_t) && Number.isFinite(p.lh_t[10]));
19546
+ if (allMatchRecord) {
19547
+ const byIdx = new Map(matchRows);
19548
+ const myGold = mine.reduce((s, i) => s + byIdx.get(i).gold_t[10], 0);
19549
+ const enemyGold = theirs.reduce((s, i) => s + byIdx.get(i).gold_t[10], 0);
19550
+ const myLh = mine.reduce((s, i) => s + byIdx.get(i).lh_t[10], 0);
19551
+ const enemyLh = theirs.reduce((s, i) => s + byIdx.get(i).lh_t[10], 0);
19552
+ return {
19553
+ my_team_deaths_before_10_00: myDeaths,
19554
+ enemy_deaths_before_10_00: enemyDeaths,
19555
+ my_team_gold: myGold,
19556
+ enemy_gold: enemyGold,
19557
+ gold_diff: myGold - enemyGold,
19558
+ my_team_last_hits: myLh,
19559
+ enemy_last_hits: enemyLh,
19560
+ source: "match_record"
19561
+ };
19562
+ }
19563
+ if (hasReplayGold && hasReplayCreeps) {
19564
+ const lhMap = new Map(laneHeroes.map((i) => [i, replayLastHitsBefore(trace, nameIx(i), LANE_END)]));
19565
+ if (laneHeroes.every((i) => lhMap.get(i) != null)) {
19566
+ const myGold = mine.reduce((s, i) => s + replayGoldBefore10(trace, nameIx(i)), 0);
19567
+ const enemyGold = theirs.reduce((s, i) => s + replayGoldBefore10(trace, nameIx(i)), 0);
19568
+ const myLh = mine.reduce((s, i) => s + lhMap.get(i), 0);
19569
+ const enemyLh = theirs.reduce((s, i) => s + lhMap.get(i), 0);
19570
+ anyReplayLaneGold = true;
19571
+ anyReplayLaneLastHits = true;
19572
+ const equalHeadcount = mine.length === theirs.length;
19573
+ if (!equalHeadcount) anyUnequalReplayLaneGold = true;
19574
+ return {
19575
+ my_team_deaths_before_10_00: myDeaths,
19576
+ enemy_deaths_before_10_00: enemyDeaths,
19577
+ my_team_gold: myGold,
19578
+ enemy_gold: enemyGold,
19579
+ gold_diff: equalHeadcount ? myGold - enemyGold : null,
19580
+ my_team_last_hits: myLh,
19581
+ enemy_last_hits: enemyLh,
19582
+ source: "replay",
19583
+ passive_income_omitted: true,
19584
+ last_hits_are_lower_bounds: true
19585
+ };
19586
+ }
19587
+ }
19588
+ anyLaneEconomyUnknown = true;
19589
+ return {
19590
+ my_team_deaths_before_10_00: myDeaths,
19591
+ enemy_deaths_before_10_00: enemyDeaths,
19592
+ my_team_gold: null,
19593
+ enemy_gold: null,
19594
+ gold_diff: null,
19595
+ my_team_last_hits: null,
19596
+ enemy_last_hits: null,
19597
+ source: null
19598
+ };
19599
+ };
18876
19600
  const pair = (a, b) => {
18877
19601
  const ida = heroByKey(key(a))?.id;
18878
19602
  const idb = heroByKey(key(b))?.id;
@@ -18905,6 +19629,7 @@ function draftReport(trace, args = {}, ctx = {}) {
18905
19629
  ...maybe.length ? { may_have_shared_part_time: maybe.map((i) => ({ hero: key(i), side: side2(i) })) } : {},
18906
19630
  // Solo: one hero of that side, counting those who shared the lane part-time; null when that is not settled.
18907
19631
  solo: { my_team: solo("my_team", mine), enemy: solo("enemy", theirs) },
19632
+ at_10_00: laneAt10(mine, theirs),
18908
19633
  // Every hero of the player's side in the lane against every enemy in it, part-time sharers included (marked).
18909
19634
  pairings: [...mine, ...part.filter((i) => side2(i) === "my_team")].flatMap((a) => [...theirs, ...part.filter((i) => side2(i) === "enemy")].map((b) => ({ ...pair(a, b), ...part.includes(a) || part.includes(b) ? { part_time: true } : {} })))
18910
19635
  };
@@ -18917,24 +19642,31 @@ function draftReport(trace, args = {}, ctx = {}) {
18917
19642
  ref: `draft:${slug2}`,
18918
19643
  hero: slug2,
18919
19644
  told_from: { hero: slug2, note: "my_team is this hero's team" },
19645
+ lineups,
18920
19646
  lanes: laneList,
18921
19647
  in_no_single_lane: noLane.map((i) => ({ hero: key(i), side: side2(i), share_of_lane_stage_by_lane: shares[i] })),
18922
19648
  ...notKnown.length ? { lane_not_known: notKnown.map(key) } : {},
18923
19649
  bracket_basis: known ? known.basis === "player" ? "the player's medal" : "the median public medal of the match" : "not known: every bracket",
18924
- lane_rule: `lane = the third of the map a hero spent 60% or more of their living seconds in between 1:00 and 10:00, from the replay; a hero in no single lane who spent ${PART_TIME_SHARE * 100}% or more of it in a lane shared that lane part-time (shared_part_time_by); solo = one hero of that side in the lane, counting those`,
19650
+ lane_rule: `lane = the third of the map a hero spent 60% or more of their living seconds in between 1:00 and 10:00, from the replay; a hero in no single lane who spent ${PART_TIME_SHARE * 100}% or more of it in a lane shared that lane part-time (shared_part_time_by); solo = one hero of that side in the lane, counting those; when at_10_00.source is "replay", gold totals omit passive income (gold_diff is null on unequal lane headcounts) and last hits are lower bounds (summon kills appear only on the hero's next own last hit)`,
18925
19651
  reading_rule: `lane_when_they_met: how the hero's lane went when it met that enemy (won / even / lost shares; own_lanes_won / own_lanes_lost: the hero's lanes against everyone); game: the hero's win rate with that enemy on the other team against its own. "reading" is favoured / unfavoured only two standard errors from the hero's own (100+ games, 50+ lanes). Public games, not this game.`,
18926
19652
  source: `${RANK_SOURCE.attribution?.en ?? "STRATZ"}; public matches of ${RANK_SOURCE.patch}, ${RANK_SOURCE.weeks?.count ?? "?"} weeks to ${RANK_SOURCE.weeks?.to ?? "?"}`,
18927
19653
  gaps: [
18928
19654
  ...notKnown.length ? [{ topic: "lanes", reason: "a_hero_s_lane_stage_positions_not_in_trace", heroes: notKnown.map(key) }] : [],
18929
19655
  ...laneList.some((x) => x.may_have_shared_part_time) ? [{ topic: "part_time_sharing", reason: "missing_positions_could_tip_it", heroes: [...new Set(laneList.flatMap((x) => (x.may_have_shared_part_time ?? []).map((m) => m.hero)))] }] : [],
18930
19656
  ...pairs.length && !anyNumber ? [{ topic: "pairings", reason: "too_few_public_games" }] : [],
18931
- ...known ? [] : [{ topic: "bracket", reason: "not_known" }]
19657
+ ...known ? [] : [{ topic: "bracket", reason: "not_known" }],
19658
+ ...unknownPositions.length ? [{ topic: "positions", reason: "inferred_position_not_settled_for_all_heroes", heroes: unknownPositions }] : [],
19659
+ ...anyLaneEconomyUnknown ? [{ topic: "lane_at_10_00", reason: notKnown.length ? "a_hero_s_lane_stage_positions_not_in_trace" : "no_lane_economy_in_match_record_or_trace" }] : [],
19660
+ ...anyReplayLaneGold ? [{ topic: "lane_gold_at_10_00", reason: "replay_gold_log_omits_passive_income" }] : [],
19661
+ ...anyUnequalReplayLaneGold ? [{ topic: "lane_gold_diff_at_10_00", reason: "unequal_lane_headcount_with_replay_gold_log" }] : [],
19662
+ ...anyReplayLaneLastHits ? [{ topic: "lane_last_hits_at_10_00", reason: "replay_last_hits_are_lower_bounds_summon_kills_appear_on_next_hero_kill" }] : [],
19663
+ ...!hasDeaths ? [{ topic: "lane_deaths_before_10_00", reason: "no_deaths_in_trace" }] : []
18932
19664
  ]
18933
19665
  };
18934
19666
  }
18935
19667
  var DRAFT_TOOL = {
18936
19668
  name: "draft_report",
18937
- description: "The draft as it was played, told from a hero's side (use the player): which heroes went to which lane (from the replay), which lanes were solo, the heroes in no single lane and where they spent most of the lane stage, and for every pairing of a hero of the player's side with an enemy in the same lane, how their lanes went when they met and how the hero does against that enemy in public games of the player's bracket. Use it for what each lane was up against before saying why a lane or the game went as it did. Public games, not this game; strengths over time are power_spikes', game length lineup_timing's.",
19669
+ description: "The draft as it was played, told from a hero's side (use the player): both teams' `lineups` with inferred 1\u20135 positions, primary attribute, attack type, Valve roles, and curated threat traits; which heroes went to which lane (from the replay), which lanes were solo, per-lane `at_10_00` results (deaths before 10:00, team gold, gold diff, and last hits from match record or replay), the heroes in no single lane and where they spent most of the lane stage, and for every pairing of a hero of the player's side with an enemy in the same lane, how their lanes went when they met and how the hero does against that enemy in public games of the player's bracket. Use it for lineup roles, matchup traits, and all three lanes' 10:00 outcomes before saying why a lane or the game went as it did. Public games, not this game; strengths over time are power_spikes', game length lineup_timing's.",
18938
19670
  input_schema: { type: "object", properties: { hero: { type: "string", description: "Hero key as in match_overview. Use the player's hero." } }, required: ["hero"], additionalProperties: false },
18939
19671
  run: draftReport
18940
19672
  };
@@ -19277,17 +20009,255 @@ var DECISION_TOOL = {
19277
20009
  run: decisionPoints
19278
20010
  };
19279
20011
 
19280
- // lib/agent/knowledgeTools.js
19281
- var require6 = createRequire5(import.meta.url);
20012
+ // lib/agent/skillBuild.js
20013
+ import { createRequire as createRequire6 } from "node:module";
20014
+ var require7 = createRequire6(import.meta.url);
19282
20015
  var ABILITIES6 = abilities_default;
20016
+ var ALL_ABILITIES2 = abilities_default2;
20017
+ var ABILITY_BY_ID = new Map(Object.values(ABILITIES6.heroes ?? {}).flat().map((a) => [a.id, a]));
20018
+ var slugOf6 = (hero) => String(hero ?? "").trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_");
20019
+ var KNOWN_NON_ULT_MAX_LEVEL = Object.freeze({
20020
+ invoker_quas: 7,
20021
+ invoker_wex: 7,
20022
+ invoker_exort: 7
20023
+ });
20024
+ var GENERATED_OR_LINKED_ABILITIES = /* @__PURE__ */ new Set([
20025
+ "invoker_cold_snap",
20026
+ "invoker_ghost_walk",
20027
+ "invoker_ice_wall",
20028
+ "invoker_emp",
20029
+ "invoker_tornado",
20030
+ "invoker_alacrity",
20031
+ "invoker_sun_strike",
20032
+ "invoker_forge_spirit",
20033
+ "invoker_chaos_meteor",
20034
+ "invoker_deafening_blast",
20035
+ "ember_spirit_activate_fire_remnant",
20036
+ "morphling_morph_str",
20037
+ "troll_warlord_whirling_axes_melee"
20038
+ ]);
20039
+ function abilityBehaviors(raw) {
20040
+ const b = raw?.behavior;
20041
+ return Array.isArray(b) ? b : typeof b === "string" ? [b] : [];
20042
+ }
20043
+ function isNonSkillPointSubAbility(k3, inPdMap) {
20044
+ if (GENERATED_OR_LINKED_ABILITIES.has(k3)) return true;
20045
+ const beh = abilityBehaviors(ALL_ABILITIES2[k3]);
20046
+ if (beh.includes("Not Learnable")) return true;
20047
+ return inPdMap && beh.includes("Hidden");
20048
+ }
20049
+ function nonEmptyLen(arr2) {
20050
+ return Array.isArray(arr2) ? arr2.filter((x) => x !== "" && x != null).length : 0;
20051
+ }
20052
+ function abilityMaxLevel(k3, pdEntry, rawEntry, maxObserved, isLearnable) {
20053
+ if (Number.isInteger(pdEntry?.max_level) && pdEntry.max_level > 0) return { cap: pdEntry.max_level, unknown: false };
20054
+ if (Number.isInteger(rawEntry?.max_level) && rawEntry.max_level > 0) return { cap: rawEntry.max_level, unknown: false };
20055
+ if (k3 in KNOWN_NON_ULT_MAX_LEVEL) return { cap: KNOWN_NON_ULT_MAX_LEVEL[k3], unknown: false };
20056
+ const metaLen = Math.max(nonEmptyLen(rawEntry?.cd), nonEmptyLen(rawEntry?.mc), nonEmptyLen(pdEntry?.cd));
20057
+ if (metaLen >= 4) {
20058
+ return maxObserved > metaLen ? { cap: null, unknown: true } : { cap: metaLen, unknown: false };
20059
+ }
20060
+ if (metaLen >= 2) return { cap: null, unknown: false };
20061
+ if (isLearnable) {
20062
+ return maxObserved > 4 ? { cap: null, unknown: true } : { cap: 4, unknown: false };
20063
+ }
20064
+ return { cap: null, unknown: maxObserved > 1 };
20065
+ }
20066
+ function levelAt(trace, seatIndex, t6) {
20067
+ const levels = trace.states?.[seatIndex]?.level;
20068
+ if (!Array.isArray(levels)) return null;
20069
+ const i0 = Math.round(t6) - trace.t0;
20070
+ for (const d of [0, -1, 1, -2, 2]) {
20071
+ const i = i0 + d;
20072
+ if (i >= 0 && i < trace.n && Number.isFinite(levels[i])) return levels[i];
20073
+ }
20074
+ return null;
20075
+ }
20076
+ function snapshotAtHeroLevel(trace, seatIndex, targetLevel, heroAbilitiesList, initialOnlyKeys) {
20077
+ const levels = trace.states?.[seatIndex]?.level;
20078
+ if (!Array.isArray(levels) || !levels.some((v) => Number.isFinite(v))) return null;
20079
+ const i = levels.findIndex((v) => Number.isFinite(v) && v >= targetLevel);
20080
+ if (i < 0) return null;
20081
+ if (i === 0) {
20082
+ if (levels[0] !== targetLevel) return null;
20083
+ } else if (!Number.isFinite(levels[i - 1]) || levels[i - 1] >= targetLevel) {
20084
+ return null;
20085
+ }
20086
+ const reachedT = i + trace.t0;
20087
+ let nextLevelT = Infinity;
20088
+ for (let j = i + 1; j < levels.length; j += 1) {
20089
+ if (Number.isFinite(levels[j]) && levels[j] > levels[i]) {
20090
+ nextLevelT = j + trace.t0;
20091
+ break;
20092
+ }
20093
+ }
20094
+ const traceEnd = trace.t0 + trace.n - 1;
20095
+ const evalT = Math.max(reachedT, Math.min(reachedT + 5, nextLevelT - 1, traceEnd));
20096
+ const abilities = {};
20097
+ for (const [k3, entry] of heroAbilitiesList) {
20098
+ if (initialOnlyKeys.has(k3)) continue;
20099
+ const lv = abilityLevel(entry, evalT);
20100
+ if (lv > 0) abilities[k3] = lv;
20101
+ }
20102
+ return { clock: clock3(reachedT), abilities };
20103
+ }
20104
+ function parseTalents(match, heroId) {
20105
+ const player = (match?.players ?? []).find((p) => p && p.hero_id === heroId);
20106
+ const arr2 = player?.ability_upgrades_arr;
20107
+ if (!Array.isArray(arr2) || !arr2.length) return null;
20108
+ const stringTalents = arr2.filter((x) => typeof x === "string" && x.startsWith("special_bonus_"));
20109
+ if (!stringTalents.length) return null;
20110
+ return stringTalents.map((key) => ({ ability: key, name: ALL_ABILITIES2[key]?.dname ?? key }));
20111
+ }
20112
+ function skillBuild(trace, args = {}, ctx = {}) {
20113
+ const slug2 = slugOf6(args.hero);
20114
+ const seatIndex = Array.isArray(trace?.heroes) ? trace.heroes.findIndex((h) => h.key === slug2) : -1;
20115
+ const hero = HEROES_BY_KEY.get(slug2);
20116
+ if (seatIndex < 0 || !hero) return { error: "unknown_hero", heroes: (trace?.heroes ?? []).map((h) => h.key) };
20117
+ const pd = patchForGame(trace.match_id, ctx.match);
20118
+ const lang = ctx.lang === "zh" ? "zh" : "en";
20119
+ const pdList = pd.heroAbilities(hero.id) ?? [];
20120
+ const pdMap = new Map(pdList.map((a) => [a.id, a]));
20121
+ const ultKeys = /* @__PURE__ */ new Set([
20122
+ ...ultimatesOf(slug2),
20123
+ ...pdList.filter((a) => a.ult).map((a) => a.id),
20124
+ ...pd.ultimate(hero.id)?.key ? [pd.ultimate(hero.id).key] : []
20125
+ ]);
20126
+ const slugPrefix = `${slug2}_`;
20127
+ const internalPrefix = `${hero.internalSlug}_`;
20128
+ const abilityDisplayName = (k3) => pdMap.get(k3)?.[lang] ?? pdMap.get(k3)?.en ?? ABILITY_BY_ID.get(k3)?.[lang] ?? ABILITY_BY_ID.get(k3)?.en ?? ALL_ABILITIES2[k3]?.dname ?? k3;
20129
+ const rawAbilities = trace.abilities?.[seatIndex];
20130
+ const heroEntries = rawAbilities && typeof rawAbilities === "object" ? Object.entries(rawAbilities).filter(([k3]) => {
20131
+ if (GENERIC_MAP_ABILITIES.has(k3) || k3.startsWith("plus_") || k3.startsWith("seasonal_") || k3.startsWith("special_bonus")) return false;
20132
+ const inPd = pdMap.has(k3);
20133
+ if (!(inPd || k3.startsWith(slugPrefix) || k3.startsWith(internalPrefix))) return false;
20134
+ return !isNonSkillPointSubAbility(k3, inPd);
20135
+ }) : [];
20136
+ const validLevelRows = (levels) => Array.isArray(levels) && levels.every((row) => Array.isArray(row) && typeof row[0] === "number" && typeof row[1] === "number");
20137
+ const missingLevelAbilities = heroEntries.filter(([, e]) => !validLevelRows(e?.levels)).map(([k3]) => k3).sort();
20138
+ const heroAbilitiesList = heroEntries.filter(([, e]) => validLevelRows(e?.levels) && e.levels.some(([, lv]) => lv > 0));
20139
+ const talents = parseTalents(ctx.match, hero.id);
20140
+ const talentGap = talents == null ? [{ topic: "talents", reason: "not_in_trace_or_match_data" }] : [];
20141
+ if (!heroAbilitiesList.length) {
20142
+ return {
20143
+ ref: `skill_build:${slug2}`,
20144
+ hero: slug2,
20145
+ data_patch: pd.name,
20146
+ upgrade_timeline: null,
20147
+ at_level_6: null,
20148
+ at_level_10: null,
20149
+ maxed_order: null,
20150
+ ultimate_levels: null,
20151
+ talents,
20152
+ gaps: [
20153
+ { topic: "skill_build", reason: "no_ability_levels_in_trace", ...missingLevelAbilities.length ? { abilities: missingLevelAbilities } : {} },
20154
+ ...talentGap
20155
+ ]
20156
+ };
20157
+ }
20158
+ const upgradeTimeline = [];
20159
+ const innateMetaExact = Boolean(pd.exact && pd.major === ABILITIES6.patch);
20160
+ const nonPointKeys = /* @__PURE__ */ new Set();
20161
+ let innateUncertain = false;
20162
+ let unknownMaxLevel = false;
20163
+ const maxedEntries = [];
20164
+ for (const [k3, entry] of heroAbilitiesList) {
20165
+ const sorted = [...entry.levels].sort((a, b) => a[0] - b[0]);
20166
+ const firstLearned = sorted.find(([, lv]) => lv > 0);
20167
+ const maxLv = sorted.reduce((m, [, lv]) => lv > m ? lv : m, 0);
20168
+ const isUlt = ultKeys.has(k3);
20169
+ const isLearnable = pdMap.has(k3) || isUlt;
20170
+ const isMetadataNonPoint = !isLearnable && innateMetaExact && Boolean(ALL_ABILITIES2[k3]);
20171
+ const isKnownInnate = isMetadataNonPoint && Boolean(firstLearned && firstLearned[0] <= trace.t0 + 2 && firstLearned[1] === 1);
20172
+ if (isMetadataNonPoint) nonPointKeys.add(k3);
20173
+ else if (!isLearnable) innateUncertain = true;
20174
+ const { cap, unknown: capUnknown } = isUlt || isMetadataNonPoint ? { cap: null, unknown: false } : abilityMaxLevel(k3, pdMap.get(k3), ALL_ABILITIES2[k3], maxLv, pdMap.has(k3));
20175
+ if (capUnknown) unknownMaxLevel = true;
20176
+ let highest = 0;
20177
+ let maxedRecorded = false;
20178
+ for (const [at, lv] of sorted) {
20179
+ if (!(lv > highest)) continue;
20180
+ const isInitialInnate = highest === 0 && isKnownInnate;
20181
+ const heroLevel = levelAt(trace, seatIndex, at);
20182
+ upgradeTimeline.push({
20183
+ clock: clock3(at),
20184
+ t: at,
20185
+ hero_level: heroLevel,
20186
+ ability: k3,
20187
+ name: abilityDisplayName(k3),
20188
+ ability_level: lv,
20189
+ ...isUlt ? { ultimate: true } : {},
20190
+ ...isInitialInnate ? { initial: true, innate: true } : {}
20191
+ });
20192
+ if (cap != null && !maxedRecorded && lv >= cap) {
20193
+ maxedRecorded = true;
20194
+ maxedEntries.push({
20195
+ t: at,
20196
+ ability: k3,
20197
+ name: abilityDisplayName(k3),
20198
+ level: lv,
20199
+ clock: clock3(at),
20200
+ hero_level: heroLevel
20201
+ });
20202
+ }
20203
+ highest = lv;
20204
+ }
20205
+ }
20206
+ upgradeTimeline.sort((a, b) => a.t - b.t || a.ability_level - b.ability_level || a.ability.localeCompare(b.ability));
20207
+ maxedEntries.sort((a, b) => a.t - b.t || a.ability.localeCompare(b.ability));
20208
+ const levelsArr = trace.states?.[seatIndex]?.level;
20209
+ const levelsMissing = !Array.isArray(levelsArr) || !levelsArr.some((v) => Number.isFinite(v));
20210
+ const hasIncompleteLevels = missingLevelAbilities.length > 0;
20211
+ const ultLevelsIncomplete = missingLevelAbilities.some((k3) => ultKeys.has(k3));
20212
+ const atLevel6 = hasIncompleteLevels ? null : snapshotAtHeroLevel(trace, seatIndex, 6, heroAbilitiesList, nonPointKeys);
20213
+ const atLevel10 = hasIncompleteLevels ? null : snapshotAtHeroLevel(trace, seatIndex, 10, heroAbilitiesList, nonPointKeys);
20214
+ const maxedOrder = hasIncompleteLevels ? null : maxedEntries.map(({ t: _t, ...rest }) => rest);
20215
+ const ultimateLevels = ultLevelsIncomplete ? null : upgradeTimeline.filter((u) => u.ultimate === true).map((u) => ({ ability: u.ability, name: u.name, level: u.ability_level, clock: u.clock, hero_level: u.hero_level }));
20216
+ return {
20217
+ ref: `skill_build:${slug2}`,
20218
+ hero: slug2,
20219
+ data_patch: pd.name,
20220
+ upgrade_timeline: upgradeTimeline,
20221
+ at_level_6: atLevel6,
20222
+ at_level_10: atLevel10,
20223
+ maxed_order: maxedOrder,
20224
+ ultimate_levels: ultimateLevels,
20225
+ talents,
20226
+ note: "Upgrade times come from replay ability-level samples. Innate and Scepter/Shard-granted abilities established by Valve patch metadata are excluded from at_level_6 / at_level_10 skill-point distributions (innates are marked innate: true, initial: true); normal learnable skills kept at level 1 stay included. maxed_order records when each non-ultimate ability reaches its ability cap.",
20227
+ gaps: [
20228
+ ...hasIncompleteLevels ? [{ topic: "skill_build", reason: "incomplete_ability_level_samples", abilities: missingLevelAbilities }] : [],
20229
+ ...levelsMissing ? [{ topic: "hero_levels", reason: "level_samples_missing_in_trace" }] : [],
20230
+ ...innateUncertain ? [{ topic: "innate_abilities", reason: "innate_metadata_unavailable_for_patch" }] : [],
20231
+ ...unknownMaxLevel ? [{ topic: "maxed_order", reason: "ability_max_level_unknown" }] : [],
20232
+ ...talentGap
20233
+ ]
20234
+ };
20235
+ }
20236
+ var SKILL_BUILD_TOOL = {
20237
+ name: "skill_build",
20238
+ description: "A hero's skill build from the replay: chronological ability upgrade timeline (`upgrade_timeline`), skill point distribution shortly after reaching level 6 (`at_level_6`) and level 10 (`at_level_10`), order in which non-ultimate abilities were maxed (`maxed_order`), ultimate leveling timings (`ultimate_levels`), and `talents` when available in match data (null with a gap when unavailable). Use this before commenting on skill-leveling choices.",
20239
+ input_schema: {
20240
+ type: "object",
20241
+ properties: {
20242
+ hero: { type: "string", description: 'Hero key as in match_overview, e.g. "beastmaster".' }
20243
+ },
20244
+ required: ["hero"],
20245
+ additionalProperties: false
20246
+ },
20247
+ run: skillBuild
20248
+ };
20249
+
20250
+ // lib/agent/knowledgeTools.js
20251
+ var require8 = createRequire7(import.meta.url);
20252
+ var ABILITIES7 = abilities_default;
19283
20253
  var ITEM_NAMES6 = names_default.items;
19284
20254
  var BY_SLUG3 = HEROES_BY_KEY;
19285
- var slugOf6 = (hero) => String(hero ?? "").trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_");
20255
+ var slugOf7 = (hero) => String(hero ?? "").trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_");
19286
20256
  var DMG = { P: "physical", M: "magical", U: "pure" };
19287
20257
  var share2 = (n, d) => Math.round(n / d * 100) / 100;
19288
20258
  var itemName3 = (key, lang) => ITEM_NAMES6[key]?.[lang] ?? key;
19289
20259
  function heroAbilities(trace, args = {}, ctx = {}) {
19290
- const hero = BY_SLUG3.get(slugOf6(args.hero));
20260
+ const hero = BY_SLUG3.get(slugOf7(args.hero));
19291
20261
  const pd = patchForGame(trace.match_id, ctx.match);
19292
20262
  const list = hero ? pd.heroAbilities(hero.id) : null;
19293
20263
  if (!Array.isArray(list)) return { error: "unknown_hero" };
@@ -19295,11 +20265,11 @@ function heroAbilities(trace, args = {}, ctx = {}) {
19295
20265
  const ult = pd.ultimate(hero.id);
19296
20266
  return {
19297
20267
  // Under the key that was asked for (a replay's "queen_of_pain"), so the ref is the one the caller can resolve.
19298
- ref: `abilities:${slugOf6(args.hero)}`,
19299
- hero: slugOf6(args.hero),
20268
+ ref: `abilities:${slugOf7(args.hero)}`,
20269
+ hero: slugOf7(args.hero),
19300
20270
  patch: pd.name,
19301
20271
  ...pd.hotfix ? { hotfix: pd.hotfix.slice(0, 10) } : {},
19302
- source: pd.name === CURRENT_RELEASE ? ABILITIES6.source : "Valve's game files of that release (dotabuff/d2vpkr), built with OpenDota's builder",
20272
+ source: pd.name === CURRENT_RELEASE ? ABILITIES7.source : "Valve's game files of that release (dotabuff/d2vpkr), built with OpenDota's builder",
19303
20273
  abilities: list.map((a) => ({
19304
20274
  ability: a.id,
19305
20275
  name: a[lang] ?? a.en,
@@ -19338,7 +20308,7 @@ function heroRoleAndBracket(match, heroId, trace = null, seatKey = null) {
19338
20308
  return { bracket, pos: Number.isInteger(coachRole?.pos) ? coachRole.pos : null, kind: coachRole?.kind ?? null, hasMatch };
19339
20309
  }
19340
20310
  function proItemChoices(trace, args = {}, ctx = {}) {
19341
- const slug2 = slugOf6(args.hero);
20311
+ const slug2 = slugOf7(args.hero);
19342
20312
  const seat = trace.heroes.find((h) => h.key === slug2);
19343
20313
  const hero = BY_SLUG3.get(slug2);
19344
20314
  if (!seat || !hero) return { error: "unknown_hero", heroes: trace.heroes.map((h) => h.key) };
@@ -19401,7 +20371,7 @@ var LANE_END2 = 600;
19401
20371
  var LANE_RULE = "lane gold at 10:00, both sides summed: within 8% is even, 8% or more is won or lost, 25% or more is won big or lost badly";
19402
20372
  var LANE_RESULT = { stomp: "won big", won: "won", draw: "even", lost: "lost", stomped: "lost badly" };
19403
20373
  function laneReport(trace, args = {}, ctx = {}) {
19404
- const slug2 = slugOf6(args.hero);
20374
+ const slug2 = slugOf7(args.hero);
19405
20375
  const seatIndex = trace.heroes.findIndex((h) => h.key === slug2);
19406
20376
  const hero = BY_SLUG3.get(slug2);
19407
20377
  if (seatIndex < 0 || !hero) return { error: "unknown_hero", heroes: trace.heroes.map((h) => h.key) };
@@ -19509,7 +20479,7 @@ function laneReport(trace, args = {}, ctx = {}) {
19509
20479
  var TIMING_SIDE_GAP = 0.03;
19510
20480
  var points = (share3) => Math.round(share3 * 1e3) / 10;
19511
20481
  function lineupTiming(trace, _args = {}, ctx = {}) {
19512
- const view = ctx.perspective == null ? null : trace.heroes.find((h) => h.key === slugOf6(ctx.perspective)) ?? null;
20482
+ const view = ctx.perspective == null ? null : trace.heroes.find((h) => h.key === slugOf7(ctx.perspective)) ?? null;
19513
20483
  const me = view ? (ctx.match?.players ?? []).find((p) => p && p.hero_id === BY_SLUG3.get(view.key)?.id) : null;
19514
20484
  const bracket = ctx.match ? reviewBracket(ctx.match.players, me ?? {}) : null;
19515
20485
  const side2 = (team) => {
@@ -19585,6 +20555,8 @@ var KNOWLEDGE_TOOLS = [
19585
20555
  input_schema: { type: "object", properties: { hero: HERO4 }, required: ["hero"], additionalProperties: false },
19586
20556
  run: heroAbilities
19587
20557
  },
20558
+ // A hero's ability leveling timeline, level-6/10 distributions, maxed order, ultimate levels (skillBuild.js).
20559
+ SKILL_BUILD_TOOL,
19588
20560
  {
19589
20561
  name: "pro_item_choices",
19590
20562
  description: "What professional players and public players of this rank bracket and role build on this hero: the finished mid-game items with how often (and win rate in public games of this bracket and role, when known), and the items pros build clearly more often against each enemy hero of this match \u2014 each next to when this player first held it (null = never). Use it as a reference alongside build_check; say whether a share is from professional games or public games of the bracket when you quote it.",
@@ -19726,7 +20698,7 @@ function goalFromReview(pick2, { trace, hero, findings, match = null, bracketDat
19726
20698
 
19727
20699
  // lib/agent/review/schema.js
19728
20700
  var DEEP_REVIEW_SCHEMA = "dota2.ai/deep-review@1";
19729
- var DEEP_REVIEW_PROMPT_VERSION = 69;
20701
+ var DEEP_REVIEW_PROMPT_VERSION = 74;
19730
20702
  var MAX_REFS = 3;
19731
20703
  var MAX_FINDINGS = 3;
19732
20704
  var MAX_PLAN_EVIDENCE = 4;
@@ -19815,7 +20787,7 @@ var SUBMIT_REVIEW = {
19815
20787
  when: { ...STR, description: 'The situation, as the player meets it in game, from what is on their own screen at that moment: their health and mana, who stands next to them, what an enemy just used, the clock, what is in the shop. Not hindsight ("before you die"), not a mood ("when it is dangerous").' },
19816
20788
  do: { ...STR, description: 'One action for that situation: where to go, what to buy and by when, what to hold or wait for. Not "be careful", "position better" or "react faster".' },
19817
20789
  this_game: { ...STR, description: "How often that situation came up in this game and went the other way: the count a tool states and the times (for example three of the twelve deaths, then their times), written in the language of the review like everything else. Every time and number must be in a tool result." },
19818
- counted_by: { type: "string", enum: HABIT_KEYS, description: "Which count a tool keeps that this rule is about, if one is \u2014 the next game's replay is counted the same way to see whether the rule was followed. From death_context.deaths_where \u2014 low_health_outside_fights: health_below_half_at_window_start_outside_fights. outnumbered_outside_fights: three_or_more_enemy_heroes_dealing_damage_outside_fights. alone: no_ally_within_2200_at_death. alone_not_traded: no_ally_within_2200_at_death_and_not_traded (the lone deaths that bought nothing: use it, not alone, when the finding is that dying alone got nothing back). nothing_pressed: nothing_cast_and_no_item_used. (low_health and outnumbered count the same over every death, fights included: use them only when the finding is about the fights themselves.) From ability_audit of one of the player's own abilities (name it in counted_ability) \u2014 cast_into_immunity: casts_where.target_spell_immune_and_not_stunned. target_survived: casts_where.enemy_hero_target_alive_12s_later. reached_few: casts_where.no_hero_target_and_at_most_one_enemy_hero_damaged. died_holding: deaths_with_it_ready_and_not_cast_total. Omit when the rule is about something else (an item)." },
20790
+ counted_by: { type: "string", enum: HABIT_KEYS, description: "Which count a tool keeps that this rule is about, if one is \u2014 the next game's replay is counted the same way to see whether the rule was followed. From death_context.deaths_where \u2014 low_health_outside_fights: health_below_half_at_window_start_outside_fights. outnumbered_outside_fights: three_or_more_enemy_heroes_dealing_damage_outside_fights. nothing_pressed: nothing_cast_and_no_item_used. (low_health and outnumbered count the same over every death, fights included: use them only when the finding is about the fights themselves.) From ability_audit of one of the player's own abilities (name it in counted_ability) \u2014 cast_into_immunity: casts_where.target_spell_immune_and_not_stunned. target_survived: casts_where.enemy_hero_target_alive_12s_later. reached_few: casts_where.no_hero_target_and_at_most_one_enemy_hero_damaged. died_holding: deaths_with_it_ready_and_not_cast_total. Omit when the rule is about something else (an item)." },
19819
20791
  counted_ability: { type: "string", description: 'For the four ability counts: the ability key as ability_audit names it (e.g. "tidehunter_ravage").' }
19820
20792
  }
19821
20793
  },
@@ -19894,7 +20866,7 @@ READING THE TOOLS
19894
20866
  INVESTIGATION & STRUCTURE
19895
20867
  1. Map the whole game first in \`story\` (2\u20136 causal links in game order, each with \`phase\`, \`what_changed\`, \`because\`, \`whose\`, and cited \`evidence\`): start with \`match_overview\` and \`key_moments\`, then inspect the phases that shaped this game \u2014 lanes (\`draft_report\`, \`lane_report\` including \`how_the_lane_went\` and \`my_rotations_before_10_00\`), economy & windows (\`farm_report\`, \`window_report\`, \`tempo_report\`, \`lineup_timing\`), objectives (\`siege_report\`, \`roshan_report\`, \`decision_points\`), and key fights (\`fight_report\`, \`fight_timeline\`, \`game_state\`). Let the replay guide which tools you call; do not force topics that did not matter here.
19896
20868
  2. Drill into the player's own decisions:
19897
- - **Deaths** (\`death_context\`): read each death as a decision using \`me.doing\`, \`moved_toward_own_fountain\`, \`in_a_fight\` / \`_outside_fights\`, \`nearby_fight\`, \`nearby_objective\`, \`allies_within_2200\`, \`traded_within_15s\`, \`ready_not_cast\`, and \`off_cooldown_without_the_mana\` (an ability under off_cooldown_without_the_mana could not be cast). Group deaths into one finding only when they share the same decision, never just a condition like "low health" or "alone".
20869
+ - **Deaths** (\`death_context\`): read each death as a decision using \`me.doing\`, \`moved_toward_own_fountain\`, \`in_a_fight\` / \`_outside_fights\`, \`nearby_fight\`, \`nearby_objective\`, \`traded_within_15s\`, \`ready_not_cast\`, and \`off_cooldown_without_the_mana\` (an ability under off_cooldown_without_the_mana could not be cast). Group deaths into one finding only when they share the same decision, never just a condition like "low health" or "alone".
19898
20870
  - **Abilities & spells** (\`hero_abilities\`, \`ability_audit\`, \`immunity_windows\`): check what Valve lists (including spell-immunity piercing) and what happened in this game (\`target_stunned_seconds\`, \`enemy_heroes_damaged_within_15s\`). A cast that damaged several enemies was not wasted because one was spell immune; an ability with \`casts_logged: false\` (auto-cast orbs/passives) was never "0 casts".
19899
20871
  - **Build & spikes** (\`build_check\`, \`power_spikes\`, \`pro_item_choices\`): weigh what killed the player against \`built_for\`, \`player_already_held_for_this_purpose\`, \`my_economy\` (\`estimated_minutes_of_my_farm\`), \`most_built_in_this_bracket\` / \`public_items_in_this_bracket\`, and \`most_built_by_pros_on_this_hero\`. Make the build a finding only when an item choice or timing contributed to what went wrong \u2014 never just for deviating from a standard build. Check Valve's \`does\` drawbacks, state which item an advised purchase replaces or follows, and keep any target minute reachable by the player's own gold.
19900
20872
  - **Supports**: inspect \`ward_report\`, \`save_report\`, and \`lane_report.how_the_lane_went.my_rotations_before_10_00\`. Compare against corpus references honestly (a reference across all ranks is context, not a bracket average or quota).
@@ -19917,7 +20889,7 @@ VERIFICATION & HONESTY RULES (enforced by code)
19917
20889
  }
19918
20890
 
19919
20891
  // lib/agent/evidence.js
19920
- import { createRequire as createRequire6 } from "node:module";
20892
+ import { createRequire as createRequire8 } from "node:module";
19921
20893
 
19922
20894
  // lib/agent/places.js
19923
20895
  var SIDES = {
@@ -19951,22 +20923,22 @@ function placeNames(lang) {
19951
20923
  }
19952
20924
 
19953
20925
  // lib/agent/evidence.js
19954
- var require7 = createRequire6(import.meta.url);
19955
- var ABILITIES7 = abilities_default;
20926
+ var require9 = createRequire8(import.meta.url);
20927
+ var ABILITIES8 = abilities_default;
19956
20928
  var ITEM_NAMES8 = names_default.items;
19957
20929
  var HERO_BY_SLUG = HEROES_BY_KEY;
19958
- var ABILITY_BY_ID = new Map(Object.values(ABILITIES7.heroes ?? {}).flat().map((a) => [a.id, a]));
20930
+ var ABILITY_BY_ID2 = new Map(Object.values(ABILITIES8.heroes ?? {}).flat().map((a) => [a.id, a]));
19959
20931
  var REF = /^[a-z_]+(?::[A-Za-z0-9_-]+){0,3}$/;
19960
- var KNOWN_ZH_NAMES = new Set([...Object.values(STATIC_HEROES).map((h) => h.nameZh), ...ABILITY_BY_ID.values()].map((v) => typeof v === "string" ? v : v?.zh).concat(Object.values(ITEM_NAMES8 ?? {}).map((i) => i?.zh)).filter(Boolean));
20932
+ var KNOWN_ZH_NAMES = new Set([...Object.values(STATIC_HEROES).map((h) => h.nameZh), ...ABILITY_BY_ID2.values()].map((v) => typeof v === "string" ? v : v?.zh).concat(Object.values(ITEM_NAMES8 ?? {}).map((i) => i?.zh)).filter(Boolean));
19961
20933
  function summaryOf(result2) {
19962
20934
  if (!result2) return null;
19963
20935
  return Object.fromEntries(Object.entries(result2).filter(([, v]) => !Array.isArray(v)));
19964
20936
  }
19965
20937
  function abilityName(key) {
19966
- const a = ABILITY_BY_ID.get(key);
20938
+ const a = ABILITY_BY_ID2.get(key);
19967
20939
  return a?.en && a?.zh ? { en: a.en, zh: a.zh } : null;
19968
20940
  }
19969
- var isUltimate = (key) => ABILITY_BY_ID.get(key)?.ult === true;
20941
+ var isUltimate = (key) => ABILITY_BY_ID2.get(key)?.ult === true;
19970
20942
  var GENERIC = {
19971
20943
  modifier_stunned: { en: "Stunned", zh: "\u7729\u6655", ru: "\u041E\u0433\u043B\u0443\u0448\u0435\u043D\u0438\u0435" },
19972
20944
  modifier_bashed: { en: "Bashed", zh: "\u91CD\u51FB\u7729\u6655", ru: "\u0411\u0430\u0448" },
@@ -20000,8 +20972,8 @@ function namesIn(value, lang) {
20000
20972
  const item = s.replace(/^item_/, "");
20001
20973
  const short = s.replace(/^modifier_/, "");
20002
20974
  if (HERO_BY_SLUG.has(s)) out[s] = L3 === "zh" ? HERO_BY_SLUG.get(s).nameZh : HERO_BY_SLUG.get(s).nameEn;
20003
- else if (ABILITY_BY_ID.has(s)) out[s] = ABILITY_BY_ID.get(s)[L3] ?? ABILITY_BY_ID.get(s).en;
20004
- else if (ABILITY_BY_ID.has(short)) out[s] = ABILITY_BY_ID.get(short)[L3] ?? ABILITY_BY_ID.get(short).en;
20975
+ else if (ABILITY_BY_ID2.has(s)) out[s] = ABILITY_BY_ID2.get(s)[L3] ?? ABILITY_BY_ID2.get(s).en;
20976
+ else if (ABILITY_BY_ID2.has(short)) out[s] = ABILITY_BY_ID2.get(short)[L3] ?? ABILITY_BY_ID2.get(short).en;
20005
20977
  else if (ITEM_NAMES8[item]) out[s] = ITEM_NAMES8[item][L3] ?? ITEM_NAMES8[item].en;
20006
20978
  else if (GENERIC[s]) out[s] = GENERIC[s][L3] ?? GENERIC[s].en;
20007
20979
  else if (tidyKey(s)) out[s] = tidyKey(s);
@@ -20045,6 +21017,9 @@ function resolveRef(trace, ref, { hero, lang = "en", match = null, bracketData }
20045
21017
  else if (kind === "abilities") {
20046
21018
  const r = heroAbilities(trace, { hero: a }, ctx);
20047
21019
  record = r.error ? null : r;
21020
+ } else if (kind === "skill_build" && a && b === void 0) {
21021
+ const r = skillBuild(trace, { hero: a }, ctx);
21022
+ record = r.error ? null : r;
20048
21023
  } else if (kind === "pro_items") {
20049
21024
  const r = proItemChoices(trace, { hero: a }, ctx);
20050
21025
  record = r.error ? null : r;
@@ -20112,12 +21087,12 @@ function resolveRef(trace, ref, { hero, lang = "en", match = null, bracketData }
20112
21087
  else if (kind === "phase" && /^\d{1,2}$/.test(b ?? "") && c === void 0) record = run("tempo_report", { hero: a })?.phases.find((x) => x.ref === ref) ?? null;
20113
21088
  else if (kind === "audit" && b) record = summaryOf(run("ability_audit", { hero: a, ability: b }));
20114
21089
  else if (kind === "deaths" && (b === void 0 || /^w\d{1,2}$/.test(b)))
20115
- record = summaryOf(run("death_context", { hero: a, ...b ? { window: Number(b.slice(1)) } : {} }));
21090
+ record = summaryOf(run("death_context", { hero: a, ...b ? { window: Number(b.slice(1)) } : {}, include_legacy_habit_counts: true }));
20116
21091
  else if (kind === "immunity") record = summaryOf(run("immunity_windows", { ...a === "radiant" || a === "dire" ? { team: a } : a === "all" ? {} : { hero: a }, ...b && c ? { watch_hero: b, watch_ability: c } : {} }));
20117
21092
  if (!record || record.ref !== ref) return null;
20118
21093
  const { tool, gaps, ...rest } = record;
20119
21094
  const places = kind === "phase" || kind === "fights" || kind === "state" || kind === "sieges" || kind === "death" || kind === "resurrection" || kind === "roshan" || kind === "decision" || kind === "lane" ? placeNames(lang) : null;
20120
- const placed = kind === "phase" ? (rest.hero_most_time_in ?? []).map((x) => x.place) : kind === "fights" ? [rest.my_team, rest.enemy].flatMap((s) => (s?.not_in_it ?? []).map((x) => x.place)) : kind === "state" ? [rest.my_team, rest.enemy].flatMap((s) => (s?.heroes ?? []).map((x) => x.place)) : kind === "sieges" ? [...rest.pushing_side_not_hitting ?? [], ...rest.owners_not_near ?? [], ...rest.me_when_it_fell ? [rest.me_when_it_fell] : []].map((x) => x.place) : kind === "death" ? (rest.allies_elsewhere ?? []).map((x) => x.place) : kind === "resurrection" ? [rest.at?.region] : kind === "roshan" ? [rest.place, ...(rest.attempt?.other_side_when_it_began ?? []).map((x) => x.place)] : kind === "decision" ? [rest.my_place] : kind === "lane" ? (rest.how_the_lane_went?.my_rotations_before_10_00?.trips ?? []).map((x) => x.destination_region) : [];
21095
+ const placed = kind === "phase" ? (rest.hero_most_time_in ?? []).map((x) => x.place) : kind === "fights" ? [rest.my_team, rest.enemy].flatMap((s) => (s?.not_in_it ?? []).map((x) => x.place)) : kind === "state" ? [rest.my_team, rest.enemy].flatMap((s) => (s?.heroes ?? []).map((x) => x.place)) : kind === "sieges" ? [...rest.pushing_side_not_hitting ?? [], ...rest.owners_not_near ?? [], ...rest.me_when_it_fell ? [rest.me_when_it_fell] : []].map((x) => x.place) : kind === "death" ? (rest.attackers_arrived_after_window_start ?? []).map((x) => x.place_at_window_start) : kind === "resurrection" ? [rest.at?.region] : kind === "roshan" ? [rest.place, ...(rest.attempt?.other_side_when_it_began ?? []).map((x) => x.place)] : kind === "decision" ? [rest.my_place] : kind === "lane" ? (rest.how_the_lane_went?.my_rotations_before_10_00?.trips ?? []).map((x) => x.destination_region) : [];
20121
21096
  return { ref, kind, record: rest, names: { ...namesIn(rest, lang), ...places ? Object.fromEntries(placed.filter(Boolean).map((p) => [p, places[p] ?? p])) : {} } };
20122
21097
  }
20123
21098
 
@@ -20602,19 +21577,97 @@ function verifyText(text, sources, accepted = []) {
20602
21577
  return { ok: problems.length === 0, problems: problems.map(({ kind, text: t6 }) => ({ kind, text: t6 })) };
20603
21578
  }
20604
21579
 
21580
+ // lib/agent/webSearch.js
21581
+ var ENDPOINT = "https://api.deepseek.com/v1/tools/search";
21582
+ var MAX_CALLS = 4;
21583
+ var RESULTS = 5;
21584
+ var TIMEOUT_MS = 15e3;
21585
+ var SUMMARY_CHARS = 800;
21586
+ var WEB_SEARCH_TOOL = {
21587
+ name: "web_search",
21588
+ description: "Search the web (DeepSeek Search) for how something in Dota 2 works or how players deal with it \u2014 an ability's mechanics, what beats a hero, why an item is built against it. Pages come back with title, url, site, date and a summary, next to this game's patch and its release date. A page is a reference, not a fact: it may be wrong, or about an older patch (before_this_game_patch). Before you use what it says, look the hero, ability or item up for this game's patch (hero_abilities, item_info, hero_info, patch_changes); where they disagree, this patch's data stands. Pages cannot be cited (no ref) and a number from them cannot be stated in the review. Ask about heroes, abilities and items, never about this match or its players. At most 4 searches.",
21589
+ input_schema: {
21590
+ type: "object",
21591
+ properties: { query: { type: "string", description: 'What to search for, at most 128 characters, e.g. "Ursa Fury Swipes counter items" or "\u718A\u6218\u58EB \u514B\u5236 \u88C5\u5907".' } },
21592
+ required: ["query"],
21593
+ additionalProperties: false
21594
+ }
21595
+ };
21596
+ var isWebSearchResult = (r) => r?.tool === "web_search";
21597
+ var NOTE = "Pages from the web, not this game's data and not checked by the site: a reference, not a fact. Check what a page says against this game's patch with hero_abilities, item_info, hero_info and patch_changes before you use it; where they disagree, the patch data stands and the page is wrong or out of date. A page dated before this_game_patch.released (before_this_game_patch) may describe an older version. Cite only the lookup tools, and state no number from these pages.";
21598
+ var CHECK_WITH = ["hero_abilities", "item_info", "hero_info", "patch_changes"];
21599
+ function createWebSearch({ apiKey = null, fetchImpl = globalThis.fetch, maxCalls = MAX_CALLS, timeoutMs = TIMEOUT_MS } = {}) {
21600
+ let calls = 0;
21601
+ const search = async (args = {}, { patch = null } = {}) => {
21602
+ const query = typeof args.query === "string" ? args.query.trim() : "";
21603
+ const base = { tool: "web_search", query };
21604
+ if (!apiKey) return { ...base, error: "web_search_not_configured" };
21605
+ if (query.length < 2 || [...query].length > 128) return { ...base, error: "query_must_be_2_to_128_characters" };
21606
+ if (/\d{6,}/.test(query)) return { ...base, error: "query_has_an_id: search for heroes, abilities and items, not this match or its players" };
21607
+ if (calls >= maxCalls) return { ...base, error: `web_search_limit_reached: ${maxCalls} searches` };
21608
+ calls += 1;
21609
+ let res;
21610
+ try {
21611
+ res = await fetchImpl(ENDPOINT, {
21612
+ method: "POST",
21613
+ headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
21614
+ body: JSON.stringify({ query, count: RESULTS }),
21615
+ signal: AbortSignal.timeout(timeoutMs)
21616
+ });
21617
+ } catch {
21618
+ return { ...base, error: "web_search_unreachable" };
21619
+ }
21620
+ if (!res.ok) return { ...base, error: `web_search_failed_${res.status}` };
21621
+ let body;
21622
+ try {
21623
+ body = await res.json();
21624
+ } catch {
21625
+ return { ...base, error: "web_search_bad_answer" };
21626
+ }
21627
+ if (!Array.isArray(body?.results)) return { ...base, error: "web_search_bad_answer" };
21628
+ const released = patch?.released ? Date.parse(patch.released) : NaN;
21629
+ const results = body.results.slice(0, RESULTS).map((r) => {
21630
+ const at = typeof r?.date === "string" ? Date.parse(r.date) : NaN;
21631
+ const date2 = Number.isFinite(at) ? r.date.slice(0, 10) : null;
21632
+ return {
21633
+ title: String(r?.title ?? ""),
21634
+ url: String(r?.url ?? ""),
21635
+ ...r?.site_name ? { site: String(r.site_name) } : {},
21636
+ date: date2,
21637
+ // Unknown (null) when either date is: an undated page is not "current".
21638
+ // Set against the page's own time, not its day: a page from the release day after the release is not older.
21639
+ before_this_game_patch: Number.isFinite(at) && Number.isFinite(released) ? at < released : null,
21640
+ summary: String(r?.summary || r?.snippet || "").replace(/\s+/g, " ").slice(0, SUMMARY_CHARS)
21641
+ };
21642
+ }).filter((r) => r.url);
21643
+ return { ...base, source: "DeepSeek Search", this_game_patch: patch ? { name: patch.name ?? null, released: patch.released ?? null, ...patch.reason ? { unknown_because: patch.reason } : {} } : null, check_with: CHECK_WITH, results, note: NOTE };
21644
+ };
21645
+ search.spend = (n) => {
21646
+ if (Number.isInteger(n) && n > 0) calls += n;
21647
+ };
21648
+ return search;
21649
+ }
21650
+ function webSearchFromEnv(env = process.env) {
21651
+ return createWebSearch({ apiKey: env.AGENT_WEB_SEARCH === "0" ? null : env.DEEPSEEK_API_KEY || null });
21652
+ }
21653
+
20605
21654
  // lib/agent/review/toolkit.js
20606
- function reviewToolkit({ trace, hero, lang, match = null }) {
21655
+ function reviewToolkit({ trace, hero, lang, match = null, webSearch = webSearchFromEnv() }) {
20607
21656
  const language = normalizeUiLang(lang);
20608
21657
  const seat = trace.heroes.find((h) => h.key === String(hero).trim().toLowerCase().replace(/^npc_dota_hero_/, "").replace(/[\s-]+/g, "_"));
20609
21658
  if (!seat) return null;
20610
- const lookups = [...TRACE_TOOLS, ...KNOWLEDGE_TOOLS];
21659
+ const lookups = [...TRACE_TOOLS, ...KNOWLEDGE_TOOLS, WEB_SEARCH_TOOL];
20611
21660
  const ctx = { match, perspective: seat.key, lang: language, ultimateOf: ultimateOf2, ultimatesOf };
20612
21661
  const knowledge = new Map(KNOWLEDGE_TOOLS.map((t6) => [t6.name, t6]));
21662
+ const pd = patchForGame(trace.match_id, match);
21663
+ const gamePatch2 = pd.exact || /hotfix/.test(pd.reason ?? "") ? { name: pd.name, released: RELEASES.find((r) => r.name === pd.name)?.rollout_by ?? null } : { name: null, released: null, reason: pd.reason ?? "patch_not_established" };
20613
21664
  return {
20614
21665
  seat,
20615
21666
  language,
20616
21667
  tools: lookups.map(({ name: name2, description, input_schema }) => ({ name: name2, description, input_schema })),
20617
- runTool: (name2, args) => roshanGapPointsToTool(knowledge.has(name2) ? { tool: name2, ...knowledge.get(name2).run(trace, args, ctx) } : runTraceTool(trace, name2, args, ctx), trace),
21668
+ /** Count n web searches already made (a resumed review's): the limit is per review, not per restart. */
21669
+ spendSearches: (n) => webSearch?.spend?.(n),
21670
+ runTool: (name2, args) => name2 === WEB_SEARCH_TOOL.name ? webSearch(args ?? {}, { patch: gamePatch2 }) : roshanGapPointsToTool(knowledge.has(name2) ? { tool: name2, ...knowledge.get(name2).run(trace, args, ctx) } : runTraceTool(trace, name2, args, ctx), trace),
20618
21671
  patch: (({ name: name2, hotfix, exact, how, reason }) => ({ name: name2, ...hotfix ? { hotfix } : {}, exact, ...how ? { known_from: how } : {}, ...exact ? {} : { reason } }))(patchForGame(trace.match_id, match)),
20619
21672
  context: { match_id: trace.match_id, player_hero: seat.key, hero_names: heroNames(trace, language), place_names: placeNames(language), ...scoreboard(match, seat.key) ? { scoreboard: scoreboard(match, seat.key) } : {} }
20620
21673
  };
@@ -21845,8 +22898,8 @@ function lookupAnswers(messages) {
21845
22898
  }
21846
22899
  return out;
21847
22900
  }
21848
- async function runDeepReview({ complete, trace, hero, lang, plan = null, match = null, signal, onEvent, maxSteps, maxToolCalls, checkpoint = null, onCheckpoint = null, translate = false }) {
21849
- const kit = reviewToolkit({ trace, hero, lang, match });
22901
+ async function runDeepReview({ complete, trace, hero, lang, plan = null, match = null, signal, onEvent, maxSteps, maxToolCalls, checkpoint = null, onCheckpoint = null, translate = false, webSearch }) {
22902
+ const kit = reviewToolkit({ trace, hero, lang, match, webSearch });
21850
22903
  if (!kit) return { status: "unknown_hero", heroes: trace.heroes.map((h) => h.key) };
21851
22904
  const { seat, language, context } = kit;
21852
22905
  const maxToolChars = AGENT_DEFAULTS.maxToolChars;
@@ -21879,6 +22932,10 @@ ${JSON.stringify(context)}`;
21879
22932
  const out = [];
21880
22933
  for (const c of calls) {
21881
22934
  let result2;
22935
+ if (c.name === WEB_SEARCH_TOOL.name) {
22936
+ out.push({ name: c.name, args: c.args ?? {}, result: { tool: "web_search", not_asked_again: true } });
22937
+ continue;
22938
+ }
21882
22939
  try {
21883
22940
  result2 = await kit.runTool(c.name, c.args ?? {});
21884
22941
  } catch {
@@ -21895,10 +22952,11 @@ ${JSON.stringify(context)}`;
21895
22952
  if (from) {
21896
22953
  firstAgain = from.first ? await again(from.first.calls) : null;
21897
22954
  runAgain = from.run ? await again(from.run.calls) : null;
21898
- const same = (t6, answers) => t6.length === answers.length && t6.every((x, i) => toolContent(x.result, maxToolChars) === answers[i]);
22955
+ const same = (t6, answers) => t6.length === answers.length && t6.every((x, i) => x.name === WEB_SEARCH_TOOL.name || toolContent(x.result, maxToolChars) === answers[i]);
21899
22956
  const firstAnswers = from.first ? lookupAnswers(from.first.messages) : [];
21900
22957
  if (from.first && !same(firstAgain, firstAnswers) || from.run && !same(runAgain, lookupAnswers(from.run.messages).slice(firstAnswers.length))) from = null;
21901
22958
  }
22959
+ if (from) kit.spendSearches([...from.first?.calls ?? [], ...from.run?.calls ?? []].filter((c) => c.name === WEB_SEARCH_TOOL.name).length);
21902
22960
  const resumed = (s) => ({ steps: s.steps, calls: s.tool_count, usage: s.usage, transcript: runAgain });
21903
22961
  if (from) onEvent?.({ type: "resumed", tools: [...from.first?.calls ?? [], ...from.run?.calls ?? []] });
21904
22962
  let first;
@@ -21920,7 +22978,7 @@ ${JSON.stringify(context)}`;
21920
22978
  }
21921
22979
  let review = first.final;
21922
22980
  let transcript = first.transcript;
21923
- const sources = () => [context, ...transcript.map((t6) => t6.result)];
22981
+ const sources = () => [context, ...transcript.map((t6) => t6.result).filter((r) => !isWebSearchResult(r))];
21924
22982
  let check = verifyReview(review, sources());
21925
22983
  const firstProblems = check.problems;
21926
22984
  let repaired = false;
@@ -21958,7 +23016,7 @@ ${JSON.stringify(context)}`;
21958
23016
  const unbacked = bad("rule");
21959
23017
  const counts = (habit, ability) => {
21960
23018
  if (HABITS[habit]?.from === "deaths") {
21961
- const d = deathContext(trace, { hero: seat.key });
23019
+ const d = deathContext(trace, { hero: seat.key, include_legacy_habit_counts: true });
21962
23020
  return d.error ? null : habitGoal(habit, d);
21963
23021
  }
21964
23022
  if (HABITS[habit]?.from !== "audit" || typeof ability !== "string") return null;
@@ -22111,15 +23169,16 @@ RULES
22111
23169
  - When the player says what they were trying to do ("my plan was to take towers early"), take that as their plan \u2014 it is theirs to say, the replay cannot show it \u2014 and answer three things in this order. One: did what they did fit it, from their own numbers \u2014 their items (build_for_plan with that plan: the first item for it and when, the gold in other items before it), where they were, the fights they were at, the buildings they damaged. Two: does the public data on these ten heroes support it (lineup_timing); when it shows no lean, say the data does not settle it. Three: where it broke \u2014 their own play, the team's (they were there and the team still took nothing, or had a window and took little in it), or what the enemy did (their fights turned into buildings; what they had finished by the time the window ended, from window_report; who on their side got richest while the team was ahead, and whether they stood by the buildings the team took, from farm_report). An item finished before a window ended is listed beside it, not proven to have ended it: say when it came, not that it closed the window. Name the one the numbers point to, and say so plainly when it was not the player's doing. Never tell the player what they "intended" when they have not said it.
22112
23170
  - tempo_report has no creeps: where the player stood is not what they were doing there. Say "pushing" only with their damage to buildings, never "farming". lineup_timing measures each hero alone: say "public games", name the heroes, and do not call a mean of five heroes the line-up's win rate.
22113
23171
  - Asked about a fight, why it was lost, or where everyone was at a moment: fight_report for the player (how many heroes each side brought, which ultimates and Black King Bars were ready, what each hero not in it was doing and whether their TP was ready), or game_state at that second. A hero not in a fight dealt and took no damage from enemy heroes in it: say so and what the replay shows them doing, never that they refused or were farming.
22114
- - Asked about a death: death_context says whether it was traded (an enemy hero died within 15 s) and where the allies not near were and what they were doing. A death not traded bought nothing; that, not being alone, is the cost to name.
23172
+ - Asked about a death (including which death mattered most or was most avoidable): call death_context for the player and inspect both sides \u2014 not only the player's own health, mana and unused spells, but enemy status and kill threat (enemy_context_at_window_start ready/cooldown abilities and key items, attackers_arrived_after_window_start, enemy_active_buffs_in_window, disables landed, enemy ultimates absorbed, nearby fights/objectives, and whether it was traded). A death not traded bought nothing; that is the cost to name.
23173
+ - Asked about skill build, ability leveling order, or ultimate timings: call skill_build for that hero.
22115
23174
  - Asked about wards or vision: death_context (observers_within_1600 at each death) and fight_report (each side's observers near each fight). A ward near a spot is not proof the spot was seen; null means the replay of this game has no ward list.
22116
23175
  - Asked why fights were won but the game was not, or what to do after a won fight: decision_points for the player (after each won fight, the enemies still dead and for how long, whether their richest hero was one of them, and whether the winners took a building, Roshan, pushed for nothing, or took nothing; and after each tier 1\u20133 tower, what its takers did next, what they lost meanwhile, and where the player was). Asked why a tower was lost: the same tool's after_a_tower_fell points. Asked whether a fight was taken into an enemy's fresh item (BKB, Blink\u2026): its fight_after_a_big_item points.
22117
23176
  - Asked about Roshan, the Aegis or a Tormentor: roshan_report for the player (each Roshan: who took it, who was there, used or expired, what each side took in the 300 s after; and when the replay kept the kill, who hit it, for how long, and where each hero of the other side stood when it began \u2014 where they stood, not what they saw). With read_from "aegis_pickups_only", no Aegis in it is not proof no Roshan died.
22118
23177
  - Asked why a tower fell, why a push failed, or about objectives: siege_report for the player (every push on a building: who hit it, which owners were near, whether it fell, where everyone else was when the push began). Being near a building is not defending it. The places it lists are from the push's start: never give them as where a hero was when the building fell. For that second, me_when_it_fell says where the player was, and game_state at fell_at where anyone else was.
22119
23178
  - What the tools list under "gaps" is unknown, not false. If the data cannot answer the question (vision, creeps, a Roshan whose Aegis nobody picked up, what teammates said), say so plainly instead of guessing; Roshan is known from roshan_report.
22120
- - Asked which death was the most avoidable, the worst, or the one that should not have happened: call death_context for the player's hero without an index and answer with the first entry of "most_left_unused". That order is fixed by a stated rule so the same question gets the same answer every time. Explain it with that record's facts. You may add that another death cost more for a reason the rule does not weigh (the state of the game), but do not replace the first entry with it. Never state that a hero was or was not in anyone's vision, or what anyone could see: give the distance a tool returned instead.
22121
- - When you advise, give a rule the player can use in their next game: the situation as they would see it on their own screen (their health and mana, who is next to them, what an enemy just used, the clock), then one action. "Be more careful" or "position better" is not advice.
22122
- - "It was ready and not pressed" is not a reason on its own: advise using an ability or item only for an effect the tools show. An ability under off_cooldown_without_the_mana could not be cast. For what the deaths have in common, quote death_context's counts (deaths_where, damage_share_in_death_windows).
23179
+ - Never state that a hero was or was not in anyone's vision, or what anyone could see: give the distance a tool returned instead.
23180
+ - When you advise, give a rule the player can use in their next game: the situation as they would see it on their own screen (their health and mana, who is next to them, what an enemy just used or holds, the clock), then one action. "Be more careful" or "position better" is not advice.
23181
+ - "It was ready and not pressed" is not a reason on its own: check enemy kill threat, disables landed, and whether the spell or item could actually change the outcome before advising its use. An ability under off_cooldown_without_the_mana could not be cast. For what the deaths have in common, quote death_context's counts (deaths_where, damage_share_in_death_windows).
22123
23182
  - Write for a player, not a programmer: never show tool or field names (ready_not_cast, controls_on_me) or engine keys (item_magic_wand, beastmaster_summon_thunderhide). Use the game's names for heroes, abilities and items.
22124
23183
  - Speak to the player as "you" throughout, never "he" or "the player".
22125
23184
  - Only Dota and this game. For anything else, say you can only help with this review.
@@ -22156,7 +23215,7 @@ Review of this game: ${review ? JSON.stringify(review) : "none yet"}`;
22156
23215
  if (run.status !== "answered" || !run.text.trim()) return { status: "no_answer", usage };
22157
23216
  let transcript = run.transcript;
22158
23217
  const checked = checkedPart(review);
22159
- const sources = () => [kit.context, checked, history.filter((h) => h.clean).map((h) => h.a), ...transcript.map((t6) => t6.result)];
23218
+ const sources = () => [kit.context, checked, history.filter((h) => h.clean).map((h) => h.a), ...transcript.map((t6) => t6.result).filter((r) => !isWebSearchResult(r))];
22160
23219
  const accepted = [...checked ? [JSON.stringify(checked)] : [], ...history.filter((h) => h.clean).map((h) => h.a)];
22161
23220
  let check = verifyText(run.text, sources(), accepted);
22162
23221
  if (!check.ok) {
@@ -23988,10 +25047,12 @@ async function replayReview(api, args) {
23988
25047
  if (!avail.can_parse) return { status: "unavailable", reason: "replay_parsing_off", message: "This server cannot fetch replays, so it cannot review this game." };
23989
25048
  const p = avail.parse ?? { status: "none" };
23990
25049
  if (p.status === "failed" && p.final) return replayGone(p.reason);
25050
+ if (p.status === "failed" && args?.retry !== true) return parseFailed(matchId, p);
23991
25051
  if (p.status !== "running") {
23992
25052
  const r = await api.prepare(matchId);
23993
25053
  if (r.status === 429 || r.status === 503 && r.body?.retryAfterSec) throw refusal2(r);
23994
25054
  if (r.body?.status === "failed" && r.body.final) return replayGone(r.body.reason);
25055
+ if (r.body?.status === "failed") return parseFailed(matchId, r.body);
23995
25056
  if (r.body?.status === "unavailable") return { status: "unavailable", reason: "replay_parsing_off", message: "This server cannot fetch replays, so it cannot review this game." };
23996
25057
  }
23997
25058
  return {
@@ -24044,6 +25105,19 @@ async function replayReview(api, args) {
24044
25105
  poll_after_sec: POLL_AFTER_SEC
24045
25106
  };
24046
25107
  }
25108
+ function parseFailed(matchId, p) {
25109
+ const reason = p?.reason ?? "parse_failed";
25110
+ const retryIn = Number.isFinite(p?.retry_in_sec) && p.retry_in_sec > 0 ? Math.ceil(p.retry_in_sec) : null;
25111
+ const waitHint = retryIn != null ? ` Wait about ${retryIn} s and call replay_review again with retry: true.` : " Call replay_review again with retry: true to try fetching the replay again.";
25112
+ return {
25113
+ status: "failed",
25114
+ stage: "parse",
25115
+ match_id: matchId,
25116
+ reason,
25117
+ ...retryIn != null ? { retry_in_sec: retryIn } : {},
25118
+ message: `Could not fetch or parse the replay right now (${reason}).${waitHint} coach_report still has the scoreboard-level review.`
25119
+ };
25120
+ }
24047
25121
  function replayGone(reason) {
24048
25122
  return reason === "replay_gone" ? { status: "replay_unavailable", reason, message: "Valve keeps replays for about two weeks; this one is gone, so there is nothing to review honestly. coach_report still has the scoreboard-level review." } : { status: "replay_unavailable", reason: reason ?? "parse_failed", message: "The replay could not be fetched or read. coach_report still has the scoreboard-level review." };
24049
25123
  }
@@ -24466,7 +25540,7 @@ init_goals();
24466
25540
 
24467
25541
  // lib/coach/matchupBrief.js
24468
25542
  var NAMES4 = names_default;
24469
- var ABILITIES8 = abilities_default;
25543
+ var ABILITIES9 = abilities_default;
24470
25544
  var CDN2 = "https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react";
24471
25545
  var DMG2 = { P: { en: "physical", zh: "\u7269\u7406" }, M: { en: "magical", zh: "\u9B54\u6CD5" }, U: { en: "pure", zh: "\u7EAF\u7CB9" } };
24472
25546
  var norm4 = (s) => String(s ?? "").toLowerCase().replace(/[\s_'’-]/g, "");
@@ -24483,7 +25557,7 @@ var itemRef = (key) => {
24483
25557
  return { key, en: it?.en ?? key, zh: it?.zh ?? key, img: `${CDN2}/items/${key}.png` };
24484
25558
  };
24485
25559
  function abilityFacts2(heroId) {
24486
- const list = ABILITIES8.heroes?.[String(heroId)];
25560
+ const list = ABILITIES9.heroes?.[String(heroId)];
24487
25561
  if (!Array.isArray(list)) return [];
24488
25562
  return list.map((a) => ({
24489
25563
  key: a.id,
@@ -24515,7 +25589,7 @@ function matchupBrief(heroQuery, vsQuery, opts = {}) {
24515
25589
  games: MATCHUP_SOURCE.games,
24516
25590
  fetched: MATCHUP_SOURCE.fetched,
24517
25591
  item_rule: ITEM_VS_SOURCE.rule,
24518
- abilities: `Valve datafeed, ${ABILITIES8.patch}`
25592
+ abilities: `Valve datafeed, ${ABILITIES9.patch}`
24519
25593
  },
24520
25594
  // null: too few pro games for a claim (see lib/coach/matchups.js).
24521
25595
  win_rate: wr ? { n: wr.n, wr: wr.wr, base: wr.base, verdict: wr.verdict } : null,
@@ -24578,8 +25652,8 @@ function matchupLines(b, lang = "en") {
24578
25652
  var patch_meta_default = { source: "STRATZ (https://stratz.com) heroStats.winDay, public matches by day and rank bracket; not filtered by game mode", attribution: { en: "Data: STRATZ", url: "https://stratz.com" }, patch: "7.42", released: "2026-11-18T08:00:00.000Z", before: { from: "2026-11-11", to: "2026-11-17", days: 7 }, after: { from: "2026-11-19", to: "2026-11-25", days: 7 }, fetched: "2026-11-27", brackets: ["all", "hg", "ca", "la", "di"], games: { all: [5209886, 5304109], hg: [621744, 596148], ca: [2121497, 2175765], la: [1827612, 1903979], di: [392121, 423123] }, heroes: { all: { "1": [805285, 411415, 657295, 316177], "2": [803297, 404800, 767179, 383479], "3": [134981, 64968, 122956, 60439], "4": [249018, 127734, 217111, 110411], "5": [794788, 413227, 746834, 395453], "6": [842155, 405948, 752516, 372836], "7": [933861, 466347, 1034675, 524030], "8": [1042038, 547819, 924301, 452019], "9": [505847, 262522, 429620, 219449], "10": [217195, 104878, 287547, 134316], "11": [604881, 265940, 580389, 274781], "12": [551696, 295691, 776578, 398573], "13": [149339, 69053, 152861, 72872], "14": [1561147, 796311, 1589500, 772894], "15": [358725, 181479, 318380, 159167], "16": [242494, 121948, 498628, 259491], "17": [287253, 136078, 309877, 151534], "18": [486291, 249773, 624521, 328441], "19": [236489, 106507, 214566, 99259], "20": [507639, 272658, 476560, 257125], "21": [855488, 413474, 780300, 385351], "22": [795759, 400777, 704297, 345983], "23": [239172, 115439, 253604, 127373], "25": [676764, 315119, 498841, 219243], "26": [1262046, 609545, 1161605, 567131], "27": [730081, 377469, 716441, 380215], "28": [337901, 168725, 315617, 160056], "29": [543586, 272947, 488627, 251454], "30": [842109, 440180, 811147, 421194], "31": [487494, 255585, 494293, 262353], "32": [373086, 195376, 775625, 434845], "33": [267586, 134184, 206280, 100269], "34": [304628, 140687, 240317, 108099], "35": [1197231, 604885, 1207263, 613833], "36": [739465, 377377, 598259, 288334], "37": [284229, 141639, 289945, 140111], "38": [112848, 50735, 232872, 114958], "39": [445517, 209098, 471456, 227984], "40": [416003, 199973, 507455, 249146], "41": [451210, 223423, 382973, 190948], "42": [705078, 392717, 707649, 392988], "43": [248794, 120278, 493253, 227485], "44": [852483, 446152, 1143852, 628061], "45": [263724, 130120, 451371, 206559], "46": [239042, 109584, 188637, 86048], "47": [505070, 245656, 454720, 220483], "48": [568658, 288586, 615082, 302749], "49": [649100, 342435, 495009, 249573], "50": [252010, 126736, 483552, 260002], "51": [147617, 71184, 172243, 86736], "52": [141480, 73087, 138792, 69136], "53": [474396, 206635, 435230, 185121], "54": [596136, 304230, 592337, 294301], "55": [202599, 102200, 160409, 82183], "56": [310022, 154927, 313971, 161779], "57": [125500, 63186, 208770, 112978], "58": [150372, 73361, 151579, 76276], "59": [282975, 131455, 341486, 151757], "60": [318288, 162333, 325752, 163443], "61": [141211, 69337, 205634, 106e3], "62": [332108, 166956, 290207, 138635], "63": [338629, 164433, 354430, 179131], "64": [425513, 208616, 413249, 206660], "65": [64189, 27992, 104052, 48002], "66": [34258, 14733, 67894, 32541], "67": [449163, 240985, 400146, 216450], "68": [426230, 219928, 572557, 306485], "69": [264510, 126462, 216872, 100628], "70": [395864, 193532, 329974, 159355], "71": [917061, 467015, 811731, 384438], "72": [228921, 107190, 241477, 106711], "73": [172424, 82371, 159656, 76783], "74": [1000158, 506588, 972478, 481396], "75": [524547, 266889, 546176, 288218], "76": [538557, 283062, 352477, 166638], "77": [81600, 39663, 300415, 155319], "78": [99901, 50067, 84800, 42428], "79": [108682, 47864, 212284, 101190], "80": [150907, 72401, 86786, 38291], "81": [262059, 136770, 635876, 316740], "82": [126985, 65612, 152540, 83879], "83": [104370, 46872, 111618, 51399], "84": [1068431, 554211, 974120, 491186], "85": [498616, 247656, 638742, 315735], "86": [1059227, 524430, 1032381, 504318], "87": [351495, 175047, 346902, 177100], "88": [521638, 276549, 504191, 259903], "89": [100650, 50611, 159832, 77561], "90": [224750, 107479, 183221, 85389], "91": [218192, 106928, 192197, 90823], "92": [86548, 43913, 96538, 51016], "93": [731249, 369054, 623614, 311164], "94": [156348, 79574, 166933, 89537], "95": [208715, 108510, 250650, 136388], "96": [285222, 145627, 232405, 114761], "97": [560237, 272972, 551597, 281042], "98": [290189, 134707, 207916, 94415], "99": [432989, 222128, 438e3, 225095], "100": [244443, 115966, 225675, 109589], "101": [625663, 311442, 588675, 291210], "102": [169770, 88223, 572103, 316118], "103": [67840, 33728, 139218, 70470], "104": [725189, 375057, 663130, 337367], "105": [709371, 354983, 539032, 267055], "106": [286657, 137036, 216892, 100449], "107": [188348, 90735, 143508, 65749], "108": [243107, 119779, 206484, 105317], "109": [194736, 90281, 195587, 91178], "110": [233788, 119227, 164727, 80516], "111": [187540, 91665, 195119, 97026], "112": [263823, 129805, 224350, 112881], "113": [284113, 141954, 242826, 120106], "114": [325776, 151132, 473527, 240500], "119": [339118, 163927, 301025, 145672], "120": [153725, 69686, 138731, 63393], "121": [319919, 166594, 355039, 188995], "123": [515598, 240924, 464133, 219523], "126": [187340, 91688, 235229, 116813], "128": [425914, 207174, 320112, 144557], "129": [214783, 102817, 231902, 114563], "131": [221852, 105559, 229470, 111851], "135": [355529, 184118, 277864, 142221], "136": [250824, 121848, 244782, 122510], "137": [184425, 93866, 266169, 136236], "138": [172895, 85393, 169015, 87870], "145": [220104, 99076, 208602, 94400], "155": [94361, 44418, 92791, 44376] }, hg: { "1": [92478, 47048, 80241, 38854], "2": [85189, 44154, 78816, 40367], "3": [16693, 7690, 14951, 6956], "4": [57784, 29346, 51645, 25981], "5": [104688, 55841, 97939, 53397], "6": [117481, 58123, 106735, 54256], "7": [118546, 57749, 119307, 58607], "8": [123497, 63763, 104545, 51910], "9": [38173, 19970, 34663, 18035], "10": [29702, 14470, 32823, 16012], "11": [118518, 52883, 106880, 50037], "12": [73731, 39670, 86896, 45560], "13": [16615, 7381, 15667, 7084], "14": [176298, 90810, 165330, 81490], "15": [51847, 26304, 46983, 23406], "16": [33610, 17681, 39431, 21006], "17": [37141, 17603, 36079, 17207], "18": [57113, 28854, 61231, 31376], "19": [34206, 15751, 29841, 13682], "20": [55155, 30082, 50602, 27613], "21": [99894, 49286, 89894, 44819], "22": [94897, 47098, 82818, 39933], "23": [29137, 13842, 26632, 13024], "25": [97398, 44639, 81283, 35814], "26": [140764, 68158, 123769, 60525], "27": [93778, 48428, 88632, 47068], "28": [40280, 20630, 36034, 18897], "29": [44953, 23027, 39334, 20412], "30": [88421, 46837, 82182, 43499], "31": [46902, 24552, 43653, 23071], "32": [57897, 30376, 81750, 45228], "33": [33882, 16160, 28046, 13145], "34": [43696, 19217, 36781, 15833], "35": [156690, 81682, 152209, 79102], "36": [85758, 45105, 72737, 36165], "37": [31663, 16031, 29356, 14236], "38": [15451, 7032, 19340, 9203], "39": [43169, 20395, 42095, 20211], "40": [51565, 25083, 52207, 25796], "41": [54382, 26971, 48654, 24184], "42": [78026, 44235, 72318, 41061], "43": [39317, 18755, 51324, 24264], "44": [136425, 72412, 143523, 78115], "45": [31251, 14609, 45310, 20209], "46": [34327, 15636, 28635, 13012], "47": [98176, 48091, 90328, 44041], "48": [63628, 32899, 70466, 36195], "49": [50506, 26994, 41455, 21302], "50": [27299, 13285, 37183, 19153], "51": [15496, 7541, 16527, 8456], "52": [16656, 8591, 14990, 7645], "53": [66165, 30131, 59939, 27358], "54": [55883, 27885, 57748, 28606], "55": [18086, 9131, 15805, 7982], "56": [60373, 30316, 60869, 31511], "57": [14901, 7319, 16387, 8574], "58": [27014, 13322, 25472, 13028], "59": [57107, 27029, 63215, 29357], "60": [23578, 11246, 23286, 11247], "61": [31774, 15879, 38146, 19494], "62": [44007, 21428, 38753, 18168], "63": [55766, 27578, 55676, 28591], "64": [48261, 24405, 45101, 23234], "65": [8213, 3555, 8782, 4010], "66": [5399, 2220, 7143, 3215], "67": [52525, 28853, 48390, 26278], "68": [46225, 24002, 49071, 26362], "69": [23648, 11232, 20270, 9379], "70": [49138, 22698, 44075, 20164], "71": [115308, 59229, 105981, 51308], "72": [19309, 9033, 18615, 8452], "73": [21025, 10367, 19055, 9286], "74": [106279, 52010, 96002, 45579], "75": [52972, 28482, 51617, 28308], "76": [50486, 24558, 36614, 16423], "77": [10262, 4771, 23831, 12371], "78": [10661, 5202, 9042, 4364], "79": [11663, 4759, 16052, 6975], "80": [19176, 9239, 11043, 4884], "81": [42144, 22529, 77643, 40868], "82": [25802, 13262, 28120, 15418], "83": [14223, 6452, 13934, 6522], "84": [131495, 70216, 116009, 60117], "85": [54250, 26953, 59717, 29627], "86": [75980, 36915, 70973, 33765], "87": [23714, 11424, 21865, 10787], "88": [42335, 22048, 39418, 20302], "89": [21760, 11053, 31611, 16017], "90": [36197, 16538, 30208, 13569], "91": [27793, 13099, 24459, 11456], "92": [11912, 5760, 12449, 6417], "93": [65798, 34528, 57061, 29862], "94": [19727, 10294, 19278, 10576], "95": [37265, 20059, 38197, 21353], "96": [22793, 11872, 18620, 9559], "97": [32347, 15224, 29111, 14199], "98": [30071, 14244, 22934, 10615], "99": [79601, 43795, 73555, 40480], "100": [20721, 9345, 18754, 8708], "101": [81871, 41459, 75249, 37482], "102": [23357, 12102, 38729, 21423], "103": [9033, 4418, 17601, 8733], "104": [76548, 39857, 67918, 34695], "105": [89971, 44603, 66983, 32792], "106": [25680, 11676, 21718, 9419], "107": [14421, 6404, 11690, 4792], "108": [20966, 10887, 19145, 10062], "109": [30944, 14589, 32266, 15224], "110": [16557, 8298, 13222, 6176], "111": [16865, 7686, 15933, 7153], "112": [25865, 12450, 22474, 10932], "113": [46012, 22180, 38411, 18197], "114": [46157, 21839, 53556, 26581], "119": [37374, 17682, 32909, 15490], "120": [13531, 5877, 12977, 5588], "121": [24188, 12074, 23645, 12163], "123": [64211, 29462, 57239, 26936], "126": [22295, 10475, 23214, 11086], "128": [32854, 15513, 27403, 12411], "129": [17624, 8316, 17077, 8280], "131": [18165, 8288, 17541, 8228], "135": [26745, 13395, 22137, 10951], "136": [44117, 20795, 41031, 19938], "137": [22737, 11337, 26775, 13262], "138": [29201, 14865, 27836, 14725], "145": [28778, 13395, 27203, 12575], "155": [10092, 4539, 9632, 4267] }, ca: { "1": [325285, 166364, 279613, 135346], "2": [321774, 163416, 311585, 157777], "3": [55923, 26671, 51697, 25197], "4": [102198, 52295, 91614, 46205], "5": [345477, 181386, 333935, 178201], "6": [365187, 178371, 331312, 165574], "7": [374997, 185814, 416535, 208590], "8": [417385, 218999, 369653, 182465], "9": [196228, 102190, 177711, 91383], "10": [88247, 42861, 119929, 56452], "11": [271085, 120811, 262584, 124907], "12": [232960, 125010, 334634, 172355], "13": [53435, 24091, 54041, 25006], "14": [693103, 355770, 700399, 342356], "15": [142197, 72192, 131182, 66035], "16": [105954, 53806, 178574, 93731], "17": [113840, 53940, 120764, 58508], "18": [179407, 91838, 227347, 118908], "19": [94670, 42284, 85980, 39190], "20": [209415, 114020, 198730, 108738], "21": [341840, 164115, 316574, 154741], "22": [334171, 170553, 301372, 149749], "23": [95380, 45186, 97302, 47914], "25": [269827, 124922, 212208, 92676], "26": [536793, 259333, 499790, 243533], "27": [318981, 165422, 316538, 168301], "28": [131216, 66455, 122035, 62628], "29": [211306, 107937, 191471, 99781], "30": [365618, 192107, 357830, 187510], "31": [180941, 95275, 184398, 98569], "32": [164328, 85769, 307009, 172364], "33": [112351, 55297, 95426, 46514], "34": [123151, 55888, 102636, 45461], "35": [536592, 272771, 552367, 282351], "36": [298010, 152040, 251218, 120151], "37": [125852, 63594, 126833, 61909], "38": [46231, 20265, 78758, 37797], "39": [175659, 82168, 182033, 87430], "40": [190810, 91318, 219615, 108102], "41": [197639, 98122, 173048, 86173], "42": [285489, 161383, 284888, 160011], "43": [98812, 47861, 187962, 87619], "44": [388019, 204618, 481115, 265957], "45": [108998, 53372, 192772, 87598], "46": [100363, 45608, 83890, 37779], "47": [223279, 107347, 206051, 99101], "48": [213833, 109084, 256846, 127524], "49": [218200, 116053, 176796, 89863], "50": [104770, 52351, 182290, 97427], "51": [59769, 28768, 70703, 35926], "52": [54694, 28286, 55444, 27670], "53": [210698, 90487, 198706, 84072], "54": [217569, 110392, 229642, 113953], "55": [75479, 37907, 65668, 33462], "56": [140032, 69554, 144182, 74106], "57": [50703, 25374, 73335, 39231], "58": [64808, 31685, 65003, 32710], "59": [108013, 49635, 139342, 61613], "60": [97560, 48762, 102712, 50693], "61": [61898, 30088, 88403, 45312], "62": [133340, 65026, 121075, 56342], "63": [149676, 72687, 156484, 78880], "64": [189312, 93857, 183558, 93054], "65": [26443, 11237, 36433, 16723], "66": [15491, 6487, 26523, 12239], "67": [194004, 104814, 183420, 99955], "68": [184772, 95892, 226254, 122839], "69": [92268, 43262, 80750, 36807], "70": [140617, 68446, 120440, 57690], "71": [384382, 194061, 353007, 166970], "72": [87861, 40757, 93243, 41324], "73": [75823, 36570, 71216, 34539], "74": [402636, 202466, 392305, 193712], "75": [230017, 118260, 240639, 128235], "76": [190492, 98909, 134494, 63151], "77": [32619, 15288, 107821, 55480], "78": [36350, 17906, 31314, 15350], "79": [40874, 17733, 74543, 34756], "80": [64868, 31015, 38110, 16423], "81": [112001, 59318, 273962, 137762], "82": [51969, 26482, 63433, 34475], "83": [47422, 20998, 50991, 23421], "84": [507852, 266011, 472152, 239658], "85": [216835, 108074, 274475, 135772], "86": [396789, 195388, 386735, 187629], "87": [123227, 60461, 122035, 61505], "88": [203641, 107644, 193651, 99337], "89": [44423, 22288, 74995, 36137], "90": [93445, 44405, 79806, 36707], "91": [90537, 44251, 83128, 39269], "92": [33942, 16957, 38990, 20150], "93": [282371, 143682, 248482, 125495], "94": [71444, 37125, 75426, 41141], "95": [81577, 43115, 92694, 51324], "96": [104658, 53507, 86429, 42798], "97": [202494, 97388, 195098, 97547], "98": [107860, 49928, 81067, 36742], "99": [198095, 101526, 197719, 102603], "100": [87718, 40721, 81841, 38844], "101": [274009, 136893, 258951, 128484], "102": [69429, 36224, 198265, 110596], "103": [27177, 13250, 59260, 29857], "104": [292518, 151192, 270040, 137566], "105": [296429, 147811, 233098, 114590], "106": [99271, 46055, 81776, 36966], "107": [63470, 29731, 51074, 22785], "108": [100992, 50756, 90558, 46798], "109": [81117, 37398, 84634, 39112], "110": [80767, 40702, 61135, 29567], "111": [70153, 33371, 73053, 35800], "112": [98731, 47998, 88618, 43938], "113": [121682, 60548, 107489, 52928], "114": [127989, 58891, 174079, 87430], "119": [128606, 61124, 117883, 56391], "120": [52013, 23193, 48623, 21739], "121": [113521, 59247, 122148, 64755], "123": [204045, 95346, 192319, 91080], "126": [68040, 33092, 81444, 39751], "128": [150517, 72549, 122179, 55176], "129": [74166, 35638, 77847, 38361], "131": [78162, 36547, 81726, 39300], "135": [117591, 60956, 96223, 49325], "136": [100201, 48144, 98628, 48907], "137": [72411, 36893, 99780, 51212], "138": [73019, 36412, 72157, 37777], "145": [85555, 38358, 82400, 36956], "155": [34795, 15943, 35495, 16688] }, la: { "1": [296422, 151853, 230799, 110083], "2": [291605, 144814, 276931, 136078], "3": [42885, 21057, 40747, 20588], "4": [55534, 28558, 46635, 24100], "5": [271931, 139450, 251486, 131237], "6": [260188, 123141, 223093, 109472], "7": [335752, 170011, 384292, 197669], "8": [366830, 194677, 328101, 158150], "9": [210328, 109210, 172149, 87581], "10": [70464, 33519, 102055, 46715], "11": [157983, 67111, 156222, 74187], "12": [184276, 98627, 280310, 142020], "13": [53310, 25133, 58021, 28365], "14": [544211, 275092, 573932, 277131], "15": [123330, 62236, 106669, 53052], "16": [76602, 37350, 210358, 108589], "17": [100527, 47626, 113899, 56318], "18": [165063, 84954, 233749, 124411], "19": [74827, 33522, 69324, 32359], "20": [177167, 94120, 164274, 88269], "21": [316422, 152183, 286291, 141560], "22": [274640, 139088, 240441, 119168], "23": [87184, 42783, 99559, 50920], "25": [223830, 105394, 145318, 63891], "26": [471519, 227110, 436750, 213322], "27": [256096, 132437, 252381, 133946], "28": [104757, 51594, 97581, 48916], "29": [205510, 101898, 182090, 92919], "30": [314793, 163993, 304862, 156876], "31": [198985, 104664, 206382, 109911], "32": [112971, 59465, 296005, 166988], "33": [84507, 43421, 61854, 30396], "34": [98774, 46845, 74676, 34405], "35": [387658, 192250, 386795, 194629], "36": [264606, 132549, 204156, 95455], "37": [103e3, 50716, 106308, 50921], "38": [32732, 14576, 93475, 46701], "39": [177412, 83293, 192679, 93584], "40": [139280, 67034, 187802, 91958], "41": [157057, 77327, 128180, 63804], "42": [257651, 141588, 262595, 144408], "43": [79852, 38753, 193050, 87754], "44": [241525, 124201, 382799, 210753], "45": [93575, 47328, 170093, 78555], "46": [75421, 34676, 56991, 26224], "47": [132020, 64154, 115677, 56284], "48": [214507, 107600, 222585, 107229], "49": [258022, 136349, 182413, 90972], "50": [88998, 45521, 201021, 109278], "51": [50412, 24072, 63962, 31832], "52": [45560, 23752, 48367, 23967], "53": [149818, 63597, 137214, 56306], "54": [231743, 119647, 221695, 110475], "55": [73586, 37112, 57192, 29644], "56": [77473, 38825, 78994, 40627], "57": [40455, 20873, 86843, 47650], "58": [39596, 18985, 42889, 21381], "59": [63813, 29241, 84178, 36056], "60": [124725, 65302, 125368, 64073], "61": [28733, 13965, 54028, 28080], "62": [106719, 55195, 92930, 45227], "63": [98391, 47122, 105921, 53193], "64": [151650, 72806, 150259, 73619], "65": [17392, 7480, 38294, 17520], "66": [8691, 3838, 22582, 11176], "67": [161972, 86055, 136553, 73342], "68": [156758, 80826, 233735, 125119], "69": [106071, 51011, 86095, 40057], "70": [133223, 66310, 102978, 50855], "71": [323369, 165351, 277725, 130296], "72": [92050, 43120, 101471, 44606], "73": [55484, 25897, 53104, 25194], "74": [381587, 195824, 380257, 190122], "75": [196436, 97795, 207799, 107952], "76": [222190, 119963, 140296, 67575], "77": [23487, 11451, 122611, 63350], "78": [36295, 18283, 30737, 15563], "79": [38643, 17418, 87717, 42846], "80": [47557, 22844, 28044, 12584], "81": [64589, 33291, 206302, 99810], "82": [31803, 16680, 43073, 24016], "83": [30056, 13484, 35645, 16268], "84": [355533, 180789, 323472, 160292], "85": [180789, 89784, 245533, 121435], "86": [462420, 230271, 454579, 223444], "87": [154382, 77889, 155671, 80228], "88": [213475, 113554, 208073, 107152], "89": [19837, 9747, 37902, 17739], "90": [65436, 32124, 52035, 25087], "91": [72504, 35868, 62518, 29598], "92": [25106, 13262, 30456, 16590], "93": [293793, 145255, 248324, 121296], "94": [49668, 24537, 57187, 30276], "95": [45876, 23603, 67541, 36930], "96": [101176, 50531, 76253, 36409], "97": [256765, 126447, 257422, 132899], "98": [109072, 50352, 77051, 34684], "99": [96267, 46190, 104288, 50484], "100": [97669, 47104, 91858, 45409], "101": [210583, 104393, 199173, 98174], "102": [54693, 28628, 253430, 139946], "103": [17955, 9312, 44745, 22981], "104": [262883, 136301, 237250, 121142], "105": [245694, 123807, 186141, 93100], "106": [114252, 55772, 83458, 39780], "107": [76749, 37799, 57975, 27269], "108": [95455, 45813, 79123, 39813], "109": [55695, 25236, 55292, 25568], "110": [97823, 50554, 66208, 32679], "111": [72766, 36755, 79455, 40463], "112": [94178, 46744, 81174, 41503], "113": [82562, 42232, 71677, 36458], "114": [98609, 45460, 166285, 85637], "119": [122080, 59851, 110145, 53853], "120": [60229, 27493, 52615, 24427], "121": [136941, 71917, 156492, 84005], "123": [183518, 86015, 163112, 77250], "126": [67331, 33582, 92337, 46928], "128": [184646, 90740, 134635, 60796], "129": [89615, 43085, 101021, 50137], "131": [87936, 42586, 94886, 46780], "135": [154974, 80720, 119608, 61652], "136": [70794, 34963, 72184, 36875], "137": [59804, 30740, 98523, 50558], "138": [49347, 23758, 50233, 25647], "145": [74736, 32900, 70929, 31855], "155": [31638, 15331, 32808, 16185] }, di: { "1": [66403, 33678, 47039, 22535], "2": [56515, 27369, 51864, 24858], "3": [10555, 5369, 9585, 4884], "4": [8908, 4650, 7937, 4037], "5": [50526, 25219, 45100, 22863], "6": [40542, 18585, 33630, 16113], "7": [74546, 37721, 88713, 46380], "8": [71949, 37840, 62738, 29180], "9": [49152, 25047, 36439, 18009], "10": [17504, 8489, 24109, 10869], "11": [23492, 9508, 24642, 11442], "12": [40334, 21183, 56335, 28719], "13": [15794, 7838, 18231, 9178], "14": [111292, 56073, 119539, 57026], "15": [23615, 11744, 20145, 9837], "16": [14537, 7109, 60264, 30994], "17": [22994, 10867, 29830, 15006], "18": [44866, 23333, 62793, 33687], "19": [19731, 8891, 20168, 9666], "20": [28719, 14696, 27310, 14337], "21": [73508, 35960, 68302, 34434], "22": [50584, 24986, 42614, 20850], "23": [17133, 8369, 23137, 11881], "25": [42770, 20199, 21367, 9262], "26": [87186, 42281, 80495, 39548], "27": [42788, 21715, 44386, 23374], "28": [19765, 9420, 18558, 9019], "29": [39778, 18924, 33949, 16850], "30": [57868, 29372, 54246, 27131], "31": [48329, 24944, 51343, 26521], "32": [19703, 10400, 72656, 40336], "33": [22564, 12643, 12094, 6099], "34": [23963, 11860, 16504, 8004], "35": [48402, 23083, 48958, 24110], "36": [54633, 26961, 37078, 16868], "37": [17077, 8158, 20876, 9911], "38": [8690, 4195, 34930, 18099], "39": [35998, 16803, 44498, 21887], "40": [20164, 9675, 36681, 17838], "41": [25700, 12646, 20851, 10638], "42": [39827, 20971, 45807, 24338], "43": [19230, 9391, 48143, 21556], "44": [31297, 15613, 82655, 44396], "45": [18920, 9609, 34811, 16408], "46": [16842, 7765, 11830, 5544], "47": [23068, 11499, 19754, 9438], "48": [58133, 28954, 48919, 23180], "49": [71768, 37572, 43338, 21379], "50": [21313, 11015, 55996, 30677], "51": [11792, 5833, 15102, 7610], "52": [13290, 7033, 14860, 7390], "53": [30861, 13763, 27325, 11635], "54": [52259, 26600, 45356, 22349], "55": [24104, 12548, 16514, 8609], "56": [14369, 7342, 16061, 8371], "57": [9371, 4938, 26422, 14777], "58": [8720, 4211, 12414, 6145], "59": [15032, 6963, 17515, 7351], "60": [36574, 19371, 34956, 17828], "61": [5147, 2512, 14160, 7395], "62": [33504, 18117, 27983, 14306], "63": [18279, 8716, 22790, 11420], "64": [22148, 10525, 24197, 11607], "65": [4164, 1966, 16215, 7646], "66": [1987, 984, 9091, 4732], "67": [26243, 13679, 21520, 11425], "68": [25004, 12511, 54100, 27356], "69": [32469, 16161, 23777, 11449], "70": [31939, 16211, 23305, 11590], "71": [67481, 35032, 53973, 25599], "72": [20019, 9458, 22601, 9709], "73": [9003, 4120, 9605, 4527], "74": [86546, 45178, 86167, 43634], "75": [32825, 16105, 37052, 18938], "76": [57626, 31117, 31459, 15039], "77": [7432, 3899, 40376, 21033], "78": [13172, 6896, 11290, 5931], "79": [9351, 4285, 28852, 14217], "80": [12257, 5971, 6618, 3034], "81": [9257, 4694, 39492, 18836], "82": [7267, 4005, 10517, 5937], "83": [4798, 2220, 6881, 3169], "84": [48504, 23874, 43458, 21212], "85": [34177, 16672, 49497, 24230], "86": [108594, 54368, 107998, 53653], "87": [41675, 21278, 42255, 22067], "88": [52299, 28128, 54377, 28616], "89": [3514, 1766, 7015, 3376], "90": [16296, 8349, 12435, 6083], "91": [20173, 10272, 15988, 7730], "92": [8377, 4610, 10942, 6071], "93": [69597, 35073, 55968, 27345], "94": [6677, 3203, 9390, 4726], "95": [8155, 4128, 17075, 9213], "96": [17727, 8563, 12316, 5806], "97": [57161, 28173, 62532, 32715], "98": [32076, 14762, 20844, 9523], "99": [11830, 5444, 16271, 7611], "100": [28665, 14077, 27405, 13792], "101": [39801, 19431, 40594, 19972], "102": [9982, 5063, 71686, 38870], "103": [4823, 2534, 12217, 6289], "104": [46738, 23975, 41854, 20875], "105": [57835, 29104, 40522, 20642], "106": [35742, 17821, 22981, 11144], "107": [25421, 12947, 18116, 8790], "108": [16051, 7446, 12905, 6273], "109": [14883, 6953, 14765, 7012], "110": [28251, 14569, 18459, 9354], "111": [19951, 10288, 22108, 11544], "112": [31904, 16342, 26109, 13636], "113": [18781, 9731, 15741, 8015], "114": [21663, 10266, 48546, 25664], "119": [36449, 18373, 32388, 16313], "120": [22534, 10545, 19524, 9274], "121": [36946, 19388, 47675, 25542], "123": [46113, 21895, 38536, 18278], "126": [19806, 9771, 31756, 16018], "128": [47394, 23377, 29601, 13284], "129": [24513, 11639, 30768, 15172], "131": [27296, 13509, 30695, 15364], "135": [44005, 22837, 32815, 16794], "136": [16970, 8636, 19102, 9917], "137": [18085, 9454, 33822, 17653], "138": [9987, 4678, 11134, 5652], "145": [20256, 9024, 20779, 9495], "155": [10268, 5113, 10533, 5220] } } };
24579
25653
 
24580
25654
  // lib/patch/data.js
24581
- import { createRequire as createRequire7 } from "node:module";
24582
- var require8 = createRequire7(import.meta.url);
25655
+ import { createRequire as createRequire9 } from "node:module";
25656
+ var require10 = createRequire9(import.meta.url);
24583
25657
  var NOTES2 = patch_notes_default;
24584
25658
  var META = patch_meta_default;
24585
25659
  var NAMES5 = names_default;