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