战力:getHeroDetail多缩了一点
This commit is contained in:
@@ -4,7 +4,6 @@ import * as friendUtil from '../../pubUtils/friendUtil'
|
|||||||
import { FRIEND_RELATION_TYPE } from "../../consts";
|
import { FRIEND_RELATION_TYPE } from "../../consts";
|
||||||
import { EPlace, HeroType, Stone } from "../../db/Hero";
|
import { EPlace, HeroType, Stone } from "../../db/Hero";
|
||||||
import { JewelType, RandSe } from "../../db/Jewel";
|
import { JewelType, RandSe } from "../../db/Jewel";
|
||||||
import { reduceCe } from "../../pubUtils/util";
|
|
||||||
|
|
||||||
export class FriendParams {
|
export class FriendParams {
|
||||||
roleId: string;
|
roleId: string;
|
||||||
@@ -195,7 +194,7 @@ export class HeroDetailParam {
|
|||||||
constructor(hero: HeroType) {
|
constructor(hero: HeroType) {
|
||||||
this.roleId = hero.roleId;
|
this.roleId = hero.roleId;
|
||||||
this.hid = hero.hid;
|
this.hid = hero.hid;
|
||||||
this.ce = reduceCe(hero.ce);
|
this.ce = hero.ce;
|
||||||
this.lv = hero.lv;
|
this.lv = hero.lv;
|
||||||
this.star = hero.star;
|
this.star = hero.star;
|
||||||
this.colorStar = hero.colorStar;
|
this.colorStar = hero.colorStar;
|
||||||
|
|||||||
Reference in New Issue
Block a user