xunkong / KeqingNiuza

刻记牛杂店
MIT License
516 stars 53 forks source link

大小保底识别问题 #88

Closed ICMYS closed 2 years ago

ICMYS commented 2 years ago

目前读取抽卡记录的时候,当前水位的大小保底判断来源是抽卡记录的最后一项WishData的GuaranteeType属性,这个值在触发完大保底且水位为0的时候,读取是为大保底水位0,实际上应该是小保底0 应该在ws.GuaranteeType = list.Last().GuaranteeType;后再加入判断

ICMYS commented 2 years ago

ws.GuaranteeType = list.Last().GuaranteeType; if (list.Last().Rank == 5) { ws.Guarantee = 0; if (ws.WishType != WishType.Permanent && ws.WishType != WishType.Novice && list.Last().IsUp) { ws.GuaranteeType = "小保底"; } } else { ws.Guarantee = list.Last().Guarantee; }