feat(config): 添加广播节点结构体并重构地图节点配置 - 新增BroadcastNode结构体,包含触发器ID、位置、血量和方向字段 - 将MapNode结构体嵌入BroadcastNode以支持广播节点功能 - 从MapNode中移除重复的TriggerID、Pos、HP字段 - 在Event结构体中新增
This commit is contained in:
@@ -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实现风格)
|
||||
|
||||
Reference in New Issue
Block a user