From 40bc4febc9b7cc1f99fdd15ac0dee0451fc87421 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 13 Jan 2023 10:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(=E5=A5=BD=E5=8F=8B):=20?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=85=B6=E4=BB=96=E7=8E=A9=E5=AE=B6=E5=A4=A9?= =?UTF-8?q?=E6=99=B6=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/domain/roleField/friend.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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)); + } } }