From bd473ccd40a2a1b521f3a326379a77b347572abe Mon Sep 17 00:00:00 2001 From: poecco Date: Sat, 19 Aug 2023 13:58:19 +0300 Subject: [PATCH 1/3] added aliases for heroes --- packages/dota/src/dota/lib/heroes.ts | 106 +++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) diff --git a/packages/dota/src/dota/lib/heroes.ts b/packages/dota/src/dota/lib/heroes.ts index b413c528..a0b3dc42 100644 --- a/packages/dota/src/dota/lib/heroes.ts +++ b/packages/dota/src/dota/lib/heroes.ts @@ -4,10 +4,12 @@ const heroes = { npc_dota_hero_antimage: { id: 1, localized_name: 'Anti-Mage', + alias: ['am', 'magina', 'andy'], }, npc_dota_hero_axe: { id: 2, localized_name: 'Axe', + alias: ['khan'], }, npc_dota_hero_bane: { id: 3, @@ -16,46 +18,57 @@ const heroes = { npc_dota_hero_bloodseeker: { id: 4, localized_name: 'Bloodseeker', + alias: ['bs', 'blood', 'seeker'], }, npc_dota_hero_crystal_maiden: { id: 5, localized_name: 'Crystal Maiden', + alias: ['cm', 'crystal', 'maiden', 'rylai'], }, npc_dota_hero_drow_ranger: { id: 6, localized_name: 'Drow Ranger', + alias: ['drow', 'traxex', 'trax'], }, npc_dota_hero_earthshaker: { id: 7, localized_name: 'Earthshaker', + alias: ['es', 'shaker'], }, npc_dota_hero_juggernaut: { id: 8, localized_name: 'Juggernaut', + alias: ['jugg', 'yunero'], }, npc_dota_hero_mirana: { id: 9, localized_name: 'Mirana', + alias: ['mira', 'potm'], }, npc_dota_hero_morphling: { id: 10, localized_name: 'Morphling', + alias: ['morph'], }, npc_dota_hero_nevermore: { id: 11, localized_name: 'Shadow Fiend', + alias: ['sf', 'nevermore'], }, npc_dota_hero_phantom_lancer: { id: 12, localized_name: 'Phantom Lancer', + alias: ['pl', 'lancer'], }, npc_dota_hero_puck: { id: 13, localized_name: 'Puck', + alias: ['faerie'], }, npc_dota_hero_pudge: { id: 14, localized_name: 'Pudge', + alias: ['butcher'], }, npc_dota_hero_razor: { id: 15, @@ -64,10 +77,12 @@ const heroes = { npc_dota_hero_sand_king: { id: 16, localized_name: 'Sand King', + alias: ['sk', 'sand', 'crixalis', 'crix'], }, npc_dota_hero_storm_spirit: { id: 17, localized_name: 'Storm Spirit', + alias: ['storm', 'raijin'], }, npc_dota_hero_sven: { id: 18, @@ -76,22 +91,27 @@ const heroes = { npc_dota_hero_tiny: { id: 19, localized_name: 'Tiny', + alias: ['tony'], }, npc_dota_hero_vengefulspirit: { id: 20, localized_name: 'Vengeful Spirit', + alias: ['venge', 'vengeful'], }, npc_dota_hero_windrunner: { id: 21, localized_name: 'Windranger', + alias: ['wr', 'wind', 'windrunner', 'lyralei'], }, npc_dota_hero_zuus: { id: 22, localized_name: 'Zeus', + alias: ['zuus'], }, npc_dota_hero_kunkka: { id: 23, localized_name: 'Kunkka', + alias: ['admiral', 'captain'], }, npc_dota_hero_lina: { id: 25, @@ -104,18 +124,22 @@ const heroes = { npc_dota_hero_shadow_shaman: { id: 27, localized_name: 'Shadow Shaman', + alias: ['ss', 'shaman', 'rhasta'], }, npc_dota_hero_slardar: { id: 28, localized_name: 'Slardar', + alias: ['slard'], }, npc_dota_hero_tidehunter: { id: 29, localized_name: 'Tidehunter', + alias: ['tide'], }, npc_dota_hero_witch_doctor: { id: 30, localized_name: 'Witch Doctor', + alias: ['wd', 'doctor', 'voljin'], }, npc_dota_hero_lich: { id: 31, @@ -124,54 +148,67 @@ const heroes = { npc_dota_hero_riki: { id: 32, localized_name: 'Riki', + alias: ['sa', 'rikimaru'], }, npc_dota_hero_enigma: { id: 33, localized_name: 'Enigma', + alias: ['darchrow'], }, npc_dota_hero_tinker: { id: 34, localized_name: 'Tinker', + alias: ['tink', 'boush'], }, npc_dota_hero_sniper: { id: 35, localized_name: 'Sniper', + alias: ['kardel'], }, npc_dota_hero_necrolyte: { id: 36, localized_name: 'Necrophos', + alias: ['necro', 'necrolyte'], }, npc_dota_hero_warlock: { id: 37, localized_name: 'Warlock', + alias: ['lock'], }, npc_dota_hero_beastmaster: { id: 38, localized_name: 'Beastmaster', + alias: ['bm', 'beast', 'rexxar'], }, npc_dota_hero_queenofpain: { id: 39, localized_name: 'Queen of Pain', + alias: ['qop', 'queen', 'akasha'], }, npc_dota_hero_venomancer: { id: 40, localized_name: 'Venomancer', + alias: ['veno', 'mancer'], }, npc_dota_hero_faceless_void: { id: 41, localized_name: 'Faceless Void', + alias: ['fv', 'faceless', 'void'], }, npc_dota_hero_skeleton_king: { id: 42, localized_name: 'Wraith King', + alias: ['wk', 'wraith', 'king', 'skeleton', 'leoric', 'leo'], }, npc_dota_hero_death_prophet: { id: 43, localized_name: 'Death Prophet', + alias: ['dp', 'death', 'krobelus', 'krob'], }, npc_dota_hero_phantom_assassin: { id: 44, localized_name: 'Phantom Assassin', + alias: ['pa', 'phantom', 'mortred', 'mort'], }, npc_dota_hero_pugna: { id: 45, @@ -180,6 +217,7 @@ const heroes = { npc_dota_hero_templar_assassin: { id: 46, localized_name: 'Templar Assassin', + alias: ['ta', 'templar', 'lanaya'], }, npc_dota_hero_viper: { id: 47, @@ -192,6 +230,7 @@ const heroes = { npc_dota_hero_dragon_knight: { id: 49, localized_name: 'Dragon Knight', + alias: ['dk', 'davion'], }, npc_dota_hero_dazzle: { id: 50, @@ -200,50 +239,62 @@ const heroes = { npc_dota_hero_rattletrap: { id: 51, localized_name: 'Clockwerk', + alias: ['cw', 'clock'], }, npc_dota_hero_leshrac: { id: 52, localized_name: 'Leshrac', + alias: ['lesh'], }, npc_dota_hero_furion: { id: 53, localized_name: "Nature's Prophet", + alias: ['np', 'natures', 'prophet', 'furion', 'furi'], }, npc_dota_hero_life_stealer: { id: 54, localized_name: 'Lifestealer', + alias: ['ls', 'life', 'naix'], }, npc_dota_hero_dark_seer: { id: 55, localized_name: 'Dark Seer', + alias: ['ds', 'dark', 'seer'], }, npc_dota_hero_clinkz: { id: 56, localized_name: 'Clinkz', + alias: ['bone'], }, npc_dota_hero_omniknight: { id: 57, localized_name: 'Omniknight', + alias: ['omni'], }, npc_dota_hero_enchantress: { id: 58, localized_name: 'Enchantress', + alias: ['ench', 'chantress', 'bambi'], }, npc_dota_hero_huskar: { id: 59, localized_name: 'Huskar', + alias: ['husk'], }, npc_dota_hero_night_stalker: { id: 60, localized_name: 'Night Stalker', + alias: ['ns', 'night', 'stalker', 'balanar'], }, npc_dota_hero_broodmother: { id: 61, localized_name: 'Broodmother', + alias: ['brood', 'mother', 'arachnia', 'spider'], }, npc_dota_hero_bounty_hunter: { id: 62, localized_name: 'Bounty Hunter', + alias: ['bh', 'bounty', 'gondar'], }, npc_dota_hero_weaver: { id: 63, @@ -252,10 +303,12 @@ const heroes = { npc_dota_hero_jakiro: { id: 64, localized_name: 'Jakiro', + alias: ['jak'], }, npc_dota_hero_batrider: { id: 65, localized_name: 'Batrider', + alias: ['bat'], }, npc_dota_hero_chen: { id: 66, @@ -264,14 +317,17 @@ const heroes = { npc_dota_hero_spectre: { id: 67, localized_name: 'Spectre', + alias: ['spec'], }, npc_dota_hero_ancient_apparition: { id: 68, localized_name: 'Ancient Apparition', + alias: ['aa', 'ancient', 'apparition', 'kaldr'], }, npc_dota_hero_doom_bringer: { id: 69, localized_name: 'Doom', + alias: ['lucifer', 'luci'], }, npc_dota_hero_ursa: { id: 70, @@ -280,86 +336,107 @@ const heroes = { npc_dota_hero_spirit_breaker: { id: 71, localized_name: 'Spirit Breaker', + alias: ['sb', 'breaker', 'barathrum', 'bara'], }, npc_dota_hero_gyrocopter: { id: 72, localized_name: 'Gyrocopter', + alias: ['gyro', 'copter'], }, npc_dota_hero_alchemist: { id: 73, localized_name: 'Alchemist', + alias: ['alch', 'alche', 'chemist'], }, npc_dota_hero_invoker: { id: 74, localized_name: 'Invoker', + alias: ['invo', 'voker', 'kael'], }, npc_dota_hero_silencer: { id: 75, localized_name: 'Silencer', + alias: ['nortrom'], }, npc_dota_hero_obsidian_destroyer: { id: 76, localized_name: 'Outworld Destroyer', + alias: ['od', 'outworld', 'obsidian'], }, npc_dota_hero_lycan: { id: 77, localized_name: 'Lycan', + alias: ['lycanthrope', 'wolf'], }, npc_dota_hero_brewmaster: { id: 78, localized_name: 'Brewmaster', + alias: ['brew', 'panda', 'mangix'], }, npc_dota_hero_shadow_demon: { id: 79, localized_name: 'Shadow Demon', + alias: ['sd', 'eredar'], }, npc_dota_hero_lone_druid: { id: 80, localized_name: 'Lone Druid', + alias: ['ld', 'lone', 'druid', 'sylla'], }, npc_dota_hero_chaos_knight: { id: 81, localized_name: 'Chaos Knight', + alias: ['ck', 'chaos'], }, npc_dota_hero_meepo: { id: 82, localized_name: 'Meepo', + alias: ['geomancer'], }, npc_dota_hero_treant: { id: 83, localized_name: 'Treant Protector', + alias: ['treant', 'tree', 'trellen'], }, npc_dota_hero_ogre_magi: { id: 84, localized_name: 'Ogre Magi', + alias: ['om', 'ogre'], }, npc_dota_hero_undying: { id: 85, localized_name: 'Undying', + alias: ['undy', 'dirge', 'zombie'], }, npc_dota_hero_rubick: { id: 86, localized_name: 'Rubick', + alias: ['rub', 'rubi'], }, npc_dota_hero_disruptor: { id: 87, localized_name: 'Disruptor', + alias: ['dis', 'dist', 'ruptor', 'thrall'], }, npc_dota_hero_nyx_assassin: { id: 88, localized_name: 'Nyx Assassin', + alias: ['na', 'nyx'], }, npc_dota_hero_naga_siren: { id: 89, localized_name: 'Naga Siren', + alias: ['naga', 'siren'], }, npc_dota_hero_keeper_of_the_light: { id: 90, localized_name: 'Keeper of the Light', + alias: ['kotl', 'keeper', 'ezalor'], }, npc_dota_hero_wisp: { id: 91, localized_name: 'Io', + alias: ['wisp'], }, npc_dota_hero_visage: { id: 92, @@ -372,110 +449,137 @@ const heroes = { npc_dota_hero_medusa: { id: 94, localized_name: 'Medusa', + alias: ['dusa', 'gorgon'], }, npc_dota_hero_troll_warlord: { id: 95, localized_name: 'Troll Warlord', + alias: ['troll'], }, npc_dota_hero_centaur: { id: 96, localized_name: 'Centaur Warrunner', + alias: ['cent', 'centaur'], }, npc_dota_hero_magnataur: { id: 97, localized_name: 'Magnus', + alias: ['mag', 'magnataur'], }, npc_dota_hero_shredder: { id: 98, localized_name: 'Timbersaw', + alias: ['timber', 'rizzrak', 'shredder'], }, npc_dota_hero_bristleback: { id: 99, localized_name: 'Bristleback', + alias: ['bb', 'bristle'], }, npc_dota_hero_tusk: { id: 100, localized_name: 'Tusk', + alias: ['tuskarr', 'ymir'], }, npc_dota_hero_skywrath_mage: { id: 101, localized_name: 'Skywrath Mage', + alias: ['sky', 'skywrath'], }, npc_dota_hero_abaddon: { id: 102, localized_name: 'Abaddon', + alias: ['aba', 'abba'], }, npc_dota_hero_elder_titan: { id: 103, localized_name: 'Elder Titan', + alias: ['et', 'elder', 'titan', 'tc'], }, npc_dota_hero_legion_commander: { id: 104, localized_name: 'Legion Commander', + alias: ['lc', 'legion', 'commander', 'tresdin'], }, npc_dota_hero_techies: { id: 105, localized_name: 'Techies', + alias: ['tech'], }, npc_dota_hero_ember_spirit: { id: 106, localized_name: 'Ember Spirit', + alias: ['ember', 'xin'], }, npc_dota_hero_earth_spirit: { id: 107, localized_name: 'Earth Spirit', + alias: ['earth', 'kaolin'], }, npc_dota_hero_abyssal_underlord: { id: 108, localized_name: 'Underlord', + alias: ['ul', 'under', 'pitlord'], }, npc_dota_hero_terrorblade: { id: 109, localized_name: 'Terrorblade', + alias: ['tb', 'terror'], }, npc_dota_hero_phoenix: { id: 110, localized_name: 'Phoenix', + alias: ['phoe', 'icarus', 'bird'], }, npc_dota_hero_oracle: { id: 111, localized_name: 'Oracle', + alias: ['nerif'], }, npc_dota_hero_winter_wyvern: { id: 112, localized_name: 'Winter Wyvern', + alias: ['ww', 'winter', 'wyvern'], }, npc_dota_hero_arc_warden: { id: 113, localized_name: 'Arc Warden', + alias: ['arc', 'warden', 'zet'], }, npc_dota_hero_monkey_king: { id: 114, localized_name: 'Monkey King', + alias: ['mk', 'monkey'], }, npc_dota_hero_dark_willow: { id: 119, localized_name: 'Dark Willow', + alias: ['dw', 'willow', 'mireska'], }, npc_dota_hero_pangolier: { id: 120, localized_name: 'Pangolier', + alias: ['pango'], }, npc_dota_hero_grimstroke: { id: 121, localized_name: 'Grimstroke', + alias: ['gs', 'grim'], }, npc_dota_hero_hoodwink: { id: 123, localized_name: 'Hoodwink', + alias: ['hw', 'hood', 'squirrel'], }, npc_dota_hero_void_spirit: { id: 126, localized_name: 'Void Spirit', + alias: ['vs', 'inai'], }, npc_dota_hero_snapfire: { id: 128, localized_name: 'Snapfire', + alias: ['snap', 'beatrix', 'mortimer', 'grandma'], }, npc_dota_hero_mars: { id: 129, @@ -484,6 +588,7 @@ const heroes = { npc_dota_hero_dawnbreaker: { id: 135, localized_name: 'Dawnbreaker', + alias: ['db', 'dawn'], }, npc_dota_hero_marci: { id: 136, @@ -492,6 +597,7 @@ const heroes = { npc_dota_hero_primal_beast: { id: 137, localized_name: 'Primal Beast', + alias: ['pb', 'primal'], }, npc_dota_hero_muerta: { id: 138, From 8dc1c343265ee1e2f6d0228458c2ac91b4e8047d Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 19 Aug 2023 14:15:00 -0400 Subject: [PATCH 2/3] Update heroes.ts --- packages/dota/src/dota/lib/heroes.ts | 147 ++++++++++++--------------- 1 file changed, 66 insertions(+), 81 deletions(-) diff --git a/packages/dota/src/dota/lib/heroes.ts b/packages/dota/src/dota/lib/heroes.ts index a0b3dc42..54729b8a 100644 --- a/packages/dota/src/dota/lib/heroes.ts +++ b/packages/dota/src/dota/lib/heroes.ts @@ -4,12 +4,11 @@ const heroes = { npc_dota_hero_antimage: { id: 1, localized_name: 'Anti-Mage', - alias: ['am', 'magina', 'andy'], + alias: ['am'], }, npc_dota_hero_axe: { id: 2, - localized_name: 'Axe', - alias: ['khan'], + localized_name: 'Axe' }, npc_dota_hero_bane: { id: 3, @@ -18,17 +17,17 @@ const heroes = { npc_dota_hero_bloodseeker: { id: 4, localized_name: 'Bloodseeker', - alias: ['bs', 'blood', 'seeker'], + alias: ['bs'], }, npc_dota_hero_crystal_maiden: { id: 5, localized_name: 'Crystal Maiden', - alias: ['cm', 'crystal', 'maiden', 'rylai'], + alias: ['cm', 'rylai'], }, npc_dota_hero_drow_ranger: { id: 6, localized_name: 'Drow Ranger', - alias: ['drow', 'traxex', 'trax'], + alias: ['drow'], }, npc_dota_hero_earthshaker: { id: 7, @@ -38,12 +37,12 @@ const heroes = { npc_dota_hero_juggernaut: { id: 8, localized_name: 'Juggernaut', - alias: ['jugg', 'yunero'], + alias: ['jug'], }, npc_dota_hero_mirana: { id: 9, localized_name: 'Mirana', - alias: ['mira', 'potm'], + alias: ['potm'], }, npc_dota_hero_morphling: { id: 10, @@ -53,22 +52,20 @@ const heroes = { npc_dota_hero_nevermore: { id: 11, localized_name: 'Shadow Fiend', - alias: ['sf', 'nevermore'], + alias: ['sf'], }, npc_dota_hero_phantom_lancer: { id: 12, localized_name: 'Phantom Lancer', - alias: ['pl', 'lancer'], + alias: ['pl'], }, npc_dota_hero_puck: { id: 13, - localized_name: 'Puck', - alias: ['faerie'], + localized_name: 'Puck' }, npc_dota_hero_pudge: { id: 14, - localized_name: 'Pudge', - alias: ['butcher'], + localized_name: 'Pudge' }, npc_dota_hero_razor: { id: 15, @@ -77,12 +74,12 @@ const heroes = { npc_dota_hero_sand_king: { id: 16, localized_name: 'Sand King', - alias: ['sk', 'sand', 'crixalis', 'crix'], + alias: ['sk'], }, npc_dota_hero_storm_spirit: { id: 17, localized_name: 'Storm Spirit', - alias: ['storm', 'raijin'], + alias: ['storm'], }, npc_dota_hero_sven: { id: 18, @@ -90,28 +87,25 @@ const heroes = { }, npc_dota_hero_tiny: { id: 19, - localized_name: 'Tiny', - alias: ['tony'], + localized_name: 'Tiny' }, npc_dota_hero_vengefulspirit: { id: 20, localized_name: 'Vengeful Spirit', - alias: ['venge', 'vengeful'], + alias: ['venge', 'vs'], }, npc_dota_hero_windrunner: { id: 21, localized_name: 'Windranger', - alias: ['wr', 'wind', 'windrunner', 'lyralei'], + alias: ['wr'], }, npc_dota_hero_zuus: { id: 22, - localized_name: 'Zeus', - alias: ['zuus'], + localized_name: 'Zeus' }, npc_dota_hero_kunkka: { id: 23, localized_name: 'Kunkka', - alias: ['admiral', 'captain'], }, npc_dota_hero_lina: { id: 25, @@ -128,8 +122,7 @@ const heroes = { }, npc_dota_hero_slardar: { id: 28, - localized_name: 'Slardar', - alias: ['slard'], + localized_name: 'Slardar' }, npc_dota_hero_tidehunter: { id: 29, @@ -139,7 +132,7 @@ const heroes = { npc_dota_hero_witch_doctor: { id: 30, localized_name: 'Witch Doctor', - alias: ['wd', 'doctor', 'voljin'], + alias: ['wd', 'doc'], }, npc_dota_hero_lich: { id: 31, @@ -147,23 +140,21 @@ const heroes = { }, npc_dota_hero_riki: { id: 32, - localized_name: 'Riki', - alias: ['sa', 'rikimaru'], + localized_name: 'Riki' }, npc_dota_hero_enigma: { id: 33, localized_name: 'Enigma', - alias: ['darchrow'], + alias: ['nigma'], }, npc_dota_hero_tinker: { id: 34, localized_name: 'Tinker', - alias: ['tink', 'boush'], + alias: ['tink',], }, npc_dota_hero_sniper: { id: 35, localized_name: 'Sniper', - alias: ['kardel'], }, npc_dota_hero_necrolyte: { id: 36, @@ -173,22 +164,22 @@ const heroes = { npc_dota_hero_warlock: { id: 37, localized_name: 'Warlock', - alias: ['lock'], + alias: ['wl'], }, npc_dota_hero_beastmaster: { id: 38, localized_name: 'Beastmaster', - alias: ['bm', 'beast', 'rexxar'], + alias: ['bm', 'beast'], }, npc_dota_hero_queenofpain: { id: 39, localized_name: 'Queen of Pain', - alias: ['qop', 'queen', 'akasha'], + alias: ['qop'], }, npc_dota_hero_venomancer: { id: 40, localized_name: 'Venomancer', - alias: ['veno', 'mancer'], + alias: ['veno'], }, npc_dota_hero_faceless_void: { id: 41, @@ -198,17 +189,17 @@ const heroes = { npc_dota_hero_skeleton_king: { id: 42, localized_name: 'Wraith King', - alias: ['wk', 'wraith', 'king', 'skeleton', 'leoric', 'leo'], + alias: ['wk'], }, npc_dota_hero_death_prophet: { id: 43, localized_name: 'Death Prophet', - alias: ['dp', 'death', 'krobelus', 'krob'], + alias: ['dp'], }, npc_dota_hero_phantom_assassin: { id: 44, localized_name: 'Phantom Assassin', - alias: ['pa', 'phantom', 'mortred', 'mort'], + alias: ['pa'], }, npc_dota_hero_pugna: { id: 45, @@ -230,7 +221,7 @@ const heroes = { npc_dota_hero_dragon_knight: { id: 49, localized_name: 'Dragon Knight', - alias: ['dk', 'davion'], + alias: ['dk'], }, npc_dota_hero_dazzle: { id: 50, @@ -249,22 +240,21 @@ const heroes = { npc_dota_hero_furion: { id: 53, localized_name: "Nature's Prophet", - alias: ['np', 'natures', 'prophet', 'furion', 'furi'], + alias: ['np', 'natures', 'prophet', 'furion'], }, npc_dota_hero_life_stealer: { id: 54, localized_name: 'Lifestealer', - alias: ['ls', 'life', 'naix'], + alias: ['ls', 'naix'], }, npc_dota_hero_dark_seer: { id: 55, localized_name: 'Dark Seer', - alias: ['ds', 'dark', 'seer'], + alias: ['ds'], }, npc_dota_hero_clinkz: { id: 56, localized_name: 'Clinkz', - alias: ['bone'], }, npc_dota_hero_omniknight: { id: 57, @@ -274,7 +264,7 @@ const heroes = { npc_dota_hero_enchantress: { id: 58, localized_name: 'Enchantress', - alias: ['ench', 'chantress', 'bambi'], + alias: ['ench'], }, npc_dota_hero_huskar: { id: 59, @@ -284,17 +274,17 @@ const heroes = { npc_dota_hero_night_stalker: { id: 60, localized_name: 'Night Stalker', - alias: ['ns', 'night', 'stalker', 'balanar'], + alias: ['ns'], }, npc_dota_hero_broodmother: { id: 61, localized_name: 'Broodmother', - alias: ['brood', 'mother', 'arachnia', 'spider'], + alias: ['brood', 'bm'], }, npc_dota_hero_bounty_hunter: { id: 62, localized_name: 'Bounty Hunter', - alias: ['bh', 'bounty', 'gondar'], + alias: ['bh', 'bounty'], }, npc_dota_hero_weaver: { id: 63, @@ -322,12 +312,11 @@ const heroes = { npc_dota_hero_ancient_apparition: { id: 68, localized_name: 'Ancient Apparition', - alias: ['aa', 'ancient', 'apparition', 'kaldr'], + alias: ['aa'], }, npc_dota_hero_doom_bringer: { id: 69, localized_name: 'Doom', - alias: ['lucifer', 'luci'], }, npc_dota_hero_ursa: { id: 70, @@ -336,22 +325,22 @@ const heroes = { npc_dota_hero_spirit_breaker: { id: 71, localized_name: 'Spirit Breaker', - alias: ['sb', 'breaker', 'barathrum', 'bara'], + alias: ['sb', 'bara'], }, npc_dota_hero_gyrocopter: { id: 72, localized_name: 'Gyrocopter', - alias: ['gyro', 'copter'], + alias: ['gyro'], }, npc_dota_hero_alchemist: { id: 73, localized_name: 'Alchemist', - alias: ['alch', 'alche', 'chemist'], + alias: ['alch'], }, npc_dota_hero_invoker: { id: 74, localized_name: 'Invoker', - alias: ['invo', 'voker', 'kael'], + alias: ['invo', 'voker'], }, npc_dota_hero_silencer: { id: 75, @@ -361,27 +350,26 @@ const heroes = { npc_dota_hero_obsidian_destroyer: { id: 76, localized_name: 'Outworld Destroyer', - alias: ['od', 'outworld', 'obsidian'], + alias: ['od'], }, npc_dota_hero_lycan: { id: 77, localized_name: 'Lycan', - alias: ['lycanthrope', 'wolf'], }, npc_dota_hero_brewmaster: { id: 78, localized_name: 'Brewmaster', - alias: ['brew', 'panda', 'mangix'], + alias: ['brew', 'panda'], }, npc_dota_hero_shadow_demon: { id: 79, localized_name: 'Shadow Demon', - alias: ['sd', 'eredar'], + alias: ['sd'], }, npc_dota_hero_lone_druid: { id: 80, localized_name: 'Lone Druid', - alias: ['ld', 'lone', 'druid', 'sylla'], + alias: ['ld', 'lone'], }, npc_dota_hero_chaos_knight: { id: 81, @@ -391,37 +379,36 @@ const heroes = { npc_dota_hero_meepo: { id: 82, localized_name: 'Meepo', - alias: ['geomancer'], }, npc_dota_hero_treant: { id: 83, localized_name: 'Treant Protector', - alias: ['treant', 'tree', 'trellen'], + alias: ['treant', 'tree'], }, npc_dota_hero_ogre_magi: { id: 84, localized_name: 'Ogre Magi', - alias: ['om', 'ogre'], + alias: ['ogre'], }, npc_dota_hero_undying: { id: 85, localized_name: 'Undying', - alias: ['undy', 'dirge', 'zombie'], + alias: ['undy', 'und'], }, npc_dota_hero_rubick: { id: 86, localized_name: 'Rubick', - alias: ['rub', 'rubi'], + alias: ['rub', 'rubi', 'rubik'], }, npc_dota_hero_disruptor: { id: 87, localized_name: 'Disruptor', - alias: ['dis', 'dist', 'ruptor', 'thrall'], + alias: ['dis', 'thrall'], }, npc_dota_hero_nyx_assassin: { id: 88, localized_name: 'Nyx Assassin', - alias: ['na', 'nyx'], + alias: ['nyx'], }, npc_dota_hero_naga_siren: { id: 89, @@ -449,7 +436,7 @@ const heroes = { npc_dota_hero_medusa: { id: 94, localized_name: 'Medusa', - alias: ['dusa', 'gorgon'], + alias: ['dusa', 'dussy'], }, npc_dota_hero_troll_warlord: { id: 95, @@ -464,12 +451,12 @@ const heroes = { npc_dota_hero_magnataur: { id: 97, localized_name: 'Magnus', - alias: ['mag', 'magnataur'], + alias: ['mag'], }, npc_dota_hero_shredder: { id: 98, localized_name: 'Timbersaw', - alias: ['timber', 'rizzrak', 'shredder'], + alias: ['timber'], }, npc_dota_hero_bristleback: { id: 99, @@ -479,7 +466,7 @@ const heroes = { npc_dota_hero_tusk: { id: 100, localized_name: 'Tusk', - alias: ['tuskarr', 'ymir'], + alias: ['tuskarr'], }, npc_dota_hero_skywrath_mage: { id: 101, @@ -494,12 +481,12 @@ const heroes = { npc_dota_hero_elder_titan: { id: 103, localized_name: 'Elder Titan', - alias: ['et', 'elder', 'titan', 'tc'], + alias: ['et', 'elder'], }, npc_dota_hero_legion_commander: { id: 104, localized_name: 'Legion Commander', - alias: ['lc', 'legion', 'commander', 'tresdin'], + alias: ['lc', 'legion'], }, npc_dota_hero_techies: { id: 105, @@ -509,12 +496,12 @@ const heroes = { npc_dota_hero_ember_spirit: { id: 106, localized_name: 'Ember Spirit', - alias: ['ember', 'xin'], + alias: ['ember'], }, npc_dota_hero_earth_spirit: { id: 107, localized_name: 'Earth Spirit', - alias: ['earth', 'kaolin'], + alias: ['earth', 'es'], }, npc_dota_hero_abyssal_underlord: { id: 108, @@ -529,12 +516,10 @@ const heroes = { npc_dota_hero_phoenix: { id: 110, localized_name: 'Phoenix', - alias: ['phoe', 'icarus', 'bird'], }, npc_dota_hero_oracle: { id: 111, localized_name: 'Oracle', - alias: ['nerif'], }, npc_dota_hero_winter_wyvern: { id: 112, @@ -544,7 +529,7 @@ const heroes = { npc_dota_hero_arc_warden: { id: 113, localized_name: 'Arc Warden', - alias: ['arc', 'warden', 'zet'], + alias: ['arc'], }, npc_dota_hero_monkey_king: { id: 114, @@ -554,7 +539,7 @@ const heroes = { npc_dota_hero_dark_willow: { id: 119, localized_name: 'Dark Willow', - alias: ['dw', 'willow', 'mireska'], + alias: ['dw', 'willow'], }, npc_dota_hero_pangolier: { id: 120, @@ -564,22 +549,22 @@ const heroes = { npc_dota_hero_grimstroke: { id: 121, localized_name: 'Grimstroke', - alias: ['gs', 'grim'], + alias: ['grim'], }, npc_dota_hero_hoodwink: { id: 123, localized_name: 'Hoodwink', - alias: ['hw', 'hood', 'squirrel'], + alias: ['hw', 'hoodwinkle'], }, npc_dota_hero_void_spirit: { id: 126, localized_name: 'Void Spirit', - alias: ['vs', 'inai'], + alias: ['vs'], }, npc_dota_hero_snapfire: { id: 128, localized_name: 'Snapfire', - alias: ['snap', 'beatrix', 'mortimer', 'grandma'], + alias: ['snap', 'mortimer', 'grandma', 'granny'], }, npc_dota_hero_mars: { id: 129, From 97527e1290406c4c8579fc72882dd23fabc4dc4a Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 19 Aug 2023 14:15:12 -0400 Subject: [PATCH 3/3] Update heroes.ts --- packages/dota/src/dota/lib/heroes.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/dota/src/dota/lib/heroes.ts b/packages/dota/src/dota/lib/heroes.ts index 54729b8a..bcafd58e 100644 --- a/packages/dota/src/dota/lib/heroes.ts +++ b/packages/dota/src/dota/lib/heroes.ts @@ -8,7 +8,7 @@ const heroes = { }, npc_dota_hero_axe: { id: 2, - localized_name: 'Axe' + localized_name: 'Axe', }, npc_dota_hero_bane: { id: 3, @@ -61,11 +61,11 @@ const heroes = { }, npc_dota_hero_puck: { id: 13, - localized_name: 'Puck' + localized_name: 'Puck', }, npc_dota_hero_pudge: { id: 14, - localized_name: 'Pudge' + localized_name: 'Pudge', }, npc_dota_hero_razor: { id: 15, @@ -87,7 +87,7 @@ const heroes = { }, npc_dota_hero_tiny: { id: 19, - localized_name: 'Tiny' + localized_name: 'Tiny', }, npc_dota_hero_vengefulspirit: { id: 20, @@ -101,7 +101,7 @@ const heroes = { }, npc_dota_hero_zuus: { id: 22, - localized_name: 'Zeus' + localized_name: 'Zeus', }, npc_dota_hero_kunkka: { id: 23, @@ -122,7 +122,7 @@ const heroes = { }, npc_dota_hero_slardar: { id: 28, - localized_name: 'Slardar' + localized_name: 'Slardar', }, npc_dota_hero_tidehunter: { id: 29, @@ -140,7 +140,7 @@ const heroes = { }, npc_dota_hero_riki: { id: 32, - localized_name: 'Riki' + localized_name: 'Riki', }, npc_dota_hero_enigma: { id: 33, @@ -150,7 +150,7 @@ const heroes = { npc_dota_hero_tinker: { id: 34, localized_name: 'Tinker', - alias: ['tink',], + alias: ['tink'], }, npc_dota_hero_sniper: { id: 35,