diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-05-25 00:23:05 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-05-25 00:24:37 +0200 |
| commit | 38c6694b8eb2c2ca7de799d47edc718c4d5ec717 (patch) | |
| tree | 58b9522e954cb0e0aa86f62bde22659314535185 /src/server/scripts/Outland/TempestKeep | |
| parent | d4eb2f79ca09b5a8d72ba8bbf30b76305f0e2140 (diff) | |
More nopch fixes
Diffstat (limited to 'src/server/scripts/Outland/TempestKeep')
| -rw-r--r-- | src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp index 191634739d4..ccda9fd839d 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp @@ -24,8 +24,12 @@ SDCategory: Tempest Keep, The Eye EndScriptData */ #include "ScriptMgr.h" +#include "GameObject.h" +#include "InstanceScript.h" +#include "ObjectAccessor.h" #include "ScriptedCreature.h" -#include "Spell.h" +#include "SpellInfo.h" +#include "SpellMgr.h" #include "SpellScript.h" #include "the_eye.h" @@ -843,7 +847,7 @@ class boss_kaelthas : public CreatureScript default: break; } - + if (me->HasUnitState(UNIT_STATE_CASTING) && !me->FindCurrentSpellBySpellId(SPELL_KAEL_GAINING_POWER) && !me->FindCurrentSpellBySpellId(SPELL_KAEL_STUNNED)) return; } |
