From 950a048742f57c861371acbc85a3b6838fcc9ec1 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Wed, 10 Jan 2024 18:23:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=BB=84=E6=97=97=E9=85=92=E9=A6=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/huangqijiuguan/ApiFight.ts | 2 +- src/api_s2c/event/huangqijiuguan/fun.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api_s2c/event/huangqijiuguan/ApiFight.ts b/src/api_s2c/event/huangqijiuguan/ApiFight.ts index b7f1085..41974cd 100644 --- a/src/api_s2c/event/huangqijiuguan/ApiFight.ts +++ b/src/api_s2c/event/huangqijiuguan/ApiFight.ts @@ -17,7 +17,7 @@ export default async function (call: ApiCall) { let mydata = await HQJGFun.getMydata(call, call.req.hdid); // 开始战斗 - let result: fightResult = await FightFun.fightNpc(call, hd.data.bossId, 'hqjg'); + let result: fightResult = await FightFun.fightNpc(call, hd.data.boss.npcId, 'hqjg'); let up = false; let today = HQJGFun.today(hd); diff --git a/src/api_s2c/event/huangqijiuguan/fun.ts b/src/api_s2c/event/huangqijiuguan/fun.ts index 175420b..ec907e8 100644 --- a/src/api_s2c/event/huangqijiuguan/fun.ts +++ b/src/api_s2c/event/huangqijiuguan/fun.ts @@ -14,7 +14,10 @@ export interface Data { } huobi: atn // 抽卡货币 - bossId: number // boss表的ID + boss: { + img: string + npcId: number + } // boss排行邮件 bossRank_des: string