945 {
949 {
952 {
956 break;
960 break;
961 default:
962 break;
963 }
964 if (newEntry)
965 {
966 creatureTarget->UpdateEntry(newEntry);
968 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
972 }
973 }
974 }
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:1959
TeamId GetTeamId(bool original=false) const
Definition Player.h:2101
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:933
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:929
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:927
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:928
@ NPC_CURED_DEER
Definition spell_quest.cpp:930