Files
bl/logic/service/fight/effect/effect_47.go
xinian 7405aac82d
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
refactor: 合并同类 effect 实现到公共基类
2026-04-03 00:26:59 +08:00

26 lines
445 B
Go

package effect
import (
"blazing/logic/service/fight/input"
)
// Effect 47: {0}回合内免疫能力下降状态
type Effect47 struct {
RoundEffectArg0Base
//StatusID int
conut int
}
func (e *Effect47) PropBefer(in *input.Input, prop int8, level int8) bool {
if in == e.Ctx().Opp && level < 0 {
return false
}
return true
}
// ---- 注册所有效果 ----
func init() {
input.InitEffect(input.EffectType.Skill, 47, &Effect47{})
}