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:870
void SetHealth(uint32 val)
Definition: Unit.cpp:15433
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5669
uint32 GetHealth() const
Definition: Unit.h:869
AttackerSet const & getAttackers() const
Definition: Unit.h:786
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
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4891
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetCaster() const
Definition: SpellScript.cpp:1020