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

26 lines
522 B
Go

package effect
import (
"blazing/logic/service/fight/input"
)
// Effect 157: {0}回合内若受到攻击,对手防御等级-1、特防等级-1、命中等级-1
type Effect157 struct {
RoundEffectArg0Base
}
func (e *Effect157) Skill_Use_ex() bool {
if e.Ctx().SkillEntity == nil {
return true
}
e.Ctx().Opp.SetProp(e.Ctx().Our, 1, -1)
e.Ctx().Opp.SetProp(e.Ctx().Our, 3, -1)
e.Ctx().Opp.SetProp(e.Ctx().Our, 5, -1)
return true
}
func init() {
input.InitEffect(input.EffectType.Skill, 157, &Effect157{})
}