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:48
Definition: Creature.h:43
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1926
Unit * GetCaster() const
Definition: SpellScript.cpp:1020