mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
parent
848401be67
commit
e5f1b862dd
@ -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; });
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user