Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Theory Crafter for League of Legends. Players can add items, select runes, level abilities, and see calculated damage outputs

Notifications You must be signed in to change notification settings

vorpal56/league-theory-crafter

Repository files navigation

LeagueTheoryCrafter [Discontinued]

https://www.youtube.com/watch?v=BHWbA3TOmaU

Used for theory crafting item builds and rune configurations as an approximation of the practice tool. This allows quick switching of champions and items without having to go on the client for every champion.

Built with

  • Express - For development - Serving the API endpoints used for schedulers and data.
  • Angular 10.1.2 - Frontend framework for user flow.
  • Node.js - JavaScript Runtime environment for Express and Angular.
  • Python 3 - Scripting and web scraping for up to date data.

Getting Started

You will need Node.js to run this project, npm (which comes with Node.js during installation), and Angular 10+. To update data, you will need Python 3 as well.

  1. git clone https://github.com/vorpal56/league-theory-crafter.git
  2. cd league-theory-crafter/
  3. npm install -g @angular/cli && npm install
  4. pip install -r requirements.txt

Development Server

Frontend

npm run serve

Backend

npm run ts-dev

Updating Data using Python

All data is provided by the League of Legends Wiki and compiled together by Meraki Analytics in the lolstaticdata repository. Huge thanks for their amazing work.

Run the files as modules instead of scripts to prevent module import errors.

Champions

Existing Champions are updated and new Champions are added to the existing list whenever new patch data is available. Assets are scraped on new Champions or when abilities are changed. Running the champions module will provide information in the console about which sections were changed such as asset locations, skill ability names, stat changes, and so on.

npm run update-champions || cd server/src/ && python -m champions

Items

Items are updated less frequently, but during Preseason 2021, data is updated quite regularly. Items are modelled in a similar way to Champions so that data relationships are easy to map in the application. Item images are hotlinked directly to Data Dragon.

npm run update-items || cd server/src/ && python -m items

About

Theory Crafter for League of Legends. Players can add items, select runes, level abilities, and see calculated damage outputs

Topics

Resources

Stars

Watchers

Forks