mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
fix(Scripts/ShadowLabyrinth): guard null attacker in Murmur DamageTaken (#26141)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -120,7 +120,7 @@ struct boss_murmur : public BossAI
|
||||
{
|
||||
BossAI::DamageTaken(attacker, damage, damagetype, damageSchoolMask);
|
||||
|
||||
if (!me->GetVictim() && attacker->IsControlledByPlayer())
|
||||
if (attacker && !me->GetVictim() && attacker->IsControlledByPlayer())
|
||||
AttackStart(attacker);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user