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)
|
if (events.GetPhaseMask() & PHASE_MASK_NOT_SELF)
|
||||||
return;
|
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);
|
instance->DoCastSpellOnPlayers(LIGHT_S_HAMMER_TELEPORT);
|
||||||
EnterEvadeMode();
|
EnterEvadeMode();
|
||||||
|
|||||||
Reference in New Issue
Block a user