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:
@@ -4189,8 +4189,9 @@ void SpellMgr::LoadSpellCustomAttr()
|
|||||||
spellInfo->EffectImplicitTargetB[0] = 0;
|
spellInfo->EffectImplicitTargetB[0] = 0;
|
||||||
++count;
|
++count;
|
||||||
break;
|
break;
|
||||||
|
case 72706: // Achievement Check (Valithria Dreamwalker)
|
||||||
case 71357: // Order Whelp
|
case 71357: // Order Whelp
|
||||||
spellInfo->EffectRadiusIndex[0] = 22;
|
spellInfo->EffectRadiusIndex[0] = 22; // 200yd
|
||||||
++count;
|
++count;
|
||||||
break;
|
break;
|
||||||
case 70598: // Sindragosa's Fury
|
case 70598: // Sindragosa's Fury
|
||||||
|
|||||||
@@ -355,6 +355,9 @@ class boss_valithria_dreamwalker : public CreatureScript
|
|||||||
_over75PercentTalkDone = true;
|
_over75PercentTalkDone = true;
|
||||||
Talk(SAY_VALITHRIA_75_PERCENT);
|
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)
|
void DamageTaken(Unit* /*attacker*/, uint32& damage)
|
||||||
|
|||||||
Reference in New Issue
Block a user