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

@@ -61,7 +61,15 @@ func (Controller) PlayerFightBoss(data1 *fight.ChallengeBossInboundInfo, p *play
int(bm.Lv), nil, 0)
monster.CatchTime = uint32(i)
monster.ConfigBoss(bm.PetBaseConfig)
effects := service.NewEffectService().Args(bm.Effect)
for _, v := range effects {
monster.EffectInfo = append(monster.EffectInfo, model.PetEffectInfo{
Idx: uint16(v.SeIdx),
EID: gconv.Uint16(v.Eid),
Args: gconv.Ints(v.Args),
})
}
monsterInfo.PetList = append(monsterInfo.PetList, *monster)
}
if bosinfo[0].IsCapture == 1 {