*TK:Eye, Kael's flamestrike should not follow players

--HG--
branch : trunk
This commit is contained in:
Rat
2009-11-02 18:58:45 +01:00
parent 94a2abff61
commit ae2a36d13e

View File

@@ -1285,9 +1285,9 @@ struct TRINITY_DLL_DECL boss_master_engineer_telonicusAI : public advisorbase_ai
};
//Flame Strike AI
struct TRINITY_DLL_DECL mob_kael_flamestrikeAI : public ScriptedAI
struct TRINITY_DLL_DECL mob_kael_flamestrikeAI : public Scripted_NoMovementAI
{
mob_kael_flamestrikeAI(Creature* pCreature) : ScriptedAI(pCreature) {}
mob_kael_flamestrikeAI(Creature* pCreature) : Scripted_NoMovementAI(pCreature) {}
uint32 Timer;
bool Casting;
@@ -1305,6 +1305,8 @@ struct TRINITY_DLL_DECL mob_kael_flamestrikeAI : public ScriptedAI
void MoveInLineOfSight(Unit *who) {}
void EnterCombat(Unit *who) {return;}
void UpdateAI(const uint32 diff)
{
if (!Casting)