937 {
941 {
944 {
948 break;
952 break;
953 default:
954 break;
955 }
956 if (newEntry)
957 {
958 creatureTarget->UpdateEntry(newEntry);
960 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
964 }
965 }
966 }
std::uint32_t uint32
Definition Define.h:107
@ TEAM_ALLIANCE
Definition SharedDefines.h:748
@ TEAM_HORDE
Definition SharedDefines.h:749
@ UNIT_FLAG_NOT_ATTACKABLE_1
Definition UnitDefines.h:264
void Clear(bool reset=true)
Definition MotionMaster.h:193
Player * ToPlayer()
Definition Object.h:202
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition PlayerQuest.cpp:1962
TeamId GetTeamId(bool original=false) const
Definition Player.h:2127
Creature * GetHitCreature()
Definition SpellScript.cpp:458
Item * GetCastItem()
Definition SpellScript.cpp:620
Unit * GetCaster()
Definition SpellScript.cpp:401
MotionMaster * GetMotionMaster()
Definition Unit.h:1759
constexpr Milliseconds DESPAWN_TIME
Definition spell_quest.cpp:925
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:921
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:919
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:920
@ NPC_CURED_DEER
Definition spell_quest.cpp:922