Implement Tribunal of Ages Achievements (Requires DB Data)
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user