AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ThreatMgr.h"
Static Public Member Functions | |
static float | calcThreat (Unit *hatedUnit, float threat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=nullptr) |
static bool | isValidProcess (Unit *hatedUnit, Unit *hatingUnit, SpellInfo const *threatSpell=nullptr) |
|
static |
References Unit::ApplyTotalThreatModifier(), SpellInfo::Effects, Unit::GetSpellModOwner(), SpellInfo::Id, MAX_SPELL_EFFECTS, SPELL_AURA_PERIODIC_ENERGIZE, SPELL_EFFECT_ENERGIZE, SPELLMOD_THREAT, and sSpellMgr.
Referenced by ThreatMgr::AddThreat(), and HostileRefMgr::threatAssist().
|
static |
References ASSERT, SpellInfo::HasAttribute(), WorldObject::InSamePhase(), Unit::IsAlive(), Object::IsCreature(), Player::IsGameMaster(), WorldObject::IsInMap(), Object::IsPlayer(), SPELL_ATTR1_NO_THREAT, and Object::ToPlayer().
Referenced by ThreatMgr::AddThreat(), ThreatMgr::DoAddThreat(), and HostileRefMgr::threatAssist().