140 {
142 for (auto& ihit : targetList)
143 if (ihit->GetGUID() !=
GetCaster()->GetGUID())
146 ++count;
147
149 if (count)
150 {
152 }
153 else
154 {
156 }
157 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_POSITIVE_CHARGE
Definition: boss_mechano_lord_capacitus.cpp:128
@ SPELL_POSITIVE_CHARGE_STACK
Definition: boss_mechano_lord_capacitus.cpp:127
@ SPELL_NEGATIVE_CHARGE_STACK
Definition: boss_mechano_lord_capacitus.cpp:131
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064
void SetAuraStack(uint32 spellId, Unit *target, uint32 stack)
Definition: Unit.cpp:18858
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4891
uint32 Id
Definition: SpellInfo.h:320
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401