feat:
皮肤升级新增本体碎片消耗
This commit is contained in:
parent
a4188eee24
commit
e914f3f11b
@ -18,6 +18,8 @@ export default async function (call: ApiCall<ReqUplv, ResUplv>) {
|
||||
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 });
|
||||
}
|
||||
|
||||
// 检测消耗
|
||||
|
@ -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 }[];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user