aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-21 17:27:10 -0500
committermegamage <none@none>2009-08-21 17:27:10 -0500
commita4480f25d04dfe89d7f0251eb370aca8fa489438 (patch)
treea88ec3cecfbc84c2ef50407607e0c261043f104c /src
parentd20f85d40d53262687b6a60cabc8119bbdccac18 (diff)
*Apply auras in core for Kalecgos instead of setting db data.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
index 874330c0212..dcafab1e4d7 100644
--- a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
+++ b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
@@ -291,6 +291,9 @@ struct TRINITY_DLL_DECL boss_sathrovarrAI : public ScriptedAI
if (pInstance)
pInstance->SetData(DATA_KALECGOS_EVENT, NOT_STARTED);
+
+ me->CastSpell(me, AURA_SPECTRAL_INVISIBILITY, true);
+ me->CastSpell(me, AURA_DEMONIC_VISUAL, true);
}
void EnterCombat(Unit* who)
@@ -457,7 +460,8 @@ struct TRINITY_DLL_DECL boss_kalecAI : public ScriptedAI
bool isEnraged; // if demon is enraged
- boss_kalecAI(Creature *c) : ScriptedAI(c){
+ boss_kalecAI(Creature *c) : ScriptedAI(c)
+ {
pInstance = c->GetInstanceData();
}
@@ -472,9 +476,9 @@ struct TRINITY_DLL_DECL boss_kalecAI : public ScriptedAI
YellSequence = 0;
isEnraged = false;
- }
- void EnterCombat(Unit* who) {}
+ me->CastSpell(me, AURA_SPECTRAL_INVISIBILITY, true);
+ }
void DamageTaken(Unit *done_by, uint32 &damage)
{