fix: 修复战斗广播技能PP同步问题
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-04-22 14:12:14 +08:00
parent eb76c22c41
commit b46a1f442b
4 changed files with 14 additions and 11 deletions

View File

@@ -284,7 +284,9 @@ func (our *Input) GenInfo() {
}
our.RemainHp = int32(currentPet.Info.Hp)
our.SkillList = currentPet.Info.SkillList
our.MaxHp = currentPet.Info.MaxHp
our.SkillList = append(our.SkillList[:0], currentPet.Info.SkillList...)
our.SkillListLen = uint32(len(our.SkillList))
// f.Second.SkillList = f.Second.CurPet.Info.SkillList
// f.Second.RemainHp = int32(f.Second.CurPet.Info.Hp)