TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MarkOfNatureTargetSelector Class Reference

Public Member Functions

 MarkOfNatureTargetSelector ()
 
bool operator() (WorldObject *object)
 

Constructor & Destructor Documentation

MarkOfNatureTargetSelector::MarkOfNatureTargetSelector ( )
inline
746 { }

Member Function Documentation

bool MarkOfNatureTargetSelector::operator() ( WorldObject object)
inline
749  {
750  // return those not tagged or already under the influence of Aura of Nature
751  if (Unit* unit = object->ToUnit())
752  return !(unit->HasAura(SPELL_MARK_OF_NATURE) && !unit->HasAura(SPELL_AURA_OF_NATURE));
753  return true;
754  }
Definition: boss_emerald_dragons.cpp:53
Definition: boss_emerald_dragons.cpp:55
Definition: Unit.h:1305
Unit * ToUnit()
Definition: Object.h:197

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: