fix: 修复空提交问题

This commit is contained in:
1
2025-11-16 21:11:44 +00:00
parent baaec283e6
commit f01068930b
3 changed files with 15 additions and 2 deletions

View File

@@ -102,7 +102,12 @@ func (h Controller) PlayerFightBoss(data *fight.ChallengeBossInboundInfo, c *pla
Mode: info.BattleMode.MULTI_MODE,
}
ai := player.NewAI_player(moinfo)
//给予打过一次的奖励
c.Done.SPT(c.Info.MapID, data.BossId, 1, func() {
})
fight.NewFight(c, ai, func(foi *info.FightOverInfo) {
c.Done.Done(model.MilestoneMode.BOSS, data.BossId)
})