新武将:关卡

This commit is contained in:
luying
2022-08-01 19:55:11 +08:00
parent 30ab30c97d
commit e2dd6852af
5 changed files with 51 additions and 61 deletions

View File

@@ -49,4 +49,8 @@ export class NewHeroGachaData extends ActivityBase {
this.pickHero = data.pickHero;
this.pullCnt = data.pullCnt;
}
public isPickHero(hid: number) {
return this.heroes.findIndex(cur => cur.hid == hid) != -1;
}
}