feat: 新增多个技能效果实现
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-07 13:54:42 +08:00
committed by cnb
parent fe8e2786c2
commit 02629b6f6c
10 changed files with 228 additions and 47 deletions

View File

@@ -153,15 +153,7 @@ func (pet *PetInfo) ConfigBoss(bm model.PetBaseConfig) {
}
}
effects := service.NewEffectService().Args(bm.Effect)
for _, v := range effects {
pet.EffectInfo = append(pet.EffectInfo, PetEffectInfo{
Idx: uint16(v.SeIdx),
EID: gconv.Uint16(v.Eid),
Args: gconv.Ints(v.Args),
})
}
}
func (pet *PetInfo) Type() int {