Files
bl/logic/service/fight/effect/558.go
xinian a2e4ec867c
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat: 新增技能效果525、530、550、558、565
2026-03-17 14:35:06 +08:00

30 lines
523 B
Go

package effect
import (
"blazing/logic/service/fight/action"
"blazing/logic/service/fight/input"
"blazing/logic/service/fight/node"
)
// 558 -
type Effect558 struct {
node.EffectNode
}
func (e *Effect558) Skill_Use() bool {
if e.Ctx().Our.HasPropADD() || e.Ctx().Our.HasPropSub() { // 先出手
// 回复1/n的最大体力值
return true
}
e.Ctx().Our.Heal(e.Ctx().Our, &action.SelectSkillAction{}, e.Args()[0])
return true
}
func init() {
input.InitEffect(input.EffectType.Skill, 558, &Effect558{})
}