fix: 修复空提交问题

This commit is contained in:
1
2025-11-18 22:16:55 +00:00
parent f164d3c358
commit 6831861e0d
15 changed files with 92 additions and 67 deletions

View File

@@ -94,7 +94,7 @@ func (h Controller) PlayerFightBoss(data *fight.ChallengeBossInboundInfo, c *pla
}
}
c.PVPinfo = &info.PVPinfo{
c.Fightinfo = &info.Fightinfo{
Status: info.BattleStatus.FIGHT_WITH_BOSS,
Mode: info.BattleMode.MULTI_MODE,
@@ -134,7 +134,7 @@ func (h Controller) OnPlayerFightNpcMonster(data *fight.FightNpcMonsterInboundIn
moinfo.Nick = xmlres.PetMAP[int(mo.ID)].DefName
moinfo.PetList = append(moinfo.PetList, *mo)
ai := player.NewAI_player(moinfo)
c.PVPinfo = &info.PVPinfo{
c.Fightinfo = &info.Fightinfo{
Mode: info.BattleMode.MULTI_MODE,
Status: info.BattleStatus.FIGHT_WITH_NPC,
}