diff --git a/shared/domain/roleField/friend.ts b/shared/domain/roleField/friend.ts index 55f163181..74adb6935 100644 --- a/shared/domain/roleField/friend.ts +++ b/shared/domain/roleField/friend.ts @@ -3,7 +3,7 @@ import { FriendShipType } from "../../db/FriendShip"; import * as friendUtil from '../../pubUtils/friendUtil' import { FRIEND_RELATION_TYPE } from "../../consts"; import { Connect, EPlace, HeroType, Stone, Talent } from "../../db/Hero"; -import { JewelType, RandSe } from "../../db/Jewel"; +import { JewelSe, JewelType } from "../../db/Jewel"; import { ArtifactModelType } from "../../db/Artifact"; export class FriendParams { @@ -130,7 +130,7 @@ export class HeroDetailJewelRandSeParam { seid: number; rand: number; - constructor(randSe: RandSe) { + constructor(randSe: JewelSe) { this.id = randSe.id; this.seid = randSe.seid; this.rand = randSe.rand; @@ -141,6 +141,7 @@ export class HeroDetailJewelParam { seqId: number; id: number; randSe: HeroDetailJewelRandSeParam[] = []; + rareSe: HeroDetailJewelRandSeParam[] = []; constructor(jewel: JewelType) { this.seqId = jewel.seqId; @@ -148,6 +149,9 @@ export class HeroDetailJewelParam { for(let randSe of jewel.randSe) { this.randSe.push(new HeroDetailJewelRandSeParam(randSe)); } + for(let rareSe of jewel.rareSe) { + this.rareSe.push(new HeroDetailJewelRandSeParam(rareSe)); + } } }