任务:修复任务无法达成bug
This commit is contained in:
@@ -209,8 +209,10 @@ function getPoolByHope(hope: Hope[], qualtiy: number) {
|
||||
let hopeMap = new Map<number, Hope>();
|
||||
let hasGetHope: number[] = [];
|
||||
for(let h of hope) {
|
||||
hopeMap.set(h.id, h);
|
||||
if(h.hasGet) hasGetHope.push(h.id);
|
||||
if(h.hid > 0) {
|
||||
hopeMap.set(h.id, h);
|
||||
if(h.hasGet) hasGetHope.push(h.id);
|
||||
}
|
||||
}
|
||||
|
||||
let list = gameData.gachaHope.map(cur => {
|
||||
|
||||
Reference in New Issue
Block a user