```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

feat(config): 添加广播节点结构体并重构地图节点配置

- 新增BroadcastNode结构体,包含触发器ID、位置、血量和方向字段
- 将MapNode结构体嵌入BroadcastNode以支持广播节点功能
- 从MapNode中移除重复的TriggerID、Pos、HP字段
- 在Event结构体中新增
This commit is contained in:
昔念
2026-02-27 23:13:50 +08:00
parent 2292de332f
commit aad5a1b360
2 changed files with 16 additions and 6 deletions

View File

@@ -19,6 +19,8 @@ type Event struct {
Weather []int32 `gorm:"type:int[];comment:'触发天气'" json:"weather"`
//触发的星期Event
Week []int32 `gorm:"type:int[];comment:'触发的星期'" json:"week"`
//首发精灵判断Event
FirstSprites []int32 `gorm:"type:int[];comment:'首发精灵判断'" json:"first_sprites"`
}
// MapPit 地图坑位核心配置模型参照MonsterRefresh实现风格