Scripts/Nexus: Properly fixed achievement Chaos Theory and small cleanup

This commit is contained in:
Lopin
2011-06-23 11:56:05 +02:00
parent 90a34fdc06
commit 550635ac85
4 changed files with 233 additions and 197 deletions
@@ -283,7 +283,6 @@ class achievement_king_dred : public AchievementCriteriaScript
bool OnCheck(Player* /*player*/, Unit* target)
{
sLog->outString("OnCheck()");
if (Creature* Dred = target->ToCreature())
if (Dred->AI()->GetData(DATA_KING_DRED) >= 6)
return true;