steventhorne / legendhub

Source code for the legendhub website.
https://www.legendhub.org
MIT License
3 stars 3 forks source link

Runecharms and stat filtering #138

Closed Ner-f closed 1 year ago

Ner-f commented 1 year ago

Description

Added a feature for runecharms to the builder. When a users clicks on a neck or wrist slot there is a button that will change the item selection modal to a charm customizer. The customizer is 5 drop downs with each charm option. When a new charm is selected the item is updated. Charms are saved with a dash before the 5 character string to identify it as a runecharm for the loading function.

Also added a function to sort items by stats in the item selector modal.

Motivation and Context

There are millions of different possible combinations for runecharms. The runecharm customizer will prevent users from filling the database with charm variations.

How Has This Been Tested?

I've tested creating a charm, loading and saving on my local machine.

Screenshots (if appropriate):

Charm from the equipment view: image Charm customizer view: image Stat filter: image

Types of changes

Checklist:

steventhorne commented 1 year ago

@Ner-f Please update the version in www/package.json to 2.5.0. Similarly, update the version numbers in the README.md as well.