Scripts/Icecrown Citadel: Valithria Dreamwalker encounter should start when she is healed and fixed achievement credit

Closes #2117
Closes #2058
This commit is contained in:
Shauren
2011-06-26 12:47:34 +02:00
parent 3fde27c964
commit bcd62b8d29
2 changed files with 5 additions and 1 deletions
@@ -355,6 +355,9 @@ class boss_valithria_dreamwalker : public CreatureScript
_over75PercentTalkDone = true;
Talk(SAY_VALITHRIA_75_PERCENT);
}
else if (_instance->GetBossState(DATA_VALITHRIA_DREAMWALKER) == NOT_STARTED)
if (Creature* archmage = me->FindNearestCreature(NPC_RISEN_ARCHMAGE, 30.0f))
archmage->AI()->DoZoneInCombat(); // call EnterCombat on one of them, that will make it all start
}
void DamageTaken(Unit* /*attacker*/, uint32& damage)