Files
bl/logic/service/fight/battle/node/PetSwitch.go
昔念 ca8c4bcd04 refactor(fight): 重构战斗系统
- 优化了战斗逻辑和数据结构
- 修复了一些战斗相关的错误
- 提高了代码的可读性和可维护性
2025-09-06 00:31:08 +08:00

23 lines
600 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package node
// 切精灵返回false重写change方法来实现切换效果
// 精灵切换相关触发
func (this *EffectNode) OnSwitchIn() bool {
panic("not implemented") // TODO: Implement
}
func (this *EffectNode) OnSwitchOut() bool {
//下场默认清除effect
panic("not implemented") // TODO: Implement
}
func (this *EffectNode) OnOwnerSwitchIn() bool {
//自身下场清除掉自身的回合效果
//this.GetBattle().Effects[this.GetInput().UserID].RemoveEffect(this)
return true
}
func (this *EffectNode) OnOwnerSwitchOut() bool {
panic("not implemented") // TODO: Implement
}