- reverted changes in need world buff trigger
This commit is contained in:
kadeshar 2024-12-22 12:46:11 +01:00 committed by GitHub
parent 848401be67
commit e5f1b862dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,8 +25,4 @@ bool PartyMemberNeedCureTrigger::IsActive()
return target && target->IsInWorld(); return target && target->IsInWorld();
} }
bool NeedWorldBuffTrigger::IsActive() bool NeedWorldBuffTrigger::IsActive() { return !WorldBuffAction::NeedWorldBuffs(bot).empty(); }
{
std::any_of(WorldBuffAction::NeedWorldBuffs(bot).begin(), WorldBuffAction::NeedWorldBuffs(bot).end(),
[](const auto& wb) { return true; });
}