mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[9559] Update AiReaction enum.
This commit is contained in:
parent
66c5e3aebb
commit
820550223a
3 changed files with 7 additions and 7 deletions
|
|
@ -8373,7 +8373,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
|||
|
||||
if (GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
((Creature*)this)->SendAIReaction(AI_REACTION_AGGRO);
|
||||
((Creature*)this)->SendAIReaction(AI_REACTION_HOSTILE);
|
||||
((Creature*)this)->CallAssistance();
|
||||
}
|
||||
|
||||
|
|
@ -12561,7 +12561,7 @@ void Unit::SendPetAIReaction(uint64 guid)
|
|||
|
||||
WorldPacket data(SMSG_AI_REACTION, 8 + 4);
|
||||
data << uint64(guid);
|
||||
data << uint32(AI_REACTION_AGGRO);
|
||||
data << uint32(AI_REACTION_HOSTILE);
|
||||
((Player*)owner)->GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue