dead-cells-wiki/data/patch/31-4/glyph-of-peril.py

16 lines
336 B
Python
Raw Permalink Normal View History

2022-10-16 11:18:23 +08:00
#!/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)