Files
bl/logic/service/fight/effect/535.go
xinian 875ad668aa
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed
feat: 实现战斗效果逻辑和接口重构
2026-03-28 21:57:22 +08:00

27 lines
463 B
Go

package effect
import (
"blazing/logic/service/fight/input"
)
// Effect 535: {0}回合内若受到攻击则自身防御+1 特防+1
type Effect535 struct {
RoundEffectArg0Base
duration int
}
func (e *Effect535) Skill_Use_ex() bool {
if e.Ctx().SkillEntity == nil {
return true
}
e.Ctx().Our.SetProp(e.Ctx().Our, 1, 1)
e.Ctx().Our.SetProp(e.Ctx().Our, 3, 1)
return true
}
func init() {
input.InitEffect(input.EffectType.Skill, 535, &Effect535{})
}