mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Scripts/Icecrown Citadel: Fixed players being teleported to entrance when Professor Putricide entered combat during Festergut or Rotface fight (encounter mechanic)
This commit is contained in:
@@ -214,7 +214,7 @@ class boss_professor_putricide : public CreatureScript
|
||||
if (events.GetPhaseMask() & PHASE_MASK_NOT_SELF)
|
||||
return;
|
||||
|
||||
if (!instance->CheckRequiredBosses(DATA_PROFESSOR_PUTRICIDE, who->ToPlayer()))
|
||||
if (!(events.GetPhaseMask() & PHASE_MASK_NOT_SELF) && !instance->CheckRequiredBosses(DATA_PROFESSOR_PUTRICIDE, who->ToPlayer()))
|
||||
{
|
||||
instance->DoCastSpellOnPlayers(LIGHT_S_HAMMER_TELEPORT);
|
||||
EnterEvadeMode();
|
||||
|
||||
Reference in New Issue
Block a user