Skip to content

Commit

Permalink
[11970] Implement aura 24210 (overwrite for removed spell 24311
Browse files Browse the repository at this point in the history
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
  • Loading branch information
Xfurry authored and Schmoozerd committed Apr 20, 2012
1 parent 6904541 commit 21f5440
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions src/game/SpellAuras.cpp
Expand Up @@ -1173,8 +1173,22 @@ void Aura::TriggerSpell()
// case 23792: break;
// // Axe Flurry
// case 24018: break;
// // Mark of Arlokk
// case 24210: break;
case 24210: // Mark of Arlokk
{
// Replacement for (classic) spell 24211 (doesn't exist anymore)
std::list<Creature*> lList;

// Search for all Zulian Prowler in range
MaNGOS::AllCreaturesOfEntryInRangeCheck check(triggerTarget, 15101, 15.0f);
MaNGOS::CreatureListSearcher<MaNGOS::AllCreaturesOfEntryInRangeCheck> searcher(lList, check);
Cell::VisitGridObjects(triggerTarget, searcher, 15.0f);

for (std::list<Creature*>::const_iterator itr = lList.begin(); itr != lList.end(); ++itr)
if ((*itr)->isAlive())
(*itr)->AddThreat(triggerTarget, float(5000));

return;
}
// // Restoration
// case 24379: break;
// // Happy Pet
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11969"
#define REVISION_NR "11970"
#endif // __REVISION_NR_H__

0 comments on commit 21f5440

Please sign in to comment.