918 {
922 {
925 {
929 break;
933 break;
934 default:
935 break;
936 }
937 if (newEntry)
938 {
939 creatureTarget->UpdateEntry(newEntry);
941 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
945 }
946 }
947 }
std::uint32_t uint32
Definition Define.h:107
@ TEAM_ALLIANCE
Definition SharedDefines.h:771
@ TEAM_HORDE
Definition SharedDefines.h:772
@ UNIT_FLAG_NOT_ATTACKABLE_1
Definition UnitDefines.h:261
void Clear(bool reset=true)
Definition MotionMaster.h:176
Player * ToPlayer()
Definition Object.h:202
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition PlayerQuest.cpp:1927
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
MotionMaster * GetMotionMaster()
Definition Unit.h:1690
constexpr Milliseconds DESPAWN_TIME
Definition spell_quest.cpp:906
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:902
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:900
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:901
@ NPC_CURED_DEER
Definition spell_quest.cpp:903