Optimize live play handler

- Extract shared live setting, notes, and rank helpers
- Move constant leader skill and museum buff queries out of the per-unit loop
- Batch load deck unit data, accessories, and removable skill metadata
- Fix cool attribute removable skill effect type handling

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-06 15:12:05 +08:00
parent 45eef9566a
commit 2e72bd4da5
4 changed files with 413 additions and 292 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const announceContent = `目前开发完毕的主要功能包括:<br><ul><li>
func index(ctx *gin.Context) {
ctx.HTML(http.StatusOK, "common/announce.html", gin.H{
"title": "Love Live! 学园偶像祭",
"title": "Love Live! 学园偶像祭",
"content": template.HTML(announceContent),
})
}