mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 10:45:43 +00:00
fix party member dispel.
This commit is contained in:
@@ -30,3 +30,8 @@ bool AoeHealTrigger::IsActive()
|
||||
return AI_VALUE2(uint8, "aoe heal", type) >= count;
|
||||
}
|
||||
|
||||
bool AoeInGroupTrigger::IsActive()
|
||||
{
|
||||
Group *group = bot->GetGroup();
|
||||
return group && AI_VALUE2(uint8, "aoe heal", type) >= (group->GetMembersCount() * ratio);
|
||||
}
|
||||
Reference in New Issue
Block a user