🧐 Add ranged weapons and patches
This commit is contained in:
parent
1705624d0d
commit
f895e100d2
48 changed files with 40 additions and 4 deletions
15
data/patch/31-2/glyph-of-peril.py
Executable file
15
data/patch/31-2/glyph-of-peril.py
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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)
|
15
data/patch/31-2/gold-digger.py
Executable file
15
data/patch/31-2/gold-digger.py
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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:
|
||||
for w in Melee.select(name="黄金匕首"):
|
||||
w.name = "掘金镐"
|
5
data/patch/README.md
Normal file
5
data/patch/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# 数据修改
|
||||
|
||||
数据包有一些问题,比如中文翻译错误;数据上也需要进行调整,以合适的方式进行存储。
|
||||
|
||||
这一步直接作用于提取得到的数据。
|
Loading…
Add table
Add a link
Reference in a new issue