mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-06 04:13:48 +00:00
@@ -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; });
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user