refactor: 重构战斗效果实现
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-08 15:26:07 +08:00
committed by cnb
parent a8cbe99873
commit 6c75b106b3
9 changed files with 260 additions and 200 deletions

View File

@@ -0,0 +1,22 @@
package effect
import (
"blazing/logic/service/fight/input"
"blazing/logic/service/fight/node"
)
// 494 - 无视对手能力提升状态
type Effect494 struct {
node.EffectNode
}
func (e *Effect494) CalculatePre() bool {
e.Ctx().Opp.Prop = [6]int8{}
return true
}
func init() {
input.InitEffect(input.EffectType.Skill, 494, &Effect494{})
}