Files
bl/logic/service/fight/info/over.go
昔念 4a5a7727b5
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
```
feat(boss_fight): 完善宠物捕获和战斗奖励机制

- 在宠物捕获时记录当前地图ID作为CatchMap
- 将经验值奖励改为通过道具系统发放,统一使用ItemAdd方法处理
- 调整EXP奖励的计算方式,移除原有S2C_GET_BOSS_MONSTER中的EXP字段

feat(arena): 优化竞技场对战奖励和EV分配

- 将竞技场胜利奖励的EV值
2026-02-18 22:07:50 +08:00

18 lines
818 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package info
import "blazing/common/data"
type S2C_GET_BOSS_MONSTER struct {
BonusID uint32 // 激活前端任务的ID
// EXP uint32 `json:"exp" description:"奖励经验"`
// EV int64 `struc:"uint32"`
PetID uint32 // 发放精灵的ID
CaptureTm uint32 // 发放精灵的捕获时间
ItemListLen uint32 `struc:"sizeof=ItemList"`
ItemList []data.ItemInfo // 发放物品的数组:
// 特殊说明:
// 1. 仅发放精灵不发放物品时ItemList 无需填充元素,但序列化时需先写入 uint 类型的长度值为0
// 2. 发放多个物品时:序列化时先写入 uint 类型的数组长度再依次写入每个ItemInfo元素
// 3. 该List结构参考PetInfo的特性List长度为Uint型非int
}