mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-20 05:01:29 +00:00
Merge pull request #389 from KayenEQ/Development
Fix for pets not receiving group buffs cast on them correctly.
This commit is contained in:
commit
93eb727ade
@ -2151,7 +2151,7 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, uint16 slot, uint16
|
|||||||
// it can affect up to 7 people if the targeted group is not our own
|
// it can affect up to 7 people if the targeted group is not our own
|
||||||
|
|
||||||
// Allow pets who cast group spells to affect the group.
|
// Allow pets who cast group spells to affect the group.
|
||||||
if (spell_target->IsPetOwnerClient()){
|
if (spell_target->IsPetOwnerClient() && IsPetOwnerClient()){
|
||||||
Mob* owner = spell_target->GetOwner();
|
Mob* owner = spell_target->GetOwner();
|
||||||
|
|
||||||
if (owner)
|
if (owner)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user