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

25 lines
464 B
Go

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