mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 02:17:28 +08:00
[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:
@@ -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))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user