养成:初始战力推送修复
This commit is contained in:
@@ -346,11 +346,11 @@ export class CreateHeroes extends UpdateHeroes {
|
||||
pinus.app.get('channelService').pushMessageByUids('onHeadChange', resResult(STATUS.SUCCESS, { ...figureInfo }), uids);
|
||||
}
|
||||
pinus.app.get('channelService').pushMessageByUids('onHeroSkinChange', resResult(STATUS.SUCCESS, this.skinPushMessages), uids);
|
||||
pinus.app.get('channelService').pushMessageByUids('onHeroUpdate', resResult(STATUS.SUCCESS, { heroes: this.resultHeroes }), uids);
|
||||
pinus.app.get('channelService').pushMessageByUids('onHeroUpdate', resResult(STATUS.SUCCESS, { heroes: this.getResultHeroes() }), uids);
|
||||
}
|
||||
|
||||
public getResultHeroes() {
|
||||
return this.resultHeroes
|
||||
return this.resultHeroes.map(cur => ({...cur, ce: reduceCe(cur.ce)}))
|
||||
}
|
||||
|
||||
public getShowHeroes() {
|
||||
|
||||
Reference in New Issue
Block a user