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);
|
BossAI::DamageTaken(attacker, damage, damagetype, damageSchoolMask);
|
||||||
|
|
||||||
if (!me->GetVictim() && attacker->IsControlledByPlayer())
|
if (attacker && !me->GetVictim() && attacker->IsControlledByPlayer())
|
||||||
AttackStart(attacker);
|
AttackStart(attacker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user