summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-06-12 15:50:39 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-06-12 15:50:39 +0200
commit5728d5af42984bca49e30528d77c15169e4bcce0 (patch)
tree4b73ae9bf6026d130062e6a5d4ceb11eff0e8fde
parentc5cd9e53d7413ce960a2170eedb466073175bf80 (diff)
downloadorm-release/2.7.0.tar.gz
orm-release/2.7.0.zip
2.7.0 phase changesrelease/2.7.0
-rw-r--r--heroes.js13
-rw-r--r--heroes_source.js147
-rw-r--r--items.js13
-rw-r--r--items_source.js846
-rw-r--r--mappings.js20
-rw-r--r--mappings_source.js567
-rw-r--r--models/asset.js2
-rw-r--r--models/event.js6
-rw-r--r--models/game_mode.js2
-rw-r--r--models/match.js4
-rw-r--r--models/participant.js6
-rw-r--r--models/participant_phases.js12
-rw-r--r--models/participant_stats.js4
-rw-r--r--models/player.js5
-rw-r--r--models/roster.js6
-rw-r--r--models/team.js2
16 files changed, 619 insertions, 1036 deletions
diff --git a/heroes.js b/heroes.js
deleted file mode 100644
index fd150e8..0000000
--- a/heroes.js
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/node
-
-"use strict";
-
-var heroes_source = require("./heroes_source.js");
-var heroes = new Map();
-
-heroes_source.map((entry) => {
- heroes[entry.serverName] = entry.name;
- heroes[entry.name] = entry.name;
-});
-
-module.exports = heroes;
diff --git a/heroes_source.js b/heroes_source.js
deleted file mode 100644
index 5653966..0000000
--- a/heroes_source.js
+++ /dev/null
@@ -1,147 +0,0 @@
-/* https://github.com/seripap/vainglory/blob/master/src/models/resources/actors.js */
-module.exports = [
- {
- "name": "Adagio",
- "serverName": "*Adagio*"
- },
- {
- "name": "Alpha",
- "serverName": "*Alpha*"
- },
- {
- "name": "Ardan",
- "serverName": "*Ardan*"
- },
- {
- "name": "Baron",
- "serverName": "*Baron*"
- },
- {
- "name": "Baptiste",
- "serverName": "*Baptiste*"
- },
- {
- "name": "Blackfeather",
- "serverName": "*Blackfeather*"
- },
- {
- "name": "Catherine",
- "serverName": "*Catherine*"
- },
- {
- "name": "Celeste",
- "serverName": "*Celeste*"
- },
- {
- "name": "Flicker",
- "serverName": "*Flicker*"
- },
- {
- "name": "Fortress",
- "serverName": "*Fortress*"
- },
- {
- "name": "Glaive",
- "serverName": "*Glaive*"
- },
- {
- "name": "Grumpjaw",
- "serverName": "*Grumpjaw*"
- },
- {
- "name": "Gwen",
- "serverName": "*Gwen*"
- },
- {
- "name": "Krul",
- "serverName": "*Hero009*"
- },
- {
- "name": "Krul",
- "serverName": "*Krul*"
- },
- {
- "name": "Skaarf",
- "serverName": "*Hero010*"
- },
- {
- "name": "Skaarf",
- "serverName": "*Skaarf*"
- },
- {
- "name": "Rona",
- "serverName": "*Hero016*"
- },
- {
- "name": "Rona",
- "serverName": "*Rona*"
- },
- {
- "name": "Idris",
- "serverName": "*Idris*"
- },
- {
- "name": "Joule",
- "serverName": "*Joule*"
- },
- {
- "name": "Kestrel",
- "serverName": "*Kestrel*"
- },
- {
- "name": "Koshka",
- "serverName": "*Koshka*"
- },
- {
- "name": "Lance",
- "serverName": "*Lance*"
- },
- {
- "name": "Lyra",
- "serverName": "*Lyra*"
- },
- {
- "name": "Ozo",
- "serverName": "*Ozo*"
- },
- {
- "name": "Petal",
- "serverName": "*Petal*"
- },
- {
- "name": "Phinn",
- "serverName": "*Phinn*"
- },
- {
- "name": "Reim",
- "serverName": "*Reim*"
- },
- {
- "name": "Ringo",
- "serverName": "*Ringo*"
- },
- {
- "name": "SAW",
- "serverName": "*SAW*"
- },
- {
- "name": "Samuel",
- "serverName": "*Samuel*"
- },
- {
- "name": "Taka",
- "serverName": "*Sayoc*"
- },
- {
- "name": "Taka",
- "serverName": "*Taka*"
- },
- {
- "name": "Skye",
- "serverName": "*Skye*"
- },
- {
- "name": "Vox",
- "serverName": "*Vox*"
- }
-]
diff --git a/items.js b/items.js
deleted file mode 100644
index 3fcfe39..0000000
--- a/items.js
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/node
-
-"use strict";
-
-var item_source = require("./items_source.js");
-var items = new Map();
-
-item_source.map((entry) => {
- items[entry.serverName] = entry.name;
- items[entry.name] = entry.name;
-});
-
-module.exports = items;
diff --git a/items_source.js b/items_source.js
deleted file mode 100644
index da8035e..0000000
--- a/items_source.js
+++ /dev/null
@@ -1,846 +0,0 @@
-/* https://github.com/seripap/vainglory/blob/master/src/models/resources/items.js */
-module.exports = [
-/* legacy item names */
- {
- "serverName": "*1000_Item_HalcyonPotion*",
- "name": "Halcyon Potion"
- },
- {
- "serverName": "*1002_Item_WeaponBlade*",
- "name": "Weapon Blade"
- },
- {
- "serverName": "*1003_Item_CrystalBit*",
- "name": "Crystal Bit"
- },
- {
- "serverName": "*1004_Item_SwiftShooter*",
- "name": "Swift Shooter"
- },
- {
- "serverName": "*1005_Item_SixSins*",
- "name": "Six Sins"
- },
- {
- "serverName": "*1009_Item_EclipsePrism*",
- "name": "Eclipse Prism"
- },
- {
- "serverName": "*1010_Item_BlazingSalvo*",
- "name": "Blazing Salvo"
- },
- {
- "serverName": "*1012_Item_Sorrowblade*",
- "name": "Sorrowblade"
- },
- {
- "serverName": "*1013_Item_Shatterglass*",
- "name": "Shatterglass"
- },
- {
- "serverName": "*1014_Item_TornadoTrigger*",
- "name": "Tornado Trigger"
- },
- {
- "serverName": "*1015_Item_Oakheart*",
- "name": "Oakheart"
- },
- {
- "serverName": "*1016_Item_Dragonheart*",
- "name": "Dragonheart"
- },
- {
- "serverName": "*1017_Item_LightArmor*",
- "name": "Light Armor"
- },
- {
- "serverName": "*1022_Item_CoatOfPlates*",
- "name": "Coat of Plates"
- },
- {
- "serverName": "*1024_Item_MetalJacket*",
- "name": "Metal Jacket"
- },
- {
- "serverName": "*1025_Item_EnergyBattery*",
- "name": "Energy Battery"
- },
- {
- "serverName": "*1026_Item_Hourglass*",
- "name": "Hourglass"
- },
- {
- "serverName": "*1027_Item_VoidBattery*",
- "name": "Void Battery"
- },
- {
- "serverName": "*1028_Item_Chronograph*",
- "name": "Chronograph"
- },
- {
- "serverName": "*1029_Item_Clockwork*",
- "name": "Clockwork"
- },
- {
- "serverName": "*1030_Item_SprintBoots*",
- "name": "Sprint Boots"
- },
- {
- "serverName": "*1032_Item_TravelBoots*",
- "name": "Travel Boots"
- },
- {
- "serverName": "*1034_Item_SerpentMask*",
- "name": "Serpent Mask"
- },
- {
- "serverName": "*1035_Item_TensionBow*",
- "name": "Tension Bow"
- },
- {
- "serverName": "*1038_Item_Flare*",
- "name": "Flare"
- },
- {
- "serverName": "*1039_Item_Bonesaw*",
- "name": "Bonesaw"
- },
- {
- "serverName": "*1041_Item_MinionCandy*",
- "name": "Minion Candy"
- },
- {
- "serverName": "*1042_Item_Shiversteel*",
- "name": "Shiversteel"
- },
- {
- "serverName": "*1043_Item_ReflexBlock*",
- "name": "Reflex Block"
- },
- {
- "serverName": "*1044_Item_Frostburn*",
- "name": "Frostburn"
- },
- {
- "serverName": "*1045_Item_FountainOfRenewal*",
- "name": "Fountain of Renewal"
- },
- {
- "serverName": "*1046_Item_Crucible*",
- "name": "Crucible"
- },
- {
- "serverName": "*1047_Item_JourneyBoots*",
- "name": "Journey Boots"
- },
- {
- "serverName": "*1049_Item_TyrantsMonocle*",
- "name": "Tyrant's Monocle"
- },
- {
- "serverName": "*1050_Item_Aftershock*",
- "name": "Aftershock"
- },
- {
- "serverName": "*1052_Item_WeaponInfusion*",
- "name": "Weapon Infusion"
- },
- {
- "serverName": "*1053_Item_CrystalInfusion*",
- "name": "Crystal Infusion"
- },
- {
- "serverName": "*1054_Item_ScoutTrap*",
- "name": "Scout Trap"
- },
- {
- "serverName": "*1055_Item_BrokenMyth*",
- "name": "Broken Myth"
- },
- {
- "serverName": "*1056_Item_WarTreads*",
- "name": "War Treads"
- },
- {
- "serverName": "*1057_Item_AtlasPauldron*",
- "name": "Atlas Pauldron"
- },
- {
- "serverName": "*1059_Item_BookOfEulogies*",
- "name": "Book of Eulogies"
- },
- {
- "serverName": "*1060_Item_BarbedNeedle*",
- "name": "Barbed Needle"
- },
- {
- "serverName": "*1061_Item_LightShield*",
- "name": "Light Shield"
- },
- {
- "serverName": "*1062_Item_KineticShield*",
- "name": "Kinetic Shield"
- },
- {
- "serverName": "*1063_Item_Aegis*",
- "name": "Aegis"
- },
- {
- "serverName": "*1064_Item_Lifespring*",
- "name": "Lifespring"
- },
- {
- "serverName": "*1065_Item_HeavySteel*",
- "name": "Heavy Steel"
- },
- {
- "serverName": "*1066_Item_PiercingSpear*",
- "name": "Piercing Spear"
- },
- {
- "serverName": "*1067_Item_BreakingPoint*",
- "name": "Breaking Point"
- },
- {
- "serverName": "*1068_Item_LuckyStrike*",
- "name": "Lucky Strike"
- },
- {
- "serverName": "*1069_Item_AlternatingCurrent*",
- "name": "Alternating Current"
- },
- {
- "serverName": "*1070_Item_PiercingShard*",
- "name": "Piercing Shard"
- },
- {
- "serverName": "*1071_Item_EveOfHarvest*",
- "name": "Eve of Harvest"
- },
- {
- "serverName": "*1072_Item_HeavyPrism*",
- "name": "Heavy Prism"
- },
- {
- "serverName": "*1073_Item_IronguardContract*",
- "name": "Ironguard Contract"
- },
- {
- "serverName": "*1085_Item_DragonbloodContract*",
- "name": "Dragonblood Contract"
- },
- {
- "serverName": "*1074_Item_StormguardBanner*",
- "name": "Stormguard Banner"
- },
- {
- "serverName": "*1079_Item_Contraption*",
- "name": "Contraption"
- },
- {
- "serverName": "*1080_Item_MinionsFoot*",
- "name": "Minion's Foot"
- },
- {
- "serverName": "*1084_Item_ProtectorContract*",
- "name": "Protector Contract"
- },
- {
- "serverName": "*1087_Item_HalcyonChargers*",
- "name": "Halcyon Chargers"
- },
- {
- "serverName": "*1088_Item_Flaregun*",
- "name": "Flare Gun"
- },
- {
- "serverName": "*1090_Item_Stormcrown*",
- "name": "Stormcrown"
- },
- {
- "serverName": "*1092_Item_PoisonedShiv*",
- "name": "Poisoned Shiv"
- },
- {
- "serverName": "*1095_Item_NullwaveGauntlet*",
- "name": "Nullwave Gauntlet"
- },
- {
- "serverName": "*1097_Item_Echo*",
- "name": "Echo"
- },
- {
- "serverName": "*1105_Item_SlumberingHusk*",
- "name": "Slumbering Husk"
- },
- {
- "serverName": "*1002_Item_CandyShop_Kissy*",
- "name": "Kissy"
- },
- {
- "serverName": "*1005_Item_CandyShop_Taunt*",
- "name": "Taunt"
- },
- {
- "serverName": "*1007_Item_CandyShop_VOTaunt*",
- "name": "Voice over Taunt"
- },
-/* grant/sell/use namings since 2.4 */
- {
- "serverName": "*Item_HalcyonPotion*",
- "name": "Halcyon Potion"
- },
- {
- "serverName": "*Item_WeaponBlade*",
- "name": "Weapon Blade"
- },
- {
- "serverName": "*Item_CrystalBit*",
- "name": "Crystal Bit"
- },
- {
- "serverName": "*Item_SwiftShooter*",
- "name": "Swift Shooter"
- },
- {
- "serverName": "*Item_SixSins*",
- "name": "Six Sins"
- },
- {
- "serverName": "*Item_EclipsePrism*",
- "name": "Eclipse Prism"
- },
- {
- "serverName": "*Item_BlazingSalvo*",
- "name": "Blazing Salvo"
- },
- {
- "serverName": "*Item_Sorrowblade*",
- "name": "Sorrowblade"
- },
- {
- "serverName": "*Item_Shatterglass*",
- "name": "Shatterglass"
- },
- {
- "serverName": "*Item_TornadoTrigger*",
- "name": "Tornado Trigger"
- },
- {
- "serverName": "*Item_Oakheart*",
- "name": "Oakheart"
- },
- {
- "serverName": "*Item_Dragonheart*",
- "name": "Dragonheart"
- },
- {
- "serverName": "*Item_LightArmor*",
- "name": "Light Armor"
- },
- {
- "serverName": "*Item_CoatOfPlates*",
- "name": "Coat of Plates"
- },
- {
- "serverName": "*Item_MetalJacket*",
- "name": "Metal Jacket"
- },
- {
- "serverName": "*Item_EnergyBattery*",
- "name": "Energy Battery"
- },
- {
- "serverName": "*Item_Hourglass*",
- "name": "Hourglass"
- },
- {
- "serverName": "*Item_VoidBattery*",
- "name": "Void Battery"
- },
- {
- "serverName": "*Item_Chronograph*",
- "name": "Chronograph"
- },
- {
- "serverName": "*Item_Clockwork*",
- "name": "Clockwork"
- },
- {
- "serverName": "*Item_SprintBoots*",
- "name": "Sprint Boots"
- },
- {
- "serverName": "*Item_TravelBoots*",
- "name": "Travel Boots"
- },
- {
- "serverName": "*Item_SerpentMask*",
- "name": "Serpent Mask"
- },
- {
- "serverName": "*Item_TensionBow*",
- "name": "Tension Bow"
- },
- {
- "serverName": "*Item_Flare*",
- "name": "Flare"
- },
- {
- "serverName": "*Item_Bonesaw*",
- "name": "Bonesaw"
- },
- {
- "serverName": "*Item_MinionCandy*",
- "name": "Minion Candy"
- },
- {
- "serverName": "*Item_Shiversteel*",
- "name": "Shiversteel"
- },
- {
- "serverName": "*Item_ReflexBlock*",
- "name": "Reflex Block"
- },
- {
- "serverName": "*Item_Frostburn*",
- "name": "Frostburn"
- },
- {
- "serverName": "*Item_FountainOfRenewal*",
- "name": "Fountain of Renewal"
- },
- {
- "serverName": "*Item_Crucible*",
- "name": "Crucible"
- },
- {
- "serverName": "*Item_JourneyBoots*",
- "name": "Journey Boots"
- },
- {
- "serverName": "*Item_TyrantsMonocle*",
- "name": "Tyrant's Monocle"
- },
- {
- "serverName": "*Item_Aftershock*",
- "name": "Aftershock"
- },
- {
- "serverName": "*Item_WeaponInfusion*",
- "name": "Weapon Infusion"
- },
- {
- "serverName": "*Item_CrystalInfusion*",
- "name": "Crystal Infusion"
- },
- {
- "serverName": "*Item_ScoutTrap*",
- "name": "Scout Trap"
- },
- {
- "serverName": "*Item_BrokenMyth*",
- "name": "Broken Myth"
- },
- {
- "serverName": "*Item_WarTreads*",
- "name": "War Treads"
- },
- {
- "serverName": "*Item_AtlasPauldron*",
- "name": "Atlas Pauldron"
- },
- {
- "serverName": "*Item_BookOfEulogies*",
- "name": "Book of Eulogies"
- },
- {
- "serverName": "*Item_BarbedNeedle*",
- "name": "Barbed Needle"
- },
- {
- "serverName": "*Item_LightShield*",
- "name": "Light Shield"
- },
- {
- "serverName": "*Item_KineticShield*",
- "name": "Kinetic Shield"
- },
- {
- "serverName": "*Item_Aegis*",
- "name": "Aegis"
- },
- {
- "serverName": "*Item_Lifespring*",
- "name": "Lifespring"
- },
- {
- "serverName": "*Item_HeavySteel*",
- "name": "Heavy Steel"
- },
- {
- "serverName": "*Item_PiercingSpear*",
- "name": "Piercing Spear"
- },
- {
- "serverName": "*Item_BreakingPoint*",
- "name": "Breaking Point"
- },
- {
- "serverName": "*Item_LuckyStrike*",
- "name": "Lucky Strike"
- },
- {
- "serverName": "*Item_AlternatingCurrent*",
- "name": "Alternating Current"
- },
- {
- "serverName": "*Item_PiercingShard*",
- "name": "Piercing Shard"
- },
- {
- "serverName": "*Item_EveOfHarvest*",
- "name": "Eve of Harvest"
- },
- {
- "serverName": "*Item_HeavyPrism*",
- "name": "Heavy Prism"
- },
- {
- "serverName": "*Item_IronguardContract*",
- "name": "Ironguard Contract"
- },
- {
- "serverName": "*Item_DragonbloodContract*",
- "name": "Dragonblood Contract"
- },
- {
- "serverName": "*Item_StormguardBanner*",
- "name": "Stormguard Banner"
- },
- {
- "serverName": "*Item_Contraption*",
- "name": "Contraption"
- },
- {
- "serverName": "*Item_MinionsFoot*",
- "name": "Minion's Foot"
- },
- {
- "serverName": "*Item_ProtectorContract*",
- "name": "Protector Contract"
- },
- {
- "serverName": "*Item_HalcyonChargers*",
- "name": "Halcyon Chargers"
- },
- {
- "serverName": "*Item_Flaregun*",
- "name": "Flare Gun"
- },
- {
- "serverName": "*Item_Stormcrown*",
- "name": "Stormcrown"
- },
- {
- "serverName": "*Item_PoisonedShiv*",
- "name": "Poisoned Shiv"
- },
- {
- "serverName": "*Item_NullwaveGauntlet*",
- "name": "Nullwave Gauntlet"
- },
- {
- "serverName": "*Item_Echo*",
- "name": "Echo"
- },
- {
- "serverName": "*Item_SlumberingHusk*",
- "name": "Slumbering Husk"
- },
- {
- "serverName": "*Item_CandyShop_Kissy*",
- "name": "Kissy"
- },
- {
- "serverName": "*Item_CandyShop_Taunt*",
- "name": "Taunt"
- },
- {
- "serverName": "*Item_CandyShop_VOTaunt*",
- "name": "Voice over Taunt"
- },
-/* final build item names - legacy, current, and variations */
- {
- "serverName": "Aftershock",
- "name": "Aftershock"
- },
- {
- "serverName": "Armor Shredder",
- "name": "Bonesaw"
- },
- {
- "serverName": "Armor2",
- "name": "Coat of Plates"
- },
- {
- "serverName": "Armor3",
- "name": "Metal Jacket"
- },
- {
- "serverName": "Atlas Pauldron",
- "name": "Atlas Pauldron"
- },
- {
- "serverName": "AttackSpeed1",
- "name": "Swift Shooter"
- },
- {
- "serverName": "AttackSpeed2",
- "name": "Blazing Salvo"
- },
- {
- "serverName": "BarbedNeedle",
- "name": "Barbed Needle"
- },
- {
- "serverName": "Boots1",
- "name": "Sprint Boots"
- },
- {
- "serverName": "Boots2",
- "name": "Travel Boots"
- },
- {
- "serverName": "Boots3",
- "name": "Journey Boots"
- },
- {
- "serverName": "BreakingPoint",
- "name": "Breaking Point"
- },
- {
- "serverName": "Broken Myth",
- "name": "Broken Myth"
- },
- {
- "serverName": "Clockwork",
- "name": "Clockwork"
- },
- {
- "serverName": "Cogwheel",
- "name": "Chronograph"
- },
- {
- "serverName": "Contraption",
- "name": "Contraption"
- },
- {
- "serverName": "Cooldown1",
- "name": "Hourglass"
- },
- {
- "serverName": "Critical",
- "name": "Tyrant's Monocle"
- },
- {
- "serverName": "Tyrants Monocle",
- "name": "Tyrant's Monocle"
- },
- {
- "serverName": "Crystal Matrix",
- "name": "Aegis"
- },
- {
- "serverName": "Crystal1",
- "name": "Crystal Bit"
- },
- {
- "serverName": "Crystal2",
- "name": "Eclipse Prism"
- },
- {
- "serverName": "Crystal3",
- "name": "Shatterglass"
- },
- {
- "serverName": "Echo",
- "name": "Echo"
- },
- {
- "serverName": "EveOfHarvest",
- "name": "Eve of Harvest"
- },
- {
- "serverName": "Flare",
- "name": "Flare"
- },
- {
- "serverName": "Flaregun",
- "name": "Flare Gun"
- },
- {
- "serverName": "Fountain of Renewal",
- "name": "Fountain of Renewal"
- },
- {
- "serverName": "Frostburn",
- "name": "Frostburn"
- },
- {
- "serverName": "Halcyon Chargers",
- "name": "Halcyon Chargers"
- },
- {
- "serverName": "Health2",
- "name": "Dragonheart"
- },
- {
- "serverName": "Heavy Prism",
- "name": "Heavy Prism"
- },
- {
- "serverName": "Heavy Steel",
- "name": "Heavy Steel"
- },
- {
- "serverName": "IronguardContract",
- "name": "Ironguard Contract"
- },
- {
- "serverName": "Lifewell",
- "name": "Lifespring"
- },
- {
- "serverName": "Light Armor",
- "name": "Light Armor"
- },
- {
- "serverName": "Light Shield",
- "name": "Light Shield"
- },
- {
- "serverName": "LuckyStrike",
- "name": "Lucky Strike"
- },
- {
- "serverName": "Minion Candy",
- "name": "Minion Candy"
- },
- {
- "serverName": "MinionsFoot",
- "name": "Minion's Foot"
- },
- {
- "serverName": "Minions Foot",
- "name": "Minion's Foot"
- },
- {
- "serverName": "Mulled Wine",
- "name": "Halcyon Potion"
- },
- {
- "serverName": "NullwaveGauntlet",
- "name": "Nullwave Gauntlet"
- },
- {
- "serverName": "Oakheart",
- "name": "Oakheart"
- },
- {
- "serverName": "PiercingShard",
- "name": "Piercing Shard"
- },
- {
- "serverName": "PiercingSpear",
- "name": "Piercing Spear"
- },
- {
- "serverName": "PoisonedShiv",
- "name": "Poisoned Shiv"
- },
- {
- "serverName": "Protector Contract",
- "name": "Protector Contract"
- },
- {
- "serverName": "Reflex Block",
- "name": "Reflex Block"
- },
- {
- "serverName": "Scout Trap",
- "name": "Scout Trap"
- },
- {
- "serverName": "Serpent Mask",
- "name": "Serpent Mask"
- },
- {
- "serverName": "Shield 2",
- "name": "Kinetic Shield"
- },
- {
- "serverName": "Shiversteel",
- "name": "Shiversteel"
- },
- {
- "serverName": "Six Sins",
- "name": "Six Sins"
- },
- {
- "serverName": "SlumberingHusk",
- "name": "Slumbering Husk"
- },
- {
- "serverName": "Steam Battery",
- "name": "Energy Battery"
- },
- {
- "serverName": "Stormcrown",
- "name": "Stormcrown"
- },
- {
- "serverName": "StormguardBanner",
- "name": "Stormguard Banner"
- },
- {
- "serverName": "Tension Bow",
- "name": "Tension Bow"
- },
- {
- "serverName": "Tornado Trigger",
- "name": "Tornado Trigger"
- },
- {
- "serverName": "Void Battery",
- "name": "Void Battery"
- },
- {
- "serverName": "War Treads",
- "name": "War Treads"
- },
- {
- "serverName": "Weapon Blade",
- "name": "Weapon Blade"
- },
- {
- "serverName": "Weapon3",
- "name": "Sorrowblade"
- },
- {
- "serverName": "Coat Of Plates",
- "name": "Coat of Plates"
- },
- {
- "serverName": "BookOfEulogies",
- "name": "Book of Eulogies"
- },
- {
- "serverName": "Book Of Eulogies",
- "name": "Book of Eulogies"
- },
- {
- "serverName": "Eve Of Harvest",
- "name": "Eve of Harvest"
- },
-]
diff --git a/mappings.js b/mappings.js
new file mode 100644
index 0000000..1da6d6e
--- /dev/null
+++ b/mappings.js
@@ -0,0 +1,20 @@
+#!/usr/bin/node
+"use strict";
+
+const mappings_source = require("./mappings_source.js"),
+ mappings = new Map(Object.entries(mappings_source));
+
+for (let entry of new Set(Object.values(mappings_source))) {
+ // add clean name -> clean name
+ mappings.set(entry, entry);
+}
+
+module.exports = {
+ map: mappings,
+ // TODO wtf?
+ isItem: (str) => str.indexOf("Item") != -1,
+ isAbility: (str) => str.indexOf("Item") == -1 &&
+ (str.indexOf("Ability") != -1 ||
+ str.indexOf("ABILITY") != -1),
+ isHero: (str) => str.indexOf("*") != -1 && str.indexOf("Item") == -1
+};
diff --git a/mappings_source.js b/mappings_source.js
new file mode 100644
index 0000000..71c70a8
--- /dev/null
+++ b/mappings_source.js
@@ -0,0 +1,567 @@
+/* HOLY GODS OF SEMC PLEASE FIX THIS MESS */
+module.exports = {
+ /*
+ * schema:
+ * *ItemName*, *1000_ItemName* -> "Item Name"
+ * *HeroName* -> "Heroname"
+ * Ability__Hero__foobar -> "Hero D"
+ * Buff_Hero_D_Bar -> "Hero perk"
+ * HERO_ABILITY_HERO_D_NAME -> "Hero D"
+ * FoobarMinion -> "Foobar something"
+ *
+ * =>
+ * item names are many:1 (mapped to ingame name)
+ * hero names are many:1 (mapped to ingame name)
+ * ability names are many:1 (strictly mapped to "Hero " + A/B/C/perk)
+ * NPC names are many:1 (hero specific or "Jungle/Lane Minion",
+ * "Kraken", "Turret", …)
+ *
+ */
+
+ "Ability__B_Bounce": "Ozo B",
+ "AbilityB_Bounce": "Ozo B",
+ "Ability__B_EndingAttack": "Ozo B",
+ "AbilityCLeapOff": "Idris C",
+ "Ability_Dash": "Vox A",
+ "Ability_Grumpjaw_Eat": "Grumpjaw C",
+ "Ability__Idris__A_Blink": "Idris A",
+ "Ability__Idris__A_Dash": "Idris A",
+ "Ability_Leap": "Idris C", // TODO
+ "Ability_SelfDestruct": "Alpha C",
+ "Ability__Vox__DashAndFire__AnimateAndFire": "Vox A",
+ "Ability__Vox__DashAndFire__Dash": "Vox A",
+ "Ability__Vox__DashToLocation": "Vox A",
+ "Aegis": "Aegis",
+ "Atlas Pauldron": "Atlas Pauldron",
+ "Candy - Kissy": "Kissy",
+ "Candy - Pegasus Crash": "Pegasus Crash", // TODO
+ "Candy - Taunt": "Taunt",
+ "Contraption": "Contraption",
+ "Crucible": "Crucible",
+ "Crystal Infusion": "Crystal Infusion",
+ "C_SpitOut": "Grumpjaw C",
+ "Dragonblood Contract": "Dragonblood Contract",
+ "Echo": "Echo",
+ "Emote_Taunt": "Taunt",
+ "Flare": "Flare",
+ "Flaregun": "Flare Gun",
+ "Fountain of Renewal": "Fountain of Renewal",
+ "Halcyon Chargers": "Halcyon Chargers",
+ "Halcyon Potion": "Halcyon Potion",
+ "HERO_ABILITY_ADAGIO_FORTUNES_SMILE_NAME": "Adagio A",
+ "HERO_ABILITY_ADAGIO_FRIENDSHIP_NAME": "Adagio B",
+ "HERO_ABILITY_ADAGIO_GASOLINE_SOAKED_NAME": "Adagio C",
+ "HERO_ABILITY_ALPHA_A_NAME": "Alpha A",
+ "HERO_ABILITY_ALPHA_B_NAME": "Alpha B",
+ "HERO_ABILITY_ALPHA_C_NAME": "Alpha C",
+ "HERO_ABILITY_ARDAN_A": "Ardan A",
+ "HERO_ABILITY_ARDAN_B": "Ardan B",
+ "HERO_ABILITY_ARDAN_C": "Ardan C",
+ "HERO_ABILITY_BARON_A_NAME": "Baron A",
+ "HERO_ABILITY_BARON_B_NAME": "Baron B",
+ "HERO_ABILITY_BARON_C_NAME": "Baron C",
+ "HERO_ABILITY_CATHERINE_ARCANE_SHIELD_NAME": "Catherine B",
+ "HERO_ABILITY_CATHERINE_ASSASSINS_CHARGE_NAME": "Catherine A",
+ "HERO_ABILITY_CATHERINE_DEADLY_GRACE_NAME": "Catherine C",
+ "HERO_ABILITY_CELESTE_A_NAME": "Celeste A",
+ "HERO_ABILITY_CELESTE_B_NAME": "Celeste B",
+ "HERO_ABILITY_CELESTE_C_NAME": "Celeste C",
+ "HERO_ABILITY_FORTRESS_A_NAME": "Fortress A",
+ "HERO_ABILITY_FORTRESS_B_NAME": "Fortress B",
+ "HERO_ABILITY_FORTRESS_C_NAME": "Fortress C",
+ "HERO_ABILITY_GLAIVE_AFTERBURN_NAME": "Glaive A",
+ "HERO_ABILITY_GLAIVE_BLOODSONG_NAME": "Glaive C",
+ "HERO_ABILITY_GLAIVE_TWISTED_STROKE_NAME": "Glaive B",
+ "HERO_ABILITY_GRUMPJAW_A_NAME": "Grumpjaw A",
+ "HERO_ABILITY_GRUMPJAW_B_NAME": "Grumpjaw B",
+ "HERO_ABILITY_GRUMPJAW_C_NAME": "Grumpjaw C",
+ "HERO_ABILITY_GWEN_A_NAME": "Gwen A",
+ "HERO_ABILITY_GWEN_B_NAME": "Gwen B",
+ "HERO_ABILITY_GWEN_C_NAME": "Gwen C",
+ "HERO_ABILITY_HERO009_BURNING_WOUNDS_NAME": "Krul A",
+ "HERO_ABILITY_HERO009_LIFE_FROM_PAIN_NAME": "Krul B",
+ "HERO_ABILITY_HERO009_SHIMMERHEART_NAME": "Krul C",
+ "HERO_ABILITY_HERO021_A_NAME": "Blackfeather A",
+ "HERO_ABILITY_HERO021_B_NAME": "Blackfeather B",
+ "HERO_ABILITY_HERO021_C_NAME": "Blackfeather C",
+ "HERO_ABILITY_HERO036_A_NAME": "Flicker A",
+ "HERO_ABILITY_HERO036_B_NAME": "Flicker B",
+ "HERO_ABILITY_HERO036_C_NAME": "Flicker C",
+ "HERO_ABILITY_IDRIS_A_NAME": "Idris A",
+ "HERO_ABILITY_IDRIS_B_NAME": "Idris B",
+ "HERO_ABILITY_IDRIS_C_NAME": "Idris C",
+ "HERO_ABILITY_JOULE_ORBITAL_NUKE": "Joule C",
+ "HERO_ABILITY_JOULE_RHAPSODY_CANNONS": "Joule A",
+ "HERO_ABILITY_JOULE_RHAPSODY_POWERSLIDE": "Joule B",
+ "HERO_ABILITY_KESTREL_A_NAME": "Kestrel A",
+ "HERO_ABILITY_KESTREL_B_NAME": "Kestrel B",
+ "HERO_ABILITY_KESTREL_C_NAME": "Kestrel C",
+ "HERO_ABILITY_KOSHKA_FRENZY_NAME": "Koshka C",
+ "HERO_ABILITY_KOSHKA_POUNCE_NAME": "Koshka A",
+ "HERO_ABILITY_KOSHKA_TWIRL_NAME": "Koshka B",
+ "HERO_ABILITY_LANCE_A_NAME": "Lance A",
+ "HERO_ABILITY_LANCE_B_NAME": "Lance B",
+ "HERO_ABILITY_LANCE_C_NAME": "Lance C",
+ "HERO_ABILITY_LYRA_A_NAME": "Lyra A",
+ "HERO_ABILITY_LYRA_B_NAME": "Lyra B",
+ "HERO_ABILITY_LYRA_C_NAME": "Lyra C",
+ "HERO_ABILITY_OZO_A_NAME": "Ozo A",
+ "HERO_ABILITY_OZO_B_NAME": "Ozo B",
+ "HERO_ABILITY_OZO_C_NAME": "Ozo C",
+ "HERO_ABILITY_PETAL_BRAMBLETHORN_SEED_NAME": "Petal A",
+ "HERO_ABILITY_PETAL_SHOUT_OF_THE_ENTS_NAME": "Petal B",
+ "HERO_ABILITY_PETAL_THORNSTORM_NAME": "Petal C",
+ "HERO_ABILITY_PHINN_A_NAME": "Phinn A",
+ "HERO_ABILITY_PHINN_B_NAME": "Phinn B",
+ "HERO_ABILITY_PHINN_C_NAME": "Phinn C",
+ "HERO_ABILITY_REIM_A_NAME": "Reim A",
+ "HERO_ABILITY_REIM_B_NAME": "Reim B",
+ "HERO_ABILITY_REIM_C_NAME": "Reim C",
+ "HERO_ABILITY_RINGO_HELLFIRE_SAKE_NAME": "Ringo C",
+ "HERO_ABILITY_RINGO_TWIRLING_SILVER_NAME": "Ringo B",
+ "HERO_ABILITY_RINGO_WING_CUT_NAME": "Ringo A",
+ "HERO_ABILITY_RONA_A_NAME": "Rona A",
+ "HERO_ABILITY_RONA_B_NAME": "Rona B",
+ "HERO_ABILITY_RONA_C_NAME": "Rona C",
+ "HERO_ABILITY_SAMUEL_A_NAME": "Samuel A",
+ "HERO_ABILITY_SAMUEL_B_NAME": "Samuel B",
+ "HERO_ABILITY_SAMUEL_C_NAME": "Samuel C",
+ "HERO_ABILITY_SAW_EXPLOSIVE_TIPPED_SHELLS_NAME": "SAW C",
+ "HERO_ABILITY_SAW_ROADIE_RUN_NAME": "SAW A",
+ "HERO_ABILITY_SAW_SUPPRESSING_FIRE_NAME": "SAW B",
+ "HERO_ABILITY_SAYOC_A": "Taka A",
+ "HERO_ABILITY_SAYOC_B": "Taka B",
+ "HERO_ABILITY_SAYOC_C": "Taka C",
+ "HERO_ABILITY_SEBA_A_NAME": "Baptiste A",
+ "HERO_ABILITY_SEBA_B_NAME": "Baptiste B",
+ "HERO_ABILITY_SEBA_C_NAME": "Baptiste C",
+ "HERO_ABILITY_SKAARF_A_SPITFIRE": "Skaarf A",
+ "HERO_ABILITY_SKAARF_B_GOOP": "Skaarf B",
+ "HERO_ABILITY_SKAARF_C_DRAGON_BREATH": "Skaarf C",
+ "HERO_ABILITY_SKYE_A_NAME": "Skye A",
+ "HERO_ABILITY_SKYE_B_NAME": "Skye B",
+ "HERO_ABILITY_SKYE_C_NAME": "Skye C",
+ "HERO_ABILITY_VOX_A_NAME": "Vox A",
+ "HERO_ABILITY_VOX_B_NAME": "Vox B",
+ "HERO_ABILITY_VOX_C_NAME": "Vox C",
+ "Journey Boots": "Journey Boots",
+ "Minion Candy": "Minion Candy",
+ "Nullwave Gauntlet": "Nullwave Gauntlet",
+ "Protector Contract": "Protector Contract",
+ "Reflex Block": "Reflex Block",
+ "Scout Trap": "Scout Trap",
+ "Shank": "SAW A",
+ "Shiversteel": "Shiversteel",
+ "Sprint Boots": "Sprint Boots",
+ "Travel Boots": "Travel Boots",
+ "<Unset>": "unknown",
+ "War Treads": "War Treads",
+ "Weapon Infusion": "Weapon Infusion",
+ "Withdraw": "backport",
+ "Ability__Adagio__C": "Adagio C",
+ "Ability__Alpha__AltAttack": "Alpha AA",
+ "Ability__Alpha__B": "Alpha B",
+ "Ability__Alpha__CritAttack": "Alpha AA",
+ "Ability__Alpha__Dash": "Alpha A",
+ "Ability__Alpha__DefaultAttack": "Alpha AA",
+ "Ability__Alpha__SelfDestruct": "Alpha C",
+ "Ability__Ardan__A": "Ardan A",
+ "Ability__Ardan__AltAttack": "Ardan AA",
+ "Ability__Ardan__B": "Ardan B",
+ "Ability__Ardan__C": "Ardan C",
+ "Ability__Ardan__CritAttack": "Ardan AA",
+ "Ability__Ardan__DefaultAttack": "Ardan AA",
+ "Ability__Blackfeather__A": "Blackfeather A",
+ "Ability__Blackfeather__AltAttack": "Blackfeather AA",
+ "Ability__Blackfeather__B": "Blackfeather B",
+ "Ability__Blackfeather__CritAttack": "Blackfeather AA",
+ "Ability__Blackfeather__DefaultAttack": "Blackfeather AA",
+ "Ability__Catherine__A_DefaultAttack": "Catherine A",
+ "Ability__Catherine__AltAttack": "Catherine AA",
+ "Ability__Catherine__C": "Catherine C",
+ "Ability__Catherine__CritAttack": "Catherine AA",
+ "Ability__Catherine__DefaultAttack": "Catherine AA",
+ "Ability__Flicker__AltAttack": "Flicker AA",
+ "Ability__Flicker__DefaultAttack": "Flicker AA",
+ "Ability__Fortress__AltAttack": "Fortress AA",
+ "Ability__Fortress__B": "Fortress B",
+ "Ability__Fortress__CritAttack": "Fortress AA",
+ "Ability__Fortress__DefaultAttack": "Fortress AA",
+ "Ability__Fortress__LungeAttack": "Fortress A",
+ "Ability__FortressMinion__AltAttack": "Fortress AA",
+ "Ability__FortressMinion__DefaultAttack": "Fortress AA",
+ "Ability__Glaive__A_KnockbackDefAttack": "Glaive A",
+ "Ability__Glaive__AltAttack": "Glaive AA",
+ "Ability__Glaive__B": "Glaive B",
+ "Ability__Glaive__C": "Glaive C",
+ "Ability__Glaive__CritAttack": "Glaive AA",
+ "Ability__Glaive__DefaultAttack": "Glaive AA",
+ "Ability__Grumpjaw__A": "Grumpjaw A",
+ "Ability__Grumpjaw__AltAttack": "Grumpjaw AA",
+ "Ability__Grumpjaw__B": "Grumpjaw B",
+ "Ability__Grumpjaw__B_FrenzyAttack": "Grumpjaw B",
+ "Ability__Grumpjaw__CritAttack": "Grumpjaw AA",
+ "Ability__Grumpjaw__DefaultAttack": "Grumpjaw AA",
+ "Ability__Gwen__A": "Gwen A",
+ "Ability__Idris__AltAttack": "Idris AA",
+ "Ability__Idris__C_LeapOff": "Idris C",
+ "Ability__Idris__CritAttack": "Idris AA",
+ "Ability__Idris__DefaultAttack": "Idris AA",
+ "Ability__Idris__EmpoweredAttack": "Idris AA",
+ "Ability__Item__ScoutTrap_Explode": "Scout Trap",
+ "Ability__Joule__A": "Joule A",
+ "Ability__Joule__AltAttack": "Joule AA",
+ "Ability__Joule__C": "Joule C",
+ "Ability__Joule__CritAttack": "Joule AA",
+ "Ability__Joule__DefaultAttack": "Joule AA",
+ "Ability__Kestrel__C": "Kestrel C",
+ "Ability__Kestrel__Trap_Detonate": "Kestrel B",
+ "Ability__Koshka__A": "Koshka A",
+ "Ability__Koshka__AltAttack": "Koshka AA",
+ "Ability__Koshka__B": "Koshka B",
+ "Ability__Koshka__C": "Koshka C",
+ "Ability__Koshka__CritAttack": "Koshka AA",
+ "Ability__Koshka__DefaultAttack": "Koshka AA",
+ "Ability__Koshka__TwirlEmpoweredAttack": "Koshka B",
+ "Ability__Krul__A": "Krul A",
+ "Ability__Krul__AltAttack": "Krul AA",
+ "Ability__Krul__B": "Krul B",
+ "Ability__Krul__CritAttack": "Krul AA",
+ "Ability__Krul__DefaultAttack": "Krul AA",
+ "Ability__Lance__A": "Lance A",
+ "Ability__Lance__AltAttack": "Lance AA",
+ "Ability__Lance__B": "Lance B",
+ "Ability__Lance__CritAttack": "Lance AA",
+ "Ability__Lance__DefaultAttack": "Lance AA",
+ "Ability__Lance__EmpoweredAttack": "Lance C",
+ "Ability__Ozo__A1": "Ozo A",
+ "Ability__Ozo__A2": "Ozo A",
+ "Ability__Ozo__A3": "Ozo A",
+ "Ability__Ozo__AltAttack": "Ozo AA",
+ "Ability__Ozo__B_EndingAttack": "Ozo B",
+ "Ability__Ozo__B_FinalBounce": "Ozo B",
+ "Ability__Ozo__B_IntermediateBounce": "Ozo B",
+ "Ability__Ozo__C_Finisher": "Ozo C",
+ "Ability__Ozo__CritAttack": "Ozo AA",
+ "Ability__Ozo__DefaultAttack": "Ozo AA",
+ "Ability__PetalMinion__AltAttack": "Petal AA",
+ "Ability__PetalMinion__DefaultAttack": "Petal AA",
+ "Ability__PetalMinion__DefaultAttack_FuseLit": "Petal AA",
+ "Ability__PetalMinion__Explode": "Petal C",
+ "Ability__PetalSeed__Explode": "Petal A",
+ "Ability__Phinn__A": "Phinn A",
+ "Ability__Phinn__AltAttack": "Phinn AA",
+ "Ability__Phinn__B": "Phinn B",
+ "Ability__Phinn__CritAttack": "Phinn AA",
+ "Ability__Phinn__DefaultAttack": "Phinn AA",
+ "Ability__Reim__AltAttack": "Reim AA",
+ "Ability__Reim__DefaultAttack": "Reim AA",
+ "Ability__Rona__A": "Rona A",
+ "Ability__Rona__AltAttack": "Rona AA",
+ "Ability__Rona__B": "Rona B",
+ "Ability__Rona__BAttackOverride": "Rona B",
+ "Ability__Rona__B_FollowUp": "Rona B",
+ "Ability__Rona__CritAttack": "Rona AA",
+ "Ability__Rona__DefaultAttack": "Rona AA",
+ "Ability__Samuel__EmpoweredAttack": "Samuel AA",
+ "Ability__SAW__B": "SAW B",
+ "Ability__SAW__Shank": "SAW A",
+ "Ability__Taka__A": "Taka A",
+ "Ability__Taka__AltAttack": "Taka AA",
+ "Ability__Taka__C": "Taka C",
+ "Ability__Taka__CritAttack": "Taka AA",
+ "Ability__Taka__DefaultAttack": "Taka AA",
+ "Ability__Taka__MortalStrike": "Taka AA",
+ "Ability__Taka__MortalStrike_Crit": "Taka AA",
+ "*Adagio*": "Adagio",
+ "*Alpha*": "Alpha",
+ "*Ardan*": "Ardan",
+ "*Baron*": "Baron",
+ "*Blackfeather*": "Blackfeather",
+ "Buff_Adagio_AgentOfWrath": "Adagio B",
+ "Buff_Adagio_ArcaneFire": "Adagio perk",
+ "Buff_Ardan_Arena": "Ardan C",
+ "Buff_Baron_C_Warning_Everybody": "Baron C",
+ "Buff_Blackfeather_HeartThrob": "Blackfeather perk",
+ "Buff_Catherine_Stormguard": "Catherine perk",
+ "Buff_CelesteCore_Collapse": "Celeste B",
+ "Buff_Celeste_Star": "Celeste A",
+ "Buff_CelesteStar_Supernova": "Celeste A",
+ "Buff_Flicker_A_FairyTrap": "Flicker A",
+ "Buff_Flicker_B_Field": "Flicker B",
+ "Buff_Fortress_Bleeding": "Fortress perk",
+ "Buff_Grumpjaw_B_Frenzy": "Grumpjaw B",
+ "Buff_Idris_C_AttachedEnemy": "Idris C",
+ "Buff_Item_Aftershock_attackBuff": "Aftershock",
+ "Buff_Item_AlternatingCurrent": "Alternating Current",
+ "Buff_Item_DragonbloodContract": "Dragonblood Contract",
+ "Buff_Item_EMP_Countdown": "Nullwave Gauntlet",
+ "Buff_Item_HitByStormguardBanner": "Stormguard Banner",
+ "Buff_Joule_Thunderstrike": "Joule B",
+ "Buff_Lyra_ImmuneToWall": "Lyra B",
+ "Buff_Lyra_SpiritFlame": "Lyra AA", // TODO
+ "Buff_Reim_B": "Reim B",
+ "Buff_Reim_FrostDoT": "Reim perk",
+ "Buff_ReimSpawn_A": "Reim A",
+ "Buff_ReimSpawn_C": "Reim C",
+ "Buff_Ringo_HellfireBrew_Burn": "Ringo C",
+ "Buff_Ringo_TwirlingSilver": "Ringo B",
+ "Buff_Rona_RupturedGround": "Rona A",
+ "Buff_Rona_Whirlwind": "Rona C",
+ "Buff_Samuel_B_DarkField": "Samuel B",
+ "Buff_Skaarf_Blow": "Skaarf C",
+ "Buff_Skaarf_Burn": "Skaarf C",
+ "Buff_Skaarf_GoopPoolOnFire": "Skaarf B",
+ "Buff_Skye_ClusterMissileVolley_Exploding": "Skye C",
+ "Buff_Skye_HitBy_B_Missiles": "Skye B",
+ "Buff_Skye_LineMissileVolley_Exploding": "Skye C",
+ "Buff_Taka_MortalWound": "Taka perk",
+ "*Catherine*": "Catherine",
+ "*Celeste*": "Celeste",
+ "*Flicker*": "Flicker",
+ "*Fortress*": "Fortress",
+ "*FortressMinion*": "Fortress Wolf",
+ "*Glaive*": "Glaive",
+ "*Grumpjaw*": "Grumpjaw",
+ "*Gwen*": "Gwen",
+ "*Hero009*": "Krul",
+ "*Hero010*": "Skaarf",
+ "*Hero016*": "Rona",
+ "*Idris*": "Idris",
+ "*Joule*": "Joule",
+ "*JungleMinion_CrystalMiner*": "Crystal Sentry",
+ "*JungleMinion_ElderTreeEnt*": "Shop Treant",
+ "*JungleMinion_GoldMiner*": "Gold Miner",
+ "*JungleMinion_TreeEnt*": "Treant",
+ "*Kestrel*": "Kestrel",
+ "*Koshka*": "Koshka",
+ "*Kraken_Captured*": "Kraken",
+ "*Kraken_Jungle*": "Kraken",
+ "*Krul*": "Krul",
+ "*Lance*": "Lance",
+ "*LeadMinion*": "Lane Minion",
+ "*Lyra*": "Lyra",
+ "*Neutral_JungleMinion_DefaultBig*": "Jungle Minion",
+ "*Neutral_JungleMinion_DefaultSmall*": "Jungle Minion",
+ "*Ozo*": "Ozo",
+ "*Petal*": "Petal",
+ "*PetalMinion*": "Petal",
+ "*PetalSeed*": "Petal",
+ "*Phinn*": "Phinn",
+ "*RangedMinion*": "Lane Minion",
+ "*Reim*": "Reim",
+ "*Ringo*": "Ringo",
+ "*Rona*": "Rona",
+ "*Samuel*": "Samuel",
+ "*SAW*": "SAW",
+ "*Sayoc*": "Taka",
+ "*Skaarf*": "Skaarf",
+ "*Skye*": "Skye",
+ "*Taka*": "Taka",
+ "*TankMinion*": "Lane Minion",
+ "*Turret*": "Turret",
+ "Unknown": "unknown",
+ "*VainCrystalAway*": "Vain Crystal",
+ "*VainCrystalHome*": "Vain Crystal",
+ "*VainTurret*": "Vain Turret",
+ "*Vox*": "Vox",
+ "*Baptiste*": "Baptiste",
+ "*1000_Item_HalcyonPotion*": "Halcyon Potion",
+ "*1002_Item_WeaponBlade*": "Weapon Blade",
+ "*1003_Item_CrystalBit*": "Crystal Bit",
+ "*1004_Item_SwiftShooter*": "Swift Shooter",
+ "*1005_Item_SixSins*": "Six Sins",
+ "*1009_Item_EclipsePrism*": "Eclipse Prism",
+ "*1010_Item_BlazingSalvo*": "Blazing Salvo",
+ "*1012_Item_Sorrowblade*": "Sorrowblade",
+ "*1013_Item_Shatterglass*": "Shatterglass",
+ "*1014_Item_TornadoTrigger*": "Tornado Trigger",
+ "*1015_Item_Oakheart*": "Oakheart",
+ "*1016_Item_Dragonheart*": "Dragonheart",
+ "*1017_Item_LightArmor*": "Light Armor",
+ "*1022_Item_CoatOfPlates*": "Coat of Plates",
+ "*1024_Item_MetalJacket*": "Metal Jacket",
+ "*1025_Item_EnergyBattery*": "Energy Battery",
+ "*1026_Item_Hourglass*": "Hourglass",
+ "*1027_Item_VoidBattery*": "Void Battery",
+ "*1028_Item_Chronograph*": "Chronograph",
+ "*1029_Item_Clockwork*": "Clockwork",
+ "*1030_Item_SprintBoots*": "Sprint Boots",
+ "*1032_Item_TravelBoots*": "Travel Boots",
+ "*1034_Item_SerpentMask*": "Serpent Mask",
+ "*1035_Item_TensionBow*": "Tension Bow",
+ "*1038_Item_Flare*": "Flare",
+ "*1039_Item_Bonesaw*": "Bonesaw",
+ "*1041_Item_MinionCandy*": "Minion Candy",
+ "*1042_Item_Shiversteel*": "Shiversteel",
+ "*1043_Item_ReflexBlock*": "Reflex Block",
+ "*1044_Item_Frostburn*": "Frostburn",
+ "*1045_Item_FountainOfRenewal*": "Fountain of Renewal",
+ "*1046_Item_Crucible*": "Crucible",
+ "*1047_Item_JourneyBoots*": "Journey Boots",
+ "*1049_Item_TyrantsMonocle*": "Tyrant's Monocle",
+ "*1050_Item_Aftershock*": "Aftershock",
+ "*1052_Item_WeaponInfusion*": "Weapon Infusion",
+ "*1053_Item_CrystalInfusion*": "Crystal Infusion",
+ "*1054_Item_ScoutTrap*": "Scout Trap",
+ "*1055_Item_BrokenMyth*": "Broken Myth",
+ "*1056_Item_WarTreads*": "War Treads",
+ "*1057_Item_AtlasPauldron*": "Atlas Pauldron",
+ "*1059_Item_BookOfEulogies*": "Book of Eulogies",
+ "*1060_Item_BarbedNeedle*": "Barbed Needle",
+ "*1061_Item_LightShield*": "Light Shield",
+ "*1062_Item_KineticShield*": "Kinetic Shield",
+ "*1063_Item_Aegis*": "Aegis",
+ "*1064_Item_Lifespring*": "Lifespring",
+ "*1065_Item_HeavySteel*": "Heavy Steel",
+ "*1066_Item_PiercingSpear*": "Piercing Spear",
+ "*1067_Item_BreakingPoint*": "Breaking Point",
+ "*1068_Item_LuckyStrike*": "Lucky Strike",
+ "*1069_Item_AlternatingCurrent*": "Alternating Current",
+ "*1070_Item_PiercingShard*": "Piercing Shard",
+ "*1071_Item_EveOfHarvest*": "Eve of Harvest",
+ "*1072_Item_HeavyPrism*": "Heavy Prism",
+ "*1073_Item_IronguardContract*": "Ironguard Contract",
+ "*1085_Item_DragonbloodContract*": "Dragonblood Contract",
+ "*1074_Item_StormguardBanner*": "Stormguard Banner",
+ "*1079_Item_Contraption*": "Contraption",
+ "*1080_Item_MinionsFoot*": "Minion's Foot",
+ "*1084_Item_ProtectorContract*": "Protector Contract",
+ "*1087_Item_HalcyonChargers*": "Halcyon Chargers",
+ "*1088_Item_Flaregun*": "Flare Gun",
+ "*1090_Item_Stormcrown*": "Stormcrown",
+ "*1092_Item_PoisonedShiv*": "Poisoned Shiv",
+ "*1095_Item_NullwaveGauntlet*": "Nullwave Gauntlet",
+ "*1097_Item_Echo*": "Echo",
+ "*1105_Item_SlumberingHusk*": "Slumbering Husk",
+ "*1002_Item_CandyShop_Kissy*": "Kissy",
+ "*1005_Item_CandyShop_Taunt*": "Taunt",
+ "*1007_Item_CandyShop_VOTaunt*": "Voice over Taunt",
+ "*Item_HalcyonPotion*": "Halcyon Potion",
+ "*Item_WeaponBlade*": "Weapon Blade",
+ "*Item_CrystalBit*": "Crystal Bit",
+ "*Item_SwiftShooter*": "Swift Shooter",
+ "*Item_SixSins*": "Six Sins",
+ "*Item_EclipsePrism*": "Eclipse Prism",
+ "*Item_BlazingSalvo*": "Blazing Salvo",
+ "*Item_Sorrowblade*": "Sorrowblade",
+ "*Item_Shatterglass*": "Shatterglass",
+ "*Item_TornadoTrigger*": "Tornado Trigger",
+ "*Item_Oakheart*": "Oakheart",
+ "*Item_Dragonheart*": "Dragonheart",
+ "*Item_LightArmor*": "Light Armor",
+ "*Item_CoatOfPlates*": "Coat of Plates",
+ "*Item_MetalJacket*": "Metal Jacket",
+ "*Item_EnergyBattery*": "Energy Battery",
+ "*Item_Hourglass*": "Hourglass",
+ "*Item_VoidBattery*": "Void Battery",
+ "*Item_Chronograph*": "Chronograph",
+ "*Item_Clockwork*": "Clockwork",
+ "*Item_SprintBoots*": "Sprint Boots",
+ "*Item_TravelBoots*": "Travel Boots",
+ "*Item_SerpentMask*": "Serpent Mask",
+ "*Item_TensionBow*": "Tension Bow",
+ "*Item_Flare*": "Flare",
+ "*Item_Bonesaw*": "Bonesaw",
+ "*Item_MinionCandy*": "Minion Candy",
+ "*Item_Shiversteel*": "Shiversteel",
+ "*Item_ReflexBlock*": "Reflex Block",
+ "*Item_Frostburn*": "Frostburn",
+ "*Item_FountainOfRenewal*": "Fountain of Renewal",
+ "*Item_Crucible*": "Crucible",
+ "*Item_JourneyBoots*": "Journey Boots",
+ "*Item_TyrantsMonocle*": "Tyrant's Monocle",
+ "*Item_Aftershock*": "Aftershock",
+ "*Item_WeaponInfusion*": "Weapon Infusion",
+ "*Item_CrystalInfusion*": "Crystal Infusion",
+ "*Item_ScoutTrap*": "Scout Trap",
+ "*Item_BrokenMyth*": "Broken Myth",
+ "*Item_WarTreads*": "War Treads",
+ "*Item_AtlasPauldron*": "Atlas Pauldron",
+ "*Item_BookOfEulogies*": "Book of Eulogies",
+ "*Item_BarbedNeedle*": "Barbed Needle",
+ "*Item_LightShield*": "Light Shield",
+ "*Item_KineticShield*": "Kinetic Shield",
+ "*Item_Aegis*": "Aegis",
+ "*Item_Lifespring*": "Lifespring",
+ "*Item_HeavySteel*": "Heavy Steel",
+ "*Item_PiercingSpear*": "Piercing Spear",
+ "*Item_BreakingPoint*": "Breaking Point",
+ "*Item_LuckyStrike*": "Lucky Strike",
+ "*Item_AlternatingCurrent*": "Alternating Current",
+ "*Item_PiercingShard*": "Piercing Shard",
+ "*Item_EveOfHarvest*": "Eve of Harvest",
+ "*Item_HeavyPrism*": "Heavy Prism",
+ "*Item_IronguardContract*": "Ironguard Contract",
+ "*Item_DragonbloodContract*": "Dragonblood Contract",
+ "*Item_StormguardBanner*": "Stormguard Banner",
+ "*Item_Contraption*": "Contraption",
+ "*Item_MinionsFoot*": "Minion's Foot",
+ "*Item_ProtectorContract*": "Protector Contract",
+ "*Item_HalcyonChargers*": "Halcyon Chargers",
+ "*Item_Flaregun*": "Flare Gun",
+ "*Item_Stormcrown*": "Stormcrown",
+ "*Item_PoisonedShiv*": "Poisoned Shiv",
+ "*Item_NullwaveGauntlet*": "Nullwave Gauntlet",
+ "*Item_Echo*": "Echo",
+ "*Item_SlumberingHusk*": "Slumbering Husk",
+ "*Item_CandyShop_Kissy*": "Kissy",
+ "*Item_CandyShop_Taunt*": "Taunt",
+ "*Item_CandyShop_VOTaunt*": "Voice over Taunt",
+ "Aftershock": "Aftershock",
+ "Armor Shredder": "Bonesaw",
+ "Armor2": "Coat of Plates",
+ "Armor3": "Metal Jacket",
+ "AttackSpeed1": "Swift Shooter",
+ "AttackSpeed2": "Blazing Salvo",
+ "BarbedNeedle": "Barbed Needle",
+ "Boots1": "Sprint Boots",
+ "Boots2": "Travel Boots",
+ "Boots3": "Journey Boots",
+ "BreakingPoint": "Breaking Point",
+ "Broken Myth": "Broken Myth",
+ "Clockwork": "Clockwork",
+ "Cogwheel": "Chronograph",
+ "Cooldown1": "Hourglass",
+ "Critical": "Tyrant's Monocle",
+ "Tyrants Monocle": "Tyrant's Monocle",
+ "Crystal Matrix": "Aegis",
+ "Crystal1": "Crystal Bit",
+ "Crystal2": "Eclipse Prism",
+ "Crystal3": "Shatterglass",
+ "EveOfHarvest": "Eve of Harvest",
+ "Frostburn": "Frostburn",
+ "Health2": "Dragonheart",
+ "Heavy Prism": "Heavy Prism",
+ "Heavy Steel": "Heavy Steel",
+ "IronguardContract": "Ironguard Contract",
+ "Lifewell": "Lifespring",
+ "Light Armor": "Light Armor",
+ "Light Shield": "Light Shield",
+ "LuckyStrike": "Lucky Strike",
+ "MinionsFoot": "Minion's Foot",
+ "Minions Foot": "Minion's Foot",
+ "Mulled Wine": "Halcyon Potion",
+ "NullwaveGauntlet": "Nullwave Gauntlet",
+ "Oakheart": "Oakheart",
+ "PiercingShard": "Piercing Shard",
+ "PiercingSpear": "Piercing Spear",
+ "PoisonedShiv": "Poisoned Shiv",
+ "Serpent Mask": "Serpent Mask",
+ "Shield 2": "Kinetic Shield",
+ "Six Sins": "Six Sins",
+ "SlumberingHusk": "Slumbering Husk",
+ "Steam Battery": "Energy Battery",
+ "Stormcrown": "Stormcrown",
+ "StormguardBanner": "Stormguard Banner",
+ "Tension Bow": "Tension Bow",
+ "Tornado Trigger": "Tornado Trigger",
+ "Void Battery": "Void Battery",
+ "Weapon Blade": "Weapon Blade",
+ "Weapon3": "Sorrowblade",
+ "Coat Of Plates": "Coat of Plates",
+ "BookOfEulogies": "Book of Eulogies",
+ "Book Of Eulogies": "Book of Eulogies",
+ "Eve Of Harvest": "Eve of Harvest",
+ "Candy - VO Taunt": "Voice over Taunt"
+}
diff --git a/models/asset.js b/models/asset.js
index ae939a0..1f51ef6 100644
--- a/models/asset.js
+++ b/models/asset.js
@@ -14,7 +14,7 @@ module.exports = function(sequelize, DataTypes) {
unique: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: false
},
match_api_id: {
diff --git a/models/event.js b/models/event.js
index beed589..daa9c58 100644
--- a/models/event.js
+++ b/models/event.js
@@ -12,7 +12,7 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING(191),
allowNull: true
},
- group_id: {
+ division_id: {
type: DataTypes.INTEGER(11),
allowNull: false
},
@@ -22,7 +22,7 @@ module.exports = function(sequelize, DataTypes) {
},
team_1_id: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
team_1_score: {
type: DataTypes.INTEGER(11),
@@ -30,7 +30,7 @@ module.exports = function(sequelize, DataTypes) {
},
team_2_id: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
},
team_2_score: {
type: DataTypes.INTEGER(11),
diff --git a/models/game_mode.js b/models/game_mode.js
index 5eb1a91..06ec06d 100644
--- a/models/game_mode.js
+++ b/models/game_mode.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
name: {
- type: DataTypes.STRING(16),
+ type: DataTypes.STRING(25),
allowNull: false,
unique: true
}
diff --git a/models/match.js b/models/match.js
index f36aa7b..4faf015 100644
--- a/models/match.js
+++ b/models/match.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: false
},
api_id: {
@@ -19,7 +19,7 @@ module.exports = function(sequelize, DataTypes) {
},
created_at: {
type: DataTypes.TIME,
- allowNull: true
+ allowNull: false
},
duration: {
type: DataTypes.INTEGER(5).UNSIGNED,
diff --git a/models/participant.js b/models/participant.js
index 8faeaaf..d7fc638 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: false
},
api_id: {
@@ -96,6 +96,10 @@ module.exports = function(sequelize, DataTypes) {
trueskill_delta: {
type: "DOUBLE",
allowNull: true
+ },
+ nacl_score: {
+ type: "DOUBLE",
+ allowNull: true
}
}, {
tableName: 'participant',
diff --git a/models/participant_phases.js b/models/participant_phases.js
index c380de3..4d45e02 100644
--- a/models/participant_phases.js
+++ b/models/participant_phases.js
@@ -271,6 +271,18 @@ module.exports = function(sequelize, DataTypes) {
player_damage: {
type: DataTypes.STRING(191),
allowNull: true
+ },
+ draft_position: {
+ type: DataTypes.INTEGER(11),
+ allowNull: true
+ },
+ ban: {
+ type: DataTypes.INTEGER(11),
+ allowNull: true
+ },
+ pick: {
+ type: DataTypes.INTEGER(11),
+ allowNull: true
}
}, {
tableName: 'participant_phases',
diff --git a/models/participant_stats.js b/models/participant_stats.js
index fcc0870..004deb1 100644
--- a/models/participant_stats.js
+++ b/models/participant_stats.js
@@ -183,6 +183,10 @@ module.exports = function(sequelize, DataTypes) {
duration: {
type: DataTypes.INTEGER(5).UNSIGNED,
allowNull: false
+ },
+ nacl_score: {
+ type: "DOUBLE",
+ allowNull: true
}
}, {
tableName: 'participant_stats',
diff --git a/models/player.js b/models/player.js
index ba20381..6e47161 100644
--- a/models/player.js
+++ b/models/player.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: false
},
api_id: {
@@ -19,8 +19,7 @@ module.exports = function(sequelize, DataTypes) {
},
name: {
type: DataTypes.STRING(191),
- allowNull: false,
- defaultValue: ""
+ allowNull: false
},
last_match_created_date: {
type: DataTypes.TIME,
diff --git a/models/roster.js b/models/roster.js
index ef5747b..d4b34e0 100644
--- a/models/roster.js
+++ b/models/roster.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: false
},
api_id: {
@@ -52,10 +52,6 @@ module.exports = function(sequelize, DataTypes) {
winner: {
type: DataTypes.INTEGER(1),
allowNull: false
- },
- bans: {
- type: DataTypes.STRING(191),
- allowNull: true
}
}, {
tableName: 'roster',
diff --git a/models/team.js b/models/team.js
index c9a7880..c0830b8 100644
--- a/models/team.js
+++ b/models/team.js
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
autoIncrement: true
},
shard_id: {
- type: DataTypes.STRING(5),
+ type: DataTypes.STRING(191),
allowNull: true
},
api_id: {