mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-13 11:47:32 +08:00
[Refactor][Bug fix] World mode & skills
- Code refactor for world mode - Try to fix some skills to keep it same with the official server (especially `ayu_uncap`), and adjust the order of World Mode progress calculation (maybe still not right). - Uncap Kanae Note: not ready for Kanae's uncapping skill (I do not know its actual effect.)
This commit is contained in:
@@ -11,7 +11,7 @@ from .item import ItemCore
|
||||
from .song import Chart
|
||||
from .sql import Connect, Query, Sql
|
||||
from .util import get_today_timestamp, md5
|
||||
from .world import WorldPlay
|
||||
from .world import WorldPlay, BeyondWorldPlay
|
||||
|
||||
|
||||
class Score:
|
||||
@@ -500,7 +500,8 @@ class UserPlay(UserScore):
|
||||
|
||||
# 世界模式判断
|
||||
if self.is_world_mode:
|
||||
self.world_play = WorldPlay(self.c, self.user, self)
|
||||
self.world_play = WorldPlay(
|
||||
self.c, self.user, self) if self.beyond_gauge == 0 else BeyondWorldPlay(self.c, self.user, self)
|
||||
self.world_play.update()
|
||||
|
||||
# 课题模式判断
|
||||
|
||||
Reference in New Issue
Block a user