mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-13 11:47:32 +08:00
Fix two small bugs
- Fix a bug that the level of the character can exceed the max level - Fix a bug that the response is incorrect when upgrading the characters by `generic core`
This commit is contained in:
@@ -25,6 +25,7 @@ class Level:
|
||||
if exp >= Constant.LEVEL_STEPS[self.max_level]:
|
||||
self.exp = Constant.LEVEL_STEPS[self.max_level]
|
||||
self.level = self.max_level
|
||||
return None
|
||||
|
||||
a = []
|
||||
b = []
|
||||
|
||||
Reference in New Issue
Block a user