mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Fix some combat behaviour of NPC-Pets
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
177bc78108
commit
eca3586d74
6 changed files with 22 additions and 16 deletions
|
|
@ -1766,7 +1766,8 @@ void Creature::SendAIReaction(AiReaction reactionType)
|
|||
|
||||
void Creature::CallAssistance()
|
||||
{
|
||||
if( !m_AlreadyCallAssistance && getVictim() && !IsPet() && !isCharmed())
|
||||
// FIXME: should player pets call for assistance?
|
||||
if (!m_AlreadyCallAssistance && getVictim() && !isCharmed())
|
||||
{
|
||||
SetNoCallAssistance(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue