2874 {
2875 if (targets.empty())
2876 return;
2877
2879 if (
Unit* summoner = summon->GetSummonerUnit())
2880 summoner->GetAI()->SetData(
DATA_VILE, 1);
2881
2883 {
2885 c->GetMotionMaster()->Clear(true);
2886 c->StopMoving();
2888 c->DespawnOrUnsummon(3000);
2890 }
2891 }
@ SPELL_SPIRIT_BURST
Definition: boss_the_lich_king.cpp:157
@ SPELL_VILE_SPIRIT_DAMAGE_SEARCH
Definition: boss_the_lich_king.cpp:156
#define DATA_VILE
Definition: boss_the_lich_king.cpp:362
@ UNIT_FLAG_NOT_SELECTABLE
Definition: UnitDefines.h:254
Definition: Creature.h:43
Definition: TemporarySummon.h:40
Unit * GetCaster()
Definition: SpellScript.cpp:401