Merge branch 'feature/skin' into dev

This commit is contained in:
xichaoyin 2024-01-11 22:43:49 +08:00
commit 9744576070

View File

@ -650,9 +650,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) });
}