910 {
914 {
917 {
921 break;
925 break;
926 default:
927 break;
928 }
929 if (newEntry)
930 {
931 creatureTarget->UpdateEntry(newEntry);
932 creatureTarget->GetMotionMaster()->Clear();
933 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
937 }
938 }
939 }
std::uint32_t uint32
Definition: Define.h:107
@ NPC_SICKLY_DEER
Definition: spell_quest.cpp:895
@ NPC_SICKLY_GAZELLE
Definition: spell_quest.cpp:893
@ NPC_CURED_GAZELLE
Definition: spell_quest.cpp:894
@ NPC_CURED_DEER
Definition: spell_quest.cpp:896
@ DESPAWN_TIME
Definition: spell_quest.cpp:897
@ TEAM_ALLIANCE
Definition: SharedDefines.h:760
@ TEAM_HORDE
Definition: SharedDefines.h:761
@ UNIT_FLAG_NOT_ATTACKABLE_1
Definition: UnitDefines.h:236
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
TeamId GetTeamId(bool original=false) const
Definition: Player.h:2108
Creature * GetHitCreature()
Definition: SpellScript.cpp:458
Item * GetCastItem()
Definition: SpellScript.cpp:620
Unit * GetCaster()
Definition: SpellScript.cpp:401