1
This commit is contained in:
parent
77f045f415
commit
5d067f231c
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user