-
Notifications
You must be signed in to change notification settings - Fork 406
Dev6 #1560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev6 #1560
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,28 +31,14 @@ def _config(self): | |
| return self.config.model.six_realms | ||
|
|
||
| def run(self): | ||
| if self._config.switch_soul_config_1.enable: | ||
| if self._config.switch_soul_config.enable: | ||
| self.ui_get_current_page() | ||
| self.ui_goto(page_shikigami_records) | ||
| self.run_switch_soul(self._config.switch_soul_config_1.switch_group_team) | ||
| if self._config.switch_soul_config_1.enable_switch_by_name: | ||
| self.run_switch_soul(self._config.switch_soul_config.switch_group_team) | ||
| if self._config.switch_soul_config.enable_switch_by_name: | ||
|
Comment on lines
+34
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: 考虑在两个标志都启用时避免对 合并为单一的 Original comment in Englishsuggestion: Consider avoiding double navigation to With the merged |
||
| self.ui_get_current_page() | ||
| self.ui_goto(page_shikigami_records) | ||
| self.run_switch_soul_by_name( | ||
| self._config.switch_soul_config_1.group_name, | ||
| self._config.switch_soul_config_1.team_name | ||
| ) | ||
| if self._config.switch_soul_config_2.enable: | ||
| self.ui_get_current_page() | ||
| self.ui_goto(page_shikigami_records) | ||
| self.run_switch_soul(self._config.switch_soul_config_2.switch_group_team) | ||
| if self._config.switch_soul_config_2.enable_switch_by_name: | ||
| self.ui_get_current_page() | ||
| self.ui_goto(page_shikigami_records) | ||
| self.run_switch_soul_by_name( | ||
| self._config.switch_soul_config_2.group_name, | ||
| self._config.switch_soul_config_2.team_name | ||
| ) | ||
| self.run_switch_soul_by_name(self._config.switch_soul_config.group_name, self._config.switch_soul_config.team_name) | ||
| self.ui_get_current_page() | ||
| self.ui_goto(page_six_gates) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question (bug_risk): 移除周一的补充御魂切换逻辑会改变行为;请确认这是有意为之。
此前,当
datetime.now().weekday() == 0时,代码会进行第二次切换,切到*_supplementary御魂(对普通和最佳鬼王都是如此)。现在在第一次run_switch_soul_by_name后就直接返回,因此不会再执行补充切换。如果玩家依赖这种“周一双阶段切换”的行为,他们的体验会发生变化。如果这是有意的,则无需改动;否则建议在保留新配置结构的前提下,重新引入周一特有的补充切换逻辑。Original comment in English
question (bug_risk): Removal of Monday supplementary soul switching changes behavior; confirm this is intended.
Previously, when
datetime.now().weekday() == 0, the code did a second switch to a*_supplementarysoul (for both normal and best demons). Now it returns after the firstrun_switch_soul_by_name, so the supplementary switch never occurs. If players depended on this two-stage Monday behavior, their experience will change. If that’s intentional, no action needed; if not, consider reintroducing the Monday-specific supplementary switch while keeping the new config structure.