抽卡:求贤若渴pick武将按品质算数量
This commit is contained in:
@@ -214,6 +214,7 @@ export const gameData = {
|
||||
gachaContentHero: dicGachaContentHero,
|
||||
gachaHope: new Array<{id: number, weight: number}>(),
|
||||
gachaTurntable: new Array<{quality: number, count: number}>(),
|
||||
gachaPickHeroCnt: new Map<number, number>(),
|
||||
heroTransPiece: new Map<number, number>(),
|
||||
giftPackage: dicGiftPackage,
|
||||
comBtlLvRange: new Map<number, {min: number, max: number}>(),
|
||||
@@ -745,6 +746,13 @@ function getGachaTurntablePercent() {
|
||||
});
|
||||
}
|
||||
|
||||
function getGachaPickHeroCnt() {
|
||||
let arr = decodeArrayListStr(RECRUIT.RECRUIT_GET_HERO_HIGH_RECRUIT);
|
||||
arr.forEach(cur => {
|
||||
gameData.gachaPickHeroCnt.set(parseInt(cur[0]), parseInt(cur[1]));
|
||||
});
|
||||
}
|
||||
|
||||
function getHeroTransPiece() {
|
||||
let map = decodeIdCntArrayStr(RECRUIT.RECRUIT_CHANGE_SHARD, 1);
|
||||
let newMap = new Map<number, number>();
|
||||
@@ -955,6 +963,7 @@ function parseDicParam() {
|
||||
decodeRaceEventItems();
|
||||
getGachaHopePercent();
|
||||
getGachaTurntablePercent();
|
||||
getGachaPickHeroCnt();
|
||||
getHeroTransPiece();
|
||||
parseComBtlLvRange();
|
||||
getCeRatio();
|
||||
|
||||
Reference in New Issue
Block a user