1
This commit is contained in:
parent
5d067f231c
commit
c956c238e7
@ -1415,16 +1415,16 @@ bool BattleDataContext::HasWing()
|
||||
|
||||
bool BattleDataContext::HideBigEventBox()
|
||||
{
|
||||
bool visible = GetTotalLucky() < 0.01f;
|
||||
if (!visible) {
|
||||
bool hide = GetTotalLucky() < 0.01f;
|
||||
if (hide) {
|
||||
for (auto& item : items_) {
|
||||
if (std::get<0>(item) == 900007) {
|
||||
visible = true;
|
||||
hide = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return visible;
|
||||
return hide;
|
||||
}
|
||||
|
||||
float BattleDataContext::GetTotalLucky()
|
||||
|
Loading…
x
Reference in New Issue
Block a user