947 {
951 {
954 {
958 break;
962 break;
963 default:
964 break;
965 }
966 if (newEntry)
967 {
968 creatureTarget->UpdateEntry(newEntry);
970 creatureTarget->GetMotionMaster()->MoveFleeing(caster);
974 }
975 }
976 }
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:194
Player * ToPlayer()
Definition Object.h:208
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition PlayerQuest.cpp:2001
TeamId GetTeamId(bool original=false) const
Definition Player.h:2140
Creature * GetHitCreature()
Definition SpellScript.cpp:463
Item * GetCastItem()
Definition SpellScript.cpp:625
Unit * GetCaster()
Definition SpellScript.cpp:401
MotionMaster * GetMotionMaster()
Definition Unit.h:1778
constexpr Milliseconds DESPAWN_TIME
Definition spell_quest.cpp:935
@ NPC_SICKLY_DEER
Definition spell_quest.cpp:931
@ NPC_SICKLY_GAZELLE
Definition spell_quest.cpp:929
@ NPC_CURED_GAZELLE
Definition spell_quest.cpp:930
@ NPC_CURED_DEER
Definition spell_quest.cpp:932