- 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

View File

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