766 {
768
769 if (!caster)
770 return;
771
773 {
776
778 return;
779 }
780
783
784
787 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SOAR_BUFF
Definition: oculus.cpp:49
uint32 GetMaxHealth() const
Definition: Unit.h:1030
void SetHealth(uint32 val)
Definition: Unit.cpp:15478
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5698
uint32 GetHealth() const
Definition: Unit.h:1029
AttackerSet const & getAttackers() const
Definition: Unit.h:850
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
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetCaster() const
Definition: SpellScript.cpp:1020