庆典活动任意boss 计算次数修复
This commit is contained in:
parent
004ce954e1
commit
38aeb3fbc3
@ -287,7 +287,12 @@ func (this *Activity) HDCelebration(session comm.IUserSession, systemtype int32,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if conf, err := this.configure.GetHDCelebration(data.Val); err == nil {
|
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 {
|
if conf.Systemtype == systemtype {
|
||||||
data.Gotarr[bosstype] += 1
|
data.Gotarr[bosstype] += 1
|
||||||
// 天数
|
// 天数
|
||||||
|
Loading…
Reference in New Issue
Block a user