```
feat(fight): 更新战斗效果计算逻辑并修复宠物信息返回 - 在PetBargeListInfo中添加EnCntCnt字段并修复返回值 - 将effect_195和effect_566中的SkillHit方法重命名为CalculatePre - 在effect_566中添加can字段 - 更新fightc.go中的技能处理流程,将SkillHit调用改为CalculatePre - 在接口定义中将Calculate_Pre重命名为CalculatePre
This commit is contained in:
@@ -231,12 +231,11 @@ func (h Controller) GetPetBargeList(data *pet.PetBargeListInboundInfo, player *p
|
||||
|
||||
ret.PetBargeList = append(ret.PetBargeList, pet.PetBargeListInfo{
|
||||
PetId: v.PetId,
|
||||
EnCntCnt: 1,
|
||||
IsCatched: v.CatchedCount,
|
||||
IsKilled: v.KilledCount,
|
||||
})
|
||||
}
|
||||
|
||||
return &pet.PetBargeListOutboundInfo{
|
||||
PetBargeList: make([]pet.PetBargeListInfo, 0),
|
||||
}, 0
|
||||
return ret, 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user