抽卡:转盘

This commit is contained in:
luying
2021-04-23 20:35:47 +08:00
parent 0cd6939f5e
commit 5c24e28d06
3 changed files with 59 additions and 13 deletions

View File

@@ -599,7 +599,7 @@ function getGachaHopePercent() {
function getGachaTurntablePercent() {
let arr = decodeArrayListStr(RECRUIT.RECRUIT_BONUS_HERO_QUANTITY);
return arr.map(cur => {
return { quality: parseInt(cur[0]), weight: parseInt(cur[1]) }
return { quality: parseInt(cur[0]), count: parseInt(cur[1]) }
});
}