2025-11-25 18:25:52 +08:00
|
|
|
|
package effect
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
|
"blazing/logic/service/fight/input"
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// 41. 每回合恢复自身n点体力;(a1: n)
|
|
|
|
|
|
// TODO: 实现每回合恢复自身n点体力;(a1: n)的核心逻辑
|
|
|
|
|
|
type NewSel41 struct {
|
|
|
|
|
|
NewSel0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-08 01:28:55 +08:00
|
|
|
|
func (e *NewSel41) Skill_Use() bool {
|
2026-04-04 04:34:43 +08:00
|
|
|
|
if e.ID().GetCatchTime() != e.Ctx().Our.CurPet[0].Info.CatchTime {
|
2026-01-03 01:35:32 +08:00
|
|
|
|
return true
|
|
|
|
|
|
}
|
2026-01-06 23:25:49 +08:00
|
|
|
|
if e.Ctx().SkillEntity == nil {
|
2026-01-03 01:35:32 +08:00
|
|
|
|
return true
|
|
|
|
|
|
}
|
2026-01-06 23:25:49 +08:00
|
|
|
|
|
2025-12-06 15:11:42 +08:00
|
|
|
|
e.Ctx().Our.Heal(e.Ctx().Our, nil, e.Args()[0])
|
2026-01-03 01:35:32 +08:00
|
|
|
|
return true
|
2025-11-26 18:39:23 +08:00
|
|
|
|
}
|
2025-11-25 18:25:52 +08:00
|
|
|
|
func init() {
|
2026-03-31 03:42:46 +08:00
|
|
|
|
input.InitEffect(input.EffectType.NewSel, 141, &NewSel41{})
|
2025-11-25 18:25:52 +08:00
|
|
|
|
}
|