抽卡:心愿单解锁
This commit is contained in:
@@ -103,6 +103,7 @@ export class GachaHandler {
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
gachaId, activityId,
|
||||
freeCount, refFreeTime: userGacha.refFreeTime, count: userGacha.count, point: userGacha.point, floor, hope,
|
||||
guideResultCount: userGacha.guideResultCount,
|
||||
// heroes: resultHeroes,
|
||||
addHeros: heroes,
|
||||
result: resultList
|
||||
@@ -452,7 +453,7 @@ export class GachaHandler {
|
||||
let gachaPull = new GachaPull(gachaId, lv, userHeroes);
|
||||
let { items, heroInfo, resultList, activityData } = gachaPull.pullBySimpleResult(simpleResult);
|
||||
|
||||
|
||||
userGacha = await UserGachaModel.updateInfo(roleId, gachaId, 0, { guideResultCount: count });
|
||||
|
||||
// 给东西
|
||||
// console.log('****', heroInfo)
|
||||
@@ -467,6 +468,8 @@ export class GachaHandler {
|
||||
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
hasInit: !!role.gachaHasGuide,
|
||||
guideResultCount: userGacha.guideResultCount,
|
||||
count: userGacha.count,
|
||||
gachaId,
|
||||
// heroes: resultHeroes,
|
||||
addHeros: heroes,
|
||||
|
||||
Reference in New Issue
Block a user