[Enhance][Bug fix] Support skill_maya & World mode value display bug

- Add support for the skill 'skill_maya'
- Fix a bug that some characters' skill cannot display proper values in world mode progression
- Fix a bug that 'skill_mithra' results in adding `prog` value instead of world mode progress
- For Arcaea 4.7.0
This commit is contained in:
Lost-MSth
2023-08-18 16:45:27 +08:00
parent 41409dee27
commit 04c6d1a0e0
12 changed files with 119 additions and 45 deletions

View File

@@ -25,7 +25,7 @@ def random_str(randomlength=10):
def update_user_char(c):
# 用character数据更新user_char
# 用character数据更新user_char_full
c.execute('''select character_id, max_level, is_uncapped from character''')
x = c.fetchall()
c.execute('''select user_id from user''')
@@ -36,7 +36,7 @@ def update_user_char(c):
c.execute('''delete from user_char_full where user_id=:a and character_id=:b''', {
'a': j[0], 'b': i[0]})
exp = 25000 if i[1] == 30 else 10000
c.execute('''insert into user_char_full values(?,?,?,?,?,?)''',
c.execute('''insert into user_char_full values(?,?,?,?,?,?,?)''',
(j[0], i[0], i[1], exp, i[2], 0))