Files
bl/logic/controller/active_寒流枪.go
昔念 d6f8e9dbf7
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
```
refactor(.woodpecker): 移除全局配置变量并优化SSH连接设置

移除了全局配置变量,改用YAML锚点引用方式统一管理SSH连接参数,
提高配置的可维护性并减少重复代码
2026-01-30 22:18:44 +08:00

21 lines
493 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 controller
import (
"blazing/common/socket/errorcode"
"blazing/logic/service/fight"
"blazing/logic/service/pet"
"blazing/logic/service/player"
)
// CatchPet 传送仓抓稀有宠物
// data: 空输入结构
// c: 当前玩家对象
// 返回: 捕捉结果消耗的EV值和错误码
func (h Controller) HanLiuQiang(data *pet.C2S_2608, c *player.Player) (result *fight.NullOutboundInfo, err errorcode.ErrorCode) {
if c.ItemAdd(100245, 1) {
return
}
return result, -1
}