feat(fight_boss): 重构Boss战斗逻辑并修复捕捉功能 - 移除未使用的taskID和canCapture变量 - 简化Boss数据获取逻辑,移除注释掉的旧代码 - 更新捕捉机制使用bosinfo[0].IsCapture
This commit is contained in:
@@ -15,8 +15,8 @@ type BossConfig struct {
|
||||
|
||||
MapID int32 `gorm:"not null;index;comment:'所属地图ID'" json:"map_id" description:"地图ID"`
|
||||
|
||||
Ordernum int32 `gorm:"not null;comment:'排序'" json:"ordernum" description:"排序"`
|
||||
ParentID int32 `gorm:"column:parentId;type:int" json:"parentId"` // 父ID
|
||||
Ordernum int32 `gorm:"not null;default:0;comment:'排序'" json:"ordernum" description:"排序"`
|
||||
ParentID int32 `gorm:"not null;default:0;column:parentId;type:int" json:"parentId"` // 父ID
|
||||
Remark string `gorm:"comment:'BOSS备注'" json:"remark"`
|
||||
//是否可捕捉MapPit
|
||||
IsCapture int `gorm:"type:int;default:0;comment:'是否可捕捉'" json:"is_capture"`
|
||||
|
||||
Reference in New Issue
Block a user