修复大乱斗问题
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-20 09:40:22 +08:00
parent 58440d5993
commit 53b18cfd0c
6 changed files with 37 additions and 17 deletions

View File

@@ -8,6 +8,7 @@ import (
"github.com/gogf/gf/v2/util/gconv"
"github.com/gogf/gf/v2/util/grand"
"github.com/samber/lo"
)
type PetItemHandler func(itemid uint32, ctx *model.PetInfo) bool
@@ -218,6 +219,7 @@ func init() {
PetItemRegistry.RegisterExact(300152, func(itemid uint32, onpet *model.PetInfo) bool {
onpet.SkinID = onpet.ID
onpet.ExtSkin = append(onpet.ExtSkin, onpet.ID) //添加到拓展皮肤列表
lo.Uniq(onpet.ExtSkin)
return true
})
//形态固定