抽卡
This commit is contained in:
@@ -78,13 +78,11 @@ export class NewHeroGachaHandler {
|
||||
return resResult(STATUS.ACTIVITY_DATA_ERROR);
|
||||
}
|
||||
|
||||
let { lv } = await RoleModel.findByRoleId(roleId);
|
||||
|
||||
let userHeroes = await HeroModel.findByRole(roleId);
|
||||
|
||||
let gachaPull = new GachaPull(GACHA_ID.TIMELIMIT, lv, userHeroes);
|
||||
let gachaPull = new GachaPull(GACHA_ID.TIMELIMIT);
|
||||
gachaPull.setByActivity(item);
|
||||
let { items, heroInfo, resultList, activityData } = gachaPull.pull(count);
|
||||
let { items, heroInfo, resultList } = gachaPull.pull(count, userHeroes);
|
||||
let { hasGetFloor, floorCount } = gachaPull.getActivityParam();
|
||||
|
||||
// 消耗东西
|
||||
|
||||
Reference in New Issue
Block a user