Files
bl/logic/service/fight/effect/477.go

31 lines
508 B
Go
Raw Normal View History

2026-03-08 15:26:07 +08:00
package effect
import (
"blazing/logic/service/fight/input"
)
// Effect 477: {0}回合内若受到攻击,则对手{1}
2026-03-08 15:26:07 +08:00
type Effect477 struct {
RoundEffectArg0Base
2026-03-08 15:26:07 +08:00
}
func (e *Effect477) Skill_Use_ex() bool {
if e.Ctx().SkillEntity == nil {
return true
}
for i, effectId := range e.SideEffectArgs[1:] {
2026-03-17 10:57:11 +08:00
if effectId == 0 {
continue
}
e.Ctx().Opp.SetProp(e.Ctx().Our, int8(i), int8(effectId))
2026-03-08 15:26:07 +08:00
}
return true
}
func init() {
input.InitEffect(input.EffectType.Skill, 477, &Effect477{})
}