形象:修改好感度解锁逻辑
This commit is contained in:
@@ -268,7 +268,7 @@ export default class GMUsers extends Service {
|
||||
try {
|
||||
for(let heroInfo of heroInfos) {
|
||||
let hero = await HeroModel.createHero(heroInfo);
|
||||
await unlockFigure(heroInfo.roleId, [{ type: FIGURE_UNLOCK_CONDITION.GET_HERO, num: heroInfo.hid }]); // 解锁头像
|
||||
await unlockFigure(heroInfo.roleId, [{ type: FIGURE_UNLOCK_CONDITION.GET_HERO, paramHid: heroInfo.hid }]); // 解锁头像
|
||||
await calPlayerCeAndSave(HERO_SYSTEM_TYPE.INIT, heroInfo.roleId, hero, {});
|
||||
}
|
||||
return ctx.service.utils.resResult(STATUS.SUCCESS, { uids });
|
||||
|
||||
Reference in New Issue
Block a user