提交战斗系统

This commit is contained in:
1
2025-08-28 02:27:14 +00:00
parent b36ff6d0f1
commit 7dddc0400d
11 changed files with 151 additions and 165 deletions

View File

@@ -69,8 +69,8 @@ func (this *EffectNode) GetSkill() *info.BattleSkillEntity {
}
// 获取对方精灵
func (this *EffectNode) GetBattle() *info.BattleContainer1V1 {
pet, _ := this.ctx.Value(info.BattleContainerCtx).(*info.BattleContainer1V1)
func (this *EffectNode) GetBattle() *info.Battle1V1 {
pet, _ := this.ctx.Value(info.BattleContainerCtx).(*info.Battle1V1)
return pet