庆典活动任意boss 计算次数修复

This commit is contained in:
meixiongfeng 2023-08-25 21:10:34 +08:00
parent 004ce954e1
commit 38aeb3fbc3

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
// 天数