944 {
948 {
951 {
955 break;
959 break;
960 default:
961 break;
962 }
963 if (newEntry)
964 {
965 creatureTarget->UpdateEntry(newEntry);
967 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
971 }
972 }
973 }
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:1959
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:1758
constexpr Milliseconds DESPAWN_TIME
Definition spell_quest.cpp:932
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:928
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:926
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:927
@ NPC_CURED_DEER
Definition spell_quest.cpp:929