fix(Scripts/TempleOfAhnQiraj): pass aggro target to Skeram's aggro yell (#26789)

This commit is contained in:
Andrew
2026-07-25 14:19:29 -03:00
committed by GitHub
parent 0b871ee52a
commit f4a1b89a58
@@ -142,7 +142,7 @@ struct boss_skeram : public BossAI
me->RemoveCorpse(); me->RemoveCorpse();
} }
void JustEngagedWith(Unit* /*who*/) override void JustEngagedWith(Unit* who) override
{ {
_JustEngagedWith(); _JustEngagedWith();
events.Reset(); events.Reset();
@@ -154,7 +154,9 @@ struct boss_skeram : public BossAI
if (!me->IsSummon()) if (!me->IsSummon())
{ {
Talk(SAY_AGGRO); // Resolve pets/guardians to their owner so gendered locales resolve $g against the puller
Player* puller = who->GetCharmerOrOwnerPlayerOrPlayerItself();
Talk(SAY_AGGRO, puller ? puller : who);
} }
} }