Skip to content

Commit

Permalink
Merge pull request #39 from LyticalApp/emerald-rank
Browse files Browse the repository at this point in the history
Update constants for v1.3.1
  • Loading branch information
downthecrop authored Oct 29, 2023
2 parents a4dbdf2 + 7684044 commit 6cd99f5
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 51 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Lytical",
"author": "downthecrop",
"description": "Lytical is an open source League of Legends statistics and profile analytics tool for all regions including Garena and WeGame",
"version": "1.3.0",
"version": "1.3.1",
"repository": "https://github.com/LyticalApp/Lytical/",
"private": true,
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export default {
methods: {
filterGameModes,
searchSummoner(summonerName) {
// Manual clear..
this.showLoading = true;
this.matches = [];
this.playerCardInfo = {};
this.rankedOverviewData = [];
this.matchHistoryMax = 19;

if (summonerName !== undefined && summonerName.trim() !== '') {
// Searchbar name
ipcRenderer.send('asynchronous-message', {
Expand Down
103 changes: 53 additions & 50 deletions src/res/common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const patch = '12.22.1';
const patch = '13.20.1';

/* eslint-disable max-len */
export const ITEMICONURL = `http://ddragon.leagueoflegends.com/cdn/${patch}/img/item/`;
Expand Down Expand Up @@ -134,6 +134,7 @@ export const championIds = {
221: 'Zeri',
222: 'Jinx',
223: 'TahmKench',
233: 'Briar',
234: 'Viego',
235: 'Senna',
236: 'Lucian',
Expand Down Expand Up @@ -169,6 +170,8 @@ export const championIds = {
888: 'Renata',
895: 'Nilah',
897: 'KSante',
902: 'Milio',
950: 'Naafiri',
};

export const romanNumbers = {
Expand Down Expand Up @@ -284,74 +287,74 @@ export const summonerSpells = {
};

export const runeIcons = {
8000: 'perk-images/styles/7201_precision.png',
8005: 'perk-images/styles/precision/presstheattack/presstheattack.png',
8008: 'perk-images/styles/precision/lethaltempo/lethaltempotemp.png',
8009: 'perk-images/styles/precision/presenceofmind/presenceofmind.png',
8010: 'perk-images/styles/precision/conqueror/conqueror.png',
8014: 'perk-images/styles/precision/coupdegrace/coupdegrace.png',
8017: 'perk-images/styles/precision/cutdown/cutdown.png',
8021: 'perk-images/styles/precision/fleetfootwork/fleetfootwork.png',
8100: 'perk-images/styles/7200_domination.png',
8105: 'perk-images/styles/domination/relentlesshunter/relentlesshunter.png',
8106: 'perk-images/styles/domination/ultimatehunter/ultimatehunter.png',
8112: 'perk-images/styles/domination/electrocute/electrocute.png',
8120: 'perk-images/styles/domination/ghostporo/ghostporo.png',
8124: 'perk-images/styles/domination/predator/predator.png',
8128: 'perk-images/styles/domination/darkharvest/darkharvest.png',
9923: 'perk-images/styles/domination/hailofblades/hailofblades.png',
8126: 'perk-images/styles/domination/cheapshot/cheapshot.png',
8139: 'perk-images/styles/domination/tasteofblood/greenterror_tasteofblood.png',
8143: 'perk-images/styles/domination/suddenimpact/suddenimpact.png',
8128: 'perk-images/styles/domination/darkharvest/darkharvest.png',
8134: 'perk-images/styles/domination/ingenioushunter/ingenioushunter.png',
8135: 'perk-images/styles/domination/treasurehunter/treasurehunter.png',
8136: 'perk-images/styles/domination/zombieward/zombieward.png',
8120: 'perk-images/styles/domination/ghostporo/ghostporo.png',
8138: 'perk-images/styles/domination/eyeballcollection/eyeballcollection.png',
8135: 'perk-images/styles/domination/treasurehunter/treasurehunter.png',
8134: 'perk-images/styles/domination/ingenioushunter/ingenioushunter.png',
8105: 'perk-images/styles/domination/relentlesshunter/relentlesshunter.png',
8106: 'perk-images/styles/domination/ultimatehunter/ultimatehunter.png',
8139: 'perk-images/styles/domination/tasteofblood/greenterror_tasteofblood.png',
8143: 'perk-images/styles/domination/suddenimpact/suddenimpact.png',
8200: 'perk-images/styles/7202_sorcery.png',
8210: 'perk-images/styles/sorcery/transcendence/transcendence.png',
8214: 'perk-images/styles/sorcery/summonaery/summonaery.png',
8224: 'perk-images/styles/sorcery/nullifyingorb/pokeshield.png',
8226: 'perk-images/styles/sorcery/manaflowband/manaflowband.png',
8229: 'perk-images/styles/sorcery/arcanecomet/arcanecomet.png',
8230: 'perk-images/styles/sorcery/phaserush/phaserush.png',
8232: 'perk-images/styles/sorcery/waterwalking/waterwalking.png',
8233: 'perk-images/styles/sorcery/absolutefocus/absolutefocus.png',
8234: 'perk-images/styles/sorcery/celerity/celeritytemp.png',
8236: 'perk-images/styles/sorcery/gatheringstorm/gatheringstorm.png',
8237: 'perk-images/styles/sorcery/scorch/scorch.png',
8242: 'perk-images/styles/sorcery/unflinching/unflinching.png',
8275: 'perk-images/styles/sorcery/nimbuscloak/6361.png',
8299: 'perk-images/styles/sorcery/laststand/laststand.png',
8300: 'perk-images/styles/7203_whimsy.png',
8351: 'perk-images/styles/inspiration/glacialaugment/glacialaugment.png',
8360: 'perk-images/styles/inspiration/unsealedspellbook/unsealedspellbook.png',
8369: 'perk-images/styles/inspiration/firststrike/firststrike.png',
8306: 'perk-images/styles/inspiration/hextechflashtraption/hextechflashtraption.png',
8304: 'perk-images/styles/inspiration/magicalfootwear/magicalfootwear.png',
8306: 'perk-images/styles/inspiration/hextechflashtraption/hextechflashtraption.png',
8313: 'perk-images/styles/inspiration/perfecttiming/perfecttiming.png',
8321: 'perk-images/styles/inspiration/futuresmarket/futuresmarket.png',
8316: 'perk-images/styles/inspiration/miniondematerializer/miniondematerializer.png',
8321: 'perk-images/styles/inspiration/futuresmarket/futuresmarket.png',
8345: 'perk-images/styles/inspiration/biscuitdelivery/biscuitdelivery.png',
8347: 'perk-images/styles/inspiration/cosmicinsight/cosmicinsight.png',
8410: 'perk-images/styles/resolve/approachvelocity/approachvelocity.png',
8351: 'perk-images/styles/inspiration/glacialaugment/glacialaugment.png',
8352: 'perk-images/styles/inspiration/timewarptonic/timewarptonic.png',
8000: 'perk-images/styles/7201_precision.png',
8005: 'perk-images/styles/precision/presstheattack/presstheattack.png',
8008: 'perk-images/styles/precision/lethaltempo/lethaltempotemp.png',
8021: 'perk-images/styles/precision/fleetfootwork/fleetfootwork.png',
8010: 'perk-images/styles/precision/conqueror/conqueror.png',
9101: 'perk-images/styles/precision/overheal.png',
9111: 'perk-images/styles/precision/triumph.png',
8009: 'perk-images/styles/precision/presenceofmind/presenceofmind.png',
9104: 'perk-images/styles/precision/legendalacrity/legendalacrity.png',
9105: 'perk-images/styles/precision/legendtenacity/legendtenacity.png',
9103: 'perk-images/styles/precision/legendbloodline/legendbloodline.png',
8014: 'perk-images/styles/precision/coupdegrace/coupdegrace.png',
8017: 'perk-images/styles/precision/cutdown/cutdown.png',
8299: 'perk-images/styles/sorcery/laststand/laststand.png',
8360: 'perk-images/styles/inspiration/unsealedspellbook/unsealedspellbook.png',
8369: 'perk-images/styles/inspiration/firststrike/firststrike.png',
8400: 'perk-images/styles/7204_resolve.png',
8437: 'perk-images/styles/resolve/graspoftheundying/graspoftheundying.png',
8439: 'perk-images/styles/resolve/veteranaftershock/veteranaftershock.png',
8465: 'perk-images/styles/resolve/guardian/guardian.png',
8446: 'perk-images/styles/resolve/demolish/demolish.png',
8463: 'perk-images/styles/resolve/fontoflife/fontoflife.png',
8401: 'perk-images/styles/resolve/mirrorshell/mirrorshell.png',
8410: 'perk-images/styles/resolve/approachvelocity/approachvelocity.png',
8429: 'perk-images/styles/resolve/conditioning/conditioning.png',
8437: 'perk-images/styles/resolve/graspoftheundying/graspoftheundying.png',
8439: 'perk-images/styles/resolve/veteranaftershock/veteranaftershock.png',
8444: 'perk-images/styles/resolve/secondwind/secondwind.png',
8473: 'perk-images/styles/resolve/boneplating/boneplating.png',
8446: 'perk-images/styles/resolve/demolish/demolish.png',
8451: 'perk-images/styles/resolve/overgrowth/overgrowth.png',
8453: 'perk-images/styles/resolve/revitalize/revitalize.png',
8242: 'perk-images/styles/sorcery/unflinching/unflinching.png',
8200: 'perk-images/styles/7202_sorcery.png',
8214: 'perk-images/styles/sorcery/summonaery/summonaery.png',
8229: 'perk-images/styles/sorcery/arcanecomet/arcanecomet.png',
8230: 'perk-images/styles/sorcery/phaserush/phaserush.png',
8224: 'perk-images/styles/sorcery/nullifyingorb/pokeshield.png',
8226: 'perk-images/styles/sorcery/manaflowband/manaflowband.png',
8275: 'perk-images/styles/sorcery/nimbuscloak/6361.png',
8210: 'perk-images/styles/sorcery/transcendence/transcendence.png',
8234: 'perk-images/styles/sorcery/celerity/celeritytemp.png',
8233: 'perk-images/styles/sorcery/absolutefocus/absolutefocus.png',
8237: 'perk-images/styles/sorcery/scorch/scorch.png',
8232: 'perk-images/styles/sorcery/waterwalking/waterwalking.png',
8236: 'perk-images/styles/sorcery/gatheringstorm/gatheringstorm.png',
8463: 'perk-images/styles/resolve/fontoflife/fontoflife.png',
8465: 'perk-images/styles/resolve/guardian/guardian.png',
8473: 'perk-images/styles/resolve/boneplating/boneplating.png',
9101: 'perk-images/styles/precision/overheal.png',
9103: 'perk-images/styles/precision/legendbloodline/legendbloodline.png',
9104: 'perk-images/styles/precision/legendalacrity/legendalacrity.png',
9105: 'perk-images/styles/precision/legendtenacity/legendtenacity.png',
9111: 'perk-images/styles/precision/triumph.png',
9923: 'perk-images/styles/domination/hailofblades/hailofblades.png',
};

export const getPreferredSite = (championId) => {
Expand Down

0 comments on commit 6cd99f5

Please sign in to comment.