mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-24 04:51:30 +00:00
Implement Group Inspect Buffs for raids
This commit is contained in:
parent
a327c91bac
commit
466eecacc4
@ -2,6 +2,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
|||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
== 10/19/2014 ==
|
== 10/19/2014 ==
|
||||||
Uleat: Updated command #peekinv to display item links properly in RoF clients
|
Uleat: Updated command #peekinv to display item links properly in RoF clients
|
||||||
|
demonstar55: Group Mentoring in raids
|
||||||
|
demonstar55: Inspect Buffs (text only version) works in raid groups
|
||||||
|
|
||||||
== 10/18/2014==
|
== 10/18/2014==
|
||||||
demonstar55: Implement group mentor, sharing leadership exp (SoF+ only)
|
demonstar55: Implement group mentor, sharing leadership exp (SoF+ only)
|
||||||
|
|||||||
@ -5338,6 +5338,17 @@ void Client::Handle_OP_DoGroupLeadershipAbility(const EQApplicationPacket *app)
|
|||||||
if (!Target || !Target->IsClient())
|
if (!Target || !Target->IsClient())
|
||||||
return;
|
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();
|
Group *g = GetGroup();
|
||||||
|
|
||||||
if (!g || (g->GroupCount() < 3))
|
if (!g || (g->GroupCount() < 3))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user