TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
List of all members
HighSanityTargetSelector Class Reference
Public Member Functions
HighSanityTargetSelector
()
bool
operator()
(
WorldObject
*object)
Constructor & Destructor Documentation
HighSanityTargetSelector::HighSanityTargetSelector
(
)
inline
1965
{ }
Member Function Documentation
bool
HighSanityTargetSelector::operator()
(
WorldObject
*
object
)
inline
1968
{
1969
if
(
Unit
* unit = object->
ToUnit
())
1970
if
(
Aura
* sanity = unit->GetAura(
SPELL_SANITY
))
1971
return
sanity->GetStackAmount() <= 40;
1972
return
true
;
1973
}
SPELL_SANITY
Definition:
boss_yogg_saron.cpp:108
Aura
Definition:
SpellAuras.h:116
Unit
Definition:
Unit.h:1305
Object::ToUnit
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:
src/server/scripts/Northrend/Ulduar/Ulduar/
boss_yogg_saron.cpp
Generated on Tue Apr 5 2016 20:17:49 for TrinityCore by
1.8.8