feat:皮肤

This commit is contained in:
xichaoyin 2024-01-11 22:36:38 +08:00
parent e914f3f11b
commit afb4c24322

View File

@ -608,12 +608,12 @@ export class PlayerFun {
}
}
if (Object.keys(upskin).length > 0) {
this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) });
await this.addAttr(call, { heroskin: Object.assign(heroskin, upskin) });
}
// 皮肤存在转换为其他奖励
if (prize.length > 0) {
this.sendPrize(call, prize);
await this.sendPrize(call, prize);
}
}