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:
1 parent
806794d4ce
commit
87b849f71a
1 file changed
+1
-1
@@ -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