提交战斗系统
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user