feat: 添加BossConfig战胜规则字段并移除MapNode冗余字段
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-21 01:06:59 +08:00
committed by cnb
parent 6717ca5236
commit 4ba8fe32c4
3 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ type MapNode struct {
//完成后的脚本回调比如战胜和击败绑定不同的任务ID以及剧情绑定不同的ID
//回调通boss打完给前端发送固定事件
//PlotFinishScript string `gorm:"type:text;comment:'剧情完成后脚本回调'" json:"plot_finish_script" description:"剧情完成后脚本回调"`
Rule []uint32 `gorm:"type:jsonb; ;comment:'战胜规则'" json:"rule"`
BossIds []uint32 `gorm:"type:jsonb; ;comment:'塔层BOSS ID列表'" json:"boss_ids"`
}