271 {
276
280 if (
Player* player = i->GetSource())
281 {
284 }
285
287 }
@ SPELL_SPIRIT_CHAINS
Definition: boss_teron_gorefiend.cpp:57
@ SPELL_SPIRIT_LANCE
Definition: boss_teron_gorefiend.cpp:56
@ SPELL_BRIEF_STUN
Definition: boss_teron_gorefiend.cpp:53
@ SPELL_SPIRIT_VOLLEY
Definition: boss_teron_gorefiend.cpp:58
@ IMMUNITY_ALLOW_ID
Definition: SharedDefines.h:1401
@ IMMUNITY_SCHOOL
Definition: SharedDefines.h:1396
@ SPELL_SCHOOL_MASK_NORMAL
Definition: SharedDefines.h:297
Definition: LinkedList.h:139
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2811
Creature * ToCreature()
Definition: Object.h:205
Map * GetMap() const
Definition: Object.h:536
Definition: Player.h:1081
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply, SpellImmuneBlockType blockType=SPELL_BLOCK_TYPE_ALL)
Definition: Unit.cpp:13389
void AddThreat(Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=nullptr)
Definition: Unit.cpp:14653
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
PlayerList const & GetPlayers() const
Definition: Map.h:484
Definition: MapRefMgr.h:26
iterator begin()
Definition: MapRefMgr.h:36
iterator end()
Definition: MapRefMgr.h:37
Unit * GetUnitOwner() const
Definition: SpellScript.cpp:1030