mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Implement Group Inspect Buffs for raids
This commit is contained in:
@@ -5338,6 +5338,17 @@ void Client::Handle_OP_DoGroupLeadershipAbility(const EQApplicationPacket *app)
|
||||
if (!Target || !Target->IsClient())
|
||||
return;
|
||||
|
||||
if (IsRaidGrouped()) {
|
||||
Raid *raid = GetRaid();
|
||||
if (!raid)
|
||||
return;
|
||||
uint32 group_id = raid->GetGroup(this);
|
||||
if (group_id > 11 || raid->GroupCount(group_id) < 3)
|
||||
return;
|
||||
Target->CastToClient()->InspectBuffs(this, raid->GetLeadershipAA(groupAAInspectBuffs, group_id));
|
||||
return;
|
||||
}
|
||||
|
||||
Group *g = GetGroup();
|
||||
|
||||
if (!g || (g->GroupCount() < 3))
|
||||
|
||||
Reference in New Issue
Block a user