diff --git a/src/api_s2c/heroskin/ApiUplv.ts b/src/api_s2c/heroskin/ApiUplv.ts index dc281e2..667c448 100644 --- a/src/api_s2c/heroskin/ApiUplv.ts +++ b/src/api_s2c/heroskin/ApiUplv.ts @@ -18,6 +18,8 @@ export default async function (call: ApiCall) { need = need.concat( G.gc.heroSkinLv[skinconf.colour][cur_lv + i].need ) + let conf = G.gc.heroSkin[call.req.skid]; + need.push({ a: "item", "t": conf.heroId, "n": G.gc.heroSkinLv[skinconf.colour][cur_lv + i].suipian }); } // 检测消耗 diff --git a/src/jsonType.ts b/src/jsonType.ts index 4e8f553..bd9211a 100644 --- a/src/jsonType.ts +++ b/src/jsonType.ts @@ -1813,6 +1813,7 @@ type gc_hero_skin = { type gc_hero_skin_lv = { [colour: string]: { [lv: string]: { + suipian: number buff: { [k: string]: number } need: { a: string, t: string, n: number }[]; }