diff --git a/data/clean/31-4/data.sqlite3 b/data/clean/31-4/data.sqlite3 index 6653006..11f7ef1 100644 Binary files a/data/clean/31-4/data.sqlite3 and b/data/clean/31-4/data.sqlite3 differ diff --git a/data/patch/31-4/glyph-of-peril.py b/data/patch/31-4/glyph-of-peril.py new file mode 100755 index 0000000..b96107f --- /dev/null +++ b/data/patch/31-4/glyph-of-peril.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +# # -*- coding: utf-8 -*- + +import re +import sys + +sys.path.append("../../convert/31-4") +from db import * + +db.bind(provider="sqlite", filename="../../clean/31-4/data.sqlite3") +db.generate_mapping() + +with db_session: + w = Ranged.get(name="危机符文") + w.mechanism = re.sub(r"月底", "越低", w.mechanism) diff --git a/data/patch/31-4/gold-digger.py b/data/patch/31-4/gold-digger.py new file mode 100755 index 0000000..75b0936 --- /dev/null +++ b/data/patch/31-4/gold-digger.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 +# # -*- coding: utf-8 -*- + +import re +import sys + +sys.path.append("../../convert/31-4") +from db import * + +db.bind(provider="sqlite", filename="../../clean/31-4/data.sqlite3") +db.generate_mapping() + +with db_session: + for w in Melee.select(name="黄金匕首"): + w.name = "掘金镐" diff --git a/data/patch/31-4/outfits.py b/data/patch/31-4/outfits.py index f06c0d6..5506d9b 100644 --- a/data/patch/31-4/outfits.py +++ b/data/patch/31-4/outfits.py @@ -3,10 +3,10 @@ import sys import requests import io -sys.path.append("../../convert/31-2") +sys.path.append("../../convert/31-4") from db import * -db.bind(provider="sqlite", filename="../../clean/31-2/data.sqlite3") +db.bind(provider="sqlite", filename="../../clean/31-4/data.sqlite3") db.generate_mapping()