diff options
Diffstat (limited to 'src/server/scripts/Northrend')
| -rw-r--r-- | src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp b/src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp index 0661cc42d16..f54417d46bd 100644 --- a/src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp +++ b/src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp @@ -852,11 +852,12 @@ class spell_pool_of_tar : public CreatureScript      public:          spell_pool_of_tar() : CreatureScript("spell_pool_of_tar") { } -        struct spell_pool_of_tarAI : public PassiveAI +        struct spell_pool_of_tarAI : public ScriptedAI          { -            spell_pool_of_tarAI(Creature* creature) : PassiveAI(creature) +            spell_pool_of_tarAI(Creature* creature) : ScriptedAI(creature)              {                  me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); +                me->SetReactState(REACT_PASSIVE);                  me->AddAura(SPELL_TAR_PASSIVE, me);              } @@ -870,6 +871,8 @@ class spell_pool_of_tar : public CreatureScript                  if (spell->SchoolMask & SPELL_SCHOOL_MASK_FIRE && !me->HasAura(SPELL_BLAZE))                      me->CastSpell(me, SPELL_BLAZE, true);              } + +            void UpdateAI(uint32 const diff) {}          };          CreatureAI* GetAI(Creature* creature) const  | 
