460 {
462 return;
463
465
466 if (!target)
467 return;
468
474 }
@ FACTION_HOSTILE
Definition: boss_twinemperors.cpp:81
@ SPELL_VIRULENT_POISON_PROC
Definition: boss_twinemperors.cpp:46
@ REACT_AGGRESSIVE
Definition: Unit.h:550
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2811
void SetReactState(ReactStates state)
A creature can have 3 ReactStates : Agressive, Passive, Neutral.
Definition: Creature.h:94
void SetFaction(uint32 faction)
Definition: Unit.cpp:10056
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
uint32 m_scriptSpellId
Definition: SpellScript.h:107
Unit * GetHitUnit()
Definition: SpellScript.cpp:448