refactor(fight/effect): 统一效果初始化接口,重构效果类型管理并优化参数传递逻辑

This commit is contained in:
1
2025-09-24 16:36:32 +00:00
parent e909200799
commit 266a328159
14 changed files with 146 additions and 204 deletions

View File

@@ -56,7 +56,7 @@ func (this *EffectNode) IsCrit(opp *input.Input, skill *info.SkillEntity) {
}
func (e *EffectNode) OnHit() bool {
return true
panic("not implemented") // TODO: Implement
}
func (e *EffectNode) OnMiss() bool {