diff --git a/src/app/json-typings.d.ts b/src/app/json-typings.d.ts new file mode 100644 index 0000000..1056388 --- /dev/null +++ b/src/app/json-typings.d.ts @@ -0,0 +1,4 @@ +declare module "*.json" { + const value: any; + export default value; + } \ No newline at end of file diff --git a/src/assets/images/Aatrox.png b/src/assets/images/Aatrox.png deleted file mode 100644 index 1fa09d7..0000000 Binary files a/src/assets/images/Aatrox.png and /dev/null differ diff --git a/src/assets/images/Ahri.png b/src/assets/images/Ahri.png deleted file mode 100644 index fd60ff3..0000000 Binary files a/src/assets/images/Ahri.png and /dev/null differ diff --git a/src/assets/images/Akali.png b/src/assets/images/Akali.png deleted file mode 100644 index 82bb993..0000000 Binary files a/src/assets/images/Akali.png and /dev/null differ diff --git a/src/assets/images/Anivia.png b/src/assets/images/Anivia.png deleted file mode 100644 index f66e8a5..0000000 Binary files a/src/assets/images/Anivia.png and /dev/null differ diff --git a/src/assets/images/Ashe.png b/src/assets/images/Ashe.png deleted file mode 100644 index 536df80..0000000 Binary files a/src/assets/images/Ashe.png and /dev/null differ diff --git a/src/assets/images/AurelionSol.png b/src/assets/images/AurelionSol.png deleted file mode 100644 index faca233..0000000 Binary files a/src/assets/images/AurelionSol.png and /dev/null differ diff --git a/src/assets/images/Blitzcrank.png b/src/assets/images/Blitzcrank.png deleted file mode 100644 index e1f8b6c..0000000 Binary files a/src/assets/images/Blitzcrank.png and /dev/null differ diff --git a/src/assets/images/Brand.png b/src/assets/images/Brand.png deleted file mode 100644 index 81639ce..0000000 Binary files a/src/assets/images/Brand.png and /dev/null differ diff --git a/src/assets/images/Braum.png b/src/assets/images/Braum.png deleted file mode 100644 index f05ce3a..0000000 Binary files a/src/assets/images/Braum.png and /dev/null differ diff --git a/src/assets/images/Camille.png b/src/assets/images/Camille.png deleted file mode 100644 index b8c6316..0000000 Binary files a/src/assets/images/Camille.png and /dev/null differ diff --git a/src/assets/images/Chogath.png b/src/assets/images/Chogath.png deleted file mode 100644 index 4525089..0000000 Binary files a/src/assets/images/Chogath.png and /dev/null differ diff --git a/src/assets/images/Darius.png b/src/assets/images/Darius.png deleted file mode 100644 index 841ca3b..0000000 Binary files a/src/assets/images/Darius.png and /dev/null differ diff --git a/src/assets/images/Draven.png b/src/assets/images/Draven.png deleted file mode 100644 index 44d7c37..0000000 Binary files a/src/assets/images/Draven.png and /dev/null differ diff --git a/src/assets/images/Elise.png b/src/assets/images/Elise.png deleted file mode 100644 index 79bb0ee..0000000 Binary files a/src/assets/images/Elise.png and /dev/null differ diff --git a/src/assets/images/Evelynn.png b/src/assets/images/Evelynn.png deleted file mode 100644 index 70f7f0a..0000000 Binary files a/src/assets/images/Evelynn.png and /dev/null differ diff --git a/src/assets/images/Fiora.png b/src/assets/images/Fiora.png deleted file mode 100644 index a35a8f8..0000000 Binary files a/src/assets/images/Fiora.png and /dev/null differ diff --git a/src/assets/images/Gangplank.png b/src/assets/images/Gangplank.png deleted file mode 100644 index f4bd8a1..0000000 Binary files a/src/assets/images/Gangplank.png and /dev/null differ diff --git a/src/assets/images/Garen.png b/src/assets/images/Garen.png deleted file mode 100644 index 9b270dd..0000000 Binary files a/src/assets/images/Garen.png and /dev/null differ diff --git a/src/assets/images/Gnar.png b/src/assets/images/Gnar.png deleted file mode 100644 index 4ee18c6..0000000 Binary files a/src/assets/images/Gnar.png and /dev/null differ diff --git a/src/assets/images/Graves.png b/src/assets/images/Graves.png deleted file mode 100644 index af80862..0000000 Binary files a/src/assets/images/Graves.png and /dev/null differ diff --git a/src/assets/images/Jayce.png b/src/assets/images/Jayce.png deleted file mode 100644 index af6453e..0000000 Binary files a/src/assets/images/Jayce.png and /dev/null differ diff --git a/src/assets/images/Jinx.png b/src/assets/images/Jinx.png deleted file mode 100644 index cf403c9..0000000 Binary files a/src/assets/images/Jinx.png and /dev/null differ diff --git a/src/assets/images/Karthus.png b/src/assets/images/Karthus.png deleted file mode 100644 index f742bed..0000000 Binary files a/src/assets/images/Karthus.png and /dev/null differ diff --git a/src/assets/images/Kassadin.png b/src/assets/images/Kassadin.png deleted file mode 100644 index 98724aa..0000000 Binary files a/src/assets/images/Kassadin.png and /dev/null differ diff --git a/src/assets/images/Katarina.png b/src/assets/images/Katarina.png deleted file mode 100644 index 266de46..0000000 Binary files a/src/assets/images/Katarina.png and /dev/null differ diff --git a/src/assets/images/Kayle.png b/src/assets/images/Kayle.png deleted file mode 100644 index d41cf1d..0000000 Binary files a/src/assets/images/Kayle.png and /dev/null differ diff --git a/src/assets/images/Kennen.png b/src/assets/images/Kennen.png deleted file mode 100644 index d9ccea6..0000000 Binary files a/src/assets/images/Kennen.png and /dev/null differ diff --git a/src/assets/images/Khazix.png b/src/assets/images/Khazix.png deleted file mode 100644 index db8786d..0000000 Binary files a/src/assets/images/Khazix.png and /dev/null differ diff --git a/src/assets/images/Kindred.png b/src/assets/images/Kindred.png deleted file mode 100644 index 1b185a6..0000000 Binary files a/src/assets/images/Kindred.png and /dev/null differ diff --git a/src/assets/images/Leona.png b/src/assets/images/Leona.png deleted file mode 100644 index ba20131..0000000 Binary files a/src/assets/images/Leona.png and /dev/null differ diff --git a/src/assets/images/Lissandra.png b/src/assets/images/Lissandra.png deleted file mode 100644 index c0a9e0d..0000000 Binary files a/src/assets/images/Lissandra.png and /dev/null differ diff --git a/src/assets/images/Lucian.png b/src/assets/images/Lucian.png deleted file mode 100644 index 24778de..0000000 Binary files a/src/assets/images/Lucian.png and /dev/null differ diff --git a/src/assets/images/Lulu.png b/src/assets/images/Lulu.png deleted file mode 100644 index 30e6d52..0000000 Binary files a/src/assets/images/Lulu.png and /dev/null differ diff --git a/src/assets/images/MissFortune.png b/src/assets/images/MissFortune.png deleted file mode 100644 index 9eea542..0000000 Binary files a/src/assets/images/MissFortune.png and /dev/null differ diff --git a/src/assets/images/Mordekaiser.png b/src/assets/images/Mordekaiser.png deleted file mode 100644 index 487abbf..0000000 Binary files a/src/assets/images/Mordekaiser.png and /dev/null differ diff --git a/src/assets/images/Morgana.png b/src/assets/images/Morgana.png deleted file mode 100644 index 390e1d4..0000000 Binary files a/src/assets/images/Morgana.png and /dev/null differ diff --git a/src/assets/images/Nidalee.png b/src/assets/images/Nidalee.png deleted file mode 100644 index bcb433c..0000000 Binary files a/src/assets/images/Nidalee.png and /dev/null differ diff --git a/src/assets/images/Pantheon.png b/src/assets/images/Pantheon.png deleted file mode 100644 index 3fcd52a..0000000 Binary files a/src/assets/images/Pantheon.png and /dev/null differ diff --git a/src/assets/images/Poppy.png b/src/assets/images/Poppy.png deleted file mode 100644 index e516358..0000000 Binary files a/src/assets/images/Poppy.png and /dev/null differ diff --git a/src/assets/images/Pyke.png b/src/assets/images/Pyke.png deleted file mode 100644 index b9b36bf..0000000 Binary files a/src/assets/images/Pyke.png and /dev/null differ diff --git a/src/assets/images/RekSai.png b/src/assets/images/RekSai.png deleted file mode 100644 index 187aff2..0000000 Binary files a/src/assets/images/RekSai.png and /dev/null differ diff --git a/src/assets/images/Rengar.png b/src/assets/images/Rengar.png deleted file mode 100644 index fc308fd..0000000 Binary files a/src/assets/images/Rengar.png and /dev/null differ diff --git a/src/assets/images/Sejuani.png b/src/assets/images/Sejuani.png deleted file mode 100644 index 38421dd..0000000 Binary files a/src/assets/images/Sejuani.png and /dev/null differ diff --git a/src/assets/images/Shen.png b/src/assets/images/Shen.png deleted file mode 100644 index 3bceefd..0000000 Binary files a/src/assets/images/Shen.png and /dev/null differ diff --git a/src/assets/images/Shyvana.png b/src/assets/images/Shyvana.png deleted file mode 100644 index 1f8b85c..0000000 Binary files a/src/assets/images/Shyvana.png and /dev/null differ diff --git a/src/assets/images/Swain.png b/src/assets/images/Swain.png deleted file mode 100644 index 9457437..0000000 Binary files a/src/assets/images/Swain.png and /dev/null differ diff --git a/src/assets/images/Tristana.png b/src/assets/images/Tristana.png deleted file mode 100644 index dc57ad1..0000000 Binary files a/src/assets/images/Tristana.png and /dev/null differ diff --git a/src/assets/images/TwistedFate.png b/src/assets/images/TwistedFate.png deleted file mode 100644 index b4ad054..0000000 Binary files a/src/assets/images/TwistedFate.png and /dev/null differ diff --git a/src/assets/images/Varus.png b/src/assets/images/Varus.png deleted file mode 100644 index 6e25432..0000000 Binary files a/src/assets/images/Varus.png and /dev/null differ diff --git a/src/assets/images/Vayne.png b/src/assets/images/Vayne.png deleted file mode 100644 index 8b708f8..0000000 Binary files a/src/assets/images/Vayne.png and /dev/null differ diff --git a/src/assets/images/Veigar.png b/src/assets/images/Veigar.png deleted file mode 100644 index 1271a1a..0000000 Binary files a/src/assets/images/Veigar.png and /dev/null differ diff --git a/src/assets/images/Vi.png b/src/assets/images/Vi.png deleted file mode 100644 index 1a7e929..0000000 Binary files a/src/assets/images/Vi.png and /dev/null differ diff --git a/src/assets/images/Volibear.png b/src/assets/images/Volibear.png deleted file mode 100644 index 916be19..0000000 Binary files a/src/assets/images/Volibear.png and /dev/null differ diff --git a/src/assets/images/Warwick.png b/src/assets/images/Warwick.png deleted file mode 100644 index 8046cfe..0000000 Binary files a/src/assets/images/Warwick.png and /dev/null differ diff --git a/src/assets/images/Yasuo.png b/src/assets/images/Yasuo.png deleted file mode 100644 index 8d6fa84..0000000 Binary files a/src/assets/images/Yasuo.png and /dev/null differ diff --git a/src/assets/images/Zed.png b/src/assets/images/Zed.png deleted file mode 100644 index 23ac123..0000000 Binary files a/src/assets/images/Zed.png and /dev/null differ diff --git a/src/assets/images/assassin.png b/src/assets/images/assassin.png deleted file mode 100644 index 5091826..0000000 Binary files a/src/assets/images/assassin.png and /dev/null differ diff --git a/src/assets/images/blademaster.png b/src/assets/images/blademaster.png deleted file mode 100644 index 17d8b08..0000000 Binary files a/src/assets/images/blademaster.png and /dev/null differ diff --git a/src/assets/images/brawler.png b/src/assets/images/brawler.png deleted file mode 100644 index 4af1686..0000000 Binary files a/src/assets/images/brawler.png and /dev/null differ diff --git a/src/assets/images/champions/TFT5_Aatrox.png b/src/assets/images/champions/TFT5_Aatrox.png new file mode 100644 index 0000000..9d14f4b Binary files /dev/null and b/src/assets/images/champions/TFT5_Aatrox.png differ diff --git a/src/assets/images/champions/TFT5_Akshan.png b/src/assets/images/champions/TFT5_Akshan.png new file mode 100644 index 0000000..47e57f7 Binary files /dev/null and b/src/assets/images/champions/TFT5_Akshan.png differ diff --git a/src/assets/images/champions/TFT5_Aphelios.png b/src/assets/images/champions/TFT5_Aphelios.png new file mode 100644 index 0000000..d95dc5e Binary files /dev/null and b/src/assets/images/champions/TFT5_Aphelios.png differ diff --git a/src/assets/images/champions/TFT5_Ashe.png b/src/assets/images/champions/TFT5_Ashe.png new file mode 100644 index 0000000..05666ae Binary files /dev/null and b/src/assets/images/champions/TFT5_Ashe.png differ diff --git a/src/assets/images/champions/TFT5_Brand.png b/src/assets/images/champions/TFT5_Brand.png new file mode 100644 index 0000000..6be1fa4 Binary files /dev/null and b/src/assets/images/champions/TFT5_Brand.png differ diff --git a/src/assets/images/champions/TFT5_Diana.png b/src/assets/images/champions/TFT5_Diana.png new file mode 100644 index 0000000..884af6a Binary files /dev/null and b/src/assets/images/champions/TFT5_Diana.png differ diff --git a/src/assets/images/champions/TFT5_Draven.png b/src/assets/images/champions/TFT5_Draven.png new file mode 100644 index 0000000..4a089ff Binary files /dev/null and b/src/assets/images/champions/TFT5_Draven.png differ diff --git a/src/assets/images/champions/TFT5_Fiddlesticks.png b/src/assets/images/champions/TFT5_Fiddlesticks.png new file mode 100644 index 0000000..2ac914a Binary files /dev/null and b/src/assets/images/champions/TFT5_Fiddlesticks.png differ diff --git a/src/assets/images/champions/TFT5_Galio.png b/src/assets/images/champions/TFT5_Galio.png new file mode 100644 index 0000000..4f30c21 Binary files /dev/null and b/src/assets/images/champions/TFT5_Galio.png differ diff --git a/src/assets/images/champions/TFT5_Garen.png b/src/assets/images/champions/TFT5_Garen.png new file mode 100644 index 0000000..d91068e Binary files /dev/null and b/src/assets/images/champions/TFT5_Garen.png differ diff --git a/src/assets/images/champions/TFT5_Gragas.png b/src/assets/images/champions/TFT5_Gragas.png new file mode 100644 index 0000000..ddb29b8 Binary files /dev/null and b/src/assets/images/champions/TFT5_Gragas.png differ diff --git a/src/assets/images/champions/TFT5_Gwen.png b/src/assets/images/champions/TFT5_Gwen.png new file mode 100644 index 0000000..783ceb5 Binary files /dev/null and b/src/assets/images/champions/TFT5_Gwen.png differ diff --git a/src/assets/images/champions/TFT5_Hecarim.png b/src/assets/images/champions/TFT5_Hecarim.png new file mode 100644 index 0000000..4dafe0e Binary files /dev/null and b/src/assets/images/champions/TFT5_Hecarim.png differ diff --git a/src/assets/images/champions/TFT5_Heimerdinger.png b/src/assets/images/champions/TFT5_Heimerdinger.png new file mode 100644 index 0000000..4b16d06 Binary files /dev/null and b/src/assets/images/champions/TFT5_Heimerdinger.png differ diff --git a/src/assets/images/champions/TFT5_Irelia.png b/src/assets/images/champions/TFT5_Irelia.png new file mode 100644 index 0000000..09e3c94 Binary files /dev/null and b/src/assets/images/champions/TFT5_Irelia.png differ diff --git a/src/assets/images/champions/TFT5_Ivern.png b/src/assets/images/champions/TFT5_Ivern.png new file mode 100644 index 0000000..48bc6fa Binary files /dev/null and b/src/assets/images/champions/TFT5_Ivern.png differ diff --git a/src/assets/images/champions/TFT5_Jax.png b/src/assets/images/champions/TFT5_Jax.png new file mode 100644 index 0000000..39c3e59 Binary files /dev/null and b/src/assets/images/champions/TFT5_Jax.png differ diff --git a/src/assets/images/champions/TFT5_Kalista.png b/src/assets/images/champions/TFT5_Kalista.png new file mode 100644 index 0000000..27dd2bd Binary files /dev/null and b/src/assets/images/champions/TFT5_Kalista.png differ diff --git a/src/assets/images/champions/TFT5_Karma.png b/src/assets/images/champions/TFT5_Karma.png new file mode 100644 index 0000000..019f8a5 Binary files /dev/null and b/src/assets/images/champions/TFT5_Karma.png differ diff --git a/src/assets/images/champions/TFT5_Kayle.png b/src/assets/images/champions/TFT5_Kayle.png new file mode 100644 index 0000000..fe19a64 Binary files /dev/null and b/src/assets/images/champions/TFT5_Kayle.png differ diff --git a/src/assets/images/champions/TFT5_Kennen.png b/src/assets/images/champions/TFT5_Kennen.png new file mode 100644 index 0000000..c2ba827 Binary files /dev/null and b/src/assets/images/champions/TFT5_Kennen.png differ diff --git a/src/assets/images/champions/TFT5_Khazix.png b/src/assets/images/champions/TFT5_Khazix.png new file mode 100644 index 0000000..ee58a21 Binary files /dev/null and b/src/assets/images/champions/TFT5_Khazix.png differ diff --git a/src/assets/images/champions/TFT5_Kled.png b/src/assets/images/champions/TFT5_Kled.png new file mode 100644 index 0000000..8c311e4 Binary files /dev/null and b/src/assets/images/champions/TFT5_Kled.png differ diff --git a/src/assets/images/champions/TFT5_LeeSin.png b/src/assets/images/champions/TFT5_LeeSin.png new file mode 100644 index 0000000..c442c3f Binary files /dev/null and b/src/assets/images/champions/TFT5_LeeSin.png differ diff --git a/src/assets/images/champions/TFT5_Leona.png b/src/assets/images/champions/TFT5_Leona.png new file mode 100644 index 0000000..180a0f2 Binary files /dev/null and b/src/assets/images/champions/TFT5_Leona.png differ diff --git a/src/assets/images/champions/TFT5_Lucian.png b/src/assets/images/champions/TFT5_Lucian.png new file mode 100644 index 0000000..930c8c6 Binary files /dev/null and b/src/assets/images/champions/TFT5_Lucian.png differ diff --git a/src/assets/images/champions/TFT5_Lulu.png b/src/assets/images/champions/TFT5_Lulu.png new file mode 100644 index 0000000..749fe10 Binary files /dev/null and b/src/assets/images/champions/TFT5_Lulu.png differ diff --git a/src/assets/images/champions/TFT5_Lux.png b/src/assets/images/champions/TFT5_Lux.png new file mode 100644 index 0000000..51edcf9 Binary files /dev/null and b/src/assets/images/champions/TFT5_Lux.png differ diff --git a/src/assets/images/champions/TFT5_MissFortune.png b/src/assets/images/champions/TFT5_MissFortune.png new file mode 100644 index 0000000..28080eb Binary files /dev/null and b/src/assets/images/champions/TFT5_MissFortune.png differ diff --git a/src/assets/images/champions/TFT5_Nautilus.png b/src/assets/images/champions/TFT5_Nautilus.png new file mode 100644 index 0000000..2313681 Binary files /dev/null and b/src/assets/images/champions/TFT5_Nautilus.png differ diff --git a/src/assets/images/champions/TFT5_Nidalee.png b/src/assets/images/champions/TFT5_Nidalee.png new file mode 100644 index 0000000..4addeef Binary files /dev/null and b/src/assets/images/champions/TFT5_Nidalee.png differ diff --git a/src/assets/images/champions/TFT5_Nocturne.png b/src/assets/images/champions/TFT5_Nocturne.png new file mode 100644 index 0000000..4c19fbf Binary files /dev/null and b/src/assets/images/champions/TFT5_Nocturne.png differ diff --git a/src/assets/images/champions/TFT5_Nunu.png b/src/assets/images/champions/TFT5_Nunu.png new file mode 100644 index 0000000..b90e6d6 Binary files /dev/null and b/src/assets/images/champions/TFT5_Nunu.png differ diff --git a/src/assets/images/champions/TFT5_Olaf.png b/src/assets/images/champions/TFT5_Olaf.png new file mode 100644 index 0000000..04a10a7 Binary files /dev/null and b/src/assets/images/champions/TFT5_Olaf.png differ diff --git a/src/assets/images/champions/TFT5_Poppy.png b/src/assets/images/champions/TFT5_Poppy.png new file mode 100644 index 0000000..887c42b Binary files /dev/null and b/src/assets/images/champions/TFT5_Poppy.png differ diff --git a/src/assets/images/champions/TFT5_Pyke.png b/src/assets/images/champions/TFT5_Pyke.png new file mode 100644 index 0000000..e72fb66 Binary files /dev/null and b/src/assets/images/champions/TFT5_Pyke.png differ diff --git a/src/assets/images/champions/TFT5_Rakan.png b/src/assets/images/champions/TFT5_Rakan.png new file mode 100644 index 0000000..043dcc1 Binary files /dev/null and b/src/assets/images/champions/TFT5_Rakan.png differ diff --git a/src/assets/images/champions/TFT5_Rell.png b/src/assets/images/champions/TFT5_Rell.png new file mode 100644 index 0000000..ee9c49d Binary files /dev/null and b/src/assets/images/champions/TFT5_Rell.png differ diff --git a/src/assets/images/champions/TFT5_Riven.png b/src/assets/images/champions/TFT5_Riven.png new file mode 100644 index 0000000..8294532 Binary files /dev/null and b/src/assets/images/champions/TFT5_Riven.png differ diff --git a/src/assets/images/champions/TFT5_Sejuani.png b/src/assets/images/champions/TFT5_Sejuani.png new file mode 100644 index 0000000..d9a4015 Binary files /dev/null and b/src/assets/images/champions/TFT5_Sejuani.png differ diff --git a/src/assets/images/champions/TFT5_Senna.png b/src/assets/images/champions/TFT5_Senna.png new file mode 100644 index 0000000..24e7714 Binary files /dev/null and b/src/assets/images/champions/TFT5_Senna.png differ diff --git a/src/assets/images/champions/TFT5_Sett.png b/src/assets/images/champions/TFT5_Sett.png new file mode 100644 index 0000000..e4e98a1 Binary files /dev/null and b/src/assets/images/champions/TFT5_Sett.png differ diff --git a/src/assets/images/champions/TFT5_Soraka.png b/src/assets/images/champions/TFT5_Soraka.png new file mode 100644 index 0000000..94cf949 Binary files /dev/null and b/src/assets/images/champions/TFT5_Soraka.png differ diff --git a/src/assets/images/champions/TFT5_Syndra.png b/src/assets/images/champions/TFT5_Syndra.png new file mode 100644 index 0000000..0d7545c Binary files /dev/null and b/src/assets/images/champions/TFT5_Syndra.png differ diff --git a/src/assets/images/champions/TFT5_Teemo.png b/src/assets/images/champions/TFT5_Teemo.png new file mode 100644 index 0000000..569c316 Binary files /dev/null and b/src/assets/images/champions/TFT5_Teemo.png differ diff --git a/src/assets/images/champions/TFT5_Thresh.png b/src/assets/images/champions/TFT5_Thresh.png new file mode 100644 index 0000000..3d3da3e Binary files /dev/null and b/src/assets/images/champions/TFT5_Thresh.png differ diff --git a/src/assets/images/champions/TFT5_Tristana.png b/src/assets/images/champions/TFT5_Tristana.png new file mode 100644 index 0000000..9221490 Binary files /dev/null and b/src/assets/images/champions/TFT5_Tristana.png differ diff --git a/src/assets/images/champions/TFT5_Udyr.png b/src/assets/images/champions/TFT5_Udyr.png new file mode 100644 index 0000000..b4016ac Binary files /dev/null and b/src/assets/images/champions/TFT5_Udyr.png differ diff --git a/src/assets/images/champions/TFT5_Varus.png b/src/assets/images/champions/TFT5_Varus.png new file mode 100644 index 0000000..5382ab7 Binary files /dev/null and b/src/assets/images/champions/TFT5_Varus.png differ diff --git a/src/assets/images/champions/TFT5_Vayne.png b/src/assets/images/champions/TFT5_Vayne.png new file mode 100644 index 0000000..71c42cf Binary files /dev/null and b/src/assets/images/champions/TFT5_Vayne.png differ diff --git a/src/assets/images/champions/TFT5_Velkoz.png b/src/assets/images/champions/TFT5_Velkoz.png new file mode 100644 index 0000000..02e7746 Binary files /dev/null and b/src/assets/images/champions/TFT5_Velkoz.png differ diff --git a/src/assets/images/champions/TFT5_Viego.png b/src/assets/images/champions/TFT5_Viego.png new file mode 100644 index 0000000..b931063 Binary files /dev/null and b/src/assets/images/champions/TFT5_Viego.png differ diff --git a/src/assets/images/champions/TFT5_Vladimir.png b/src/assets/images/champions/TFT5_Vladimir.png new file mode 100644 index 0000000..084f53f Binary files /dev/null and b/src/assets/images/champions/TFT5_Vladimir.png differ diff --git a/src/assets/images/champions/TFT5_Volibear.png b/src/assets/images/champions/TFT5_Volibear.png new file mode 100644 index 0000000..7fa8e0a Binary files /dev/null and b/src/assets/images/champions/TFT5_Volibear.png differ diff --git a/src/assets/images/champions/TFT5_Yasuo.png b/src/assets/images/champions/TFT5_Yasuo.png new file mode 100644 index 0000000..b267610 Binary files /dev/null and b/src/assets/images/champions/TFT5_Yasuo.png differ diff --git a/src/assets/images/champions/TFT5_Ziggs.png b/src/assets/images/champions/TFT5_Ziggs.png new file mode 100644 index 0000000..7bdd5ad Binary files /dev/null and b/src/assets/images/champions/TFT5_Ziggs.png differ diff --git a/src/assets/images/champions/TFT5_Zyra.png b/src/assets/images/champions/TFT5_Zyra.png new file mode 100644 index 0000000..7b5e89f Binary files /dev/null and b/src/assets/images/champions/TFT5_Zyra.png differ diff --git a/src/assets/images/champions/TFT_TrainingDummy.png b/src/assets/images/champions/TFT_TrainingDummy.png new file mode 100644 index 0000000..4b6bbc2 Binary files /dev/null and b/src/assets/images/champions/TFT_TrainingDummy.png differ diff --git a/src/assets/images/demon.png b/src/assets/images/demon.png deleted file mode 100644 index 8a793a8..0000000 Binary files a/src/assets/images/demon.png and /dev/null differ diff --git a/src/assets/images/dragon.png b/src/assets/images/dragon.png deleted file mode 100644 index bff8945..0000000 Binary files a/src/assets/images/dragon.png and /dev/null differ diff --git a/src/assets/images/elementalist.png b/src/assets/images/elementalist.png deleted file mode 100644 index f20f4e7..0000000 Binary files a/src/assets/images/elementalist.png and /dev/null differ diff --git a/src/assets/images/exile.png b/src/assets/images/exile.png deleted file mode 100644 index cad0607..0000000 Binary files a/src/assets/images/exile.png and /dev/null differ diff --git a/src/assets/images/glacial.png b/src/assets/images/glacial.png deleted file mode 100644 index 38201e1..0000000 Binary files a/src/assets/images/glacial.png and /dev/null differ diff --git a/src/assets/images/guardian.png b/src/assets/images/guardian.png deleted file mode 100644 index 4c1fca8..0000000 Binary files a/src/assets/images/guardian.png and /dev/null differ diff --git a/src/assets/images/gunslinger.png b/src/assets/images/gunslinger.png deleted file mode 100644 index 580fe73..0000000 Binary files a/src/assets/images/gunslinger.png and /dev/null differ diff --git a/src/assets/images/hextech.png b/src/assets/images/hextech.png deleted file mode 100644 index 2862d57..0000000 Binary files a/src/assets/images/hextech.png and /dev/null differ diff --git a/src/assets/images/imperial.png b/src/assets/images/imperial.png deleted file mode 100644 index efd5e6f..0000000 Binary files a/src/assets/images/imperial.png and /dev/null differ diff --git a/src/assets/images/knight.png b/src/assets/images/knight.png deleted file mode 100644 index 9e8e005..0000000 Binary files a/src/assets/images/knight.png and /dev/null differ diff --git a/src/assets/images/ninja.png b/src/assets/images/ninja.png deleted file mode 100644 index 75e17ae..0000000 Binary files a/src/assets/images/ninja.png and /dev/null differ diff --git a/src/assets/images/noble.png b/src/assets/images/noble.png deleted file mode 100644 index 12c310e..0000000 Binary files a/src/assets/images/noble.png and /dev/null differ diff --git a/src/assets/images/phantom.png b/src/assets/images/phantom.png deleted file mode 100644 index d7cb954..0000000 Binary files a/src/assets/images/phantom.png and /dev/null differ diff --git a/src/assets/images/pirate.png b/src/assets/images/pirate.png deleted file mode 100644 index 30ed3a2..0000000 Binary files a/src/assets/images/pirate.png and /dev/null differ diff --git a/src/assets/images/ranger.png b/src/assets/images/ranger.png deleted file mode 100644 index 0d20c4d..0000000 Binary files a/src/assets/images/ranger.png and /dev/null differ diff --git a/src/assets/images/robot.png b/src/assets/images/robot.png deleted file mode 100644 index 02c076d..0000000 Binary files a/src/assets/images/robot.png and /dev/null differ diff --git a/src/assets/images/shapeshifter.png b/src/assets/images/shapeshifter.png deleted file mode 100644 index 364e964..0000000 Binary files a/src/assets/images/shapeshifter.png and /dev/null differ diff --git a/src/assets/images/sorcerer.png b/src/assets/images/sorcerer.png deleted file mode 100644 index cbcd8df..0000000 Binary files a/src/assets/images/sorcerer.png and /dev/null differ diff --git a/src/assets/images/traits/abomination.png b/src/assets/images/traits/abomination.png new file mode 100644 index 0000000..98b7b35 Binary files /dev/null and b/src/assets/images/traits/abomination.png differ diff --git a/src/assets/images/traits/abomination.svg b/src/assets/images/traits/abomination.svg new file mode 100644 index 0000000..31a156d --- /dev/null +++ b/src/assets/images/traits/abomination.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/assassin.png b/src/assets/images/traits/assassin.png new file mode 100644 index 0000000..ea16151 Binary files /dev/null and b/src/assets/images/traits/assassin.png differ diff --git a/src/assets/images/traits/assassin.svg b/src/assets/images/traits/assassin.svg new file mode 100644 index 0000000..c840830 --- /dev/null +++ b/src/assets/images/traits/assassin.svg @@ -0,0 +1,4 @@ + diff --git a/src/assets/images/traits/bg.png b/src/assets/images/traits/bg.png new file mode 100644 index 0000000..dca93f9 Binary files /dev/null and b/src/assets/images/traits/bg.png differ diff --git a/src/assets/images/traits/brawler.png b/src/assets/images/traits/brawler.png new file mode 100644 index 0000000..281eeab Binary files /dev/null and b/src/assets/images/traits/brawler.png differ diff --git a/src/assets/images/traits/brawler.svg b/src/assets/images/traits/brawler.svg new file mode 100644 index 0000000..7d04d1f --- /dev/null +++ b/src/assets/images/traits/brawler.svg @@ -0,0 +1,4 @@ + diff --git a/src/assets/images/traits/cannoneer.png b/src/assets/images/traits/cannoneer.png new file mode 100644 index 0000000..15f29e9 Binary files /dev/null and b/src/assets/images/traits/cannoneer.png differ diff --git a/src/assets/images/traits/cannoneer.svg b/src/assets/images/traits/cannoneer.svg new file mode 100644 index 0000000..92fbc0a --- /dev/null +++ b/src/assets/images/traits/cannoneer.svg @@ -0,0 +1,18 @@ + diff --git a/src/assets/images/traits/caretaker.png b/src/assets/images/traits/caretaker.png new file mode 100644 index 0000000..8fe3893 Binary files /dev/null and b/src/assets/images/traits/caretaker.png differ diff --git a/src/assets/images/traits/caretaker.svg b/src/assets/images/traits/caretaker.svg new file mode 100644 index 0000000..8862a3a --- /dev/null +++ b/src/assets/images/traits/caretaker.svg @@ -0,0 +1,6 @@ + diff --git a/src/assets/images/traits/cavalier.png b/src/assets/images/traits/cavalier.png new file mode 100644 index 0000000..d155991 Binary files /dev/null and b/src/assets/images/traits/cavalier.png differ diff --git a/src/assets/images/traits/cavalier.svg b/src/assets/images/traits/cavalier.svg new file mode 100644 index 0000000..2bd8ed8 --- /dev/null +++ b/src/assets/images/traits/cavalier.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/cruel.png b/src/assets/images/traits/cruel.png new file mode 100644 index 0000000..6c35f18 Binary files /dev/null and b/src/assets/images/traits/cruel.png differ diff --git a/src/assets/images/traits/cruel.svg b/src/assets/images/traits/cruel.svg new file mode 100644 index 0000000..3b19f85 --- /dev/null +++ b/src/assets/images/traits/cruel.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/dawnbringer.png b/src/assets/images/traits/dawnbringer.png new file mode 100644 index 0000000..3bb3376 Binary files /dev/null and b/src/assets/images/traits/dawnbringer.png differ diff --git a/src/assets/images/traits/dawnbringer.svg b/src/assets/images/traits/dawnbringer.svg new file mode 100644 index 0000000..fe0ac1d --- /dev/null +++ b/src/assets/images/traits/dawnbringer.svg @@ -0,0 +1,4 @@ + diff --git a/src/assets/images/traits/draconic.png b/src/assets/images/traits/draconic.png new file mode 100644 index 0000000..5244da9 Binary files /dev/null and b/src/assets/images/traits/draconic.png differ diff --git a/src/assets/images/traits/draconic.svg b/src/assets/images/traits/draconic.svg new file mode 100644 index 0000000..bf09dff --- /dev/null +++ b/src/assets/images/traits/draconic.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/forgotten.png b/src/assets/images/traits/forgotten.png new file mode 100644 index 0000000..b0501d0 Binary files /dev/null and b/src/assets/images/traits/forgotten.png differ diff --git a/src/assets/images/traits/forgotten.svg b/src/assets/images/traits/forgotten.svg new file mode 100644 index 0000000..0425489 --- /dev/null +++ b/src/assets/images/traits/forgotten.svg @@ -0,0 +1,11 @@ + diff --git a/src/assets/images/traits/hellion.png b/src/assets/images/traits/hellion.png new file mode 100644 index 0000000..7e93725 Binary files /dev/null and b/src/assets/images/traits/hellion.png differ diff --git a/src/assets/images/traits/hellion.svg b/src/assets/images/traits/hellion.svg new file mode 100644 index 0000000..4dcf106 --- /dev/null +++ b/src/assets/images/traits/hellion.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/inanimate.png b/src/assets/images/traits/inanimate.png new file mode 100644 index 0000000..675484f Binary files /dev/null and b/src/assets/images/traits/inanimate.png differ diff --git a/src/assets/images/traits/inanimate.svg b/src/assets/images/traits/inanimate.svg new file mode 100644 index 0000000..84b1c0e --- /dev/null +++ b/src/assets/images/traits/inanimate.svg @@ -0,0 +1,5 @@ + diff --git a/src/assets/images/traits/invoker.png b/src/assets/images/traits/invoker.png new file mode 100644 index 0000000..f6be177 Binary files /dev/null and b/src/assets/images/traits/invoker.png differ diff --git a/src/assets/images/traits/invoker.svg b/src/assets/images/traits/invoker.svg new file mode 100644 index 0000000..fda48e5 --- /dev/null +++ b/src/assets/images/traits/invoker.svg @@ -0,0 +1,12 @@ + diff --git a/src/assets/images/traits/ironclad.png b/src/assets/images/traits/ironclad.png new file mode 100644 index 0000000..139ece2 Binary files /dev/null and b/src/assets/images/traits/ironclad.png differ diff --git a/src/assets/images/traits/ironclad.svg b/src/assets/images/traits/ironclad.svg new file mode 100644 index 0000000..6691812 --- /dev/null +++ b/src/assets/images/traits/ironclad.svg @@ -0,0 +1,11 @@ + diff --git a/src/assets/images/traits/knight.png b/src/assets/images/traits/knight.png new file mode 100644 index 0000000..10e63f1 Binary files /dev/null and b/src/assets/images/traits/knight.png differ diff --git a/src/assets/images/traits/knight.svg b/src/assets/images/traits/knight.svg new file mode 100644 index 0000000..cc54d62 --- /dev/null +++ b/src/assets/images/traits/knight.svg @@ -0,0 +1,5 @@ + diff --git a/src/assets/images/traits/legionnaire.png b/src/assets/images/traits/legionnaire.png new file mode 100644 index 0000000..1f1c639 Binary files /dev/null and b/src/assets/images/traits/legionnaire.png differ diff --git a/src/assets/images/traits/legionnaire.svg b/src/assets/images/traits/legionnaire.svg new file mode 100644 index 0000000..f6cb095 --- /dev/null +++ b/src/assets/images/traits/legionnaire.svg @@ -0,0 +1,11 @@ + diff --git a/src/assets/images/traits/mystic.png b/src/assets/images/traits/mystic.png new file mode 100644 index 0000000..3a40e77 Binary files /dev/null and b/src/assets/images/traits/mystic.png differ diff --git a/src/assets/images/traits/mystic.svg b/src/assets/images/traits/mystic.svg new file mode 100644 index 0000000..d7a0e4d --- /dev/null +++ b/src/assets/images/traits/mystic.svg @@ -0,0 +1,4 @@ + diff --git a/src/assets/images/traits/nightbringer.png b/src/assets/images/traits/nightbringer.png new file mode 100644 index 0000000..fa934e4 Binary files /dev/null and b/src/assets/images/traits/nightbringer.png differ diff --git a/src/assets/images/traits/nightbringer.svg b/src/assets/images/traits/nightbringer.svg new file mode 100644 index 0000000..1ee4f4b --- /dev/null +++ b/src/assets/images/traits/nightbringer.svg @@ -0,0 +1,11 @@ + diff --git a/src/assets/images/traits/ranger.png b/src/assets/images/traits/ranger.png new file mode 100644 index 0000000..9b2b4b3 Binary files /dev/null and b/src/assets/images/traits/ranger.png differ diff --git a/src/assets/images/traits/ranger.svg b/src/assets/images/traits/ranger.svg new file mode 100644 index 0000000..7e41090 --- /dev/null +++ b/src/assets/images/traits/ranger.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/images/traits/redeemed.png b/src/assets/images/traits/redeemed.png new file mode 100644 index 0000000..63bfce0 Binary files /dev/null and b/src/assets/images/traits/redeemed.png differ diff --git a/src/assets/images/traits/redeemed.svg b/src/assets/images/traits/redeemed.svg new file mode 100644 index 0000000..2b41d35 --- /dev/null +++ b/src/assets/images/traits/redeemed.svg @@ -0,0 +1,13 @@ + diff --git a/src/assets/images/traits/renewer.png b/src/assets/images/traits/renewer.png new file mode 100644 index 0000000..954e0b2 Binary files /dev/null and b/src/assets/images/traits/renewer.png differ diff --git a/src/assets/images/traits/renewer.svg b/src/assets/images/traits/renewer.svg new file mode 100644 index 0000000..f2ef04f --- /dev/null +++ b/src/assets/images/traits/renewer.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/revenant.png b/src/assets/images/traits/revenant.png new file mode 100644 index 0000000..57ec75d Binary files /dev/null and b/src/assets/images/traits/revenant.png differ diff --git a/src/assets/images/traits/revenant.svg b/src/assets/images/traits/revenant.svg new file mode 100644 index 0000000..d13949d --- /dev/null +++ b/src/assets/images/traits/revenant.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/sentinel.png b/src/assets/images/traits/sentinel.png new file mode 100644 index 0000000..74c8684 Binary files /dev/null and b/src/assets/images/traits/sentinel.png differ diff --git a/src/assets/images/traits/sentinel.svg b/src/assets/images/traits/sentinel.svg new file mode 100644 index 0000000..c5b0577 --- /dev/null +++ b/src/assets/images/traits/sentinel.svg @@ -0,0 +1,7 @@ + diff --git a/src/assets/images/traits/skirmisher.png b/src/assets/images/traits/skirmisher.png new file mode 100644 index 0000000..ab17315 Binary files /dev/null and b/src/assets/images/traits/skirmisher.png differ diff --git a/src/assets/images/traits/skirmisher.svg b/src/assets/images/traits/skirmisher.svg new file mode 100644 index 0000000..98dec7f --- /dev/null +++ b/src/assets/images/traits/skirmisher.svg @@ -0,0 +1,10 @@ + diff --git a/src/assets/images/traits/spellweaver.png b/src/assets/images/traits/spellweaver.png new file mode 100644 index 0000000..888c815 Binary files /dev/null and b/src/assets/images/traits/spellweaver.png differ diff --git a/src/assets/images/traits/spellweaver.svg b/src/assets/images/traits/spellweaver.svg new file mode 100644 index 0000000..769071d --- /dev/null +++ b/src/assets/images/traits/spellweaver.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/images/traits/victorious.png b/src/assets/images/traits/victorious.png new file mode 100644 index 0000000..f9c16b7 Binary files /dev/null and b/src/assets/images/traits/victorious.png differ diff --git a/src/assets/images/traits/victorious.svg b/src/assets/images/traits/victorious.svg new file mode 100644 index 0000000..332a393 --- /dev/null +++ b/src/assets/images/traits/victorious.svg @@ -0,0 +1,3 @@ + diff --git a/src/assets/images/void.png b/src/assets/images/void.png deleted file mode 100644 index 6827a13..0000000 Binary files a/src/assets/images/void.png and /dev/null differ diff --git a/src/assets/images/wild.png b/src/assets/images/wild.png deleted file mode 100644 index d71c934..0000000 Binary files a/src/assets/images/wild.png and /dev/null differ diff --git a/src/assets/images/yordle.png b/src/assets/images/yordle.png deleted file mode 100644 index 159e01c..0000000 Binary files a/src/assets/images/yordle.png and /dev/null differ diff --git a/src/models/champion.ts b/src/models/champion.ts index a371b68..10dd1ef 100644 --- a/src/models/champion.ts +++ b/src/models/champion.ts @@ -1,6 +1,7 @@ export class Champion { constructor( public name: string, + public img: string, public roles: string[], public cost: number, public isSelected: boolean, diff --git a/src/modules/pool/components/home/home.component.html b/src/modules/pool/components/home/home.component.html index 9c4fab0..7a5a1be 100644 --- a/src/modules/pool/components/home/home.component.html +++ b/src/modules/pool/components/home/home.component.html @@ -1,11 +1,11 @@
+
+
{
this.rolesPool = _.union(this.rolesPool, champion.roles);
});
diff --git a/src/pipes/removeSet.pipe.ts b/src/pipes/removeSet.pipe.ts
new file mode 100644
index 0000000..60378f2
--- /dev/null
+++ b/src/pipes/removeSet.pipe.ts
@@ -0,0 +1,9 @@
+import { Pipe, PipeTransform } from '@angular/core';
+
+@Pipe({ name: 'removeSet' })
+
+export class removeSetPipe implements PipeTransform {
+ transform(name: string): string {
+ return name.substring(5);
+ }
+}
\ No newline at end of file
diff --git a/src/shared/champions.json b/src/shared/champions.json
new file mode 100644
index 0000000..e9e4079
--- /dev/null
+++ b/src/shared/champions.json
@@ -0,0 +1,531 @@
+[
+ {
+ "name": "Target Dummy",
+ "championId": "TFT_TrainingDummy",
+ "cost": 2,
+ "traits": []
+ },
+ {
+ "name": "Aatrox",
+ "championId": "TFT5_Aatrox",
+ "cost": 1,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Akshan",
+ "championId": "TFT5_Akshan",
+ "cost": 5,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Ranger"
+ ]
+ },
+ {
+ "name": "Aphelios",
+ "championId": "TFT5_Aphelios",
+ "cost": 4,
+ "traits": [
+ "Set5_Nightbringer",
+ "Set5_Ranger"
+ ]
+ },
+ {
+ "name": "Ashe",
+ "championId": "TFT5_Ashe",
+ "cost": 3,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Ranger"
+ ]
+ },
+ {
+ "name": "Brand",
+ "championId": "TFT5_Brand",
+ "cost": 2,
+ "traits": [
+ "Set5_Abomination",
+ "Set5_Spellweaver"
+ ]
+ },
+ {
+ "name": "Diana",
+ "championId": "TFT5_Diana",
+ "cost": 4,
+ "traits": [
+ "Set5_Nightbringer",
+ "Set5_Assassin"
+ ]
+ },
+ {
+ "name": "Draven",
+ "championId": "TFT5_Draven",
+ "cost": 4,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Fiddlesticks",
+ "championId": "TFT5_Fiddlesticks",
+ "cost": 4,
+ "traits": [
+ "Set5_Abomination",
+ "Set5_Revenant",
+ "Set5_Mystic"
+ ]
+ },
+ {
+ "name": "Galio",
+ "championId": "TFT5_Galio",
+ "cost": 4,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Sentinel",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Garen",
+ "championId": "TFT5_Garen",
+ "cost": 5,
+ "traits": [
+ "Set5_Victorious",
+ "Set5_Dawnbringer",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Gragas",
+ "championId": "TFT5_Gragas",
+ "cost": 1,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Brawler"
+ ]
+ },
+ {
+ "name": "Gwen",
+ "championId": "TFT5_Gwen",
+ "cost": 5,
+ "traits": [
+ "Set5_Inanimate",
+ "Set5_Mystic"
+ ]
+ },
+ {
+ "name": "Hecarim",
+ "championId": "TFT5_Hecarim",
+ "cost": 2,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Cavalier"
+ ]
+ },
+ {
+ "name": "Heimerdinger",
+ "championId": "TFT5_Heimerdinger",
+ "cost": 5,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Renewer",
+ "Set5_Caretaker"
+ ]
+ },
+ {
+ "name": "Ivern",
+ "championId": "TFT5_Ivern",
+ "cost": 4,
+ "traits": [
+ "Set5_Revenant",
+ "Set5_Invoker",
+ "Set5_Renewer"
+ ]
+ },
+ {
+ "name": "Irelia",
+ "championId": "TFT5_Irelia",
+ "cost": 2,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Skirmisher",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Jax",
+ "championId": "TFT5_Jax",
+ "cost": 4,
+ "traits": [
+ "Set5_Ironclad",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Kalista",
+ "championId": "TFT5_Kalista",
+ "cost": 1,
+ "traits": [
+ "Set5_Abomination",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Karma",
+ "championId": "TFT5_Karma",
+ "cost": 4,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Invoker"
+ ]
+ },
+ {
+ "name": "Kayle",
+ "championId": "TFT5_Kayle",
+ "cost": 5,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Kennen",
+ "championId": "TFT5_Kennen",
+ "cost": 2,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Kha'Zix",
+ "championId": "TFT5_Khazix",
+ "cost": 1,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Assassin"
+ ]
+ },
+ {
+ "name": "Kled",
+ "championId": "TFT5_Kled",
+ "cost": 1,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Cavalier"
+ ]
+ },
+ {
+ "name": "Lee Sin",
+ "championId": "TFT5_LeeSin",
+ "cost": 3,
+ "traits": [
+ "Set5_Nightbringer",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Leona",
+ "championId": "TFT5_Leona",
+ "cost": 1,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Lucian",
+ "championId": "TFT5_Lucian",
+ "cost": 4,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Cannoneer"
+ ]
+ },
+ {
+ "name": "Lulu",
+ "championId": "TFT5_Lulu",
+ "cost": 3,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Mystic"
+ ]
+ },
+ {
+ "name": "Lux",
+ "championId": "TFT5_Lux",
+ "cost": 3,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Mystic"
+ ]
+ },
+ {
+ "name": "Miss Fortune",
+ "championId": "TFT5_MissFortune",
+ "cost": 3,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Cannoneer"
+ ]
+ },
+ {
+ "name": "Nautilus",
+ "championId": "TFT5_Nautilus",
+ "cost": 2,
+ "traits": [
+ "Set5_Ironclad",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Nidalee",
+ "championId": "TFT5_Nidalee",
+ "cost": 3,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Nocturne",
+ "championId": "TFT5_Nocturne",
+ "cost": 3,
+ "traits": [
+ "Set5_Revenant",
+ "Set5_Assassin"
+ ]
+ },
+ {
+ "name": "Nunu",
+ "championId": "TFT5_Nunu",
+ "cost": 3,
+ "traits": [
+ "Set5_Abomination",
+ "Set5_Brawler"
+ ]
+ },
+ {
+ "name": "Olaf",
+ "championId": "TFT5_Olaf",
+ "cost": 1,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Poppy",
+ "championId": "TFT5_Poppy",
+ "cost": 1,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Pyke",
+ "championId": "TFT5_Pyke",
+ "cost": 2,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Assassin"
+ ]
+ },
+ {
+ "name": "Rakan",
+ "championId": "TFT5_Rakan",
+ "cost": 3,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Renewer"
+ ]
+ },
+ {
+ "name": "Rell",
+ "championId": "TFT5_Rell",
+ "cost": 4,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Ironclad",
+ "Set5_Cavalier"
+ ]
+ },
+ {
+ "name": "Riven",
+ "championId": "TFT5_Riven",
+ "cost": 3,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Sejuani",
+ "championId": "TFT5_Sejuani",
+ "cost": 2,
+ "traits": [
+ "Set5_Brawler",
+ "Set5_Nightbringer",
+ "Set5_Cavalier"
+ ]
+ },
+ {
+ "name": "Senna",
+ "championId": "TFT5_Senna",
+ "cost": 1,
+ "traits": [
+ "Set5_Sentinel",
+ "Set5_Cannoneer"
+ ]
+ },
+ {
+ "name": "Sett",
+ "championId": "TFT5_Sett",
+ "cost": 2,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Brawler"
+ ]
+ },
+ {
+ "name": "Soraka",
+ "championId": "TFT5_Soraka",
+ "cost": 2,
+ "traits": [
+ "Set5_Dawnbringer",
+ "Set5_Renewer"
+ ]
+ },
+ {
+ "name": "Syndra",
+ "championId": "TFT5_Syndra",
+ "cost": 2,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Invoker"
+ ]
+ },
+ {
+ "name": "Teemo",
+ "championId": "TFT5_Teemo",
+ "cost": 5,
+ "traits": [
+ "Set5_Cruel",
+ "Set5_Hellion",
+ "Set5_Invoker"
+ ]
+ },
+ {
+ "name": "Thresh",
+ "championId": "TFT5_Thresh",
+ "cost": 2,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Knight"
+ ]
+ },
+ {
+ "name": "Tristana",
+ "championId": "TFT5_Tristana",
+ "cost": 2,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Cannoneer"
+ ]
+ },
+ {
+ "name": "Udyr",
+ "championId": "TFT5_Udyr",
+ "cost": 1,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Skirmisher"
+ ]
+ },
+ {
+ "name": "Varus",
+ "championId": "TFT5_Varus",
+ "cost": 2,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Ranger"
+ ]
+ },
+ {
+ "name": "Vayne",
+ "championId": "TFT5_Vayne",
+ "cost": 1,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Ranger"
+ ]
+ },
+ {
+ "name": "Vel'Koz",
+ "championId": "TFT5_Velkoz",
+ "cost": 4,
+ "traits": [
+ "Set5_Redeemed",
+ "Set5_Spellweaver"
+ ]
+ },
+ {
+ "name": "Viego",
+ "championId": "TFT5_Viego",
+ "cost": 5,
+ "traits": [
+ "Set5_Forgotten",
+ "Set5_Skirmisher",
+ "Set5_Assassin"
+ ]
+ },
+ {
+ "name": "Vladimir",
+ "championId": "TFT5_Vladimir",
+ "cost": 1,
+ "traits": [
+ "Set5_Nightbringer",
+ "Set5_Renewer"
+ ]
+ },
+ {
+ "name": "Volibear",
+ "championId": "TFT5_Volibear",
+ "cost": 5,
+ "traits": [
+ "Set5_Revenant",
+ "Set5_Brawler"
+ ]
+ },
+ {
+ "name": "Yasuo",
+ "championId": "TFT5_Yasuo",
+ "cost": 3,
+ "traits": [
+ "Set5_Nightbringer",
+ "Set5_Legionnaire"
+ ]
+ },
+ {
+ "name": "Ziggs",
+ "championId": "TFT5_Ziggs",
+ "cost": 1,
+ "traits": [
+ "Set5_Hellion",
+ "Set5_Spellweaver"
+ ]
+ },
+ {
+ "name": "Zyra",
+ "championId": "TFT5_Zyra",
+ "cost": 3,
+ "traits": [
+ "Set5_Draconic",
+ "Set5_Spellweaver"
+ ]
+ }
+]
\ No newline at end of file
diff --git a/src/shared/constants.ts b/src/shared/constants.ts
index 2af10d7..beeeadd 100644
--- a/src/shared/constants.ts
+++ b/src/shared/constants.ts
@@ -1,933 +1,34 @@
import { Champion } from 'src/models/champion';
import { Bonus } from 'src/models/bonus';
+import champions from './champions.json';
+import traits from './traits.json';
export class Constants {
- public static Champions: Champion [] = [
- {
- name: 'Aatrox',
- roles: [
- 'demon',
- 'blademaster'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Ahri',
- roles: [
- 'wild',
- 'sorcerer'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'AurelionSol',
- roles: [
- 'dragon',
- 'sorcerer'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Anivia',
- roles: [
- 'glacial',
- 'elementalist'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Ashe',
- roles: [
- 'glacial',
- 'ranger'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Akali',
- roles: [
- 'ninja',
- 'assassin'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Brand',
- roles: [
- 'demon',
- 'elementalist'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Braum',
- roles: [
- 'glacial',
- 'guardian'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Blitzcrank',
- roles: [
- 'robot',
- 'brawler'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Chogath',
- roles: [
- 'void',
- 'brawler'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Draven',
- roles: [
- 'imperial',
- 'blademaster'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Darius',
- roles: [
- 'imperial',
- 'knight'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- }
- ,
- {
- name: 'Evelynn',
- roles: [
- 'demon',
- 'assassin'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Elise',
- roles: [
- 'demon',
- 'shapeshifter'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Fiora',
- roles: [
- 'noble',
- 'blademaster'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Gnar',
- roles: [
- 'wild',
- 'yordle',
- 'shapeshifter'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Garen',
- roles: [
- 'noble',
- 'knight'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Gangplank',
- roles: [
- 'pirate',
- 'gunslinger',
- 'blademaster'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Graves',
- roles: [
- 'pirate',
- 'gunslinger'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Kayle',
- roles: [
- 'noble',
- 'knight'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Karthus',
- roles: [
- 'phantom',
- 'sorcerer'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Kennen',
- roles: [
- 'ninja',
- 'yordle',
- 'elementalist'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Katarina',
- roles: [
- 'imperial',
- 'assassin'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Kindred',
- roles: [
- 'phantom',
- 'ranger'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Kassadin',
- roles: [
- 'void',
- 'sorcerer'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Khazix',
- roles: [
- 'void',
- 'assassin'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Lissandra',
- roles: [
- 'glacial',
- 'elementalist'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Lucian',
- roles: [
- 'noble',
- 'gunslinger'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Lulu',
- roles: [
- 'yordle',
- 'sorcerer'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Leona',
- roles: [
- 'noble',
- 'guardian'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'MissFortune',
- roles: [
- 'pirate',
- 'gunslinger'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Mordekaiser',
- roles: [
- 'phantom',
- 'knight'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Morgana',
- roles: [
- 'demon',
- 'sorcerer'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Nidalee',
- roles: [
- 'wild',
- 'shapeshifter'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Pyke',
- roles: [
- 'pirate',
- 'assassin'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Poppy',
- roles: [
- 'yordle',
- 'knight'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Rengar',
- roles: [
- 'wild',
- 'assassin'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'RekSai',
- roles: [
- 'void',
- 'brawler'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Swain',
- roles: [
- 'demon',
- 'imperial',
- 'shapeshifter'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Sejuani',
- roles: [
- 'glacial',
- 'knight'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Shen',
- roles: [
- 'ninja',
- 'blademaster'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Shyvana',
- roles: [
- 'dragon',
- 'shapeshifter'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'TwistedFate',
- roles: [
- 'pirate',
- 'sorcerer'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Tristana',
- roles: [
- 'yordle',
- 'gunslinger'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Varus',
- roles: [
- 'demon',
- 'ranger'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Vayne',
- roles: [
- 'noble',
- 'ranger'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Veigar',
- roles: [
- 'yordle',
- 'sorcerer'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Volibear',
- roles: [
- 'glacial',
- 'brawler'
- ],
- cost: 3,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Warwick',
- roles: [
- 'wild',
- 'brawler',
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Yasuo',
- roles: [
- 'exile',
- 'blademaster'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Zed',
- roles: [
- 'ninja',
- 'assassin'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Camille',
- roles: [
- 'hextech',
- 'blademaster'
- ],
- cost: 1,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Jayce',
- roles: [
- 'hextech',
- 'shapeshifter'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Jinx',
- roles: [
- 'hextech',
- 'gunslinger'
- ],
- cost: 4,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Vi',
- roles: [
- 'hextech',
- 'brawler'
- ],
- cost: 2,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- },
- {
- name: 'Pantheon',
- roles: [
- 'dragon',
- 'guardian'
- ],
- cost: 5,
- isSelected: false,
- sinergy: false,
- sinergy2: false
- }
- ];
+ public static Champions: Champion [] = champions.map(champion => {
+ const championMapped = new Champion(
+ champion.name,
+ champion.championId,
+ champion.traits.map(trait => traits.find(t => t.key === trait).name),
+ champion.cost,
+ false,
+ false,
+ false
+ )
+ return championMapped;
+ }).filter( champion => champion.name !== 'Target Dummy');
+
public static championName = 'name';
- public static roles = [
- 'demon',
- 'blademaster',
- 'imperial',
- 'assassin',
- 'shapeshifter',
- 'wild',
- 'noble',
- 'ranger',
- 'sorcerer',
- 'yordle',
- 'knight',
- 'ninja',
- 'elementalist',
- 'pirate',
- 'hextech',
- 'brawler',
- 'glacial',
- 'void',
- 'exile',
- 'dragon',
- 'gunslinger',
- 'phantom',
- 'guardian',
- 'robot'
- ];
- public static bonuses: Bonus [] = [
- {
- description: 'Demon basic attacks have a 40% chance to burn 20 mana from their target and return 15 mana to the attacker',
- role: 'demon',
- units: 2,
- maxUnits: 6
- },
- {
- description: 'Demon basic attacks have a 40% chance to burn 20 mana from their target and return 30 mana to the attacker',
- role: 'demon',
- units: 4,
- maxUnits: 6
- },
- {
- description: 'Demon basic attacks have a 40% chance to burn 20 mana from their target and return 45 mana to the attacker',
- role: 'demon',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Dragons are 83% inmune to Magic Damage',
- role: 'dragon',
- units: 2,
- maxUnits: 2
- },
- {
- description: 'Exiles start combat with a shield equal to 100% max HP when placed adjacent to NO other units',
- role: 'exile',
- units: 1,
- maxUnits: 1
- },
- {
- description: 'Glacial units have a 25% chance to stun on hit for two seconds',
- role: 'glacial',
- units: 2,
- maxUnits: 6
- },
- {
- description: 'Glacial units have a 35% chance to stun on hit for two seconds',
- role: 'glacial',
- units: 4,
- maxUnits: 6
- },
- {
- description: 'Glacial units have a 45% chance to stun on hit for two seconds',
- role: 'glacial',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Robots start combat with full mana',
- role: 'robot',
- units: 1,
- maxUnits: 1
- },
- {
- description: 'Double damage for one random Imperial',
- role: 'imperial',
- units: 2,
- maxUnits: 4
- },
- {
- description: 'Double damage for all Imperials',
- role: 'imperial',
- units: 4,
- maxUnits: 4
- },
- {
- description: '+60 Armor and magic resist, heal 35 on hit for random ally',
- role: 'noble',
- units: 3,
- maxUnits: 6
- },
- {
- description: '+60 Armor and magic resist, heal 35 on hit for all allies',
- role: 'noble',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Exactly 1: +60 attack damage and ability power for one Ninja',
- role: 'ninja',
- units: 1,
- maxUnits: 4
- },
- {
- description: 'Exactly 4: +70 attack damage and ability power for your Ninjas',
- role: 'ninja',
- units: 4,
- maxUnits: 4
- },
- {
- description: 'You earn up to 4 additional gold from each PVP round, average 1.75 gold',
- role: 'pirate',
- units: 3,
- maxUnits: 3
- },
- {
- description: 'Curse a random enemy at the start of combat, setting their HP to 100',
- role: 'phantom',
- units: 2,
- maxUnits: 2
- },
- {
- description: `Each unit's attacks give then Fury (5 stack cap). Stacks give 12% attack speed. For Wild`,
- role: 'wild',
- units: 2,
- maxUnits: 4
- },
- {
- description: `Each unit's attacks give then Fury (5 stack cap). Stacks give 12% attack speed. For team`,
- role: 'wild',
- units: 4,
- maxUnits: 4
- },
- {
- description: 'Void units deal true damage',
- role: 'void',
- units: 3,
- maxUnits: 3
- },
- {
- description: 'Attacks against your Yordles have a 30% chance to miss, also dodges on-hit effects',
- role: 'yordle',
- units: 3,
- maxUnits: 6
- },
- {
- description: 'Attacks against your Yordles have a 55% chance to miss, also dodges on-hit effects',
- role: 'yordle',
- units: 6,
- maxUnits: 6
- },
- {
- description: '+125% crit damage for Assassins',
- role: 'assassin',
- units: 3,
- maxUnits: 6
- },
- {
- description: '+350% crit damage for Assassins',
- role: 'assassin',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Blademasters attack 1 extra time',
- role: 'blademaster',
- units: 3,
- maxUnits: 9
- },
- {
- description: 'Blademasters attack 2 extra times',
- role: 'blademaster',
- units: 6,
- maxUnits: 9
- },
- {
- description: 'Blademasters attack 4 extra times',
- role: 'blademaster',
- units: 9,
- maxUnits: 9
- },
- {
- description: '+300 health to Brawlers',
- role: 'brawler',
- units: 2,
- maxUnits: 6
- },
- {
- description: '+600 health to Brawlers',
- role: 'brawler',
- units: 4,
- maxUnits: 6
- },
- {
- description: '+1000 health to Brawlers',
- role: 'brawler',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Each combat, summon a golem with 2200 hp',
- role: 'elementalist',
- units: 3,
- maxUnits: 3
- },
- {
- description: `+50 Armor to allies that start combat adjacent to them, guardians don't buff themselves`,
- role: 'guardian',
- units: 2,
- maxUnits: 2
- },
- {
- description: '50% chance on attack to attack one additional target in range',
- role: 'gunslinger',
- units: 2,
- maxUnits: 6
- },
- {
- description: '50% chance on attack to attack two additional targets in range',
- role: 'gunslinger',
- units: 4,
- maxUnits: 6
- },
- {
- description: '50% chance on attack to attack three additional targets in range',
- role: 'gunslinger',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Your team ignores 15 damage from all sources',
- role: 'knight',
- units: 2,
- maxUnits: 6
- },
- {
- description: 'Your team ignores 30 damage from all sources',
- role: 'knight',
- units: 4,
- maxUnits: 6
- },
- {
- description: 'Your team ignores 55 damage from all sources',
- role: 'knight',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Every 3 seconds, Rangers have a 25% chance to double their attack speed for 3s',
- role: 'ranger',
- units: 2,
- maxUnits: 4
- },
- {
- description: 'Every 3 seconds Rangers have a 65% chance to double their attack speed for 3s',
- role: 'ranger',
- units: 4,
- maxUnits: 4
- },
- {
- description: 'On transform gain 60% max HP',
- role: 'shapeshifter',
- units: 3,
- maxUnits: 6
- },
- {
- description: 'On transform gain 120% max HP',
- role: 'shapeshifter',
- units: 3,
- maxUnits: 6
- },
- {
- description: 'Your team has +40 Ability Power',
- role: 'sorcerer',
- units: 3,
- maxUnits: 6
- },
- {
- description: 'Your team has +100 Ability Power',
- role: 'sorcerer',
- units: 6,
- maxUnits: 6
- },
- {
- description: 'Throw a bomb at an enemy unit with an item, and disables all items in a 1 hex radius for 8 seconds.',
- role: 'hextech',
- units: 2,
- maxUnits: 4
- },
- {
- description: 'Throw a bomb at an enemy unit with an item, and disables all items in a 2 hex radius for 8 seconds.',
- role: 'hextech',
- units: 4,
- maxUnits: 4
- }
- ];
+
+ public static roles = traits.map(trait => trait.name);
+ public static bonuses: Bonus [] = traits.reduce((previous, current) => {
+ current.sets.forEach(set => {
+ previous.push({
+ description: current.description,
+ role: current.name,
+ units: set.min,
+ maxUnits: current.sets[current.sets.length-1].min
+ })
+ })
+ return previous;
+ }, [])
}
diff --git a/src/shared/traits.json b/src/shared/traits.json
new file mode 100644
index 0000000..c2e3620
--- /dev/null
+++ b/src/shared/traits.json
@@ -0,0 +1,561 @@
+[
+ {
+ "key": "Set5_Abomination",
+ "name": "Abomination",
+ "description": "When allied champions have died, the Monstrosity will rise from its grave. The Monstrosity receives bonus Health and Attack Damage based on allied Abomination champions' star levels. The 3 Abomination champions nearest the grave will also grant the Monstrosity a random copy of one of their items when combat starts.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "silver",
+ "min": 3,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 4
+ },
+ {
+ "style": "chromatic",
+ "min": 5
+ }
+ ]
+ },
+ {
+ "key": "Set5_Assassin",
+ "name": "Assassin",
+ "innate": "When combat starts, Assassins leap to the enemy backline.",
+ "description": "Assassins’ Abilities can critically strike and they gain bonus Critical Strike Chance and bonus Critical Strike Damage.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Brawler",
+ "name": "Brawler",
+ "description": "Brawlers gain additional maximum Health.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "chromatic",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Caretaker",
+ "name": "Caretaker",
+ "description": "Caretakers deploy with a Baby Dragon that can be placed anywhere on the battlefield. The Baby Dragon gains a percentage of its Caretaker's Attack Speed, and restores Mana to the Caretaker upon death.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "gold",
+ "min": 1
+ }
+ ]
+ },
+ {
+ "key": "Set5_Cavalier",
+ "name": "Cavalier",
+ "innate": "Cavaliers charge quickly towards their target whenever they move.",
+ "description": "Cavaliers take reduced damage. At the start of combat and after each charge, this effect is doubled for several seconds.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 2
+ },
+ {
+ "style": "silver",
+ "min": 3,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4
+ }
+ ]
+ },
+ {
+ "key": "Set5_Cannoneer",
+ "name": "Cannoneer",
+ "description": "Every 5th Cannoneer attack is replaced with a cannon shot that deals a percent of that attack's damage in an explosion around the target as physical damage.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "chromatic",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Cruel",
+ "name": "Cruel",
+ "description": "A Cruel champion hungers to be alone against exactly 1 enemy left standing. Cruel champions are purchased with Little Legend Health instead of gold. They can be sold for gold, but not Health. You're welcome.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "gold",
+ "min": 1
+ }
+ ]
+ },
+ {
+ "key": "Set5_Dawnbringer",
+ "name": "Dawnbringer",
+ "description": "Dawnbringers rapidly heal some of their maximum Health the first time they drop below a percentage of their Health. When this occurs, all allied Dawnbringers gain bonus damage.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 7
+ },
+ {
+ "style": "chromatic",
+ "min": 8
+ }
+ ]
+ },
+ {
+ "key": "Set5_Draconic",
+ "name": "Draconic",
+ "description": "At the end of each player combat, gain a dragon egg on your bench. The bigger the egg, the longer it takes to hatch, and the rarer the reward. Golden eggs hatch into even rarer loot. In Hyper Roll, dragon eggs hatch a lot faster!",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 3,
+ "max": 4
+ },
+ {
+ "style": "gold",
+ "min": 5
+ }
+ ]
+ },
+ {
+ "key": "Set5_Forgotten",
+ "name": "Forgotten",
+ "description": "Forgotten champions have bonus Attack Damage and Ability Power. Each Shadow item held by a Forgotten champion increases these bonuses by a percentage on all Forgotten champions, stacking up several times.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 7
+ },
+ {
+ "style": "chromatic",
+ "min": 8
+ }
+ ]
+ },
+ {
+ "key": "Set5_Hellion",
+ "name": "Hellion",
+ "description": "Hellions gain Attack Speed. Whenever a Hellion dies, a Doppelhellion (a one less star copy) will leap from the Hellion portal and join the fight!",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 7
+ },
+ {
+ "style": "chromatic",
+ "min": 8
+ }
+ ]
+ },
+ {
+ "key": "Set5_Inanimate",
+ "name": "Inanimate",
+ "description": "At the start of combat, Inanimate champions summon Harrowing Mist in all adjacent hexes surrounding them for several seconds, granting all allies within damage reduction while they remain within the mist.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "gold",
+ "min": 1
+ }
+ ]
+ },
+ {
+ "key": "Set5_Invoker",
+ "name": "Invoker",
+ "description": "All allies gain extra Mana from their attacks.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4
+ }
+ ]
+ },
+ {
+ "key": "Set5_Ironclad",
+ "name": "Ironclad",
+ "description": "All allies gain Armor.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 2
+ },
+ {
+ "style": "gold",
+ "min": 3,
+ "max": 3
+ },
+ {
+ "style": "chromatic",
+ "min": 4
+ }
+ ]
+ },
+ {
+ "key": "Set5_Knight",
+ "name": "Knight",
+ "description": "All allies block a flat amount of damage from all sources.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Legionnaire",
+ "name": "Legionnaire",
+ "description": "Legionnaires gain bonus Attack Speed, and their first attack after casting an Ability heals them for a percentage of the damage dealt.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 7
+ },
+ {
+ "style": "chromatic",
+ "min": 8
+ }
+ ]
+ },
+ {
+ "key": "Set5_Mystic",
+ "name": "Mystic",
+ "description": "All allies gain Magic Resist.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 2
+ },
+ {
+ "style": "silver",
+ "min": 3,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 4
+ },
+ {
+ "style": "chromatic",
+ "min": 5
+ }
+ ]
+ },
+ {
+ "key": "Set5_Nightbringer",
+ "name": "Nightbringer",
+ "description": "Nightbringers gain a shield for several seconds equal to a percent of their maximum Health the first time they drop below a percentage of their maximum Health. When this occurs, that Nightbringer gains bonus damage.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "silver",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "silver",
+ "min": 6,
+ "max": 7
+ },
+ {
+ "style": "gold",
+ "min": 8
+ }
+ ]
+ },
+ {
+ "key": "Set5_Ranger",
+ "name": "Ranger",
+ "description": "Rangers gain and lose bonus Attack Speed periodically. This effect begins after a delay after combat starts.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "chromatic",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Redeemed",
+ "name": "Redeemed",
+ "description": "Redeemed champions have increased Armor, Magic Resist, and Ability Power. When they die, their bonus is split among remaining Redeemed allies.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 3,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 8
+ },
+ {
+ "style": "chromatic",
+ "min": 9
+ }
+ ]
+ },
+ {
+ "key": "Set5_Renewer",
+ "name": "Renewer",
+ "description": "Renewers heal for a percent of their maximum Health each second. If they're full Health, they restore Mana instead.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "chromatic",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Revenant",
+ "name": "Revenant",
+ "description": "Revenants revive after their first death each combat. Once revived, they take and deal increased damage.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 2
+ },
+ {
+ "style": "silver",
+ "min": 3,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 4
+ },
+ {
+ "style": "chromatic",
+ "min": 5
+ }
+ ]
+ },
+ {
+ "key": "Set5_Sentinel",
+ "name": "Sentinel",
+ "description": "At start of combat, the Sentinel with the highest Health gains a shield that grants Attack Speed each time it is applied. When the shield is destroyed or expires it will pass to the ally with the lowest percent Health.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 3,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 8
+ },
+ {
+ "style": "chromatic",
+ "min": 9
+ }
+ ]
+ },
+ {
+ "key": "Set5_Skirmisher",
+ "name": "Skirmisher",
+ "description": "Skirmishers gain a shield at the start of combat, and bonus Attack Damage each second.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 3,
+ "max": 5
+ },
+ {
+ "style": "gold",
+ "min": 6,
+ "max": 8
+ },
+ {
+ "style": "chromatic",
+ "min": 9
+ }
+ ]
+ },
+ {
+ "key": "Set5_Spellweaver",
+ "name": "Spellweaver",
+ "description": "Spellweavers have bonus Ability Power, which increases whenever any champion uses an ability stacking up several times.",
+ "type": "class",
+ "sets": [
+ {
+ "style": "bronze",
+ "min": 2,
+ "max": 3
+ },
+ {
+ "style": "gold",
+ "min": 4,
+ "max": 5
+ },
+ {
+ "style": "chromatic",
+ "min": 6
+ }
+ ]
+ },
+ {
+ "key": "Set5_Victorious",
+ "name": "Victorious",
+ "description": "When Victorious champions score a kill, their next attack is empowered to deal a percentage of the target's missing Health as bonus magic damage.",
+ "type": "origin",
+ "sets": [
+ {
+ "style": "gold",
+ "min": 1
+ }
+ ]
+ }
+]
\ No newline at end of file