pre cw with probe and a bunch script to read game behavior

This commit is contained in:
CAtlas0784 committed 2026-10-21 20:40:13 +07:00
1 parent 5120219ae2
commit da8a32f60d
310 files changed
+219693 -872

No files matched your search

+5 -1
View File
@@ -235,7 +235,11 @@ func restartChallengeRoom(s *Session) (*goproto.SceneInfo, error) {
return nil, fmt.Errorf("no challenge to restart")
}
r := run.Rooms[run.Node]
if err := setChallengeBattleConfig(s, r.Avatars, run.ID, r.Event, r.Buffs); err != nil {
configure := setChallengeBattleConfig
if run.Peak {
configure = setPeakBattleConfig
}
if err := configure(s, r.Avatars, run.ID, r.Event, r.Buffs); err != nil {
return nil, err
}
scene, _, err := loadChallengeScene(s, r.Entrance, r.Group, r.Monster, r.Event, r.Avatars)