mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Addition to last commit... "Fix logic error in 81606e5 (Fixes orange ooze in Professor putricide)"
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user