🐞 fix(宝物抽卡): 宝物抽卡当抽中时未记录hasGet
This commit is contained in:
@@ -475,7 +475,8 @@ export class GachaPull {
|
|||||||
if (this.gachaType == GACHA_TYPE.ARTIFACT) gachaResult.setItem(hopeHero, 1);
|
if (this.gachaType == GACHA_TYPE.ARTIFACT) gachaResult.setItem(hopeHero, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.player.setUserHope(gachaResult.hid); // 设置心愿单中了没有
|
if (this.gachaType == GACHA_TYPE.NORMAL) this.player.setUserHope(gachaResult.hid); // 设置心愿单中了没有
|
||||||
|
if (this.gachaType == GACHA_TYPE.ARTIFACT) this.player.setUserHope(gachaResult.id); // 设置心愿单中了没有
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user