Skip to content

Commit

Permalink
Fix risen archmage combat engage in valithria dreamwalker encounter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greymane committed Aug 5, 2011
1 parent 74afd1d commit 89993aa
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -740,8 +740,12 @@ class npc_risen_archmage : public CreatureScript

void IsSummonedBy(Unit* /*summoner*/)
{
if (Creature* valithria = ObjectAccessor::GetCreature(*me, _instance->GetData64(DATA_VALITHRIA_DREAMWALKER)))
AttackStart(valithria);
if (Unit* target = me->FindNearestPlayer(150.0f))
{
me->GetMotionMaster()->MoveChase(target,150.0f);
me->AI()->AttackStart(target);
}

}

void UpdateAI(uint32 const diff)
Expand Down

0 comments on commit 89993aa

Please sign in to comment.