fix: 修复空提交问题
This commit is contained in:
@@ -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)
|
||||
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user