This commit is contained in:
aozhiwei 2024-10-16 16:02:32 +08:00
parent 77f045f415
commit 5d067f231c

View File

@ -1415,7 +1415,16 @@ bool BattleDataContext::HasWing()
bool BattleDataContext::HideBigEventBox()
{
return GetTotalLucky() < 0.01f;
bool visible = GetTotalLucky() < 0.01f;
if (!visible) {
for (auto& item : items_) {
if (std::get<0>(item) == 900007) {
visible = true;
break;
}
}
}
return visible;
}
float BattleDataContext::GetTotalLucky()