mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Scripts/ShadowLabyrinth): Fix Murmur combat bug caused by Suppres… (#16122)
fix(Scripts/ShadowLabyrinth): Fix Murmur combat bug caused by Suppression Blasts hitting npcs in combat with players
This commit is contained in:
@@ -74,6 +74,8 @@ struct boss_murmur : public BossAI
|
||||
|
||||
void CastSupressionOOC()
|
||||
{
|
||||
me->m_Events.CancelEventGroup(GROUP_OOC_CAST);
|
||||
|
||||
me->m_Events.AddEventAtOffset([this] {
|
||||
if (me->FindNearestCreature(NPC_CABAL_SPELLBINDER, 35.0f))
|
||||
{
|
||||
@@ -125,8 +127,13 @@ struct boss_murmur : public BossAI
|
||||
}
|
||||
}
|
||||
|
||||
void JustEngagedWith(Unit* /*who*/) override
|
||||
void JustEngagedWith(Unit* who) override
|
||||
{
|
||||
if (!who->IsInCombatWith(me))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_JustEngagedWith();
|
||||
|
||||
scheduler.Schedule(28s, [this](TaskContext context)
|
||||
|
||||
Reference in New Issue
Block a user