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

16 lines
336 B
Python
Raw Normal View History

2022-10-03 17:31:11 +08:00
#!/usr/bin/env python3
# # -*- coding: utf-8 -*-
import re
import sys
sys.path.append("../../convert/31-2")
from db import *
db.bind(provider="sqlite", filename="../../clean/31-2/data.sqlite3")
db.generate_mapping()
with db_session:
w = Ranged.get(name="危机符文")
w.mechanism = re.sub(r"月底", "越低", w.mechanism)