aboutsummaryrefslogtreecommitdiff
path: root/make_table.py
diff options
context:
space:
mode:
Diffstat (limited to 'make_table.py')
-rw-r--r--make_table.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/make_table.py b/make_table.py
index 18a30fa..9af49dd 100644
--- a/make_table.py
+++ b/make_table.py
@@ -1,3 +1,15 @@
+"""This script is used to downlaod the skill palette data.
+
+The Guild Wars 2 chat links for build templates use a different skill ID than
+the API, so skills need to be mapped from their "skill ID" to the corresponding
+"palette ID".
+
+Some game updates may require this mapping to be updated as well, otherwise the
+chat link parsing/generating functionality might be broken.
+
+To use this script, pipe the output to src/skill_palette.json and rebuild
+kondou.
+"""
import requests
import json
from lxml import html, etree