mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Merge branch 'master' into 303
Conflicts: src/game/Creature.cpp
This commit is contained in:
commit
af6acab8f8
23 changed files with 288 additions and 129 deletions
|
|
@ -6951,7 +6951,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
|||
data << uint32(AI_REACTION_AGGRO); // Aggro sound
|
||||
((WorldObject*)this)->SendMessageToSet(&data, true);
|
||||
|
||||
((Creature*)this)->CallAssistence();
|
||||
((Creature*)this)->CallAssistance();
|
||||
((Creature*)this)->SetCombatStartPosition(GetPositionX(), GetPositionY(), GetPositionZ());
|
||||
}
|
||||
|
||||
|
|
@ -6985,7 +6985,7 @@ bool Unit::AttackStop()
|
|||
if( GetTypeId()==TYPEID_UNIT )
|
||||
{
|
||||
// reset call assistance
|
||||
((Creature*)this)->SetNoCallAssistence(false);
|
||||
((Creature*)this)->SetNoCallAssistance(false);
|
||||
}
|
||||
|
||||
SendAttackStop(victim);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue