refactor(fight): 重构效果节点继承体系并完善Effect1实现

This commit is contained in:
1
2025-08-26 22:26:21 +00:00
parent 88b9c1f534
commit 3fa2cd2f3a
12 changed files with 82 additions and 58 deletions

View File

@@ -1,65 +1,65 @@
package node
func (this *Node) BeforeUseSkillCheck() bool {
func (this *EffectNode) BeforeUseSkillCheck() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) AfterUseSkillCheck() bool {
func (this *EffectNode) AfterUseSkillCheck() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) SkillUseEnd() bool {
func (this *EffectNode) SkillUseEnd() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) BeforeMultiHit() bool {
func (this *EffectNode) BeforeMultiHit() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) BeforeHit() bool {
func (this *EffectNode) BeforeHit() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnCritPreDamage() bool {
func (this *EffectNode) OnCritPreDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) PreDamage() bool {
func (this *EffectNode) PreDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnBeforeCalculateDamage() bool {
func (this *EffectNode) OnBeforeCalculateDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnDamage() bool {
func (this *EffectNode) OnDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) Shield() bool {
func (this *EffectNode) Shield() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) PostDamage() bool {
func (this *EffectNode) PostDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnCritPostDamage() bool {
func (this *EffectNode) OnCritPostDamage() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnHit() bool {
func (this *EffectNode) OnHit() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnMiss() bool {
func (this *EffectNode) OnMiss() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) AfterAttacked() bool {
func (this *EffectNode) AfterAttacked() bool {
panic("not implemented") // TODO: Implement
}
func (this *Node) OnDefeat() bool {
func (this *EffectNode) OnDefeat() bool {
panic("not implemented") // TODO: Implement
}