WR(Wild Rift) Gold Efficiency, a website combining the gold efficiency calculation formula from with the design elements from , featuring manually updated item data from .
Being a data enthusiast, I found the concept of Gold Efficiency mentioned in highly intriguing. However, upon initial inspection, I noticed that the website contained a multitude of outdated and erroneous item data. Moreover, its disorganized layout made reading difficult, rendering it unsuitable for direct use.
After some time, I came across another website, , which drew me in with its sleek and elegant design, as well as its CSS style. Although it also suffered from the issue of outdated and inaccurate item data, I had an idea:
Merging the calculation formula from with the style of , and manually updating the item data myself. Thus, this website was born out of this concept.
- Installation | Jekyll • Simple, blog-aware, static sites
- Clone this project via
git
:git clone [email protected]:changchiyou/wildrift-gold-efficiency.git; cd wildrift-gold-efficiency
- Update
bundle
& Install dependencies from Gemfile:bundle update; bundle install
- Serve the Site:
bundle exec jekyll serve
Taking the update from 5.1a to 5.1b as an example:
-
Copy items_5_1a.yml & stats_5_1a.yml and rename to items_5_1b.yml & stats_5_1b.yml:
-
Manually update item data in items_5_1b.yml based on WILD RIFT PATCH NOTES 5.1B - ITEMS:
The field info of
items_[version].yml
:Field Requirement Description amount
no need Generated by data.py category
required Determines where the item belongs to. For instance, set category
asPHYSICAL DAMAGE ITEMS
to make the item belong to 📌 Physical Damage Items.cost
required The cost of the item. formula
no need Generated by data.py image
required The image reference of the item. name
required The name of the item. The notes in ()
would be extracted and rendered with different style (only allowed 1()
set exists).stats
required The stats info of the item. Check more detail info in following sheet. The fields info of
stats
field:Field Requirement Description formula
no need Generated by data.py passive
optional The unique passive which give the item the stat. ratio
optional The stat ratio which is calculated with ref
( andref_type
) to generatevalue
ref
optional The target base stat for value
's calculationref_type
optional The target stat from the item for value
's calculationtype
required The type of the stat value
required The value of the stat value
*no need Generated by data.py (only if ratio
&ref
are set)*Some example:
-
Basic:
wildrift-gold-efficiency/_data/items_5_1b.yml
Lines 15 to 34 in aff35e9
-
ratio
&ref
:wildrift-gold-efficiency/_data/items_5_1b.yml
Lines 819 to 836 in aff35e9
-
ref_type
:wildrift-gold-efficiency/_data/items_5_1b.yml
Lines 367 to 386 in aff35e9
-
-
Manually update stats_5_1b.yml:
The fields info of
stats_[version].yml
:Field Requirement Description image
required The reference of the image. base_type
optional Determines where the statistic price belongs in 💰 Base Statistic Prices. Set first
for First-tier Base Item and setsecond
for Second-tier Base Item.base_item
optional The item used as the basis for calculating the statistic price. type
required Determines the classification of the stat in the 🔎 Stat Filters. Set ""
to exclude from filters.Some examples:
-
Basic:
wildrift-gold-efficiency/_data/stats_5_1b.yml
Lines 41 to 45 in aff35e9
-
Excluded from statistic price calculation:
wildrift-gold-efficiency/_data/stats_5_1b.yml
Lines 61 to 63 in aff35e9
-
Exclude from statistic price calculation and filters:
wildrift-gold-efficiency/_data/stats_5_1b.yml
Lines 88 to 90 in aff35e9
-
-
Install python dependencies:
pip install -r requirements.txt
-
Execute data.py to re-generate
amount
andformula
in items_5_1b.yml based on step2.
( Manually update item data in items_5_1b.yml ):python data.py -c --items items_5_1b.yml --stats stats_5_1b.yml
For more info of params, execute:
python data.py -h
-
Create 5_1b.md based on 5_1a.md & 5_1.md:
The params info of page.md:
Field Requirement Description layout
fixed value Set gold_efficiency
means the page is using the layout of gold_efficiency.html.title
required The title of the page, normally named with version name. date
required The publish date of the page. Required for generating rss with feed.xml. ( 2024/04/19 12:02 a.m.
or simply2024/04/19
are both valid value)description
required Briefly describe the page. image
fixed value /assets/favicon512x512.png
permalink
required Specific the sub-path for this page. redirect_from
optional Set to /
to redirect the root path to this page.data
required Fields for item data. data.refer_url
required The URL of wildrift badge. data.refer_text
required The TEXT of wildrift badge. data.items
required The item datas. data.stats
required The base stats info. patch_note
optional Fields for comparing last version. (icon, row) patch_note.statuses
required A string combining item names separated by commas( ,
) with uppercase. The item names in string would be listed with following patch-note statuses.patch_note.statuses.buffed
optional Items that have been buffed. patch_note.statuses.adjusted
optional Items that have been adjusted. patch_note.statuses.nerfed
optional Items that have been nerfed. patch_note.statuses.new
optional Items that have been added. patch_note.excludes
optional The specific item name to be excluded from listing patch-note statuses. patch_note.compare
optional Fields for comparing last version. (generate a row of item data from last version) patch_note.compare.statuses
fixed value The patch-note statuses would find the item data from last version to compare with. patch_note.compare.items
optional The item datas to compare with. patch_note.compare.stats
optional The stats to compare with. patch_note.compare.item_prefix
optional The prefix which would be render in frount of the row of comparing item data. For example:
5.1
:wildrift-gold-efficiency/_pages/5_1.md
Lines 1 to 16 in 5da421a
5.1a
:wildrift-gold-efficiency/_pages/5_1a.md
Lines 1 to 28 in 5da421a
5.1b
:wildrift-gold-efficiency/_pages/5_1b.md
Lines 1 to 28 in 5da421a