mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 13:29:25 +08:00
add: migrate dashboard update logic
This commit is contained in:
@@ -349,3 +349,16 @@ class RewardGacha(GachaUI, Retirement):
|
||||
"""
|
||||
self.gacha_run()
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
|
||||
class RewardGacha(RewardGacha):
|
||||
def gacha_calculate(self, *args, **kwargs):
|
||||
result = super().gacha_calculate(*args, **kwargs)
|
||||
self.config.log_res.Cube = self.build_cube_count
|
||||
self.config.update()
|
||||
return result
|
||||
|
||||
def gacha_goto_pool(self, target_pool):
|
||||
self.config.log_res.Cube = self.build_cube_count
|
||||
self.config.update()
|
||||
return super().gacha_goto_pool(target_pool)
|
||||
Reference in New Issue
Block a user