61 {
63 {
65
68 {
69 cr->CastSpell(player, 40926, true);
70 cr->GetMotionMaster()->MoveFollow(player, 5.0f, 2 * M_PI *
rand_norm());
71 ar->ToCreature()->DespawnOrUnsummon(500);
72 }
73 }
74 }
double rand_norm()
Definition: Random.cpp:77
@ TEMPSUMMON_TIMED_DESPAWN
Definition: Object.h:47
Definition: Creature.h:46
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1921
Unit * GetCaster() const
Definition: SpellScript.cpp:1020