619 {
621 for (auto& ihit : targets)
622 {
623 if (ihit->GetGUID() !=
GetCaster()->GetGUID())
624 {
626 {
628 {
629 ++count;
630 }
631 }
632 }
633 }
634
635 if (count)
636 {
639 }
640 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_POSITIVE_CHARGE
Definition: boss_thaddius.cpp:80
@ SPELL_POSITIVE_CHARGE_STACK
Definition: boss_thaddius.cpp:81
@ SPELL_NEGATIVE_CHARGE_STACK
Definition: boss_thaddius.cpp:83
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081
void SetAuraStack(uint32 spellId, Unit *target, uint32 stack)
Definition: Unit.cpp:18902
uint32 Id
Definition: SpellInfo.h:320
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401