mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Fix Main Quests replay and weapon awaken level cap
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -100,9 +100,11 @@ func ChangedTables(before, after *store.UserState) []string {
|
||||
add("IUserMainQuestFlowStatus")
|
||||
add("IUserMainQuestMainFlowStatus")
|
||||
add("IUserMainQuestProgressStatus")
|
||||
add("IUserMainQuestSeasonRoute")
|
||||
add("IUserMainQuestReplayFlowStatus")
|
||||
}
|
||||
if !mapsEqualStruct(before.MainQuestSeasonRoutes, after.MainQuestSeasonRoutes) {
|
||||
add("IUserMainQuestSeasonRoute")
|
||||
}
|
||||
if before.EventQuest != after.EventQuest {
|
||||
add("IUserEventQuestProgressStatus")
|
||||
}
|
||||
@@ -434,6 +436,8 @@ func keyFieldsForTable(table string) []string {
|
||||
return []string{"userId", "dokanId"}
|
||||
case "IUserSideStoryQuest":
|
||||
return []string{"userId", "sideStoryQuestId"}
|
||||
case "IUserMainQuestSeasonRoute":
|
||||
return []string{"userId", "mainQuestSeasonId", "mainQuestRouteId"}
|
||||
case "IUserQuestLimitContentStatus":
|
||||
return []string{"userId", "questId"}
|
||||
case "IUserBigHuntMaxScore":
|
||||
|
||||
Reference in New Issue
Block a user