feat:皮肤

This commit is contained in:
xichaoyin 2024-01-11 22:43:40 +08:00
parent 70a901ddf4
commit 4e12d706fe

View File

@ -604,9 +604,10 @@ export class PlayerFun {
if (!heroskin[p.t]) {
upskin[p.t] = 1;
} else {
prize.concat(G.gc.heroSkin[p.t].zhuanhuan);
prize = prize.concat(G.gc.heroSkin[p.t].zhuanhuan);
}
}
if (Object.keys(upskin).length > 0) {
await this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) });
}