mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Ulduar/Kologarn: Only set arms in combat with zone if encounter is actually in progress. Thanks to Josh for pointing out.
This commit is contained in:
@@ -185,11 +185,11 @@ class boss_kologarn : public CreatureScript
|
||||
instance->SetData64(DATA_RIGHT_ARM, who->GetGUID());
|
||||
}
|
||||
|
||||
if (!isEncounterInProgress)
|
||||
return;
|
||||
|
||||
if (!apply)
|
||||
{
|
||||
if (!isEncounterInProgress)
|
||||
return;
|
||||
|
||||
who->CastSpell(me, SPELL_ARM_DEAD_DAMAGE, true);
|
||||
|
||||
if (Creature* rubbleStalker = who->FindNearestCreature(NPC_RUBBLE_STALKER, 70.0f))
|
||||
|
||||
Reference in New Issue
Block a user