feat(config): 添加七牛云配置支持 - 在配置结构体中添加Qiniu字段用于七牛云配置 - 添加七牛云相关配置参数(AccessKey, SecretKey, Bucket, CDN) - 更新配置初始化逻辑以支持七牛云配置项 feat(login): 集成七牛云SDK并实现文件列表获取 - 添加七牛云SDK依赖(github.com/qiniu/go-sdk/v7) - 创建BucketManager用于文件管理操作 - 实
27 lines
547 B
Go
27 lines
547 B
Go
package effect
|
||
|
||
import (
|
||
"blazing/logic/service/fight/input"
|
||
)
|
||
|
||
// 41. 每回合恢复自身n点体力;(a1: n)
|
||
// TODO: 实现每回合恢复自身n点体力;(a1: n)的核心逻辑
|
||
type NewSel41 struct {
|
||
NewSel0
|
||
}
|
||
|
||
func (e *NewSel41) Skill_Use_ex() bool {
|
||
if e.ID().GetCatchTime() != e.Ctx().Our.CurrentPet.Info.CatchTime {
|
||
return true
|
||
}
|
||
if e.Ctx().SkillEntity == nil {
|
||
return true
|
||
}
|
||
|
||
e.Ctx().Our.Heal(e.Ctx().Our, nil, e.Args()[0])
|
||
return true
|
||
}
|
||
func init() {
|
||
input.InitEffect(input.EffectType.NewSel, 41, &NewSel41{})
|
||
}
|