Addition to last commit... "Fix logic error in 81606e5 (Fixes orange ooze in Professor putricide)"

This commit is contained in:
Spp
2012-11-23 15:24:17 +01:00
parent 86594d4b7a
commit f09d8b3c71

View File

@@ -553,6 +553,12 @@ class boss_professor_putricide : public CreatureScript
return 0;
}
void SetData(uint32 id, uint32 data)
{
if (id == DATA_EXPERIMENT_STAGE)
_experimentState = bool(data);
}
void UpdateAI(uint32 const diff)
{
if ((!(events.GetPhaseMask() & PHASE_MASK_NOT_SELF) && !UpdateVictim()) || !CheckInRoom())