This commit is contained in:
liwei1dao 2023-08-28 10:57:45 +08:00
commit ab2f83c4e2

View File

@ -287,7 +287,12 @@ func (this *Activity) HDCelebration(session comm.IUserSession, systemtype int32,
}
if conf, err := this.configure.GetHDCelebration(data.Val); err == nil {
for _, v1 := range conf.Bosstype {
if v1 == 0 { // bosstype 为0 表示所有的boss 类型都算
bosstype = 0
break
}
}
if conf.Systemtype == systemtype {
data.Gotarr[bosstype] += 1
// 天数