Compare commits

..

No commits in common. "e30155ca54cd29d8b88f2cd865e2edb76276adf1" and "73537c36378342fd36135eb62a17f13b5c0ef917" have entirely different histories.

View File

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