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
+2 -1
View File
@@ -4189,8 +4189,9 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->EffectImplicitTargetB[0] = 0;
++count;
break;
case 72706: // Achievement Check (Valithria Dreamwalker)
case 71357: // Order Whelp
spellInfo->EffectRadiusIndex[0] = 22;
spellInfo->EffectRadiusIndex[0] = 22; // 200yd
++count;
break;
case 70598: // Sindragosa's Fury
@@ -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)