[Enhance] Support 'skill_ilith_ivy'

- Add support for the skill 'skill_ilith_ivy'
- For Arcaea 4.5.0
This commit is contained in:
Lost-MSth
2023-06-28 22:34:43 +08:00
parent 18e79a7799
commit 4527339d78
12 changed files with 112 additions and 35 deletions

View File

@@ -93,8 +93,12 @@ def users_user_put(data, user, user_id):
u.set_name(data['name'])
r['name'] = u.name
if 'password' in data:
u.set_password(data['password'])
r['password'] = u.hash_pwd
if data['password'] == '':
u.password = ''
r['password'] = ''
else:
u.set_password(data['password'])
r['password'] = u.hash_pwd
if 'email' in data:
u.set_email(data['email'])
r['email'] = u.email