抽卡:提供内部接口
This commit is contained in:
@@ -320,7 +320,6 @@ export async function createHeroes(roleId: string, roleName: string, sid: string
|
||||
|
||||
let newHeroInfo: CreateHeroParam[] = [], pieces: ItemInter[] = [];
|
||||
for(let h of heroInfo) {
|
||||
console.log('*****', JSON.stringify([...userHeroesMap]), h.hid)
|
||||
if(userHeroesMap.has(h.hid)) {
|
||||
let {pieceId, count} = transPiece(h.hid);
|
||||
pieces.push({ id: pieceId, count });
|
||||
|
||||
Reference in New Issue
Block a user