505 {
510
512 {
514 {
517 }
518 }
519 else
521 }
std::int32_t int32
Definition: Define.h:103
@ SPELL_ROGUE_PREY_ON_THE_WEAK
Definition: spell_rogue.cpp:41
@ EFFECT_0
Definition: SharedDefines.h:31
bool IsPlayer() const
Definition: Object.h:200
Player * ToPlayer()
Definition: Object.h:201
Unit * GetSelectedUnit() const
Definition: Player.cpp:11571
float GetHealthPct() const
Definition: Unit.h:1031
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5698
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909
Unit * GetVictim() const
Definition: Unit.h:853
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
SpellInfo const * GetSpellInfo() const
Definition: SpellScript.cpp:1005
Unit * GetTarget() const
Definition: SpellScript.cpp:1165