2026-03-08 15:41:16 +08:00
|
|
|
package effect
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"blazing/logic/service/fight/input"
|
|
|
|
|
)
|
|
|
|
|
|
2026-03-28 21:57:22 +08:00
|
|
|
// Effect 157: {0}回合内若受到攻击,对手防御等级-1、特防等级-1、命中等级-1
|
2026-03-08 15:41:16 +08:00
|
|
|
type Effect157 struct {
|
2026-03-28 21:57:22 +08:00
|
|
|
RoundEffectArg0Base
|
2026-03-08 15:41:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (e *Effect157) Skill_Use_ex() bool {
|
|
|
|
|
if e.Ctx().SkillEntity == nil {
|
|
|
|
|
return true
|
|
|
|
|
}
|
2026-03-08 23:24:18 +08:00
|
|
|
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)
|
2026-03-08 15:41:16 +08:00
|
|
|
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
func init() {
|
|
|
|
|
input.InitEffect(input.EffectType.Skill, 157, &Effect157{})
|
|
|
|
|
|
|
|
|
|
}
|