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:
Shauren
2011-01-12 12:49:05 +01:00
parent 806794d4ce
commit 87b849f71a

View File

@@ -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();