896 {
900 {
903 {
907 break;
911 break;
912 default:
913 break;
914 }
915 if (newEntry)
916 {
917 creatureTarget->UpdateEntry(newEntry);
919 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
923 }
924 }
925 }
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:192
Player * ToPlayer()
Definition Object.h:201
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition PlayerQuest.cpp:1925
TeamId GetTeamId(bool original=false) const
Definition Player.h:2106
Creature * GetHitCreature()
Definition SpellScript.cpp:458
Item * GetCastItem()
Definition SpellScript.cpp:620
Unit * GetCaster()
Definition SpellScript.cpp:401
MotionMaster * GetMotionMaster()
Definition Unit.h:1738
constexpr Milliseconds DESPAWN_TIME
Definition spell_quest.cpp:884
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:880
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:878
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:879
@ NPC_CURED_DEER
Definition spell_quest.cpp:881