Compare commits

..

No commits in common. "6bcd618d5737c74999bab6e558497bfafd45a3df" and "715efd504ca54e9bb114ad8b2c5decbbdcb0afd0" 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) });