Implement Tribunal of Ages Achievements (Requires DB Data)

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-03-23 20:31:55 +01:00
parent 5fe2454b24
commit 72c3c4696b
@@ -525,6 +525,11 @@ struct npc_brann_hosAI : public npc_escortAI
if (pInstance) if (pInstance)
{ {
pInstance->SetData(DATA_BRANN_EVENT, DONE); pInstance->SetData(DATA_BRANN_EVENT, DONE);
// Achievement criteria is with spell 59046 which does not exist.
// There is thus no way it can be given by casting the spell on the players.
pInstance->DoUpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET, 59046);
if (!bHasBeenDamaged) if (!bHasBeenDamaged)
pInstance->DoCompleteAchievement(ACHIEV_BRANN_SPANKIN_NEW); pInstance->DoCompleteAchievement(ACHIEV_BRANN_SPANKIN_NEW);
} }