Scripts/Achievements: Removed unneeded script, its now handled by auras

This commit is contained in:
Shauren
2011-04-30 15:39:58 +02:00
parent 92ab83b232
commit 83989e49f8
3 changed files with 28 additions and 35 deletions

View File

@@ -22,25 +22,6 @@
#include "BattlegroundIC.h"
#include "BattlegroundSA.h"
class achievement_has_orphan_out : public AchievementCriteriaScript
{
public:
achievement_has_orphan_out() : AchievementCriteriaScript("achievement_has_orphan_out") { }
static uint32 const OrphanEntries[6];
bool OnCheck(Player* source, Unit* /*target*/)
{
uint32 currentPet = GUID_ENPART(source->GetCritterGUID());
for (uint8 i = 0; i < 6; ++i)
if (currentPet == OrphanEntries[i])
return true;
return false;
}
};
uint32 const achievement_has_orphan_out::OrphanEntries[6] = {14305, 14444, 22818, 22817, 33533, 33532};
class achievement_storm_glory : public AchievementCriteriaScript
{
public:
@@ -188,7 +169,6 @@ class achievement_bg_sa_artillery : public AchievementCriteriaScript
void AddSC_achievement_scripts()
{
new achievement_has_orphan_out();
new achievement_storm_glory();
new achievement_resilient_victory();
new achievement_bg_control_all_nodes();