929 {
931
933 {
936 return;
937 }
938
939
941 return;
942
944 }
std::uint32_t uint32
Definition: Define.h:107
@ CREATURE_TYPE_BEAST
Definition: SharedDefines.h:2628
@ UNIT_STATE_CONTROLLED
Definition: UnitDefines.h:190
uint32 GetCreatureType() const
Definition: Unit.cpp:15182
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:1167
bool IsMounted() const
Definition: Unit.h:1747
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909
bool HasUnitState(const uint32 f) const
Definition: Unit.h:701
Definition: SpellInfo.h:316
int32 GetEffectValue() const
Definition: SpellScript.cpp:600
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
SpellInfo const * GetTriggeringSpell()
Definition: SpellScript.cpp:630
Unit * GetCaster()
Definition: SpellScript.cpp:401