52 {
54 return;
55
67 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:53
constexpr auto MINUTE
Definition: Common.h:47
@ MOTION_SLOT_ACTIVE
Definition: MotionMaster.h:62
@ SPELL_AURA_DUMMY
Definition: SpellAuraDefines.h:67
@ AURA_REMOVE_BY_EXPIRE
Definition: SpellAuraDefines.h:395
@ SPELL_DRAKE_HATCHLING_SUBDUED
Definition: zone_borean_tundra.cpp:33
@ SPELL_SUBDUED
Definition: zone_borean_tundra.cpp:34
@ FACTION_FRIENDLY
Definition: SharedDefines.h:201
void ClearAllThreat()
Definition: ThreatMgr.cpp:417
Definition: Creature.h:46
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2173
Creature * ToCreature()
Definition: Object.h:202
void CombatStop(bool includingCast=false)
Definition: Unit.cpp:10398
void SetFaction(uint32 faction)
Definition: Unit.cpp:10018
void RemoveAllAurasExceptType(AuraType type)
Definition: Unit.cpp:5364
MotionMaster * GetMotionMaster()
Definition: Unit.h:1601
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
ThreatMgr & GetThreatMgr()
Definition: Unit.h:839
void SetImmuneToAll(bool apply, bool keepCombat=false)
Definition: Unit.h:810
void MoveFollow(Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE, bool inheritWalkState=true)
The unit will follow this target. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition: MotionMaster.cpp:409
void Clear(bool reset=true)
Definition: MotionMaster.h:165
AuraApplication const * GetTargetApplication() const
Definition: SpellScript.cpp:1194
WorldObject * GetOwner() const
Definition: SpellScript.cpp:1025
Unit * GetCaster() const
Definition: SpellScript.cpp:1020